/* Root variables for responsive design */
:root {
  --primary-red: #f04e60;
  --icon-blue: #007bff;
  --icon-bg: #e0f2ff;
  --text-primary: #333;
  --text-secondary: #666;
  --text-light: #999;
  --bg-light: #f8f9fa;
  --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 0;
  margin: 0;
}

/* Remove default margins from sections */
section {
  margin: 0;
}

/* Specific override for banner carousel - NO padding */
.banner-carousel {
  padding: 0 !important;
  margin-bottom: 0 !important;
}

/* Fluid typography */
h1, .h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h2, .h2 { font-size: clamp(1.3rem, 3.5vw, 2.2rem); }
h3, .h3 { font-size: clamp(1.1rem, 3vw, 1.8rem); }
h4, .h4 { font-size: clamp(1rem, 2.5vw, 1.5rem); }
h5, .h5 { font-size: clamp(0.9rem, 2vw, 1.2rem); }
h6, .h6 { font-size: clamp(0.8rem, 1.8vw, 1rem); }

p { font-size: clamp(0.9rem, 2vw, 1.1rem); }

    /* Navbar styling - 5D Effect with Blue & Red */
    .navbar {
      background: linear-gradient(135deg, #e3f2fd 0%, #ffebee 50%, #e8eaf6 100%);
      padding: 0.05rem 0;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      /* Multi-layered shadows for 5D depth */
      box-shadow: 
        0 2px 4px rgba(33, 150, 243, 0.2),
        0 4px 8px rgba(244, 67, 54, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 16px 32px rgba(0, 0, 0, 0.08),
        0 32px 64px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(63, 81, 181, 0.2);
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      overflow: hidden;
      z-index: 1050;
      border-top: 1px solid rgba(33, 150, 243, 0.3);
      border-bottom: 2px solid rgba(244, 67, 54, 0.3);
      transform-style: preserve-3d;
      perspective: 1000px;
    }

    .navbar::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, 
        transparent, 
        rgba(33, 150, 243, 0.3), 
        rgba(244, 67, 54, 0.2),
        transparent);
      transition: left 0.6s ease;
      z-index: 1;
    }

    .navbar:hover::before {
      left: 100%;
    }

    /* Additional depth layer */
    .navbar::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      right: 0;
      height: 8px;
      background: linear-gradient(to bottom, 
        rgba(63, 81, 181, 0.15), 
        rgba(244, 67, 54, 0.1),
        transparent);
      pointer-events: none;
    }

    .navbar .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .navbar-brand {
      font-family: 'Georgia', 'Times New Roman', serif;
      font-size: clamp(1.5rem, 4vw, 1.8rem);
      font-weight: 700;
      color: #0d47a1 !important;
      text-decoration: none;
      margin-right: 1.5rem;
      position: relative;
      z-index: 2;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      letter-spacing: 0.5px;
    }

    .navbar-brand:hover {
      color: #0d47a1 !important;
      text-decoration: none;
      transform: scale(1.05);
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .navbar-toggler {
      border: none;
      padding: 0.25rem 0.5rem;
      background: rgba(255,255,255,0.1);
      border-radius: 0.375rem;
    }

    .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, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-collapse {
      flex-grow: 1;
    }

    .navbar-nav {
      display: flex;
      align-items: center;
      margin-right: auto;
    }

    .navbar-nav .nav-link {
      font-family: 'Georgia', 'Times New Roman', serif;
      color: #0d47a1;
      font-weight: 500;
      margin-right: 0.5rem;
      font-size: clamp(0.4rem, 0.8vw, 0.5rem);
      transition: color 0.3s ease, transform 0.3s ease;
      padding: 0.3rem 0.6rem 0.15rem 0.6rem;
      border-radius: 0.4rem;
      text-decoration: none;
      position: relative;
      z-index: 2;
      text-shadow: none;
      line-height: 1.2;
      letter-spacing: 0.3px;
    }

    .navbar-nav .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0.6rem;
      width: 0;
      height: 3px;
      background-color: #0d47a1;
      transition: width 0.4s ease, background-color 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
      color: #8b0000;
      transform: scale(1.05);
    }

    .navbar-nav .nav-link:hover::after {
      width: calc(100% - 1.2rem);
      background-color: #0d47a1;
    }

    .navbar-nav .nav-link:focus {
      color: #0a3d91;
      outline: none;
    }

    /* Custom Hamburger Menu Styles */
    .hamburger-menu {
      display: none;
    }

    .hamburger-btn {
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      width: 40px;
      height: 40px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      border-radius: 4px;
      position: relative;
    }

    .hamburger-btn:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    .hamburger-line {
      width: 20px;
      height: 2px;
      background: #fff;
      border-radius: 1px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      transform-origin: center;
      position: relative;
    }

    .hamburger-btn:hover .hamburger-line {
      background: #00ffb3;
    }

    /* Google-style cross animation */
    .hamburger-btn.active .hamburger-line:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-btn.active .hamburger-line:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }

    .hamburger-btn.active .hamburger-line:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }

    .hamburger-dropdown {
      position: fixed;
      top: 80px;
      right: 20px;
      background: #fffef7;
      border-radius: 10px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15),
                  0 5px 15px rgba(0, 0, 0, 0.08);
      border: 1px solid rgba(0, 0, 0, 0.1);
      min-width: 200px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 9999;
    }

    .hamburger-dropdown.show {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .hamburger-nav {
      list-style: none;
      padding: 1rem 0;
      margin: 0;
    }

    .hamburger-nav li {
      margin: 0;
    }

    .hamburger-link {
      display: block;
      padding: 0.8rem 1.5rem;
      color: #424242;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.9rem;
      transition: all 0.3s ease;
      border-left: 3px solid transparent;
    }

    .hamburger-link:hover {
      color: #1976d2;
      background: rgba(25, 118, 210, 0.08);
      border-left-color: #1976d2;
      transform: translateX(5px);
      box-shadow: 0 2px 8px rgba(25, 118, 210, 0.15);
    }

    /* Responsive Hamburger Menu */
    @media (max-width: 991.98px) {
      .hamburger-menu {
        margin-left: 0.5rem;
      }
      
      .hamburger-dropdown {
        right: 10px;
        top: 70px;
        min-width: 180px;
      }
      
      .hamburger-link {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
      }
    }

    @media (max-width: 575.98px) {
      .hamburger-btn {
        width: 36px;
        height: 36px;
        padding: 6px;
      }
      
      .hamburger-line {
        width: 18px;
        height: 2px;
      }
      
      .hamburger-dropdown {
        right: 5px;
        top: 60px;
        min-width: 160px;
      }
      
      .hamburger-link {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
      }
    }

    /* Highlight Teachers menu - AI Theme */
    .nav-teachers {
      background: linear-gradient(135deg, #00d4aa, #00a8cc);
      color: #fff !important;
      border-radius: 20px;
      padding: 0.3rem 0.8rem;
      font-weight: 600;
      font-size: clamp(0.6rem, 1.2vw, 0.7rem);
      box-shadow: 0 3px 12px rgba(0, 212, 170, 0.4);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      margin-right: 0.5rem;
      position: relative;
      overflow: hidden;
    }

    .nav-teachers::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s ease;
    }

    .nav-teachers:hover {
      background: linear-gradient(135deg, #00b894, #0097e6);
      color: #fff !important;
      transform: translateY(-1px);
      box-shadow: 0 5px 18px rgba(0, 212, 170, 0.6);
    }

    .nav-teachers:hover::before {
      left: 100%;
    }

    .nav-teachers:focus {
      background: linear-gradient(135deg, #00b894, #0097e6);
      color: #fff !important;
    }

    /* Contact button - AI Theme */
    .btn-contact {
      font-family: 'Georgia', 'Times New Roman', serif;
      border-radius: 6px;
      background: #0d47a1;
      color: white;
      font-weight: 500;
      font-size: clamp(0.4rem, 0.8vw, 0.5rem);
      padding: 0.3rem 0.8rem;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      min-height: 32px;
      border: none;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(13, 71, 161, 0.3);
      margin-right: 0.4rem;
      animation: pulseScale 2s ease-in-out infinite;
    }

    .btn-contact::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s ease;
    }

    .btn-contact:hover {
      background: #0a3d91;
      color: white;
      transform: translateY(-1px);
    }

    .btn-contact:hover::before {
      left: 100%;
    }

    .btn-contact:focus {
      background: #0a3d91;
      color: white;
      box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.3);
    }

    /* Animated Book a Demo button - AI Theme */
    .btn-demo {
      font-family: 'Georgia', 'Times New Roman', serif;
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.3rem 0.8rem;
      font-size: clamp(0.4rem, 0.8vw, 0.5rem);
      font-weight: 500;
      color: #fff;
      background: #0d47a1;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      overflow: hidden;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      min-height: 32px;
      text-decoration: none;
      box-shadow: 0 2px 8px rgba(13, 71, 161, 0.3);
      animation: pulseScale 2s ease-in-out infinite;
    }

    .btn-demo:hover {
      background: #0a3d91;
      color: white;
      transform: translateY(-1px) scale(1.02);
      animation: bounce 0.6s;
    }

    .btn-demo::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: rgba(255,255,255,0.2);
      transition: all 0.5s ease;
      transform: skewX(-20deg);
    }

    .btn-demo:hover::before {
      left: 100%;
    }

    .btn-demo:focus {
      background: #0a3d91;
      color: white;
      box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.3);
    }

    @keyframes bounce {
      0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
      40% { transform: translateY(-6px); }
      60% { transform: translateY(-3px); }
    }

    @keyframes pulseScale {
      0%, 100% { 
        transform: scale(1);
      }
      50% { 
        transform: scale(1.05);
      }
    }
    /* Banner Carousel */
    .banner-carousel {
      position: relative;
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      height: calc(100vh - 70px); /* Full viewport height minus navbar */
      overflow: hidden;
      background: transparent;
      margin: 0 !important;
      padding: 0 !important;
      display: block;
      margin-top: 70px !important;
    }

    .carousel-container {
      position: relative;
      width: 100%;
      height: 100%;
      background: transparent;
      margin: 0;
      padding: 0;
    }

    .carousel-track {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .carousel-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 0.6s ease-in-out;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      margin: 0;
      padding: 0;
    }

    .carousel-slide.active {
      opacity: 1;
      z-index: 2;
    }

    .carousel-slide img {
      width: 100%;
      height: 100%; /* Match carousel height */
      object-fit: cover;
      object-position: center;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      background: transparent;
      margin: 0;
      padding: 0;
      display: block;
    }

    .carousel-slide:hover img {
      transform: scale(1.08);
      filter: brightness(1.1) contrast(1.3);
    }

    /* Ensure no extra space or overflow */
    .banner-carousel {
      max-height: calc(100vh - 70px);
      position: relative;
      line-height: 0;
    }

    .banner-carousel .carousel-container {
      max-height: calc(100vh - 70px);
      line-height: 0;
    }



    /* Navigation Arrows */
    .carousel-prev,
    .carousel-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
      border: none;
      color: white;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      cursor: pointer;
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      backdrop-filter: blur(15px);
      border: 2px solid rgba(255, 255, 255, 0.2);
      opacity: 0.8;
    }

    .carousel-prev {
      left: 2rem;
    }

    .carousel-next {
      right: 2rem;
    }

    .carousel-prev:hover,
    .carousel-next:hover {
      background: linear-gradient(135deg, rgba(0, 255, 179, 0.9), rgba(26, 188, 156, 0.9));
      transform: translateY(-50%) scale(1.15);
      opacity: 1;
      box-shadow: 0 8px 25px rgba(0, 255, 179, 0.4);
      border-color: rgba(255, 255, 255, 0.6);
    }

    .carousel-prev:active,
    .carousel-next:active {
      transform: translateY(-50%) scale(1.05);
    }

    /* Auto-slide animation */
    @keyframes autoSlide {
      0%, 20% { opacity: 1; }
      25%, 95% { opacity: 0; }
      100% { opacity: 1; }
    }

    .carousel-slide:nth-child(1) { animation: autoSlide 20s infinite; }
    .carousel-slide:nth-child(2) { animation: autoSlide 20s infinite 4s; }
    .carousel-slide:nth-child(3) { animation: autoSlide 20s infinite 8s; }
    .carousel-slide:nth-child(4) { animation: autoSlide 20s infinite 12s; }
    .carousel-slide:nth-child(5) { animation: autoSlide 20s infinite 16s; }
    
    /* 3D Card Carousel Section */
    .card-carousel-section {
      position: relative;
      min-height: 500px;
      padding: 80px 0;
      margin-top: 70px;
      background: linear-gradient(180deg, #0a1929 0%, #1a3a52 50%, #4a90e2 100%);
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 0 0 15px 15px;
    }

    /* Soft blue glow effect on background */
    .card-carousel-section::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 80%;
      height: 80%;
      background: radial-gradient(circle, rgba(74, 144, 226, 0.3) 0%, transparent 70%);
      filter: blur(60px);
      z-index: 1;
      animation: glowPulse 4s ease-in-out infinite;
    }

    @keyframes glowPulse {
      0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
      50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.1); }
    }

    .card-carousel-container {
      position: relative;
      width: 100%;
      max-width: 1400px;
      height: 400px;
      perspective: 2000px;
      z-index: 2;
    }

    .card-carousel-track {
      position: absolute;
      width: 100%;
      height: 100%;
      transform-style: preserve-3d;
      animation: rotateCarousel 20s linear infinite;
    }

    @keyframes rotateCarousel {
      from { transform: rotateY(0deg); }
      to { transform: rotateY(360deg); }
    }

    .card-3d {
      position: absolute;
      width: 480px;
      height: 340px;
      left: 50%;
      top: 50%;
      transform-style: preserve-3d;
      transition: all 0.5s ease;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 16px 32px rgba(0, 0, 0, 0.2),
        0 32px 64px rgba(0, 0, 0, 0.25),
        0 48px 96px rgba(0, 0, 0, 0.15),
        inset 0 -2px 6px rgba(0, 0, 0, 0.1);
    }

    /* Position cards in 3D circle */
    .card-3d:nth-child(1) {
      transform: translate(-50%, -50%) rotateY(0deg) translateZ(450px);
    }
    .card-3d:nth-child(2) {
      transform: translate(-50%, -50%) rotateY(72deg) translateZ(450px);
    }
    .card-3d:nth-child(3) {
      transform: translate(-50%, -50%) rotateY(144deg) translateZ(450px);
    }
    .card-3d:nth-child(4) {
      transform: translate(-50%, -50%) rotateY(216deg) translateZ(450px);
    }
    .card-3d:nth-child(5) {
      transform: translate(-50%, -50%) rotateY(288deg) translateZ(450px);
    }

    .card-3d img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      border-radius: 16px;
      backface-visibility: hidden;
    }

    /* Center card appears larger and brighter with enhanced shadow */
    .card-carousel-track .card-3d:nth-child(1) {
      filter: brightness(1.1);
      box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 12px 24px rgba(0, 0, 0, 0.18),
        0 24px 48px rgba(0, 0, 0, 0.25),
        0 40px 80px rgba(0, 0, 0, 0.3),
        0 60px 120px rgba(0, 0, 0, 0.2),
        inset 0 -3px 8px rgba(0, 0, 0, 0.15);
    }

    /* Softer shadow for side cards (faded effect) */
    .card-carousel-track .card-3d:not(:nth-child(1)) {
      box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.08),
        0 6px 12px rgba(0, 0, 0, 0.12),
        0 12px 24px rgba(0, 0, 0, 0.15),
        0 24px 48px rgba(0, 0, 0, 0.18),
        inset 0 -1px 4px rgba(0, 0, 0, 0.08);
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .card-carousel-section {
        min-height: 400px;
        padding: 60px 0;
      }
      
      .card-carousel-container {
        height: 300px;
      }
      
      .card-3d {
        width: 330px;
        height: 250px;
      }
      
      .card-3d:nth-child(1) {
        transform: translate(-50%, -50%) rotateY(0deg) translateZ(320px);
      }
      .card-3d:nth-child(2) {
        transform: translate(-50%, -50%) rotateY(72deg) translateZ(320px);
      }
      .card-3d:nth-child(3) {
        transform: translate(-50%, -50%) rotateY(144deg) translateZ(320px);
      }
      .card-3d:nth-child(4) {
        transform: translate(-50%, -50%) rotateY(216deg) translateZ(320px);
      }
      .card-3d:nth-child(5) {
        transform: translate(-50%, -50%) rotateY(288deg) translateZ(320px);
      }
    }

    @media (max-width: 480px) {
      .card-carousel-section {
        min-height: 350px;
        padding: 40px 0;
      }
      
      .card-carousel-container {
        height: 250px;
      }
      
      .card-3d {
        width: 260px;
        height: 210px;
      }
      
      .card-3d:nth-child(1) {
        transform: translate(-50%, -50%) rotateY(0deg) translateZ(240px);
      }
      .card-3d:nth-child(2) {
        transform: translate(-50%, -50%) rotateY(72deg) translateZ(240px);
      }
      .card-3d:nth-child(3) {
        transform: translate(-50%, -50%) rotateY(144deg) translateZ(240px);
      }
      .card-3d:nth-child(4) {
        transform: translate(-50%, -50%) rotateY(216deg) translateZ(240px);
      }
      .card-3d:nth-child(5) {
        transform: translate(-50%, -50%) rotateY(288deg) translateZ(240px);
      }
    }
    
    /* About Section */
    .about-section {
      position: relative;
      background: url('../images/about_bg.png') center/cover no-repeat;
      color: #000;
      padding: 6rem 1rem;
      margin-top: 0;
    }
    .about-section h2::after {
      content: "";
      display: block;
      width: 150px;
      height: 4px;
      background-color: #1d72b8;
      margin: 10px auto 0;
      border-radius: 2px;
    }

    /* Overlay for readability */
    .about-section::before {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(255,255,255,0.85);
      z-index: 1;
    }

    .about-content {
      position: relative;
      z-index: 2;
    }

/* ==========================================
   FUTURISTIC 4-PART ABOUT SECTION
   ========================================== */

.futuristic-about-section {
  position: relative;
  padding: 40px 20px 40px 20px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #fff0f0 0%, #ffe8f0 50%, #e8f4ff 100%);
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

/* Section Heading */
.futuristic-section-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.futuristic-main-heading {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
  opacity: 0;
  animation: slideDownFade 1s ease-out forwards, colorShift 4s ease-in-out infinite 1s;
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #c0392b, #0d47a1, #c0392b, #0d47a1);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.futuristic-subheading {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  color: #000000;
  font-weight: 400;
  line-height: 1.8;
  margin: 0;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards 0.3s;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandLine {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

@keyframes colorShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Subtle background decorations */
.futuristic-about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(217, 243, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* Main Grid Layout */
.futuristic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0px 50px; /* 0px vertical, 50px horizontal */
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ========== PART 1: Top-left with 2 images + content ========== */
.part-1 {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.image-group {
  position: relative;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.image-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 16px 48px rgba(74, 144, 226, 0.12);
}

.image-box:hover {
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.12),
    0 20px 60px rgba(74, 144, 226, 0.18);
}

.part-1 .img-1 {
  width: 55%;
  z-index: 2;
  animation: gentleFloat 6s ease-in-out infinite;
}

.part-1 .img-2 {
  width: 50%;
  margin-top: 40px;
  margin-left: -30px;
  z-index: 1;
  animation: gentleFloat 6s ease-in-out infinite 2s;
}

.image-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Floating animation keyframe */
@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* ========== PART 2: Right side content ========== */
.part-2 {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  padding-left: 40px;
}

/* ========== PART 3: Bottom content under Part 1 ========== */
.part-3 {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
}

/* ========== PART 4: Bottom-right with 2 images ========== */
.part-4 {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.bottom-images {
  gap: 0px;
  flex-direction: row;
  width: 100%;
}

.part-4 .img-3 {
  width: 52%;
  margin-bottom: 60px;
  margin-right: -60px;
  animation: gentleFloat 6s ease-in-out infinite;
}

.part-4 .img-4 {
  width: 57%;
  margin-right: -40px;
  margin-top: 40px;
  z-index: 2;
  animation: gentleFloat 6s ease-in-out infinite 2s;
}

/* ========== CONTENT STYLING ========== */
.content-box {
  padding: 20px 0;
}

.content-box h2 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 20px;
  line-height: 1.2;
}

.content-box h3 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #0d47a1;
}

.content-box p {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.8;
  color: #000000;
  font-weight: 400;
  margin-bottom: 15px;
  text-align: justify;
}

/* Highlight content box (Part 3) */
.content-box.highlight {
  background: rgba(255, 255, 255, 0.6);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.05),
    0 8px 32px rgba(74, 144, 226, 0.08);
  backdrop-filter: blur(10px);
}

/* CTA Button */
.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(74, 144, 226, 0.3);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74, 144, 226, 0.4);
  color: white;
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-in-up {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.3s;
}

.fade-in-up-delayed {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.6s;
}

.fade-in-right {
  opacity: 0;
  animation: fadeInRight 1s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .futuristic-grid {
    gap: 15px 40px; /* 15px vertical, 40px horizontal */
  }

  .part-2 {
    padding-left: 20px;
  }

  .part-1 .img-2,
  .part-4 .img-4 {
    margin-left: -20px;
    margin-right: -20px;
  }

  /* Adjust bottom images for tablets */
  .part-4 .img-3 {
    margin-right: -40px;
  }

  .part-4 .img-4 {
    margin-top: 30px;
  }

  .bottom-images {
    gap: 0px;
  }
}

@media (max-width: 768px) {
  .futuristic-about-section {
    padding: 60px 15px;
  }

  .futuristic-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 50px;
  }

  .part-1,
  .part-2,
  .part-3,
  .part-4 {
    grid-column: 1;
    grid-row: auto;
    padding-left: 0;
  }

  .part-1 .img-1,
  .part-1 .img-2,
  .part-4 .img-3,
  .part-4 .img-4 {
    width: 48%;
  }

  .part-1 .img-2,
  .part-4 .img-4 {
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
  }

  .part-4 .img-3 {
    margin-right: -20px;
    margin-bottom: 20px;
  }

  .content-box.highlight {
    padding: 30px 20px;
  }

  .part-4 {
    justify-content: center;
  }

  .bottom-images {
    gap: 0px;
  }
}

@media (max-width: 480px) {
  .futuristic-about-section {
    padding: 40px 10px;
  }

  .image-group {
    flex-direction: column;
    gap: 15px;
  }

  .part-1 .img-1,
  .part-1 .img-2,
  .part-4 .img-3,
  .part-4 .img-4 {
    width: 100%;
    margin: 0 !important;
  }

  .bottom-images {
    flex-direction: column;
    gap: 15px;
  }

  .content-box h2 {
    font-size: 24px;
  }

  .content-box h3 {
    font-size: 20px;
  }

  .content-box p {
    font-size: 15px;
  }

  .content-box.highlight {
    padding: 25px 15px;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================
   MODERN SPLIT-SCREEN SECTION WITH CYCLING CARDS
   ========================================== */

.split-screen-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #d4f1d4 0%, #c8e6f5 50%, #e0f7fa 100%);
  padding: 40px 60px 80px 60px;
  margin-top: 40px;
  margin-bottom: 40px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

/* Section Heading */
.split-section-header {
  text-align: left;
  margin-bottom: 0px;
  position: relative;
  z-index: 2;
  padding-left: 60px;
}

.split-main-heading {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  margin-bottom: 0px;
  line-height: 1.2;
  opacity: 0;
  animation: slideDownFade 1s ease-out forwards, colorShift 4s ease-in-out infinite 1s;
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #c0392b, #0d47a1, #c0392b, #0d47a1);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.split-container {
  display: flex;
  max-width: 1400px;
  width: 100%;
  gap: 80px;
  align-items: center;
}

/* ========== LEFT SIDE: CONTENT ========== */
.split-left {
  flex: 1;
  color: #000000;
  padding-right: 40px;
}

.split-title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 20px;
  line-height: 1.2;
}

.split-description {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.8;
  color: #000000 !important;
  font-weight: 400;
  text-align: justify;
}

.split-left p.split-description {
  color: #000000 !important;
}

/* ========== RIGHT SIDE: ANIMATED CARDS ========== */
.split-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 500px;
}

.cards-carousel {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-card {
  position: absolute;
  width: 320px;
  height: 420px;
  background: #1f1f1f;
  border-radius: 16px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #2a2a2a;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Full height images for all cards */
.card-1 .card-image,
.card-2 .card-image,
.card-3 .card-image {
  height: 100%;
}

.card-1,
.card-2,
.card-3 {
  padding: 0;
}

.card-title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.2;
  padding: 20px 20px 10px 20px;
  margin: 0;
}

.card-desc {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.8;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  padding: 0 20px 20px 20px;
  margin: 0;
}

/* ========== CARD CYCLING ANIMATION ========== */

/* Card 1: Start center, move right, come back from left */
.card-1 {
  z-index: 3;
  transform: translateX(0) scale(1);
  opacity: 1;
  animation: cycleCard1 15s ease-in-out infinite;
}

/* Card 2: Start right, move left to center, then off-screen */
.card-2 {
  z-index: 2;
  transform: translateX(180px) scale(0.85);
  opacity: 0.6;
  animation: cycleCard2 15s ease-in-out infinite;
}

/* Card 3: Start left, wait, then move to right */
.card-3 {
  z-index: 1;
  transform: translateX(-180px) scale(0.85);
  opacity: 0.6;
  animation: cycleCard3 15s ease-in-out infinite;
}

@keyframes cycleCard1 {
  0%, 100% {
    transform: translateX(0) scale(1);
    z-index: 3;
    opacity: 1;
  }
  33% {
    transform: translateX(250px) scale(0.8);
    z-index: 1;
    opacity: 0;
  }
  34% {
    transform: translateX(-250px) scale(0.8);
    z-index: 1;
    opacity: 0;
  }
  66% {
    transform: translateX(-180px) scale(0.85);
    z-index: 2;
    opacity: 0.6;
  }
}

@keyframes cycleCard2 {
  0%, 100% {
    transform: translateX(180px) scale(0.85);
    z-index: 2;
    opacity: 0.6;
  }
  33% {
    transform: translateX(0) scale(1);
    z-index: 3;
    opacity: 1;
  }
  66% {
    transform: translateX(250px) scale(0.8);
    z-index: 1;
    opacity: 0;
  }
  67% {
    transform: translateX(-250px) scale(0.8);
    z-index: 1;
    opacity: 0;
  }
}

@keyframes cycleCard3 {
  0%, 100% {
    transform: translateX(-180px) scale(0.85);
    z-index: 2;
    opacity: 0.6;
  }
  33% {
    transform: translateX(-180px) scale(0.85);
    z-index: 2;
    opacity: 0.6;
  }
  66% {
    transform: translateX(0) scale(1);
    z-index: 3;
    opacity: 1;
  }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .split-screen-section {
    padding: 40px 40px 70px 40px;
  }

  .split-section-header {
    padding-left: 40px;
  }

  .split-container {
    gap: 50px;
  }

  .split-left {
    padding-right: 20px;
  }

  .split-title {
    font-size: clamp(17px, 2.5vw, 24px);
  }

  .split-description {
    font-size: clamp(14px, 1.5vw, 17px);
  }

  .split-description ul li {
    font-size: clamp(14px, 1.5vw, 17px);
  }

  .carousel-card {
    width: 280px;
    height: 380px;
  }

  /* Keep full height for all cards */
  .card-1 .card-image,
  .card-2 .card-image,
  .card-3 .card-image {
    height: 100%;
  }
}

@media (max-width: 768px) {
  .split-screen-section {
    padding: 40px 20px 60px 20px;
    min-height: auto;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .split-section-header {
    padding-left: 20px;
    margin-bottom: 30px;
  }

  .split-main-heading {
    font-size: clamp(20px, 4vw, 28px);
  }

  .split-container {
    flex-direction: column;
    gap: 40px;
  }

  .split-left {
    padding-right: 0;
    text-align: left;
  }

  .split-title {
    font-size: clamp(16px, 3vw, 22px);
    text-align: left;
  }

  .split-description {
    text-align: left;
    font-size: clamp(14px, 2.5vw, 16px);
  }

  .split-description ul {
    padding-left: 20px;
  }

  .split-description ul li {
    font-size: clamp(14px, 2.5vw, 16px);
    margin-bottom: 10px;
  }

  .split-right {
    width: 100%;
    min-height: 350px;
  }

  .carousel-card {
    width: 260px;
    height: 360px;
  }

  /* Keep full height for all cards */
  .card-1 .card-image,
  .card-2 .card-image,
  .card-3 .card-image {
    height: 100%;
  }

  .card-2 {
    transform: translateX(140px) scale(0.85);
  }

  .card-3 {
    transform: translateX(-140px) scale(0.85);
  }

  @keyframes cycleCard1 {
    0%, 100% {
      transform: translateX(0) scale(1);
      z-index: 3;
      opacity: 1;
    }
    33% {
      transform: translateX(200px) scale(0.8);
      z-index: 1;
      opacity: 0;
    }
    34% {
      transform: translateX(-200px) scale(0.8);
      z-index: 1;
      opacity: 0;
    }
    66% {
      transform: translateX(-140px) scale(0.85);
      z-index: 2;
      opacity: 0.6;
    }
  }

  @keyframes cycleCard2 {
    0%, 100% {
      transform: translateX(140px) scale(0.85);
      z-index: 2;
      opacity: 0.6;
    }
    33% {
      transform: translateX(0) scale(1);
      z-index: 3;
      opacity: 1;
    }
    66% {
      transform: translateX(200px) scale(0.8);
      z-index: 1;
      opacity: 0;
    }
    67% {
      transform: translateX(-200px) scale(0.8);
      z-index: 1;
      opacity: 0;
    }
  }

  @keyframes cycleCard3 {
    0%, 100% {
      transform: translateX(-140px) scale(0.85);
      z-index: 2;
      opacity: 0.6;
    }
    33% {
      transform: translateX(-140px) scale(0.85);
      z-index: 2;
      opacity: 0.6;
    }
    66% {
      transform: translateX(0) scale(1);
      z-index: 3;
      opacity: 1;
    }
  }
}

@media (max-width: 480px) {
  .split-screen-section {
    padding: 30px 15px 50px 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 20px;
  }

  .split-section-header {
    padding-left: 15px;
    margin-bottom: 20px;
  }

  .split-main-heading {
    font-size: clamp(18px, 5vw, 24px);
  }

  .split-container {
    gap: 30px;
  }

  .split-title {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 15px;
  }

  .split-description {
    font-size: clamp(13px, 3.5vw, 15px);
    line-height: 1.6;
  }

  .split-description ul {
    padding-left: 15px;
  }

  .split-description ul li {
    font-size: clamp(13px, 3.5vw, 15px);
    margin-bottom: 8px;
  }

  .split-right {
    min-height: 300px;
  }

  .carousel-card {
    width: 200px;
    height: 300px;
  }

  /* Keep full height for all cards */
  .card-1 .card-image,
  .card-2 .card-image,
  .card-3 .card-image {
    height: 100%;
  }

  .card-2 {
    transform: translateX(100px) scale(0.8);
  }

  .card-3 {
    transform: translateX(-100px) scale(0.8);
  }

  .card-title {
    font-size: 14px;
    padding: 12px 12px 6px 12px;
  }

  .card-desc {
    font-size: 12px;
    padding: 0 12px 12px 12px;
  }
}

     /* Centered Section Heading */
    .about-heading {
      text-align: center;
      position: relative;
      z-index: 2;
      margin-bottom: 3rem;
    }

    .about-heading h2 {
      font-size: 2.8rem;
      font-weight: 600;
      color: #00ffb3;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    .about-image img {
      width: 100%;
      border-radius: 15px;
      box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }

    .about-text h2 {
      font-size: 2.5rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }

    .about-text p {
      font-size: 1.1rem;
      line-height: 1.8;
      margin-bottom: 1rem;
    }

    .about-text ul {
      list-style: none;
      padding-left: 0;
    }

    .about-text ul li {
      margin-bottom: 0.8rem;
      position: relative;
      padding-left: 1.5rem;
    }

    .about-text ul li::before {
      content: "✔";
      position: absolute;
      left: 0;
      color: #00ff99;
      font-weight: 600;
    }

    /* Add extra content style */
    .extra-content {
      margin-top: 2rem;
      background: rgba(255,255,255,0.1);
      padding: 1.5rem;
      border-radius: 12px;
    }

    @media(max-width: 992px){
      .about-text h2 {
        font-size: 2rem;
      }
      .about-text p {
        font-size: 1rem;
      }
    }
    /* Features Section */
    .features-section {
        padding: 60px 0;
      background: linear-gradient(90deg, #e9f8f1, #ffffff);
    }
   .feature-heading h2 {
      font-size: 2.8rem;
      font-weight: 600;
      color: #00ffb3;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    .features-section h2 {
      text-align: center;
      font-family: 'Georgia', 'Times New Roman', serif;
      font-size: clamp(22px, 3vw, 34px);
      font-weight: 700;
      margin: 0 auto 30px auto;
      line-height: 1.2;
      position: relative;
      display: block;
      width: fit-content;
    }

    .letter-fall {
      display: inline-block;
      animation: letterDrop 0.8s ease-out forwards, colorChange 3s ease-in-out infinite;
      animation-delay: calc(var(--i) * 0.1s);
      opacity: 0;
      transform: translateY(-50px);
    }

    @keyframes letterDrop {
      0% {
        opacity: 0;
        transform: translateY(-50px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes colorChange {
      0%, 100% {
        color: #c0392b;
      }
      25% {
        color: #0d47a1;
      }
      50% {
        color: #8b008b;
      }
      75% {
        color: #ff6347;
      }
    }

    

    /* Feature Cards - Clean Design */
    .features-section .card.feature-card {
      border-radius: 12px;
      background: #ffffff;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      margin-bottom: 30px;
      overflow: hidden;
      border: none !important;
      padding: 0 !important;
    }

    .features-section .card.feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
    }

    /* Remove all Bootstrap default padding */
    .features-section .feature-card .card-body {
      padding: 0 !important;
      margin: 0 !important;
      display: block !important;
    }

    /* Image container - flush to top, left, right edges */
    .features-section .feature-image {
      width: 100%;
      height: 220px;
      overflow: hidden;
      margin: 0 !important;
      padding: 0 !important;
      background: #f5f5f5;
      line-height: 0;
      border-radius: 0 !important;
    }

    .features-section .feature-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      margin: 0 !important;
      padding: 0 !important;
      border-radius: 0 !important;
    }

    /* Text content area */
    .feature-content {
      padding: 1.25rem 1.5rem 1.5rem 1.5rem;
      text-align: center;
    }

    .feature-content .card-title {
      font-size: 1.1rem;
      font-weight: 600;
      color: #0d47a1;
      margin-bottom: 0.75rem;
      transition: color 0.3s ease;
    }

    .features-section .card.feature-card:hover .card-title {
      color: #c0392b;
    }

    .feature-content .card-text {
      font-size: 0.9rem;
      color: #666;
      line-height: 1.6;
      margin-bottom: 1rem;
    }

    .feature-content .btn {
      font-size: 0.9rem;
      padding: 0.5rem 1.5rem;
      background-color: #0d47a1;
      border-color: #0d47a1;
      color: #ffffff;
    }

    .feature-content .btn:hover {
      background-color: #0a3d91;
      border-color: #0a3d91;
      color: #ffffff;
    }

    @media (max-width: 768px) {
      .feature-card .card-body {
        flex-direction: column;
        text-align: center;
      }

      .feature-image {
        margin-right: 0;
        margin-bottom: 20px;
      }
    }
    




    /* Team Section */
    .team-section {
      padding: 40px 0;
      background: linear-gradient(180deg, #ffffff 0%, #f1f6fb 100%);
    }

    .team-section h2 {
      text-align: center;
      font-family: 'Georgia', 'Times New Roman', serif;
      font-size: clamp(22px, 3vw, 34px);
      font-weight: 700;
      margin: 0 auto 30px auto;
      line-height: 1.2;
      opacity: 0;
      animation: slideDownFade 1s ease-out forwards, colorShift 4s ease-in-out infinite 1s;
      position: relative;
      display: block;
      background: linear-gradient(90deg, #c0392b, #0d47a1, #c0392b, #0d47a1);
      background-size: 300% 100%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      width: fit-content;
    }

    .team-card {
      background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
      border-radius: 15px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: flex-start !important;
      text-align: center;
      padding: 0 20px 30px 20px;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      height: 100%;
      border: 1px solid rgba(0, 0, 0, 0.05);
      position: relative;
      overflow: hidden;
    }

    .team-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, #c0392b, #0d47a1);
      transition: left 0.4s ease;
    }

    .team-card:hover::before {
      left: 0;
    }

    .team-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
      border-color: rgba(13, 71, 161, 0.2);
    }

    .team-img {
      width: 180px;
      height: 180px;
      border-radius: 50%;
      overflow: hidden;
      margin: 30px auto 20px auto !important;
      flex-shrink: 0;
      background: linear-gradient(135deg, #f0f0f0, #ffffff);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
      display: block !important;
      align-self: center !important;
      border: 4px solid #ffffff;
      transition: all 0.3s ease;
    }

    .team-card:hover .team-img {
      transform: scale(1.05);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
      border-color: rgba(13, 71, 161, 0.3);
    }

    .team-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      display: block;
    }

    .team-info {
      padding: 0;
      width: 100%;
    }

    .team-info h5 {
      font-family: 'Georgia', 'Times New Roman', serif;
      font-weight: 700;
      color: #e63946;
      margin-bottom: 8px;
      font-size: 1.2rem;
      line-height: 1.2;
    }

    .team-info span {
      font-family: 'Inter', 'Segoe UI', sans-serif;
      color: #1d72b8;
      font-weight: 500;
      display: block;
      margin-bottom: 12px;
      font-size: 1rem;
      line-height: 1.4;
    }

    .team-info p {
      font-family: 'Inter', 'Segoe UI', sans-serif;
      margin: 0;
      color: #666;
      font-size: 0.95rem;
      line-height: 1.6;
    }

    /* Responsive Design */
    @media (max-width: 767px) {
      .team-card {
        flex-direction: column;
        text-align: center;
      }

      .team-img {
        margin: 0 0 15px 0;
      }
    }
     .benefits-section {
      padding: 80px 0;
      background: linear-gradient(180deg, #ffffff 0%, #f1f6fb 100%);
      position: relative;
      overflow: hidden;
    }

    .benefits-section h2 {
      text-align: center;
      font-family: 'Georgia', 'Times New Roman', serif;
      font-size: clamp(22px, 3vw, 34px);
      font-weight: 700;
      margin: 0 auto 30px auto;
      line-height: 1.2;
      opacity: 0;
      animation: slideDownFade 1s ease-out forwards, colorShift 4s ease-in-out infinite 1s;
      position: relative;
      display: block;
      background: linear-gradient(90deg, #c0392b, #0d47a1, #c0392b, #0d47a1);
      background-size: 300% 100%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      width: fit-content;
    }

    /* Benefit Cards - Same as Feature Cards */
    .benefits-section .card.benefit-card {
      border-radius: 12px;
      background: #ffffff;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      margin-bottom: 30px;
      overflow: hidden;
      border: none !important;
      padding: 0 !important;
    }

    .benefits-section .card.benefit-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
    }

    .benefits-section .benefit-card .card-body {
      padding: 0 !important;
      margin: 0 !important;
      display: block !important;
    }

    .benefits-section .benefit-image {
      width: 100%;
      height: 220px;
      overflow: hidden;
      margin: 0 !important;
      padding: 0 !important;
      background: #f5f5f5;
      line-height: 0;
      border-radius: 0 !important;
    }

    .benefits-section .benefit-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      margin: 0 !important;
      padding: 0 !important;
      border-radius: 0 !important;
    }

    .benefit-content {
      padding: 1.25rem 1.5rem 1.5rem 1.5rem;
      text-align: center;
    }

    .benefit-content .card-title {
      font-size: 1.1rem;
      font-weight: 600;
      color: #0d47a1;
      margin-bottom: 0.75rem;
      transition: color 0.3s ease;
    }

    .benefits-section .card.benefit-card:hover .card-title {
      color: #c0392b;
    }

    .benefit-content .card-text {
      font-size: 0.9rem;
      color: #666;
      line-height: 1.6;
      margin-bottom: 1rem;
    }

    .benefit-content .btn {
      font-size: 0.9rem;
      padding: 0.5rem 1.5rem;
      background-color: #0d47a1;
      border-color: #0d47a1;
      color: #ffffff;
    }

    .benefit-content .btn:hover {
      background-color: #0a3d91;
      border-color: #0a3d91;
      color: #ffffff;
    }

    /* Responsive Adjustments */
    @media (max-width: 767px) {
      .benefit-card {
        margin-bottom: 25px;
      }
    }
    /* Why Choose Us Section */
    .why-choose-us {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 60px 0;
}

.section-title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: #0d47a1;
  position: relative;
  margin-bottom: 50px;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: #1d72b8;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.choose-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
}

.choose-img {
  transition: transform 0.5s ease;
}

.choose-img:hover {
  transform: scale(1.08);
}

.why-choose-us .feature-item {
  text-align: left;
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.why-choose-us .feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, #c0392b, #0d47a1);
  transition: height 0.3s ease;
}

.why-choose-us .feature-item:hover::before {
  height: 100%;
}

.why-choose-us .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-color: rgba(13, 71, 161, 0.2);
}

.why-choose-us .icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: #0d47a1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.why-choose-us .feature-item:hover .icon-wrapper {
  background: linear-gradient(135deg, #0d47a1, #1976d2);
  color: white;
  transform: scale(1.05);
}

.why-choose-us .feature-item .icon-wrapper i {
  transition: transform 0.3s ease;
}

.why-choose-us .feature-item:hover .icon-wrapper i {
  transform: rotate(5deg);
}

.why-choose-us .feature-item h5 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0d47a1;
  transition: color 0.3s ease;
}

.why-choose-us .feature-item:hover h5 {
  color: #c0392b;
}

.why-choose-us .feature-item p {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.why-choose-us .hover-line {
  display: none;
}

/* Custom properties for easy color change */
:root {
    --primary-red: #f04e60; /* The main color from the image */
    --icon-blue: #007bff; /* Blue color for icons/borders */
    --icon-bg: #e0f2ff; /* Light blue background for icons */
}



.how-it-works-section {
    padding: 50px 0;
    background: #bbdefb;
    border-radius: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid #ff0000;
}

.how-it-works-heading {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    margin: 0 auto 30px auto;
    line-height: 1.2;
    opacity: 0;
    animation: slideDownFade 1s ease-out forwards, colorShift 4s ease-in-out infinite 1s;
    position: relative;
    display: block;
    background: linear-gradient(90deg, #c0392b, #0d47a1, #c0392b, #0d47a1);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: fit-content;
}

.card-overlap-row {
    margin-top: 0;
}

.step-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.4s ease;
  height: 100%;
  transform: translateY(0);
  position: relative;
  overflow: hidden;
  padding: 0.8rem !important;
  max-width: 180px;
  margin: 0 auto;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #c0392b, #0d47a1);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.step-card:hover::before {
  transform: scaleX(1);
}

/* Hover Effect: Lift + Stronger Shadow + Subtle Scale */
.step-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: #0d47a1;
  cursor: pointer;
}


.icon-circle {
    /* Matches the specific dashed-border, light-blue background circle */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--icon-blue); 
    border-radius: 50%;
    background-color: var(--icon-bg);
    padding: 6px;
}

.icon-circle img {
    /* Ensures the icon is smaller than the circle and centered */
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.step-card h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 700;
    color: #0d47a1;
    margin-top: 10px;
    margin-bottom: 6px;
}

.stat-value {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: clamp(11px, 0.9vw, 13px);
    font-weight: 500;
    color: #000000;
    margin-bottom: 0;
    line-height: 1.5;
}
/* 3. PARENTS SAY STYLES (Red Block) */


.parent-say-section {
    background: #d7ccc8;
    color: #333;
    padding: 80px 0 !important;
    border-radius: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.parents-say-heading {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    margin: 0 auto 30px auto;
    line-height: 1.2;
    opacity: 0;
    animation: slideDownFade 1s ease-out forwards, colorShift 4s ease-in-out infinite 1s;
    position: relative;
    display: block;
    background: linear-gradient(90deg, #c0392b, #0d47a1, #c0392b, #0d47a1);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: fit-content;
}

.divider-icon {
    color: #0d47a1;
    width: 50px;
    border-bottom: 2px solid #0d47a1;
    padding-bottom: 5px;
}

.divider-icon i {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.testimonial {
    max-width: 800px;
}

.testimonial .lead {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: clamp(16px, 1.2vw, 20px);
    font-weight: 400;
    line-height: 1.8;
    color: #000000;
    text-align: center;
}

/* Customizing Carousel Controls to match the screenshot */
.carousel-control-prev,
.carousel-control-next {
    width: 5%; /* Smaller target area */
    opacity: 1; /* Always visible */
    color: #000000;
}

.custom-arrow-prev,
.custom-arrow-next {
    /* This creates the circular arrow button */
    background-image: none;
    width: 45px;
    height: 45px;
    border: 2px solid #000000; /* Black circle border */
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.custom-arrow-prev:hover,
.custom-arrow-next:hover {
    background-color: rgba(0, 0, 0, 0.1); /* Slight hover effect */
}

/* Using Font Awesome icons inside the circle */
.custom-arrow-prev::before {
    content: "\f053"; /* Chevron Left */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #000000;
    font-size: 1rem;
    transform: translateX(-1px); /* Minor adjustment for centering */
}

.custom-arrow-next::before {
    content: "\f054"; /* Chevron Right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #000000;
    font-size: 1rem;
    transform: translateX(1px); /* Minor adjustment for centering */
}
/* Pricing section */
.pricing-section {
  background: #f8f9fa;
}
.pricing h2 {
  
      font-size: 2.8rem;
      font-weight: 600;
      color: #00ffb3;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

.pricing::after {
  content: '';
  width: 80px;
  height: 4px;
  background: #1d72b8;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}
.pricing-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card ul li {
  margin-bottom: 10px;
  list-style-type: disc;
  margin-left: 20px;
  color: #555;
}
.pricing-card1 ul li {
  margin-bottom: 10px;
  list-style-type: disc;
  margin-left: 20px;
  color: #fff;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.featured {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  transform: scale(1.05);
}

.featured:hover {
  transform: scale(1.08);
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
}

.plan-title {
  font-weight: 600;
  text-transform: uppercase;
}
/* Faq Section */
.faq-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.faq-heading {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  margin: 0 auto 30px auto;
  line-height: 1.2;
  text-align: center;
}

.faq-frequently {
  color: #c0392b;
}

.faq-questions {
  color: #0d47a1;
}

.faq-section .text-muted {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 400;
  line-height: 1.8;
  color: #555555;
}

.accordion-button {
  font-family: 'Georgia', 'Times New Roman', serif;
  background-color: #ffffff;
  font-weight: 600;
  font-size: clamp(14px, 1.2vw, 18px);
  border-radius: 8px !important;
  transition: all 0.3s ease;
  color: #0d47a1;
}

.accordion-button:not(.collapsed) {
  background: #0d47a1;
  color: #fff;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.2);
}

.accordion-button i {
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) i {
  transform: rotate(180deg);
  color: #fff !important;
}

.accordion-body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: #ffffff;
  border-top: 1px solid #e9ecef;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 400;
  color: #000000;
  line-height: 1.8;
}

.accordion-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accordion-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #ffcdd2 100%);
  color: #fff;
}

.contact-heading {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  margin: 0 auto 30px auto;
  line-height: 1.2;
  text-align: center;
}

.contact-get-in {
  color: #c0392b;
}

.contact-touch {
  color: #0d47a1;
}

.contact-description {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 400;
  line-height: 1.8;
  color: #333333;
}

.text-highlight {
  color: #ffd700;
}

.contact-info h4 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 700;
  color: #0d47a1;
}

.contact-info p {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.8;
  color: #555555;
}

.contact-info ul li {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 400;
  color: #000000;
}

.contact-info i {
  font-size: 1.2rem;
}

.social-icons a {
  color: #007bff;
  font-size: 1.4rem;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: #004e92;
  transform: scale(1.2);
}

.contact-form .form-control {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 400;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 12px;
  transition: all 0.3s ease;
  color: #000000;
}

.contact-form .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

.btn-custom {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background: linear-gradient(90deg, #00c6ff, #007bff);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}
/* Footer Section */
.footer-section {
  background: #2c2c2c;
}

.footer-section h4,
.footer-section h5 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  color: #ffffff;
}

.footer-section p {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.8;
  color: #ffffff;
}

.text-accent {
  color: #ffd700;
}

.footer-links li {
  margin-bottom: 8px;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
}

.footer-links a:hover {
  color: #ffd700;
  transform: translateX(5px);
}

.social-icons a {
  color: #ffd700;
  font-size: 1.3rem;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: #fff;
  transform: scale(1.2);
}

.footer-section hr {
  opacity: 0.2;
}

/* ========================================
   COMPREHENSIVE RESPONSIVE DESIGN FIXES
   ======================================== */

/* Extra Small devices (phones, 320px and up) */
@media (max-width: 575.98px) {
  /* Navigation */
  .navbar {
    padding: 0.2rem 0;
  }
  
  .navbar .container {
    padding: 0 1rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
    margin-right: 0.8rem;
  }
  
  .navbar-toggler {
    padding: 0.15rem 0.3rem;
  }
  
  .navbar-collapse {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.2);
  }
  
  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.8rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 0.6rem;
    padding: 0.4rem 0;
    margin-right: 0;
    margin-bottom: 0.2rem;
    width: 100%;
    text-align: left;
  }
  
  .nav-teachers {
    margin-right: 0;
    margin-bottom: 0.4rem;
    align-self: flex-start;
    padding: 0.25rem 0.6rem;
    font-size: 0.6rem;
  }
  
  .d-flex.flex-column.flex-sm-row {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .btn-contact, .btn-demo {
    font-size: 0.55rem;
    padding: 0.25rem 0.6rem;
    width: 100%;
    max-width: 200px;
    min-height: 28px;
  }
  
  /* Banner Carousel */
  .banner-carousel {
    height: 100vh;
    margin-top: 0;
  }
  
  
  
  .carousel-prev,
  .carousel-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .carousel-prev {
    left: 1rem;
  }
  
  .carousel-next {
    right: 1rem;
  }
  
  /* About Section */
  .about-section {
    padding: 2rem 0.5rem;
  }
  
  .about-heading h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .about-text h2 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  
  .about-text p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .about-text ul li {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }
  
  /* Features */
  .features-section {
    padding: 2rem 0;
  }
  
  .features-section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .feature-card .card-body {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .feature-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
  }
  
  .feature-content .card-title {
    font-size: 1.1rem;
  }
  
  .feature-content .card-text {
    font-size: 0.85rem;
  }
  
  /* Team Section */
  .team-section {
    padding: 2rem 0;
  }
  
  .team-section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .team-card {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .team-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
  }
  
  .team-info h5 {
    font-size: 1rem;
  }
  
  .team-info span {
    font-size: 0.85rem;
  }
  
  .team-info p {
    font-size: 0.8rem;
  }
  
  /* Benefits */
  .benefits-section {
    padding: 2rem 0;
  }
  
  .benefits-section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .benefit-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  .benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .benefit-icon img {
    width: 80px;
    height: 80px;
  }
  
  .benefit-card h5 {
    font-size: 1rem;
  }
  
  .benefit-card p {
    font-size: 0.8rem;
  }
  
  /* Why Choose Us */
  .section-title {
    font-size: 1.5rem;
  }
  
  .feature-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }
  
  .feature-item h5 {
    font-size: 1rem;
  }
  
  .feature-item p {
    font-size: 0.85rem;
  }
  
  /* How It Works */
  .how-it-works-section {
    padding: 1rem 0 2rem;
  }
  
  .step-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .icon-circle {
    width: 60px;
    height: 60px;
  }
  
  .stat-value {
    font-size: 1.2rem;
  }
  
  /* Testimonials */
  .parent-say-section {
    padding: 2rem 0 !important;
  }
  
  .parent-say-section h2 {
    font-size: 1.2rem;
  }
  
  .testimonial .lead {
    font-size: 0.9rem;
  }
  
  /* Pricing */
  .pricing h2 {
    font-size: 1.5rem;
  }
  
  .pricing-card, .pricing-card1 {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  .price {
    font-size: 2rem;
  }
  
  /* FAQ */
  .faq-section h2 {
    font-size: 1.5rem;
  }
  
  .accordion-button {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
  
  .accordion-body {
    font-size: 0.85rem;
  }
  
  /* Contact */
  .contact-section h2 {
    font-size: 1.5rem;
  }
  
  .contact-info, .contact-form {
    padding: 1rem;
  }
  
  .form-control {
    font-size: 0.9rem;
    padding: 0.6rem;
  }
  
  /* Footer */
  .footer-section {
    padding: 2rem 0 1rem;
  }
  
  .footer-section h4, .footer-section h5 {
    font-size: 1.1rem;
  }
  
  .footer-links a {
    font-size: 0.85rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Navigation */
  .navbar {
    padding: 0.4rem 0;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
    margin-right: 1.5rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
    margin-right: 0.5rem;
  }
  
  .nav-teachers {
    margin-right: 0.5rem;
  }
  
  .d-flex.flex-column.flex-sm-row {
    gap: 0.5rem;
  }
  
  .btn-contact, .btn-demo {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
  
  /* Banner Carousel */
  .banner-carousel {
    height: 100vh;
    margin-top: 0;
  }
  
  .about-section {
    padding: 3rem 1rem;
  }
  
  .about-heading h2 {
    font-size: 2rem;
  }
  
  .about-text h2 {
    font-size: 1.8rem;
  }
  
  /* Features */
  .feature-card .card-body {
    flex-direction: row;
    align-items: center;
  }
  
  .feature-image {
    width: 140px;
    height: 140px;
    margin-right: 1rem;
  }
  
  /* Team */
  .team-card {
    flex-direction: row;
    text-align: left;
  }
  
  .team-img {
    width: 100px;
    height: 100px;
    margin-right: 1rem;
  }
  
  /* Benefits */
  .benefit-card {
    padding: 2rem 1.5rem;
  }
  
  .benefit-icon {
    width: 70px;
    height: 70px;
  }
  
  /* How It Works */
  .step-card {
    padding: 1.5rem;
  }
  
  .icon-circle {
    width: 70px;
    height: 70px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Navigation */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
    margin-right: 2rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
    margin-right: 0.5rem;
  }
  
  .nav-teachers {
    margin-right: 0.5rem;
  }
  
  .d-flex.flex-column.flex-sm-row {
    gap: 0.75rem;
  }
  
  .btn-contact, .btn-demo {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  
  /* Banner Carousel */
  .banner-carousel {
    height: 100vh;
    margin-top: 0;
  }
  
  
  /* About */
  .about-section {
    padding: 4rem 1rem;
  }
  
  .about-heading h2 {
    font-size: 2.2rem;
  }
  
  .about-text h2 {
    font-size: 2rem;
  }
  
  /* Features */
  .feature-image {
    width: 160px;
    height: 160px;
    margin-right: 1.5rem;
  }
  
  /* Team */
  .team-img {
    width: 110px;
    height: 110px;
    margin-right: 1.5rem;
  }
  
  /* Benefits */
  .benefit-card {
    padding: 2.5rem 2rem;
  }
  
  .benefit-icon {
    width: 80px;
    height: 80px;
  }
  
  /* How It Works */
  .step-card {
    padding: 2rem;
  }
  
  .icon-circle {
    width: 75px;
    height: 75px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Navigation */
  .navbar {
    padding: 0.6rem 0;
  }
  
  .navbar-brand {
    font-size: 1.4rem;
    margin-right: 2rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    margin-right: 0.75rem;
  }
  
  .nav-teachers {
    margin-right: 0.75rem;
  }
  
  .d-flex.flex-column.flex-sm-row {
    gap: 1rem;
  }
  
  .btn-contact, .btn-demo {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
  }
  
  /* Banner Carousel */
  .banner-carousel {
    height: 100vh;
    margin-top: 0;
  }
  
  
  /* About */
  .about-section {
    padding: 5rem 1rem;
  }
  
  .about-heading h2 {
    font-size: 2.5rem;
  }
  
  .about-text h2 {
    font-size: 2.2rem;
  }
  
  /* Features */
  .feature-image {
    width: 180px;
    height: 180px;
    margin-right: 2rem;
  }
  
  /* Team */
  .team-img {
    width: 120px;
    height: 120px;
    margin-right: 2rem;
  }
  
  /* Benefits */
  .benefit-card {
    padding: 3rem 2.5rem;
  }
  
  .benefit-icon {
    width: 90px;
    height: 90px;
  }
  
  /* How It Works */
  .step-card {
    padding: 2.5rem;
  }
  
  .icon-circle {
    width: 80px;
    height: 80px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  /* Navigation */
  .navbar {
    padding: 0.6rem 0;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
    margin-right: 2rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    margin-right: 0.75rem;
  }
  
  .nav-teachers {
    margin-right: 0.75rem;
  }
  
  .d-flex.flex-column.flex-sm-row {
    gap: 1rem;
  }
  
  .btn-contact, .btn-demo {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
  
  /* Banner Carousel */
  .banner-carousel {
    height: 100vh;
    margin-top: 0;
  }
  
  
  /* About */
  .about-section {
    padding: 6rem 1rem;
  }
  
  .about-heading h2 {
    font-size: 2.8rem;
  }
  
  .about-text h2 {
    font-size: 2.5rem;
  }
  
  /* Features */
  .feature-image {
    width: 200px;
    height: 200px;
    margin-right: 2.5rem;
  }
  
  /* Team */
  .team-img {
    width: 130px;
    height: 130px;
    margin-right: 2.5rem;
  }
  
  /* Benefits */
  .benefit-card {
    padding: 3.5rem 3rem;
  }
  
  .benefit-icon {
    width: 100px;
    height: 100px;
  }
  
  /* How It Works */
  .step-card {
    padding: 3rem;
  }
  
  .icon-circle {
    width: 85px;
    height: 85px;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .banner {
    min-height: 200px;
  }
  
  .video-card {
    min-height: 180px;
  }
  
  .about-section, .features-section, .team-section, .benefits-section {
    padding: 2rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .video-card video {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  .navbar, .btn-contact, .btn-demo, .parent-say-section, .contact-section, .footer-section {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .feature-card, .team-card, .benefit-card {
    page-break-inside: avoid;
  }
}
