
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #FFFFFF;
            --secondary: #b38f29;
            --accent: #D4AF37;
            --dark: #0A192F;
            --light: #FDFBF6;
            --text-color: #333333;
            --section-bg: #f8f9fa;
            --red: #e74c3c;
        }

        html {
            scroll-padding-top: 100px;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background: var(--primary);
            overflow-x: hidden;
        }

        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            padding: 1rem 5%;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.8rem 1.5rem;
            background: rgba(255, 255, 255, 0.582);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(10, 25, 47, 0.1);
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
        }

        .logo-svg {
            height: 50px;
            width: 50px;
            transition: all 0.5s ease;
            flex-shrink: 0;
        }

        .logo:hover .logo-svg {
            transform: rotate(5deg) scale(1.05);
        }

        .logo-text-container {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }

        .logo-text {
            font-family: 'Playfair Display', serif;
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--dark);
        }

        .logo-subtitle {
            font-family: 'Montserrat', sans-serif;
            font-size: 0.8rem;
            font-weight: 500;
            color: #555;
        }

        .nav-links {
            display: flex;
            list-style: none;
        }

        .nav-links li {
            margin-left: 2rem;
            position: relative;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: color 0.3s;
            font-size: 1rem;
            padding: 0.5rem 0;
            position: relative;
        }

        .nav-links a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--accent);
            transition: width 0.3s ease;
        }

        .nav-links a:hover:after,
        .nav-links a.active:after {
            width: 100%;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--accent);
        }

        .hamburger {
            display: none;
            cursor: pointer;
            background: none;
            border: none;
            font-size: 1.8rem;
            color: var(--dark);
            z-index: 1001;
        }

        #auth-link {
            transition: opacity 0.3s ease-in-out;
        }

        #auth-link.fade-out {
            opacity: 0;
        }

        .section-title {
            text-align: center;
            margin: 5rem 0 3rem;
            font-family: 'Playfair Display', serif;
            font-size: 2.8rem;
            color: var(--dark);
            font-weight: 900;
        }

        .section-subtitle {
            text-align: center;
            color: #777;
            margin-bottom: 4rem;
            font-size: 1.4rem;
            font-weight: 300;
        }

        .programs {
            padding: 3rem 1.5rem;
            margin: 0 auto;
            background: var(--primary);
        }

        .btn {
            display: inline-block;
            background: var(--dark);
            color: var(--light);
            padding: 1rem 2.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.4s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            position: relative;
            overflow: hidden;
            z-index: 1;
            border: 1px solid var(--accent);
            font-size: 1.1rem;
            cursor: pointer;
        }

        .btn:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0%;
            height: 100%;
            background: linear-gradient(45deg, var(--accent), var(--secondary));
            transition: all 0.4s ease;
            z-index: -1;
        }

        .btn:hover:before {
            width: 100%;
        }

        .btn:hover {
            transform: translateY(-5px);
            color: var(--dark);
            box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
        }

        .courses-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            max-width: 1600px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .course-card {
            background: var(--primary);
            padding: 1.5rem;
            border-radius: 20px;
            color: var(--text-color);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            border: 1px solid #e2e8f0;
            display: flex;
            flex-direction: column;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
        }

        .course-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .course-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border-color: var(--accent);
        }

        .course-card h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 0.4rem;
        }

        .course-card h3 span {
            font-size: 0.9rem;
            color: #777;
            font-weight: 500;
            font-family: 'Montserrat';
        }

        .course-meta {
            display: flex;
            gap: 1rem;
            margin: 0.8rem 0;
            color: #555;
            font-weight: 500;
            flex-wrap: wrap;
        }

        .course-meta div {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .course-meta i {
            color: var(--accent);
            font-size: 1rem;
        }

        .course-syllabus {
            margin-bottom: 1.2rem;
            flex-grow: 1;
        }

        .course-syllabus h4 {
            font-weight: 700;
            margin-top: 0.8rem;
            margin-bottom: 0.4rem;
            color: var(--dark);
            border-bottom: 2px solid var(--accent);
            padding-bottom: 0.2rem;
            display: inline-block;
            font-size: 1.05rem;
        }

        .course-syllabus ul {
            list-style: none;
            padding-left: 1rem;
        }

        .course-syllabus li {
            margin-bottom: 0.3rem;
            position: relative;
            line-height: 1.4;
            font-size: 0.9rem;
        }

        .course-syllabus li::before {
            content: '✓';
            color: var(--accent);
            position: absolute;
            left: -1rem;
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        /* === NEW ANIMATION STYLES START === */
        
        .course-fees {
            margin-top: auto;
            border-top: 1px solid #eee;
            padding-top: 1.2rem;
        }
        
        .price-flipper {
            perspective: 1500px;
            width: 100%;
            height: 100px; /* Adjusted height */
        }

        .flipper-content {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            animation: slash-then-flip 6s linear infinite;
        }
        
        .flipper-front,
        .flipper-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 8px;
            box-sizing: border-box;
        }
        
        .flipper-front {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-color: #f8f9fa;
            border: 1px solid #e2e8f0;
            color: var(--dark);
        }
        
        .flipper-back {
            background-color: var(--secondary);
            border: 1px solid var(--secondary);
            transform: rotateY(180deg);
            position: relative;
        }
        
        .offer-banner {
            background-color: var(--red);
            color: white;
            text-align: center;
            padding: 0.3rem 1rem;
            font-weight: 700;
            font-family: 'Poppins', sans-serif;
            font-size: 0.9rem;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            position: absolute;
            top: 0;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 2;
        }
        
        .new-price-area {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
            padding-top: 1rem;
        }

        .price-label {
            font-size: 0.9rem;
            font-weight: 500;
            color: #888;
            font-family: 'Montserrat', sans-serif;
        }

        .price-value {
            font-size: 2.5rem; /* Adjusted font size */
            font-weight: 400;
            font-family: 'Anton', sans-serif;
            position: relative;
            color: var(--dark);
            letter-spacing: 1px;
            line-height: 1; /* Added line-height */
        }

        .flipper-back .price-value {
            color: var(--light);
        }

        .slash {
            position: absolute;
            width: 100%;
            height: 3px;
            background-color: var(--red);
            top: 55%;
            left: 0;
            transform-origin: left;
        }
        
        @keyframes slash-then-flip {
            0%     { transform: rotateY(0deg); --slash-scale: 0; }
            15%    { transform: rotateY(0deg); --slash-scale: 0; }
            35%    { transform: rotateY(0deg); --slash-scale: 1; }
            50%    { transform: rotateY(0deg); --slash-scale: 1; }
            75%    { transform: rotateY(180deg); }
            90%    { transform: rotateY(180deg); }
            100%   { transform: rotateY(360deg); }
        }

        .flipper-content .slash {
            transform: scaleX(var(--slash-scale, 0));
            transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        }
        
      

        .fee-breakdown {
            font-size: 0.8rem;
            color: #555;
            font-weight: 500;
            text-align: center;
            width: 100%;
            margin-top: 1rem;
        }

        .apply-btn {
            width: 100%;
            text-align: center;
            margin-top: 1.2rem;
            padding: 0.7rem 1.4rem;
            font-size: 0.95rem;
        }

        footer {
            background: var(--dark);
            color: var(--light);
            padding: 4rem 1.5rem 2rem;
            margin-top: 6rem;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 3rem;
        }

        .footer-section {
            text-align: center;
        }

        .footer-section h3 {
            font-family: 'Playfair Display', serif;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
            color: var(--accent);
        }

        .footer-section p {
            margin-bottom: 1.2rem;
            font-weight: 300;
        }

        .footer-section a {
            color: var(--light);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-section a:hover {
            color: var(--accent);
        }

        .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1.8rem;
}

.social-links a {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-links a:hover::before {
    left: 125%;
}

.social-links a.whatsapp:hover {
    color: #25D366;
    background-color: white;
}

.social-links a.envelope:hover {
    color: #EA4335;
    background-color: white;
}

.social-links a.gmail:hover {
    background-color: white;
}

.social-links a.gmail:hover i {
    background: -webkit-linear-gradient(135deg, #4285F4, #EA4335, #FBBC04, #34A853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links a.facebook:hover {
    color: #1877F2;
    background-color: white;
}

.social-links a.gmaps:hover {
    background-color: white;
}

.social-links a.gmaps:hover i {
    background: -webkit-linear-gradient(45deg, #4285F4, #34A853, #FBBC04, #EA4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

        .footer-bottom {
            text-align: center;
            margin-top: 4rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-weight: 300;
        }

        @media (max-width: 992px) {
            .section-title {
                font-size: 2.5rem;
                margin: 4rem 0 2rem;
            }

            header {
                padding: 1rem 3%;
            }
        }

        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }

            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 280px;
                height: 100vh;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(15px);
                -webkit-backdrop-filter: blur(15px);
                flex-direction: column;
                align-items: center;
                justify-content: center;
                transition: right 0.5s ease;
                box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
                z-index: 999;
            }

            .nav-links.active {
                right: 0;
            }

            .nav-links li {
                margin: 1.8rem 0;
            }

            .nav-links a {
                font-size: 1.2rem;
            }

            .hamburger i {
                transition: transform 0.3s ease;
            }

            .section-title {
                font-size: 2.2rem;
                margin: 3rem 0 1.5rem;
            }

            .section-subtitle {
                font-size: 1.1rem;
                margin-bottom: 3rem;
            }

            .programs {
                padding: 2rem 0.5rem;
            }

            .courses-container {
                grid-template-columns: 1fr;
                gap: 1rem;
                padding: 0 0.5rem;
            }

            .course-card {
                padding: 1.2rem;
            }

            .course-card h3 {
                font-size: 1.3rem;
            }

            .course-syllabus li {
                font-size: 0.85rem;
            }
        }

        @media (max-width: 480px) {
            header {
                padding: 0.5rem 2%;
            }

            .navbar {
                padding: 0.5rem 1rem;
            }

            .logo-text {
                font-size: 1.2rem;
            }

            .logo-svg {
                height: 40px;
                width: 40px;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .section-subtitle {
                font-size: 1rem;
            }

            .course-card h3 {
                font-size: 1.2rem;
            }

            .course-meta {
                flex-direction: column;
                gap: 0.4rem;
                align-items: flex-start;
            }
            .btn {
                padding: 0.7rem 1.5rem;
                font-size: 0.9rem;
            }
        }
