        /* Hero Section - Redesigned */
        .hero-section {
            min-height: 100vh;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            padding-top: 80px;
        }

        .hero-bg-pattern {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle at 25% 25%, rgba(0, 122, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(88, 86, 214, 0.05) 0%, transparent 50%);
            animation: float 8s ease-in-out infinite;
        }

        .hero-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            z-index: 10;
            position: relative;
        }

        .hero-text {
            z-index: 10;
        }

        .hero-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
            animation: slideInLeft 1s ease-out;
            line-height: 1.1;
        }

        .hero-subtitle {
            font-size: clamp(1.125rem, 2.5vw, 1.5rem);
            color: var(--accent-blue);
            margin-bottom: 1.5rem;
            font-weight: 600;
            animation: slideInLeft 1s ease-out 0.2s both;
        }

        .hero-description {
            font-size: 1.125rem;
            color: var(--text-secondary);
            margin-bottom: 3rem;
            line-height: 1.7;
            animation: slideInLeft 1s ease-out 0.4s both;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            animation: slideInLeft 1s ease-out 0.6s both;
        }

        .hero-image {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            animation: slideInRight 1s ease-out 0.3s both;
        }

        .profile-image-container {
            position: relative;
            width: 450px;
            height: 600px;
            border-radius: 24px;
            background: var(--accent-gradient);
            padding: 4px;
            animation: pulse 3s ease-in-out infinite;
        }

        .profile-image {
            width: 100%;
            height: 100%;
            border-radius: 20px;
            object-fit: cover;
            border: 2px solid white;
        }



        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
            margin-top: 4rem;
        }

        .stat-card {
            background: var(--primary-white);
            border-radius: 24px;
            padding: 3rem 2rem;
            text-align: center;
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
            border: 1px solid var(--border-light);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--accent-gradient);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

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

        .stat-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
        }

        .stat-number {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 4rem;
            font-weight: 800;
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
        }

        .stat-label {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .stat-description {
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        .video-section {
            background: var(--primary-white);
            position: relative;
        }

        .video-container {
            position: relative;
            max-width: 900px;
            margin: 0 auto;
        }

        .video-wrapper {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
            background: var(--light-gray);
        }

        .video-wrapper::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: var(--accent-gradient);
            border-radius: 26px;
            z-index: -1;
        }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 24px;
        }

        /* Top Achievers Section - Auto-looping Horizontal Scroll */
        .achievers-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 8rem 0;
            position: relative;
            overflow: hidden;
        }

        .achievers-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 80%, rgba(0, 122, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(88, 86, 214, 0.1) 0%, transparent 50%);
            pointer-events: none;
        }

        .achievers-showcase {
            position: relative;
            z-index: 10;
        }

        .achievers-slider {
            position: relative;
            width: 100%;
            height: auto;
            overflow: hidden;
            margin: 4rem auto 0;
        }

        .achievers-track {
            display: flex;
            gap: 50px;
            animation: scrollAchievers 90s linear infinite;
            width: max-content;
            padding: 20px;
        }

        .achievers-track:hover {
            animation-play-state: paused;
        }

        .achiever-slide {
            position: relative;
            width: auto;
            height: auto;
            flex-shrink: 0;
            opacity: 1;
            transform: scale(1);
            display: block;
        }

        .achiever-image {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 500px;
            object-fit: contain;
            border-radius: 24px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .achiever-slide:hover .achiever-image {
            transform: scale(1.05);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        @keyframes scrollAchievers {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        /* Remove indicators since we're using auto-scroll */
        .achievers-indicators {
            display: none;
        }

        /* Gallery - Two-Row Auto-Scrolling Marquee */
        .gallery-section {
            background: var(--light-gray);
            padding: 8rem 0;
            overflow: hidden;
        }

        .gallery-slider {
            position: relative;
            width: 100%;
            margin: 4rem auto 0;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .gallery-row {
            overflow: hidden;
            width: 100%;
        }

        .gallery-track {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            width: max-content;
        }

        .gallery-row.row-left .gallery-track {
            animation: galleryScrollLeft 50s linear infinite;
        }

        .gallery-row.row-right .gallery-track {
            animation: galleryScrollRight 50s linear infinite;
        }

        .gallery-row .gallery-track:hover {
            animation-play-state: paused;
        }

        @keyframes galleryScrollLeft {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        @keyframes galleryScrollRight {
            0% {
                transform: translateX(-50%);
            }
            100% {
                transform: translateX(0);
            }
        }

        .gallery-card {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            background: var(--primary-white);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            flex-shrink: 0;
            width: 320px;
            height: 320px;
        }

        .gallery-card:hover {
            transform: scale(1.05);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
        }

        .gallery-card:hover .gallery-image {
            transform: scale(1.1);
        }

        .gallery-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
        }

        /* Courses Section - Simplified */
        .courses-section {
            background: var(--primary-white);
            padding: 8rem 0;
        }

        .courses-grid {
            display: flex;
            flex-direction: column;
            gap: 4rem;
            margin-top: 4rem;
        }

        .course-card {
            background: var(--primary-white);
            border-radius: 32px;
            overflow: hidden;
            border: 1px solid var(--border-light);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            display: flex;
            flex-direction: row;
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
            min-height: 500px;
        }

        /* Impressive course period display */
        .course-period-display {
            position: absolute;
            top: 20px;
            right: 20px;
            z-index: 10;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }

        .period-badge {
            background: var(--accent-gradient);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 700;
            font-size: 0.9rem;
            border: 2px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            transform: translateY(0);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .period-badge::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.6s ease;
        }

        .period-badge:hover::before {
            left: 100%;
        }

        .period-badge:hover {
            transform: translateY(-3px) scale(1.05);
        }

        .period-icon {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .period-icon:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(360deg) scale(1.1);
        }

        /* Floating particles around the period display */
        .period-particles {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            overflow: hidden;
        }

        .period-particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: var(--accent-blue);
            border-radius: 50%;
            opacity: 0;
            animation: floatParticle 3s ease-in-out infinite;
        }

        .period-particle:nth-child(1) {
            top: 20%;
            left: 20%;
            animation-delay: 0s;
        }

        .period-particle:nth-child(2) {
            top: 60%;
            right: 20%;
            animation-delay: 1s;
        }

        .period-particle:nth-child(3) {
            bottom: 30%;
            left: 30%;
            animation-delay: 2s;
        }

        @keyframes floatParticle {
            0%, 100% {
                opacity: 0;
                transform: translateY(0) scale(0);
            }
            50% {
                opacity: 0.6;
                transform: translateY(-20px) scale(1);
            }
        }

        /* Enhanced course card hover effects */
        .course-card:hover .period-badge {
            transform: translateY(-5px) scale(1.08);
        }

        .course-card:hover .period-icon {
            transform: rotate(360deg) scale(1.2);
            background: rgba(255, 255, 255, 0.3);
        }

        .course-card.reverse {
            flex-direction: row-reverse;
        }

        .course-card:hover {
            transform: translateY(-16px) scale(1.03);
            box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
            border-color: var(--accent-blue);
        }

        .course-image {
            width: 50%;
            height: 100%;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
            background: var(--light-gray);
        }

        .course-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
            z-index: 1;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .course-card:hover .course-image::before {
            opacity: 1;
        }

        .course-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .course-card:hover .course-image img {
            transform: scale(1.08);
        }

        .course-content {
            width: 50%;
            padding: 4rem 3rem;
            flex: 1;
            display: flex;
            flex-direction: column;
            background: var(--primary-white);
            position: relative;
            justify-content: center;
        }



        .course-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
            line-height: 1.2;
        }

        .course-description {
            color: var(--text-secondary);
            margin-bottom: 3rem;
            line-height: 1.8;
            font-size: 1.125rem;
            flex: 1;
        }

        .course-meta {
            display: flex;
            align-items: center;
            gap: 2rem;
            margin-bottom: 2.5rem;
            padding: 1.5rem;
            background: var(--pearl-white);
            border-radius: 16px;
            border: 1px solid var(--border-light);
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: var(--text-secondary);
            font-size: 0.95rem;
            font-weight: 500;
        }

        .meta-item i {
            color: var(--accent-blue);
            font-size: 1.1rem;
        }

        .contact-button {
            background: var(--accent-gradient);
            color: white;
            padding: 1.25rem 2rem;
            border-radius: 50px;
            border: none;
            font-weight: 700;
            font-size: 1.125rem;
            width: 100%;
            cursor: pointer;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .contact-button:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 50px rgba(0, 122, 255, 0.4);
        }

        .contact-button::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.6s ease;
        }

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

        .testimonials-section {
            background: var(--light-gray);
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 4rem;
        }

        .testimonial-card {
            background: var(--primary-white);
            padding: 2.5rem 2rem;
            border-radius: 20px;
            border: 1px solid var(--border-light);
            position: relative;
            transition: all 0.4s ease;
        }

        .testimonial-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
        }

        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: -10px;
            left: 20px;
            font-size: 4rem;
            color: var(--accent-blue);
            font-family: 'Space Grotesk', sans-serif;
            font-weight: 700;
            opacity: 0.3;
        }

        .stars {
            color: #ffb800;
            margin-bottom: 1.5rem;
            font-size: 1.25rem;
        }

        .testimonial-text {
            color: var(--text-secondary);
            font-style: italic;
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .testimonial-author {
            font-weight: 600;
            color: var(--text-primary);
        }

        /* Free Sessions Section */
        .free-sessions-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
            gap: 3rem;
            margin-top: 4rem;
        }

        .session-card {
            background: var(--primary-white);
            border-radius: 24px;
            overflow: hidden;
            border: 1px solid var(--border-light);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
        }

        .session-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
            border-color: var(--accent-blue);
        }

        .session-video-container {
            position: relative;
            width: 100%;
            height: 300px;
            overflow: hidden;
            background: var(--light-gray);
        }

        .session-video-container .video-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 0;
            box-shadow: none;
            background: var(--light-gray);
        }

        .session-video-container .video-wrapper::before {
            display: none;
        }

        .session-video-container .video-wrapper iframe {
            position: relative;
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 0;
        }

        /* Play button overlay styles */
        .play-button-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 122, 255, 0.9) 0%, rgba(88, 86, 214, 0.9) 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
            border-radius: 0;
        }

        .play-button-overlay:hover {
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
            transform: scale(1.02);
        }

        .play-button {
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            border: 3px solid rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .play-button:hover {
            transform: scale(1.1);
            background: rgba(255, 255, 255, 0.3);
            border-color: rgba(255, 255, 255, 0.5);
        }

        .play-button i {
            color: white;
            font-size: 2rem;
            margin-left: 5px; /* Adjust for play icon centering */
        }

        .play-text {
            color: white;
            font-size: 1rem;
            font-weight: 600;
            text-align: center;
            margin: 0;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .session-content {
            padding: 2.5rem;
        }

        .session-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary);
            line-height: 1.3;
        }

        .session-description {
            color: var(--text-secondary);
            margin-bottom: 2rem;
            line-height: 1.7;
            font-size: 1rem;
        }

        .session-meta {
            display: flex;
            align-items: center;
            gap: 2rem;
            padding: 1.5rem;
            background: var(--pearl-white);
            border-radius: 16px;
            border: 1px solid var(--border-light);
        }

        .session-meta .meta-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: var(--text-secondary);
            font-size: 0.95rem;
            font-weight: 500;
        }

        .session-meta .meta-item i {
            color: var(--accent-blue);
            font-size: 1.1rem;
        }

        /* Tansee2 Calculator Section */
        .calculator-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            position: relative;
        }

        .calculator-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 30% 70%, rgba(0, 122, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(88, 86, 214, 0.08) 0%, transparent 50%);
            pointer-events: none;
        }

        .calculator-showcase {
            max-width: 800px;
            margin: 4rem auto 0;
            position: relative;
            z-index: 10;
        }

        .calculator-heading {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
            line-height: 1.2;
        }

        .calculator-description {
            color: var(--text-secondary);
            margin-bottom: 3rem;
            line-height: 1.7;
            font-size: 1.125rem;
        }

        .calculator-features {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            padding: 1.5rem;
            background: var(--primary-white);
            border-radius: 16px;
            border: 1px solid var(--border-light);
            transition: all 0.3s ease;
        }

        .feature-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
            border-color: var(--accent-blue);
        }

        .feature-icon {
            width: 50px;
            height: 50px;
            background: var(--accent-gradient);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.25rem;
            flex-shrink: 0;
        }

        .feature-text h4 {
            font-size: 1.125rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }

        .feature-text p {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.5;
            margin: 0;
        }

        .calculator-cta {
            text-align: center;
        }

        .calculator-button {
            background: var(--accent-gradient);
            color: white;
            padding: 1.25rem 2.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.125rem;
            display: inline-flex;
            align-items: center;
            gap: 1rem;
            transition: all 0.4s ease;
            box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
            position: relative;
            overflow: hidden;
        }

        .calculator-button:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 50px rgba(0, 122, 255, 0.4);
        }

        .calculator-button::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.6s ease;
        }

        .calculator-button:hover::before {
            left: 100%;
        }

        .calculator-note {
            color: var(--text-secondary);
            font-size: 0.9rem;
            margin-top: 1rem;
            font-style: italic;
        }

        .calculator-image {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
            background: var(--light-gray);
        }

        .calc-preview-img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .calculator-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 122, 255, 0.9) 0%, rgba(88, 86, 214, 0.9) 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 2rem;
            opacity: 0;
            transition: all 0.4s ease;
            backdrop-filter: blur(5px);
        }

        .calculator-image:hover .calculator-overlay {
            opacity: 1;
        }

        .calculator-image:hover .calc-preview-img {
            transform: scale(1.1);
        }

        .calculator-icon {
            font-size: 3rem;
            color: white;
            margin-bottom: 1rem;
        }

        .calculator-title {
            color: white;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            font-family: 'Space Grotesk', sans-serif;
        }

        .calculator-subtitle {
            color: rgba(255, 255, 255, 0.9);
            font-size: 1rem;
            font-weight: 500;
        }


        

        .floating-shapes {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            z-index: 1;
        }

        .shape {
            position: absolute;
            background: var(--accent-gradient);
            border-radius: 50%;
            opacity: 0.1;
            animation: float 6s ease-in-out infinite;
        }

        .shape:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .shape:nth-child(2) {
            width: 120px;
            height: 120px;
            top: 60%;
            right: 15%;
            animation-delay: 2s;
        }

        .shape:nth-child(3) {
            width: 60px;
            height: 60px;
            bottom: 30%;
            left: 20%;
            animation-delay: 4s;
        }

/* Tablet Optimizations */
        @media (min-width: 769px) and (max-width: 1024px) {

            .hero-section {
                overflow: hidden;
                min-height: 90vh;
                padding-top: 100px;
            }

            .hero-container {
                grid-template-columns: 1fr;
                gap: 3rem;
                max-width: 700px;
                text-align: center;
            }

            .hero-text {
                order: 2;
            }

            .hero-image {
                order: 1;
            }

            .hero-title {
                font-size: clamp(2rem, 4vw, 3rem);
            }

            .hero-subtitle {
                font-size: clamp(1rem, 2vw, 1.25rem);
            }

            .hero-description {
                font-size: 1rem;
            }

            .hero-buttons {
                justify-content: center;
                gap: 1rem;
            }

            .cta-button {
                padding: 0.9rem 2rem;
                font-size: 1rem;
            }

            .profile-image-container {
                width: 380px;
                height: 500px;
                margin: 0 auto;
            }

            /* Optimize animations for tablets */
            .hero-bg-pattern {
                animation-duration: 10s;
            }

            .floating-shapes .shape {
                animation-duration: 8s;
            }

            .section {
                padding: 5rem 0;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }

            .stat-card {
                padding: 1.5rem;
            }

            .stat-number {
                font-size: 3rem;
            }

            /* Course cards optimization */
            .courses-grid {
                gap: 3rem;
            }

            .course-card {
                flex-direction: column;
                min-height: auto;
            }

            .course-card.reverse {
                flex-direction: column;
            }

            .course-image {
                width: 100%;
                height: 400px;
            }

            .course-content {
                width: 100%;
                padding: 3rem 2rem;
            }

            .course-title {
                font-size: 1.75rem;
            }

            .course-meta {
                flex-direction: row;
                flex-wrap: wrap;
                gap: 1.5rem;
            }

            /* Gallery optimization */
            .gallery-card {
                width: 260px;
                height: 260px;
            }

            .gallery-row .gallery-track {
                animation-duration: 40s;
            }

            /* Achievers slider */
            .achievers-track {
                animation-duration: 75s;
                gap: 40px;
            }

            .achiever-image {
                max-height: 450px;
            }

            /* Free sessions */
            .free-sessions-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 2.5rem;
            }

            .session-card {
                min-height: 450px;
            }

            .session-content {
                padding: 2rem;
            }

            .session-title {
                font-size: 1.4rem;
            }

            /* Calculator section */
            .calculator-showcase {
                max-width: 700px;
            }

            .calculator-features {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }

            .calculator-heading {
                font-size: 2rem;
            }

            /* Reduce animation intensity for better performance */
            .magnetic-button {
                transition: transform 0.2s ease;
            }

            .magnetic-button:hover {
                transform: scale(1.02);
            }

            /* Disable complex animations on tablets */
            .stat-card::after {
                display: none;
            }

            .welcome-banner::before {
                display: none;
            }

            /* Optimize hover effects */
            .course-card:hover {
                transform: translateY(-8px) scale(1.01);
            }

            .session-card:hover {
                transform: translateY(-8px) scale(1.01);
            }

            .gallery-card:hover {
                transform: scale(1.03);
            }

            /* Video section */
            .video-container {
                max-width: 700px;
            }

            /* Section titles */
            .section-title {
                font-size: clamp(2rem, 4vw, 3rem);
            }

            .section-subtitle {
                font-size: 1.1rem;
            }

            /* Testimonials */
            .testimonials-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }

            .testimonial-card {
                padding: 2rem 1.5rem;
            }

            /* Touch-friendly improvements */
            .cta-button,
            .contact-button,
            .calculator-button {
                min-height: 48px;
                touch-action: manipulation;
            }

            /* Smooth scrolling optimization */
            html {
                scroll-behavior: smooth;
                -webkit-overflow-scrolling: touch;
            }

            /* Reduce pulse animation intensity */
            .profile-image-container {
                animation-duration: 4s;
            }

            /* Optimize reveal animations */
            .reveal {
                transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            }

            /* Better touch feedback */
            .course-card,
            .session-card,
            .stat-card {
                -webkit-tap-highlight-color: rgba(0, 122, 255, 0.1);
            }

            /* Prevent text selection on interactive elements */
            .cta-button,
            .contact-button {
                -webkit-user-select: none;
                user-select: none;
            }

        }
        /* Mobile Optimizations */
        @media (max-width: 768px) {
            
            .hero-section {
                overflow: hidden;
            }
            
            .hero-container {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 3rem;
            }

        

            .profile-image-container {
                width: 320px;
                height: 420px;
            }


            .section {
                padding: 4rem 0;
            }
            
            .stats-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .courses-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .course-card {
                border-radius: 24px;
                flex-direction: column;
                min-height: auto;
            }
            
            .course-period-display {
                top: 15px;
                right: 15px;
            }
            
            .period-badge {
                padding: 6px 12px;
                font-size: 0.8rem;
            }
            
            .period-icon {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }
            
            .course-card.reverse {
                flex-direction: column;
            }
            
            .course-image {
                width: 100%;
                height: 500px;
            }
            
            .course-content {
                width: 100%;
                padding: 2rem 1.5rem;
                justify-content: flex-start;
            }
            
            .course-title {
                font-size: 1.75rem;
            }
            
            .course-meta {
                flex-direction: column;
                gap: 1rem;
                padding: 1rem;
            }
            
            .contact-button {
                padding: 1rem 1.5rem;
                font-size: 1rem;
            }

            .achievers-slider {
                height: auto;
                max-width: 95%;
                margin: 3rem auto 0;
            }
            
            .achievers-track {
                gap: 20px;
                animation-duration: 45s; /* Much slower on mobile */
            }
            
            .achiever-slide {
                border-radius: 20px;
            }
            
            .achievers-indicators {
                gap: 0.75rem;
                margin-top: 1.5rem;
            }
            
            .indicator {
                width: 14px;
                height: 14px;
            }
            
            .calculator-showcase {
                max-width: 95%;
                text-align: center;
            }
            
            .calculator-heading {
                font-size: 2rem;
            }
            
            .calculator-features {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .feature-item {
                padding: 1rem;
            }
            
            .calculator-button {
                padding: 1rem 2rem;
                font-size: 1rem;
            }

            .free-sessions-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .session-card {
                border-radius: 20px;
            }
            
            .session-content {
                padding: 2rem 1.5rem;
            }
            
            .session-title {
                font-size: 1.25rem;
            }
            
            .session-meta {
                flex-direction: column;
                gap: 1rem;
                padding: 1rem;
            }

            /* Mobile responsive play button */
            .play-button {
                width: 60px;
                height: 60px;
            }

            .play-button i {
                font-size: 1.5rem;
            }

            .play-text {
                font-size: 0.9rem;
            }

            .gallery-slider {
                gap: 1rem;
            }

            .gallery-card {
                width: 160px;
                height: 160px;
            }

            .gallery-track {
                gap: 1rem;
            }

            .gallery-row .gallery-track {
                animation-duration: 30s;
            }

            .hero-buttons {
                justify-content: center;
            }

            
        }

