 :root {
        --primary-purple: #6a1b9a;
        --dark-purple: #4a148c;
        --light-purple: #9c4dcc;
        --purple-glow: rgba(106, 27, 154, 0.4);
        --burnt-orange: #e64a19;
        --orange-glow: rgba(230, 74, 25, 0.4);
        --gold: #ffb300;
        --light-gold: #ffd54f;
        --gold-glow: rgba(255, 179, 0, 0.4);
        --charcoal: #2d3748;
        --light-gray: #f8f9fa;
        --white: #ffffff;
        --gradient-primary: linear-gradient(
          135deg,
          var(--primary-purple),
          var(--light-purple)
        );
        --gradient-secondary: linear-gradient(
          135deg,
          var(--burnt-orange),
          var(--gold)
        );
        --gradient-hero: linear-gradient(
          135deg,
          var(--primary-purple) 0%,
          var(--dark-purple) 50%,
          var(--burnt-orange) 100%
        );
        --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
        --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
        --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.2);
        --shadow-glow: 0 0 30px var(--purple-glow);
      }

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        font-family: "Poppins", sans-serif;
        line-height: 1.7;
        color: var(--charcoal);
        background: rgb(0, 0, 0);
        overflow-x: hidden;
      }

      /* ===== MODERN TYPOGRAPHY ===== */
      h1,
      h2,
      h3,
      h4,
      h5 {
        font-family: "Playfair Display", serif;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 1.5rem;
      }

      h1 {
        font-size: clamp(2.5rem, 5vw, 4.5rem);
        background: linear-gradient(
          135deg,
          var(--white) 0%,
          var(--light-gold) 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }

      h2 {
        font-size: clamp(2rem, 4vw, 3.5rem);
        position: relative;
        display: inline-block;
      }

      h2:after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 80px;
        height: 4px;
        background: var(--gradient-secondary);
        border-radius: 2px;
      }

      .section-header h2:after {
        left: 50%;
        transform: translateX(-50%);
      }

      /* ===== MODERN LAYOUT COMPONENTS ===== */
      .container {
        width: 90%;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 20px;
      }

      .btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 16px 35px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border: none;
        cursor: pointer;
        position: relative;
        overflow: hidden;
      }

      .btn:before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          90deg,
          transparent,
          rgba(255, 255, 255, 0.3),
          transparent
        );
        transition: left 0.5s;
      }

      .btn:hover:before {
        left: 100%;
      }

      .btn-primary {
        background: var(--gradient-primary);
        color: var(--white);
        box-shadow: var(--shadow-md), 0 0 20px var(--purple-glow);
      }

      .btn-primary:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: var(--shadow-lg), 0 0 30px var(--purple-glow);
      }

      .btn-secondary {
        background: var(--gradient-secondary);
        color: var(--white);
        box-shadow: var(--shadow-md), 0 0 20px var(--orange-glow);
      }

      .btn-secondary:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: var(--shadow-lg), 0 0 30px var(--orange-glow);
      }

      .btn-outline {
        background: transparent;
        color: var(--white);
        border: 2px solid var(--white);
        backdrop-filter: blur(10px);
      }

      .btn-outline:hover {
        background: var(--white);
        color: var(--primary-purple);
        transform: translateY(-3px);
      }

      /* ===== MODERN HEADER & NAVIGATION ===== */
      header {
        background: transparent;
        backdrop-filter: blur(20px);
        box-shadow: var(--shadow-sm);
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        transition: all 0.3s ease;
      }

      header.scrolled {
        background: black;
        box-shadow: var(--shadow-md);
        padding: 5px 0;
        
      }

      .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
        transition: padding 0.3s ease;
        
      }

      header.scrolled .navbar {
        padding: 10px 0;
      }

      .logo {
        display: flex;
        align-items: center;
        gap: 15px;
      }

      .logo-img {
        height: 100px;
        width: 150px;
        filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
      }

      .logo h3 {
        font-size: 1.8rem;
        margin: 0;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }

      .nav-menu {
        display: flex;
        list-style: none;
        gap: 2rem;
      }

      .nav-menu a {
        text-decoration: none;
        color:white;
        font-weight: 500;
        padding: 8px 16px;
        border-radius: 25px;
        transition: all 0.3s ease;
        position: relative;
      }

      .nav-menu a:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--gradient-primary);
        transition: all 0.3s ease;
        transform: translateX(-50%);
      }

      .nav-menu a:hover {
        color: var(--primary-purple);
      }

      .nav-menu a:hover:before,
      .nav-menu a.active:before {
        width: 80%;
      }

      .nav-menu a.active {
        color: var(--primary-purple);
        font-weight: 600;
      }

      .hamburger {
        display: none;
        flex-direction: column;
        cursor: pointer;
        padding: 5px;
      }

      .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--primary-purple);
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
      }

    .hero {
  height: 90vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 5%;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1634155322814-907072ac721f?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MzB8fGJsYWNrJTIwbGFkaWVzJTIwaW4lMjBhJTIwc2Fsb258ZW58MHx8MHx8fDA%3D&auto=format&fit=crop&q=60&w=500");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-content {
  max-width: 800px;
  z-index: 10;
  text-align: center;
}

.hero-content h1{
    opacity: 0;
  animation: fadeInStay 4s ease-in-out forwards;
  color: var(--gold);
}
.hero-content p {
  opacity: 0;
  animation: fadeInStay 4s ease-in-out forwards;
  font-size:larger;
}

/* Paragraph fades in slightly after the heading */
.hero-content p {
  animation-delay: 1.5s;
}

@keyframes fadeInStay {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


      /* ===== ABOUT SECTION ===== */
      .about-section {
        padding: 100px 0;
        background: black;
      }

      .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
      }

      .about-text h2 {
        margin-bottom: 2rem;
        color: var(--gold);
      }

      .about-text p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        line-height: 1.8;
        color: rgba(255, 255, 255, 0.603);
      }

      .accent-text {
        color: var(--primary-purple);
        font-weight: 600;
      }

      .about-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: 40px;
      }

      .stat-item {
        text-align: center;
        padding: 30px 20px;
        background: var(--white);
        border-radius: 15px;
        box-shadow: var(--shadow-sm);
        transition: all 0.3s ease;
      }

      .stat-item:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
      }

      .stat-number {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--primary-purple);
        margin-bottom: 10px;
      }

      .stat-label {
        font-size: 1rem;
        color: var(--charcoal);
        font-weight: 500;
      }

      .about-image {
        position: relative;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: var(--shadow-lg);
      }

      .about-image img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
      }

      .about-image:hover img {
        transform: scale(1.05);
      }

      /* ===== GALLERY SECTION ===== */
/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 100px 0;
  background: black;
  overflow: hidden; /* Hide overflowing images during slide */
}

/* ===== Gallery Slider Grid ===== */
.gallery-slider {
  position: relative;
}

.gallery-grid {
  display: flex;
  gap: 25px;
  transition: transform 1s ease-in-out;
  width: max-content; /* Prevent shrinking */
}

/* ===== Individual Gallery Item ===== */
.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  flex: 0 0 300px; /* Each slide has fixed width */
  height: 300px;
  transition: all 0.4s ease;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

/* ===== Gallery Captions ===== */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h3 {
  color: var(--white);
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.gallery-caption p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.9rem;
}

/* ===== Gallery Dots ===== */
.gallery-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.gallery-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.gallery-dots button.active {
  background: var(--gold); /* your accent color */
  transform: scale(1.2); /* slightly enlarge active dot */
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
  .gallery-item {
    flex: 0 0 250px;
    height: 250px;
  }
}


      /* Courses Section */
      .courses {
        padding: 100px 0;
        background-color: black;
      }
      .section-header h2{
        text-align: center;
        margin-bottom: 50px;
        color: var(--gold);
      }

      .section-header {
        text-align: center;
        margin-bottom: 50px;
        color: rgba(255, 255, 255, 0.767);
      }

      .section-header h2:after {
        left: 50%;
        transform: translateX(-50%);
      }

      .courses-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
      }

      .course-card {
        background: var(--white);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }

      .course-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
      }

      .course-img {
        height: 200px;
        overflow: hidden;
      }

      .course-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
      }

      .course-card:hover .course-img img {
        transform: scale(1.1);
      }

      .course-content {
        padding: 20px;
      }

      .course-content h3 {
        color: var(--primary-purple);
        margin-bottom: 10px;
      }

      .course-content p {
        font-size: 0.95rem;
        margin-bottom: 15px;
      }

      .course-meta {
        display: flex;
        justify-content: space-between;
        font-size: 0.9rem;
        color: var(--charcoal);
        margin-bottom: 15px;
      }

      .course-meta span {
        display: flex;
        align-items: center;
      }

      .course-meta i {
        margin-right: 5px;
        color: var(--burnt-orange);
      }


      /* ===== DETAILED FOOTER ===== */
      footer {
        background: black;
        color: var(--white);
        padding: 80px 0 0;
      }

      .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
        margin-bottom: 50px;
      }

      .footer-col h3 {
        color: var(--gold);
        margin-bottom: 25px;
        font-size: 1.3rem;
        position: relative;
      }

      .footer-col h3:after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 50px;
        height: 3px;
        background-color: var(--primary-purple);
      }

      .footer-col p {
        margin-bottom: 20px;
        font-size: 1rem;
        opacity: 0.8;
        line-height: 1.6;
      }

      .footer-links {
        list-style: none;
      }

      .footer-links li {
        margin-bottom: 12px;
      }

      .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .footer-links a:hover {
        color: var(--gold);
        padding-left: 5px;
      }

      .footer-links a i {
        width: 20px;
        text-align: center;
      }

      .social-links {
        display: flex;
        gap: 15px;
        margin-top: 20px;
      }

      .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: var(--white);
        transition: all 0.3s ease;
      }

      .social-links a:hover {
        background-color: var(--gold);
        transform: translateY(-3px);
      }

      .footer-bottom {
        text-align: center;
        padding: 25px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
      }

      .footer-newsletter {
        background: rgba(255, 255, 255, 0.05);
        padding: 25px;
        border-radius: 10px;
        margin-top: 20px;
      }

      .newsletter-form {
        display: flex;
        gap: 10px;
        margin-top: 15px;
      }

      .newsletter-form input {
        flex: 1;
        padding: 12px 15px;
        border: none;
        border-radius: 5px;
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
      }

      .newsletter-form input::placeholder {
        color: rgba(255, 255, 255, 0.6);
      }

      .newsletter-form button {
        background: var(--gradient-secondary);
        color: var(--white);
        border: none;
        padding: 12px 20px;
        border-radius: 5px;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .newsletter-form button:hover {
        transform: translateY(-2px);
      }

      /* ===== MODERN ANIMATIONS ===== */
      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(40px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      @keyframes slideInLeft {
        from {
          opacity: 0;
          transform: translateX(-50px);
        }
        to {
          opacity: 1;
          transform: translateX(0);
        }
      }

      @keyframes slideInRight {
        from {
          opacity: 0;
          transform: translateX(50px);
        }
        to {
          opacity: 1;
          transform: translateX(0);
        }
      }

      .animate {
        opacity: 0;
        transform: translateY(40px);
        transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      }

      .animate.visible {
        opacity: 1;
        transform: translateY(0);
      }

      .delay-1 {
        transition-delay: 0.1s;
      }
      .delay-2 {
        transition-delay: 0.2s;
      }
      .delay-3 {
        transition-delay: 0.3s;
      }

      /* ===== MODERN RESPONSIVE DESIGN ===== */
      @media (max-width: 768px) {
        .nav-menu {
          position: fixed;
          top: 80px;
          left: -100%;
          width: 100%;
          height: calc(100vh - 80px);
          background: black;
          backdrop-filter: blur(20px);
          flex-direction: column;
          align-items: center;
          padding-top: 60px;
          transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
          box-shadow: var(--shadow-lg);
        }

        .nav-menu.active {
          left: 0;
        }

        .hamburger {
          display: flex;
        }

        .hamburger.active span:nth-child(1) {
          transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger.active span:nth-child(2) {
          opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
          transform: rotate(-45deg) translate(7px, -6px);
        }

        .hero-btns {
          flex-direction: column;
          align-items: center;
        }

        .btn {
          width: 100%;
          max-width: 280px;
          justify-content: center;
        }

        .about-content {
          grid-template-columns: 1fr;
          gap: 40px;
        }

        .about-stats {
          grid-template-columns: 1fr;
        }

        .gallery-grid,
        .course-container {
          grid-template-columns: 1fr;
        }

        .footer-content {
          grid-template-columns: 1fr;
        }

        .newsletter-form {
          flex-direction: column;
        }
      }

      /* ===== MODERN SCROLLBAR ===== */
      ::-webkit-scrollbar {
        width: 8px;
      }

      ::-webkit-scrollbar-track {
        background: #f1f1f1;
      }

      ::-webkit-scrollbar-thumb {
        background: var(--gradient-primary);
        border-radius: 10px;
      }

      ::-webkit-scrollbar-thumb:hover {
        background: var(--dark-purple);
      }
  