/* ===================================
   VARIABLES & ROOT STYLES
   =================================== */
:root {
    --primary-color: #d4af37;
    --primary-dark: #1a1a2e;
    --primary-light: #16213e;
    --secondary-color: #e94560;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-radius: 10px;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ===================================
   GENERAL STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   NAVIGATION BAR
   =================================== */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    flex-direction: column;
    text-align: center;
    z-index: 1;
}

.hero-text {
    text-align: center;
    animation: fadeInUp 1s ease-out;
    color: var(--white);
    padding: 0 20px;
}

.hero-image {
    margin-top: 2rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-height: 400px;
    border: 5px solid rgba(255, 255, 255, 0.2);
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   BUTTONS
   =================================== */
.cta-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #f0c041 100%);
    color: var(--primary-dark);
    border: none;
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.cta-btn-large {
    background: linear-gradient(135deg, var(--primary-color) 0%, #f0c041 100%);
    color: var(--primary-dark);
    border: none;
    padding: 15px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
}

.cta-btn-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.5);
}

/* ===================================
   SECTION HEADER
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: 5rem 0;
    background: var(--light-bg);
}

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

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #f0c041);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   VISION SECTION
   =================================== */
.vision {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
}

.vision h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.vision p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.vision-icon {
    font-size: 4rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===================================
   COURSES SECTION
   =================================== */
.courses {
    padding: 5rem 0;
    background: var(--light-bg);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.course-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.course-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.course-card ul {
    list-style: none;
}

.course-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.course-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===================================
   TEACHING APPROACH SECTION
   =================================== */
.teaching-approach {
    padding: 5rem 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.approach-card {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.approach-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
}

.approach-card h3 {
    font-size: 1.3rem;
    margin: 1rem 0;
    color: var(--primary-dark);
}

.approach-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features {
    padding: 5rem 0;
    background: var(--light-bg);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #f0c041);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto 1rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===================================
   FOUNDER SECTION
   =================================== */
.founder {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.founder-image {
    display: flex;
    justify-content: center;
}

.founder-photo {
    width: 300px;
    height: 380px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
    border: 3px solid var(--primary-color);
}

.founder-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.founder-text .experience {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.founder-text .quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    padding-left: 2rem;
    border-left: 4px solid var(--primary-color);
}

.founder-text .mission {
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   STATS SECTION
   =================================== */
.stats {
    padding: 5rem 0;
    background: var(--light-bg);
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===================================
   FINAL CTA SECTION
   =================================== */
.final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: 5rem 0;
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #ddd;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #f0c041);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    font-size: 1.5rem;
}

.social-links a:hover {
    transform: scale(1.2) rotate(10deg);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.95rem;
}

/* ===================================
   RIPPLE EFFECT ANIMATION
   =================================== */
@keyframes scaleRipple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* ===================================
   RESPONSIVE DESIGN - TABLET
   =================================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .nav-menu a::after {
        display: none;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Founder Section */
    .founder-content {
        grid-template-columns: 1fr;
    }

    .founder-photo {
        width: 250px;
        height: 300px;
    }

    /* Stats Section */
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Final CTA */
    .final-cta h2 {
        font-size: 2rem;
    }

    .final-cta p {
        font-size: 1rem;
    }
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE
   =================================== */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .hero-content h2 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .cta-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    /* Sections */
    .about,
    .courses,
    .teaching-approach,
    .features,
    .founder,
    .final-cta,
    .contact {
        padding: 3rem 0;
    }

    /* Section Header */
    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    /* Grid Layouts */
    .about-grid,
    .courses-grid,
    .approach-grid,
    .features-list,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-card,
    .course-card,
    .approach-card,
    .feature-item,
    .contact-card {
        padding: 1.5rem;
    }

    .about-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Founder Section */
    .founder-text h3 {
        font-size: 1.8rem;
    }

    .founder-text .experience {
        font-size: 0.95rem;
    }

    .founder-text .quote {
        font-size: 0.95rem;
        padding-left: 1.5rem;
    }

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

    .stat-card {
        padding: 1.5rem;
    }

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

    .stat-card p {
        font-size: 0.9rem;
    }

    /* Final CTA */
    .final-cta h2 {
        font-size: 1.5rem;
    }

    .final-cta p {
        font-size: 0.95rem;
    }

    .cta-btn-large {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    /* Contact */
    .social-links {
        gap: 1rem;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    /* Course Card */
    .course-card li {
        font-size: 0.9rem;
    }

    /* Positioning */
    .hero::before {
        width: 200px;
        height: 200px;
        top: -80px;
        right: -80px;
    }

    .hero::after {
        width: 150px;
        height: 150px;
        bottom: -40px;
        left: -40px;
    }
}

/* ===================================
   EXTRA SMALL DEVICES
   =================================== */
@media (max-width: 360px) {
    .logo span {
        display: none;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content h2 {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .approach-num {
        font-size: 2rem;
    }

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

    .final-cta h2 {
        font-size: 1.3rem;
    }

    .contact-card h3 {
        font-size: 1.1rem;
    }
}

/* ===================================
   ADVANCED ANIMATIONS & EFFECTS
   =================================== */

/* KEYFRAME ANIMATIONS */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(0px);
    }
    75% {
        transform: translateY(-5px);
    }
}

@keyframes bounce-soft {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes flip {
    0% {
        transform: perspective(400px) rotateY(0);
        opacity: 1;
    }
    100% {
        transform: perspective(400px) rotateY(360deg);
        opacity: 1;
    }
}

@keyframes tada {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    10%, 20% {
        transform: scale(0.9) rotate(-3deg);
    }
    30%, 50%, 70%, 90% {
        transform: scale(1.1) rotate(3deg);
    }
    40%, 60%, 80% {
        transform: scale(1.1) rotate(-3deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

@keyframes rubberBand {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scaleX(1.25) scaleY(0.75);
    }
    40% {
        transform: scaleX(0.75) scaleY(1.25);
    }
    50% {
        transform: scaleX(1.15) scaleY(0.85);
    }
    65% {
        transform: scaleX(0.95) scaleY(1.05);
    }
    75% {
        transform: scaleX(1.05) scaleY(0.95);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes swing {
    20% {
        transform: rotate(15deg);
    }
    40% {
        transform: rotate(-10deg);
    }
    60% {
        transform: rotate(5deg);
    }
    80% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes jello {
    0%, 11.1%, 100% {
        transform: none;
    }
    22.2% {
        transform: skewX(-12.5deg) skewY(-12.5deg);
    }
    33.3% {
        transform: skewX(6.25deg) skewY(6.25deg);
    }
    44.4% {
        transform: skewX(-3.125deg) skewY(-3.125deg);
    }
    55.5% {
        transform: skewX(1.5625deg) skewY(1.5625deg);
    }
    66.6% {
        transform: skewX(-0.78125deg) skewY(-0.78125deg);
    }
    77.7% {
        transform: skewX(0.390625deg) skewY(0.390625deg);
    }
    88.8% {
        transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
    }
}

@keyframes float-animation {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes text-glow {
    0% {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.9), 0 0 30px rgba(212, 175, 55, 0.5);
    }
    100% {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    }
}

@keyframes border-animation {
    0% {
        border-color: var(--primary-color);
    }
    50% {
        border-color: var(--secondary-color);
    }
    100% {
        border-color: var(--primary-color);
    }
}

/* APPLY ANIMATIONS TO ELEMENTS */
.hero-content h1 {
    animation: slideInDown 1s ease-out;
}

.hero-content h2 {
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero-content p {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-btn, .cta-btn-large {
    animation: slideInUp 1s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.cta-btn::before, .cta-btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
    z-index: -1;
}

.cta-btn:hover::before, .cta-btn-large:hover::before {
    left: 100%;
}

/* ENHANCED CARD ANIMATIONS */
.about-card {
    animation: fadeInScale 0.6s ease-out;
}

.about-card:hover {
    animation: rubberBand 0.8s ease-in-out;
}

.course-card {
    animation: slideInUp 0.6s ease-out;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.course-card:hover {
    animation: bounce-soft 0.8s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3) !important;
}

.approach-card {
    animation: slideInLeft 0.6s ease-out;
}

.approach-card:hover {
    animation: pulse 1s ease-in-out infinite;
    border-top-color: var(--secondary-color);
}

.feature-item {
    animation: rotateIn 0.6s ease-out;
}

.feature-item:hover {
    animation: tada 0.8s ease-in-out;
}

.feature-icon {
    animation: float-animation 3s ease-in-out infinite;
}

.contact-card {
    animation: slideInRight 0.6s ease-out;
}

.contact-card:hover {
    animation: heartBeat 0.8s ease-in-out;
}

.stat-card {
    animation: scaleIn 0.6s ease-out;
    margin-bottom: 10%;
}

.stat-card:hover {
    animation: swing 0.8s ease-in-out;
}

.social-links a {
    animation: slideInUp 0.6s ease-out;
    transition: all 0.3s ease;
}

.social-links a:hover {
    animation: flip 0.6s ease-in-out;
}

/* SECTION HEADER ANIMATIONS */
.section-header h2 {
    animation: slideInDown 0.8s ease-out;
}

.section-header h2::after {
    animation: slideInRight 0.8s ease-out 0.3s both;
    transform-origin: left;
}

.section-header p {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* FOUNDER SECTION ANIMATIONS */
.founder-placeholder {
    animation: float-animation 4s ease-in-out infinite;
}

.founder-text h3 {
    animation: slideInLeft 0.8s ease-out;
}

.founder-text .quote {
    animation: slideInRight 0.8s ease-out 0.2s both;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.founder-text .quote::before {
    content: '"';
    position: absolute;
    left: -20px;
    top: -10px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
}

/* ENHANCED HOVER EFFECTS */
.about-icon, .feature-icon {
    transition: all 0.4s ease;
}

.about-card:hover .about-icon {
    animation: heartBeat 0.8s ease-in-out;
    transform: scale(1.2);
}

.feature-item:hover .feature-icon {
    animation: jello 0.8s ease-in-out;
}

/* GRADIENT ANIMATION */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
}

/* TEXT ANIMATION EFFECT */
.hero-content h1 {
    letter-spacing: 0.05em;
}

/* BUTTON RIPPLE EFFECT */
.cta-btn, .cta-btn-large {
    position: relative;
    overflow: hidden;
}

.cta-btn::after, .cta-btn-large::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-btn:active::after, .cta-btn-large:active::after {
    width: 300px;
    height: 300px;
}

/* SMOOTH TRANSITIONS */
* {
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

/* LOADING ANIMATION */
@keyframes loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading {
    animation: loading 1s linear infinite;
}

/* PREFERS-REDUCED-MOTION */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* STAGGER ANIMATIONS FOR LISTS */
.about-grid > :nth-child(1) { animation-delay: 0.1s; }
.about-grid > :nth-child(2) { animation-delay: 0.2s; }
.about-grid > :nth-child(3) { animation-delay: 0.3s; }

.courses-grid > :nth-child(1) { animation-delay: 0.1s; }
.courses-grid > :nth-child(2) { animation-delay: 0.2s; }
.courses-grid > :nth-child(3) { animation-delay: 0.3s; }
.courses-grid > :nth-child(4) { animation-delay: 0.4s; }

.approach-grid > :nth-child(1) { animation-delay: 0.1s; }
.approach-grid > :nth-child(2) { animation-delay: 0.2s; }
.approach-grid > :nth-child(3) { animation-delay: 0.3s; }
.approach-grid > :nth-child(4) { animation-delay: 0.1s; }
.approach-grid > :nth-child(5) { animation-delay: 0.2s; }
.approach-grid > :nth-child(6) { animation-delay: 0.3s; }

.features-list > :nth-child(1) { animation-delay: 0.1s; }
.features-list > :nth-child(2) { animation-delay: 0.15s; }
.features-list > :nth-child(3) { animation-delay: 0.2s; }
.features-list > :nth-child(4) { animation-delay: 0.25s; }
.features-list > :nth-child(5) { animation-delay: 0.3s; }
.features-list > :nth-child(6) { animation-delay: 0.35s; }
.features-list > :nth-child(7) { animation-delay: 0.4s; }
.features-list > :nth-child(8) { animation-delay: 0.45s; }

.contact-grid > :nth-child(1) { animation-delay: 0.1s; }
.contact-grid > :nth-child(2) { animation-delay: 0.2s; }
.contact-grid > :nth-child(3) { animation-delay: 0.3s; }

/* ANIMATED UNDERLINE */
.nav-menu a {
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu a:hover::before {
    width: 100%;
}

/* ANIMATED BORDER */
.approach-card {
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.approach-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: inherit;
}

/* PARALLAX-LIKE EFFECT */
.hero::before, .hero::after {
    animation: float 6s ease-in-out infinite;
}

.vision-icon {
    animation: bounce 2s infinite, text-glow 2s ease-in-out infinite;
}
