* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #f8f8f8;
  color: #f3f4f6;
  line-height: 1.6;
   overflow-x: hidden;
   
}

/* CSS */

 .hero-bg {
       position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
    }
    .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background:rgba(255, 255, 255, 0.5); Darken video */
  z-index: 0;
}


    /* Overlay to make text readable */
    .hero-bg::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.5); /* semi‑transparent dark overlay */
      z-index: 1;
    }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  text-align: center;
  padding: 0 20px;
}
    .hero-content.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .hero-content h1 {
      font-size: 3rem;
      color: #e0e0e0; /* accent color */
      margin-bottom: 20px;
    }

    .hero-content h2 {
      font-size: 1.7rem;
      font-weight: 500;
      color: #e0e5eb;
      margin-bottom: 20px;
    }

    .hero-content p {
      font-size: 1.15rem;
      color: #cccccc;
      margin-bottom: 30px;
      line-height: 1.5;
    }
    .hero-content.visible h1,
.hero-content.visible h2,
.hero-content.visible p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

/* Animation delays for sequential appearance */
.hero-content.visible h1 {
  animation-delay: 0.2s;
}
.hero-content.visible h2 {
  animation-delay: 0.7s;
}
.hero-content.visible p {
  animation-delay: 1.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


    .hero-buttons {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn {
      padding: 12px 30px;
      border-radius: 8px;
      font-size: 1rem;
      font-weight: 600;
      color: #fff;
      text-decoration: none;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .btn-primary {
      background: linear-gradient(135deg, #1e90ff, #3b82f6);
      box-shadow: 0 4px 20px rgba(30,144,255,0.4);
    }

    .btn-secondary {
      background: linear-gradient(135deg, #6366f1, #4f46e5);
      box-shadow: 0 4px 20px rgba(79,70,229,0.4);
    }

    .btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 30px rgba(30,144,255,0.6);
    }

    @media (max-width: 768px) {
      .hero-content h1 {
        font-size: 1.2rem;
      }
      .hero-content h2 {
        font-size: 1.2rem;
      }
      .hero-content p {
        font-size: 1rem;
      }
    }
        @media (max-width: 400px) {
      .hero-content h1 {
        font-size: 1.2rem;
      }
      .hero-content h2 {
        font-size: 1.2rem;
      }
      .hero-content p {
        font-size: 1rem;
      }
    }
/* Animation keyframes */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apply animation to the form */
.contact-form-container {
  animation: popIn 0.6s ease-out both;
}


/* Animation on scroll (using same animate‑on‑scroll class) */

.animate-on-scroll.visible {
  opacity: 1 !important;
  transform: translateX(0) !important;
}



.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background-color: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.logo a {
  font-size: 1.6rem;
  font-weight: 700;
  color: #60a5fa;
  text-decoration: none; /* removes underline */
  cursor: pointer; /* pointer cursor for links */
  user-select: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
    margin: 0;
  padding: 0;
}
.nav-links li {
  white-space: nowrap; /* prevents text from breaking into 2 lines */
}


.nav-links li a {
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 1rem;
  padding-bottom: 3px;
  transition: color 0.3s, border-bottom 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #60a5fa;
  border-bottom: 2px solid #60a5fa;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  height: 24px;
  width: 30px;
  cursor: pointer;
  position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: #60a5fa;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  position: absolute;
  transition: all 0.3s ease;
}

.nav-toggle-label span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-label span::before {
  content: "";
  top: -8px;
}

.nav-toggle-label span::after {
  content: "";
  top: 8px;
}

/* Optional: add a solid background on smaller screens */
@media (max-width: 768px) {
  .navbar {
    background-color: #1e293b;
  }

  .nav-toggle-label {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #1e293b;
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-toggle:checked ~ .nav-links {
    max-height: 300px;
    padding: 20px 0;
  }

  .nav-links li {
    text-align: center;
    padding: 10px 0;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Flex layout */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
      padding: 60px 20px;
}

/* Animate children separately with fadeSlideUp animation */
.about-text,
.about-image {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp 1s ease forwards;
}

.about-text {
  animation-delay: 0.4s;
}

.about-image {
  animation-delay: 0.7s;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.about-text h2 span {
  color: #3b82f6;
}

.about-text .subtitle {
  background-color: #1e3a8a;
  color: #ffffff;
  padding: 6px 12px;
  font-style: italic;
  display: inline-block;
  border-radius: 4px;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.about-text ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

.about-text ul li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #1a1a1a;
}

.about-text strong {
  color: #1a1a1a;
  font-weight: 600;
}

.about-image {
  flex: 1;
  min-width: 280px;
  max-width: 520px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  transition: transform 0.3s ease;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image:hover {
  transform: scale(1.02);
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    align-items: center;
  }

  .about-image {
    width: 100%;
    max-width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    right: 0;
    background-color: #1e293b;
    height: calc(100% - 60px);
    width: 200px;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -2px 0 8px rgba(0,0,0,0.7);
  }

  .nav-toggle:checked ~ .nav-links {
    transform: translateX(0);
  }

  .nav-toggle-label {
    display: block;
  }

  .hero {
    flex-direction: column;
  }

  .hero-content {
    text-align: center;
  }
}
.services-container {
  background-color: #f8f8f8;
  padding: 60px 20px;
}

.services-container .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.service-card {
  background-color: #1e293b;
  border-radius: 12px;
  padding: 30px 20px;
  flex: 1 1 260px;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 22%; /* or calc(25% - gap) */
  min-width: 250px;
}

.service-card:hover {
   transform: scale(1.05) translateY(-5px);
  
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.6);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: #3b82f6;
  margin-bottom: 16px;
  animation: bounceIcon 2s infinite;
} 
.service-icon circle,
.service-icon path {
  stroke: #1e40af; /* a darker blue */
  stroke-width: 1.5;
}

.service-title {
  font-size: 1.25rem;
  color: #60a5fa;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-description {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.5;
}

/* Bounce Icon Animation */
@keyframes bounceIcon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .services-container .container {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 100%;
    max-width: 450px;
  }
}

/* --- Sequential Animation Setup --- */
.animate-on-scroll .service-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.animate-on-scroll .service-card:nth-child(1) {
  animation-delay: 0.3s;
}
.animate-on-scroll .service-card:nth-child(2) {
  animation-delay: 0.9s;
}
.animate-on-scroll .service-card:nth-child(3) {
  animation-delay: 1.5s;
}
.animate-on-scroll .service-card:nth-child(4) {
  animation-delay: 2.1s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Prevent animation before visible */
.animate-on-scroll:not(.visible) .service-card {
  opacity: 0;
  transform: translateY(30px);
  animation: none;
}

/* NEW: Temporary hide after first wave */
.service-card.reset {
  opacity: 0 !important;
  transform: translateY(20px) !important;
  animation: none !important;
  transition: none;
}

/* NEW: Second appearance (together) */
/* Second appearance: fade-in together */
@keyframes fadeInTogether {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card.second-wave {
  /* This overrides nth-child delays */
  animation: fadeInTogether 0.8s ease forwards !important;
  animation-delay: 0.4s !important;
}


.personalized-support-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
  color: #e2e8f0;
}

.personalized-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.personalized-image {
  flex: 1 1 400px;
  max-width: 480px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  transition: transform 0.3s ease;
}

.personalized-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.personalized-image:hover {
  transform: scale(1.02);
}

.personalized-text {
  flex: 1 1 400px;
  max-width: 600px;
}

.feature-label {
  color: #3b82f6;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.feature-title {
  font-size: 2.2rem;
  color: #1e3a8a;
  margin-bottom: 20px;
  font-weight: 700;
}

.feature-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #333333;
}

.btn.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  border: none;
  padding: 12px 28px;
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* Responsive */
@media (max-width: 900px) {
  .personalized-container {
    flex-direction: column;
    align-items: center;
  }

  .personalized-image,
  .personalized-text {
    max-width: 100%;
    flex: none;
  }

  .feature-title {
    font-size: 1.8rem;
  }
}
 .services-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
  }

  .services-section small {
    display: block;
    font-weight: 600;
    color: #0a7cd5;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    margin-bottom: 10px;
    font-size: 0.9rem;
  }

  .services-section h2 {
    color: #1e3a8a;
    font-weight: 800;
    font-size: 2.4rem;
    margin-bottom: 50px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
  }

  .service-card {
    background:#141a26;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 10px 20px rgba(10, 124, 213, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
  }
  .service-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 30px rgba(10, 124, 213, 0.25);
  }

  .icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #0a7cd5;
    border-radius: 50%;
    color: #0a7cd5;
    font-size: 28px;
    animation: pulse 2.5s infinite ease-in-out;
  }

  /* Pulse animation on icon border and color */
  @keyframes pulse {
    0%, 100% {
      box-shadow: 0 0 0 0 rgba(10, 124, 213, 0.7);
      color: #0a7cd5;
      border-color: #0a7cd5;
    }
    50% {
      box-shadow: 0 0 15px 8px rgba(10, 124, 213, 0.3);
      color: #064a89;
      border-color: #064a89;
    }
  }

  .service-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .service-desc {
    font-size: 1rem;
    line-height: 1.55;
    color: #ddd;
  }
  /* Progress Section Heading Styling */
.progress-heading small {
  font-size: 14px;
  color: #007bff;  /* Accent blue */
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;

}

.progress-heading h2 {
  font-size: 32px;
  color: #1e3a8a;  /* Dark blue */
  margin: 0;
  font-weight: 800;
  line-height: 1.3;

}

/* Subtext Below Heading */
.progress-subtext {
  margin-top: 10px;
  margin-bottom: 30px;
 
  
}

.progress-subtext h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937; /* dark gray */
  margin-bottom: 8px;
}

.progress-subtext p {
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563; /* medium-dark text */

  max-width: 600px;
}

.progress-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px 20px;
  box-sizing: border-box;
}

.progress-section .left {
  flex: 1 1 400px;
  max-width: 600px;
}

.progress-section .right {
  flex: 1 1 300px;
  max-width: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.progress-section .right img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* RESPONSIVE STACKING */
@media (max-width: 768px) {
  .progress-section {
    flex-direction: column;
    align-items: center;
  }

  .progress-section .left,
  .progress-section .right {
    max-width: 100%;
    flex: none;
  }

  .progress-section .right {
    margin-top: 30px;
  }
}

/* Optional: Responsive text sizing */
@media (max-width: 480px) {
  .progress-heading h2 {
    font-size: 22px;
  }

  .progress-subtext h4 {
    font-size: 16px;
  }

  .progress-subtext p {
    font-size: 14px;
  }

  .progress-wrapper strong {
    font-size: 15px;
  }

  .progress-wrapper .percentage {
    font-size: 14px;
  }
}

  /* Fade-in animation when section loads */
  .service-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
  }

  .service-card:nth-child(1) {
    animation-delay: 0.1s;
  }
  .service-card:nth-child(2) {
    animation-delay: 0.3s;
  }
  .service-card:nth-child(3) {
    animation-delay: 0.5s;
  }
  .service-card:nth-child(4) {
    animation-delay: 0.7s;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }


.testimonials-section {
  padding: 80px 20px;

  text-align: center;
}
.testimonials-section .subheading {
  color: #007bff;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.testimonials-section .heading {
  color: #1e3a8a;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
}

/* Testimonials Layout */
.testimonials {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial {
  background-color: #141a26;
  padding: 30px 25px;
  border-radius: 12px;
  max-width: 320px;
  box-shadow: 0 0 20px rgba(30, 144, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}
.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(30, 144, 255, 0.25);
}
.testimonial img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #007bff;
  margin-bottom: 20px;
}
.testimonial p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 20px;
}
.testimonial h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.testimonial h4 span {
  color: #1e90ff;
  font-weight: 500;
}

/* Animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeInUp 1s forwards;
}
.delay-0 { animation-delay: 0s; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 900px) {
  .testimonials {
    flex-direction: column;
    align-items: center;
  }
}
/* Hidden initial state for all animate-on-scroll elements */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Visible state when scrolled into view */
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
p.lead {
    font-size: 1rem;
    color: #a0aec0;
    line-height: 1.5;
    margin-bottom: 45px;
  }

 .progress-section {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.progress-section .left {
  flex: 1;
  min-width: 300px;
}

.progress-section .progress-wrapper {
  margin-bottom: 40px;
  position: relative;
}

.progress-section .progress-wrapper strong {
  display: block;
  margin-bottom: -22px;
  color: #222;
  font-weight: bold;
}

.progress-section .percentage {
  display: block;
  text-align: right;
  margin-bottom: 5px;
  color: #222;
  font-weight: bold;
  user-select: none;
}

.progress-section .progress-bar-bg {
  background: #17203a;
  border-radius: 15px;
  height: 12px;
  overflow: hidden;
  position: relative;
}

.progress-section .progress-bar-fill {
  background: #2a69f6;
  height: 100%;
  width: 0;
  border-radius: 15px 0 0 15px;
  transition: width 2s ease;
}

.progress-section .right {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.progress-section .right img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.footer-content {
    text-align: center;
    background-color: #141a26;
    color: #141a26;
    /* width: 50%; */
    padding: 20px;
}
  .footer p {
    margin: 0;
    color: #94a3b8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  @media (max-width: 600px) {
    .footer {
      padding: 20px 15px;
      font-size: 0.85rem;
    }
  }
  .service-icon {
  width: 40px;
  height: 40px;
  display: block;
  margin-bottom: 15px;
  color: #007BFF; /* Blue */
}
