* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
        --primary: #6366f1;
        --secondary: #ec4899;
        --dark: #ffffff;              /* White background */
        --dark-lighter: #f8fafc;      /* Light gray background */
        --text: #0f172a;              /* Dark text */
        --text-soft: #64748b;         /* Medium gray text */
        --gradient: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    }

    body {
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
        background: #f1f5f9;          /* Light background */
        color: var(--text);
        overflow-x: hidden;
    }

    h1, h2, h3 {
      font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px 20px;
    }

    /* NAVBAR */
    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      padding: 30px 20px;
      top: 0;
      background: rgba(255, 255, 255, 0.95);  
      backdrop-filter: blur(10px);
      z-index: 1000;
      border-bottom: 1px solid rgba(99, 102, 241, 0.15);
      animation: slideDown 0.5s ease;
    }

    @keyframes slideDown {
      from {
        transform: translateY(-100%);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    nav h2 {
      font-size: 35px;
      font-weight: 800;
      font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    nav ul {
      display: flex;
      gap: 35px;
      list-style: none;
    }

    .nav-links {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
            gap:35px;
        }

    nav a {
      color: var(--text);
      text-decoration: none;
      font-weight: 500;
      transition: all 0.3s ease;
      position: relative;
    }

    nav a::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--gradient);
      transition: width 0.3s ease;
    }

    nav a:hover::after {
      width: 100%;
    }

    nav a:hover {
      color: var(--primary);
    }

    /* HERO SECTION */
    .hero {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      padding: 100px 20px;
      position: relative;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -20%;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
      pointer-events: none;
      animation: pulse 4s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 0.5; }
      50% { transform: scale(1.1); opacity: 0.8; }
    }

    .hero-text {
      animation: fadeInLeft 0.8s ease;
    }

    @keyframes fadeInLeft {
      from {
        opacity: 0;
        transform: translateX(-50px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .hero-text h1 {
      font-size: 64px;
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 25px;
    }

    .hero-text h1 span {
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-text p {
      font-size: 18px;
      color: var(--text-soft);
      line-height: 1.7;
      margin-bottom: 35px;
    }

    .btn {
      background: var(--gradient);
      color: white;
      border: none;
      padding: 16px 40px;
      font-size: 16px;
      font-weight: 600;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
      position: relative;
      overflow: hidden;
    }

    .btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, 0.2);
      transition: left 0.5s ease;
    }

    .btn:hover::before {
      left: 100%;
    }

    .btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
    }

    .hero-img {
      position: relative;
      animation: fadeInRight 0.8s ease;
    }

    @keyframes fadeInRight {
      from {
        opacity: 0;
        transform: translateX(50px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .hero-img img {
      width: 100%;
      height: 500px;
      object-fit: cover;
      border-radius: 20px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
      transition: transform 0.5s ease;
    }

    .hero-img:hover img {
      transform: scale(1.05);
    }

    /* ANIMATED STATS */
    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
      padding: 60px 20px;
      margin: 40px auto;
      background: var(--dark-lighter);
      border-radius: 20px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

    .stat-box {
      text-align: center;
      padding: 30px;
      background: linear-gradient(145deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
      border-radius: 15px;
      transition: all 0.3s ease;
      cursor: pointer;
      border: 1px solid rgba(99, 102, 241, 0.2);
    }

    .stat-box:hover {
      transform: translateY(-10px);
      border-color: rgba(99, 102, 241, 0.3);
      box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
    }

    .stat-box h2 {
      font-size: 48px;
      font-weight: 800;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 10px;
    }

    .stat-box p {
      color: var(--text-soft);
      font-size: 14px;
      font-weight: 500;
    }

    /* BEFORE/AFTER SLIDER */
    .before-after {
      padding: 80px 20px;
      text-align: center;
    }

    .before-after h2 {
      font-size: 42px;
      font-weight: 700;
      margin-bottom: 50px;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .slider-wrapper {
      position: relative;
      width: 100%;
      max-width: 900px;
      margin: 0 auto;
      height:600px;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    }

    .slider-wrapper img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;  /* This ensures images fill the container */
      object-position: center;
      }

    #beforeImg {
      clip-path: inset(0 50% 0 0);
      transition: clip-path 0.1s ease;
      z-index: 2;  /* Ensures it's on top */
  }
    #slider {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      width: 80%;
      -webkit-appearance: none;
      appearance: none;
      height: 8px;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 10px;
      outline: none;
      cursor: pointer;
      z-index: 10;
    }

    #slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 24px;
      height: 24px;
      background: var(--gradient);
      border-radius: 50%;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5);
    }

    #slider::-moz-range-thumb {
      width: 24px;
      height: 24px;
      background: var(--gradient);
      border-radius: 50%;
      cursor: pointer;
      border: none;
      box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5);
    }

    /* PROGRAMS */
    .programs {
      padding: 80px 20px;
    }

    .programs h2 {
      font-size: 42px;
      font-weight: 700;
      text-align: center;
      margin-bottom: 60px;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .program-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }

    .program-card {
      background: var(--dark-lighter);
      padding: 40px;
      border-radius: 20px;
      border-left: 5px solid var(--primary);
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
    }

    .program-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.08), transparent);
      transition: left 0.6s ease;
    }

    .program-card:hover::before {
      left: 100%;
    }

    .program-card:hover {
      transform: translateY(-10px);
      border-left-color: var(--secondary);
      box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
    }

    .program-card h3 {
      font-size: 24px;
      margin-bottom: 15px;
      color: var(--text);
    }

    .program-card p {
      color: var(--text-soft);
      line-height: 1.7;
    }

    /* VIDEO TESTIMONIALS */
    .videos {
      padding: 80px 20px;
      background: var(--dark-lighter);
    }

    .videos h2 {
      font-size: 42px;
      font-weight: 700;
      text-align: center;
      margin-bottom: 60px;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .video-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }

    .video-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    background: var(--dark);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .video-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;  /* Add this */
        top: 0;
        left: 0;
    }

    .play-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80px;
        height: 80px;
        background: rgba(99, 102, 241, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 10;  
    }

    .play-overlay i {
        color: white;
        font-size: 40px;
        margin-left: 5px;
    }

    .video-box:hover .play-overlay {
        transform: translate(-50%, -50%) scale(1.1);
        background: var(--gradient);
        box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
    }

    .video-box:hover {
        transform: scale(1.05);
    }

    .video-box video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .video-placeholder {
      color: var(--text-soft);
      font-size: 14px;
    }

    /* CTA SECTION */
    .cta {
      padding: 100px 20px;
      text-align: center;
      background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(236, 72, 153, 0.1) 100%);
      margin: 60px 20px;
      border-radius: 30px;
    }

    .cta h2 {
      font-size: 48px;
      font-weight: 800;
      margin-bottom: 20px;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .cta p {
      font-size: 20px;
      color: var(--text-soft);
      margin-bottom: 40px;
    }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      .hero {
        grid-template-columns: 1fr;
        padding: 60px 20px;
      }

      .hero-text h1 {
        font-size: 42px;
      }

      .stats {
        grid-template-columns: repeat(2, 1fr);
      }

      .program-grid,
      .video-grid {
        grid-template-columns: 1fr;
      }

      nav ul {
        gap: 20px;
      }
    }