  :root {
    --primary-gradient: linear-gradient(135deg, #ff6a00, #ff8533);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }


      
    
        /* Background Particles */
        .hero-particles {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          z-index: 1;
          pointer-events: none;
        }
    
        .hero-particle {
          position: absolute;
          width: 6px;
          height: 6px;
          background: rgba(255, 106, 0, 0.2);
          border-radius: 50%;
          animation: float 8s infinite ease-in-out;
        }
    
        @keyframes float {
    
          0%,
          100% {
            transform: translateY(0) translateX(0);
          }
    
          50% {
            transform: translateY(-20px) translateX(10px);
          }
        }
    
        /* Left Content */
        .two-columns-hero-section__content {
          position: relative;
          z-index: 10;
          animation: fadeInLeft 1s ease-out;
        }
    
        @keyframes fadeInLeft {
          from {
            opacity: 0;
            transform: translateX(-30px);
          }
    
          to {
            opacity: 1;
            transform: translateX(0);
          }
        }
    
        /* Upper CTA */
        .two-columns-hero-section__upper-cta {
          display: inline-flex;
          align-items: center;
          gap: 0.5rem;
          padding: 0.5rem 1rem;
          background: var(--glass-bg);
          backdrop-filter: blur(10px);
          border: 1px solid var(--glass-border);
          border-radius: 50px;
          box-shadow: var(--shadow-sm);
          transition: var(--transition-smooth);
        }
    
        .two-columns-hero-section__upper-cta:hover {
          transform: translateY(-2px);
          box-shadow: var(--shadow-lg);
        }
    
        /* Title */
        .two-columns-hero-section__title {
          font-size: clamp(2.5rem, 5vw, 4rem);
          font-weight: 800;
          line-height: 1.2;
          margin-top: 1.5rem;
        }
    
        .two-columns-hero-section__highlight {
          color: #ff6a00;
          position: relative;
          display: inline-block;
        }
    
        .two-columns-hero-section__highlight::after {
          content: '';
          position: absolute;
          bottom: 5px;
          left: 0;
          width: 100%;
          height: 8px;
          background: rgba(255, 106, 0, 0.2);
          border-radius: 4px;
          z-index: -1;
        }
    
        .two-columns-hero-section__description {
          font-size: 1.1rem;
          color: #4b5563;
          line-height: 1.7;
          margin-top: 1rem;
        }
    
        /* ========== LIVE BUTTONS WITH ANIMATIONS – FIXED OVERLAP ========== */
        .btn-premium {
          position: relative;
          overflow: hidden;
          transition: var(--transition-smooth);
          border: none;
          border-radius: 50px;
          font-weight: 600;
          letter-spacing: 0.5px;
          box-shadow: 0 4px 15px rgba(255, 106, 0, 0.2);
          padding: 0.75rem 1.8rem;
          text-decoration: none;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          gap: 0.5rem;
          animation: subtlePulse 2s infinite ease-in-out;
          white-space: nowrap;
          min-width: 160px;
          /* Ensure buttons have consistent width */
        }
    
        @keyframes subtlePulse {
          0% {
            transform: scale(1);
          }
    
          50% {
            transform: scale(1.02);
          }
    
          100% {
            transform: scale(1);
          }
        }
    
        .btn-premium::before {
          content: '';
          position: absolute;
          top: 50%;
          left: 50%;
          width: 0;
          height: 0;
          border-radius: 50%;
          background: rgba(255, 255, 255, 0.3);
          transform: translate(-50%, -50%);
          transition: width 0.6s, height 0.6s;
          z-index: 0;
        }
    
        .btn-premium:hover::before {
          width: 300px;
          height: 300px;
        }
    
        .btn-premium:hover {
          transform: translateY(-3px) scale(1.05);
          box-shadow: 0 15px 30px rgba(255, 106, 0, 0.4);
        }
    
        .btn-premium-primary {
          background: var(--primary-gradient);
          color: white;
          position: relative;
          z-index: 1;
          background-size: 200% auto;
          animation: gradientShift 3s ease infinite;
        }
    
        @keyframes gradientShift {
          0% {
            background-position: 0% 50%;
          }
    
          50% {
            background-position: 100% 50%;
          }
    
          100% {
            background-position: 0% 50%;
          }
        }
    
        .btn-premium-secondary {
          background: var(--glass-bg);
          backdrop-filter: blur(10px);
          border: 1px solid var(--glass-border);
          color: #1f2937;
          position: relative;
          z-index: 1;
        }
    
        .btn-premium-secondary:hover {
          background: white;
          border-color: #ff6a00;
          color: #ff6a00;
        }
    
        /* Button container fix */
        .button-container {
          display: flex;
          flex-wrap: wrap;
          gap: 1rem;
          margin-top: 1.5rem;
        }
    
        /* Student Widget */
        .student-widget {
          display: inline-flex;
          align-items: center;
          gap: 1rem;
          padding: 0.75rem 1.5rem;
          background: var(--glass-bg);
          backdrop-filter: blur(10px);
          border: 1px solid var(--glass-border);
          border-radius: 50px;
          box-shadow: var(--shadow-sm);
          transition: var(--transition-smooth);
          margin-top: 2rem;
        }
    
        .student-widget:hover {
          transform: translateY(-2px);
          box-shadow: var(--shadow-lg);
        }
    
        .student-avatars {
          display: flex;
          align-items: center;
        }
    
        .student-avatar {
          width: 40px;
          height: 40px;
          border-radius: 50%;
          border: 2px solid white;
          margin-left: -10px;
          transition: var(--transition-smooth);
        }
    
        .student-avatar:first-child {
          margin-left: 0;
        }
    
        .student-avatar:hover {
          transform: scale(1.1);
          z-index: 10;
        }
    
        /* ========== CAROUSEL CONTAINER ========== */
        .hero-carousel-container {
          position: relative;
          margin: 10px 10px;
          height: 100%;
          min-height: 750px;
          overflow: hidden;
          border-radius: 40px;
          box-shadow: var(--shadow-lg);
          backdrop-filter: blur(10px);
          background: rgba(255, 255, 255, 0.1);
          border: 1px solid rgba(255, 255, 255, 0.2);
          z-index: 10;
          animation: fadeInRight 1s ease-out;
        }
    
            
        @keyframes fadeInRight {
          from {
            opacity: 0;
            transform: translateX(30px);
          }
    
          to {
            opacity: 1;
            transform: translateX(0);
          }
        }
    
        /* Slide */
        .hero-carousel-slide {
          position: absolute;
          inset: 0;
          opacity: 0;
          visibility: hidden;
          transition: var(--transition-smooth);
          transform: translateX(100px) scale(0.95) rotateY(5deg);
          padding: 30px 40px 100px;
          display: flex;
          flex-direction: column;
          justify-content: flex-start;
          background: white;
          border-radius: 40px;
          box-shadow: var(--shadow-lg);
          backface-visibility: hidden;
          overflow-y: auto;
          scrollbar-width: none;
        }
        .hero-carousel-slide::-webkit-scrollbar {
          display: none;
        }
        .hero-carousel-slide.active {
          opacity: 1;
          visibility: visible;
          transform: translateX(0) scale(1) rotateY(0);
          z-index: 10;
        }
    
        .hero-carousel-slide.prev {
          transform: translateX(-100px) scale(0.95) rotateY(-5deg);
          opacity: 0;
        }
    
        /* Top Image Styling – FIXED: image fully visible, no cut */
        .slide-top-image {
          width: 100%;
          height: 230px;
          /* banner height */
          object-fit: cover;
          /* fills entire card */
          border-radius: 24px;
          margin-bottom: 20px;
          box-shadow: var(--shadow-lg);
          border: 2px solid white;
          transition: var(--transition-smooth);
        }
        
    
        .slide-top-image:hover {
          transform: scale(1.02);
        }
    
        /* Badge */
        .slide-badge {
          display: inline-flex;
          align-items: center;
          gap: 8px;
          padding: 10px 20px;
          border-radius: 50px;
          font-size: 0.85rem;
          font-weight: 700;
          text-transform: uppercase;
          letter-spacing: 1px;
          color: white;
          margin-bottom: 20px;
          width: fit-content;
          box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
          position: relative;
          overflow: hidden;
        }
    
        .slide-badge::after {
          content: '';
          position: absolute;
          top: -50%;
          left: -50%;
          width: 200%;
          height: 200%;
          background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
          transform: rotate(45deg);
          animation: shine 3s infinite;
        }
    
        @keyframes shine {
          0% {
            transform: translateX(-100%) rotate(45deg);
          }
    
          20% {
            transform: translateX(100%) rotate(45deg);
          }
    
          100% {
            transform: translateX(100%) rotate(45deg);
          }
        }
    
        /* Title & Description */
        .slide-title {
          font-size: clamp(1.8rem, 4vw, 2.5rem);
          font-weight: 800;
          line-height: 1.2;
          margin-bottom: 16px;
          color: #1f2937;
          position: relative;
          display: inline-block;
        }
    
        .slide-title::after {
          content: '';
          position: absolute;
          bottom: -5px;
          left: 0;
          width: 60px;
          height: 4px;
          background: var(--primary-gradient);
          border-radius: 2px;
        }
    
        .slide-description {
          font-size: 1rem;
          color: #6b7280;
          line-height: 1.7;
          margin-bottom: 25px;
        }
    
        /* ========== SUBJECT CARDS GRID ========== */
        .slide-courses {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 20px;
          margin-top: 10px;
          margin-bottom: 20px;
        }
    
        .course-mini-card {
          background: var(--glass-bg);
          backdrop-filter: blur(10px);
          border: 1px solid var(--glass-border);
          border-radius: 24px;
          padding: 15px;
          text-align: center;
          transition: var(--transition-smooth);
          cursor: pointer;
          box-shadow: var(--shadow-sm);
          position: relative;
          overflow: hidden;
          display: flex;
          flex-direction: column;
          align-items: center;
        }
    
        .course-mini-card::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: var(--primary-gradient);
          opacity: 0;
          transition: var(--transition-smooth);
          z-index: 0;
        }
    
        .course-mini-card:hover::before {
          opacity: 0.1;
        }
    
        .course-mini-card:hover {
          transform: translateY(-8px) scale(1.02);
          box-shadow: var(--shadow-lg);
        }
    
        .course-mini-img {
          width: 90px;
          height: 90px;
          border-radius: 30px;
          object-fit: cover;
          margin-bottom: 15px;
          box-shadow: 0 15px 25px -8px rgba(0, 0, 0, 0.3);
          transition: var(--transition-smooth);
          position: relative;
          z-index: 1;
          border: 3px solid white;
          background: #f0f0f0;
        }
    
        .course-mini-card:hover .course-mini-img {
          transform: scale(1.1) rotate(2deg);
        }
    
        /* Fallback styling */
        .course-mini-img-fallback {
          background: linear-gradient(135deg, #ff6a00, #ff8533);
          display: flex;
          align-items: center;
          justify-content: center;
          color: white;
          font-weight: bold;
          font-size: 2rem;
          text-transform: uppercase;
        }
    
        .course-mini-name {
          font-size: 1.1rem;
          font-weight: 700;
          color: #374151;
          margin-bottom: 8px;
          display: -webkit-box;
          -webkit-line-clamp: 1;
          -webkit-box-orient: vertical;
          overflow: hidden;
          position: relative;
          z-index: 1;
          width: 100%;
        }
    
        .course-mini-students {
          font-size: 0.9rem;
          color: #9ca3af;
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 6px;
          position: relative;
          z-index: 1;
        }
    
        /* Carousel Controls */
        .carousel-controls {
          position: absolute;
          bottom: 20px;
          left: 50%;
          transform: translateX(-50%);
          display: flex;
          align-items: center;
          gap: 25px;
          z-index: 30;
          background: var(--glass-bg);
          backdrop-filter: blur(10px);
          padding: 12px 25px;
          border-radius: 60px;
          box-shadow: var(--shadow-lg);
          border: 1px solid var(--glass-border);
        }
    
        .carousel-dots {
          display: flex;
          gap: 12px;
        }
    
        .carousel-dot {
          width: 12px;
          height: 12px;
          border-radius: 50%;
          background: #e5e7eb;
          border: none;
          cursor: pointer;
          transition: var(--transition-smooth);
          position: relative;
        }
    
        .carousel-dot.active {
          background: #ff6a00;
          transform: scale(1.4);
          box-shadow: 0 0 15px #ff6a00;
        }
    
        .carousel-dot.active::after {
          content: '';
          position: absolute;
          inset: -4px;
          border: 2px solid #ff6a00;
          border-radius: 50%;
          animation: pulseRing 2s infinite;
        }
    
        @keyframes pulseRing {
          0% {
            transform: scale(1);
            opacity: 1;
          }
    
          100% {
            transform: scale(2);
            opacity: 0;
          }
        }
    
        .carousel-arrow {
          width: 42px;
          height: 42px;
          border-radius: 50%;
          border: none;
          background: white;
          color: #374151;
          cursor: pointer;
          display: flex;
          align-items: center;
          justify-content: center;
          transition: var(--transition-smooth);
          box-shadow: var(--shadow-sm);
        }
    
        .carousel-arrow:hover {
          background: #ff6a00;
          color: white;
          transform: scale(1.1) rotate(360deg);
        }
    
        /* Progress Bar */
        .carousel-progress {
          position: absolute;
          bottom: 0;
          left: 0;
          height: 6px;
          background: rgba(0, 0, 0, 0.1);
          width: 100%;
          border-radius: 0 0 40px 40px;
          overflow: hidden;
          z-index: 25;
        }
    
        .carousel-progress-bar {
          height: 100%;
          background: var(--primary-gradient);
          width: 0%;
          transition: width 0.1s linear;
          box-shadow: 0 0 10px #ff6a00;
        }
    
        /* Responsive */
        @media (max-width: 991px) {
          .hero-carousel-container {
            min-height: 700px;
            margin-top: 40px;
          }
    
          .slide-top-image {
            max-height: 160px;
          }
    
          .slide-courses {
            grid-template-columns: repeat(3, 1fr);
          }
    
          .slide-title {
            font-size: 2rem;
          }
    
          .carousel-controls {
            padding: 10px 20px;
            gap: 15px;
          }
        }
    
        @media (max-width: 576px) {
          .hero-carousel-slide {
            padding: 20px 20px 90px;
          }
    
          .slide-top-image {
            max-height: 120px;
            margin-bottom: 15px;
          }
    
          .slide-courses {
            grid-template-columns: 1fr;
            gap: 15px;
          }
    
          .course-mini-card {
            flex-direction: row;
            text-align: left;
            gap: 20px;
            padding: 15px;
          }
    
          .course-mini-img {
            margin-bottom: 0;
            width: 70px;
            height: 70px;
          }
    
          .slide-title {
            font-size: 1.8rem;
          }
    
          .carousel-controls {
            bottom: 15px;
            padding: 8px 16px;
            gap: 12px;
          }
    
          .carousel-arrow {
            width: 36px;
            height: 36px;
          }
    
          .carousel-dot {
            width: 10px;
            height: 10px;
          }
    
          /* Buttons stack nicely on mobile */
          .button-container {
            flex-direction: column;
            align-items: stretch;
          }
    
          .btn-premium {
            width: 100%;
            justify-content: center;
          }
        }
    
        /* Entrance animations for cards */
        .active .course-mini-card {
          animation: slideUpFade 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
          opacity: 0;
          transform: translateY(30px);
        }
    
        .active .course-mini-card:nth-child(1) {
          animation-delay: 0.1s;
        }
    
        .active .course-mini-card:nth-child(2) {
          animation-delay: 0.15s;
        }
    
        .active .course-mini-card:nth-child(3) {
          animation-delay: 0.2s;
        }
    
        @keyframes slideUpFade {
          to {
            opacity: 1;
            transform: translateY(0);
          }
        }