/* ============================================
   Modern CSS with CSS Variables
   ============================================ */

:root {
  --primary-color: #65AAF0;
  --primary-dark: #4a8cd0;
  --primary-light: #B8DFFF;
  --navbar-color: #A8D5F8;
  --navbar-dark: #87C5F0;
  --secondary-color: #272727;
  --text-color: #333;
  --text-light: #666;
  --text-lighter: #aaa;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e9ecef;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================
   Base Styles
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--secondary-color);
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  transition: var(--transition);
  color: var(--primary-color);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
  background: linear-gradient(135deg, var(--navbar-color) 0%, var(--navbar-dark) 100%);
  box-shadow: var(--shadow-md);
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--bg-white) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

.img-logo {
  height: 50px;
  width: auto;
  margin-right: 0.5rem;
}

.label-name {
  color: var(--bg-white);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-nav .nav-link {
  color: var(--bg-white) !important;
  font-weight: bold;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 0.375rem;
  transition: var(--transition);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--bg-white) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   Hero Carousel
   ============================================ */

.hero-slider {
  margin-top: 76px;
  position: relative;
}

.hero-slider .carousel-item {
  height: 70vh;
  min-height: 500px;
  position: relative;
}

.hero-slider .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-slider .carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  right: auto;
  bottom: auto;
  text-align: center;
  width: 90%;
  max-width: 800px;
}

.hero-slider .carousel-caption h2 {
  color: var(--bg-white);
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}

.hero-slider .carousel-caption p {
  color: var(--bg-white);
  font-size: 1.25rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  background: rgba(101, 170, 240, 0.9);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  display: inline-block;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: var(--transition);
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
  opacity: 1;
  background-color: var(--primary-dark);
}

.hero-slider .carousel-control-prev {
  left: 30px;
}

.hero-slider .carousel-control-next {
  right: 30px;
}

.hero-slider .carousel-indicators {
  bottom: 30px;
}

.hero-slider .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--bg-white);
  opacity: 0.5;
  border: 2px solid var(--bg-white);
  transition: var(--transition);
}

.hero-slider .carousel-indicators button.active {
  opacity: 1;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* ============================================
   Section Styles
   ============================================ */

section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 3rem;
}

.about-section {
  background-color: var(--bg-white);
}

.about-section .lead {
  font-size: 1.125rem;
  color: var(--text-light);
}

/* ============================================
   Features Section
   ============================================ */

.features-section {
  background-color: var(--bg-light);
}

.feature-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 2rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.integration-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.integration-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.integration-badges .badge {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: var(--transition);
}

.integration-badges .badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   Why Section
   ============================================ */

.why-section {
  background-color: var(--bg-white);
}

.why-section img {
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Footer
   ============================================ */

.footer-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
}

.footer-section h4 {
  color: var(--bg-white);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.9);
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-info i {
  width: 24px;
  font-size: 1.25rem;
  margin-right: 0.75rem;
}

.contact-link {
  color: var(--bg-white) !important;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 0.375rem;
}

.contact-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white) !important;
}

.contact-form .form-control {
  border-radius: 0.375rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  transition: var(--transition);
}

.contact-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--bg-white);
  color: var(--bg-white);
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form .btn-primary {
  background-color: var(--secondary-color);
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.375rem;
  transition: var(--transition);
}

.contact-form .btn-primary:hover {
  background-color: var(--bg-white);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-form .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.testimonial-image img {
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.testimonial-image img:hover {
  transform: scale(1.02);
}

.ieptb-link {
  color: var(--bg-white) !important;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.ieptb-link:hover {
  color: var(--bg-white) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 1), 0 0 12px rgba(0, 0, 0, 0.6);
}

.sub-footer {
  background-color: var(--secondary-color);
  color: var(--bg-white);
}

.sub-footer .copyright {
  text-align: center;
}

.sub-footer .copyright a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.sub-footer .copyright a:hover {
  color: var(--primary-dark);
}

/* ============================================
   Animations
   ============================================ */

.fa-spinner {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ============================================
   Utilities
   ============================================ */

.lead {
  font-size: 1.125rem;
  font-weight: 400;
}

.shadow {
  box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 991.98px) {
  .hero-slider .carousel-caption h2 {
    font-size: 2rem;
  }

  .hero-slider .carousel-caption p {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next {
    width: 50px;
    height: 50px;
  }

  .hero-slider .carousel-control-prev {
    left: 15px;
  }

  .hero-slider .carousel-control-next {
    right: 15px;
  }
}

@media (max-width: 767.98px) {
  .hero-slider {
    margin-top: 56px;
  }

  .hero-slider .carousel-item {
    height: 50vh;
    min-height: 400px;
  }

  .hero-slider .carousel-caption {
    width: 95%;
  }

  .hero-slider .carousel-caption h2 {
    font-size: 1.5rem;
  }

  .hero-slider .carousel-caption p {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .img-logo {
    height: 40px;
  }

  .label-name {
    font-size: 1.25rem;
  }

  .feature-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  section {
    padding: 3rem 0;
  }

  .integration-card {
    padding: 1.5rem;
  }

  .integration-badges .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 575.98px) {
  .hero-slider .carousel-item {
    height: 40vh;
    min-height: 300px;
  }

  .hero-slider .carousel-caption h2 {
    font-size: 1.25rem;
  }

  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .feature-card h3 {
    font-size: 1.125rem;
  }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
  .navbar,
  .hero-slider,
  .footer-section {
    display: none;
  }
}
