@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:wght@700;900&display=swap');

:root {
    --primary: #0f172a; /* Deep Navy */
    --primary-light: #1e293b;
    --accent: #b45309; /* Deep Gold/Amber */
    --accent-light: #f59e0b;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --prestige-gold: linear-gradient(135deg, #b45309 0%, #d97706 100%);
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(15, 23, 42, 0.1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* --- Header & Nav --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
    padding: 1.2rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Playfair Display', serif;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-links a:hover {
    color: var(--accent);
}

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

.btn-cta {
    background: var(--primary);
    color: white;
    padding: 1rem 2.2rem;
    border-radius: 4px; /* More formal squared edges */
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 1px solid var(--primary);
}

.btn-cta:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
}

.secondary-btn {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.secondary-btn:hover {
    background: var(--accent);
    color: white;
}

/* --- Hero Section --- */
.hero {
    padding: 14rem 0 8rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--prestige-gold);
}

.badge {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--primary);
}

.hero-text h1 span {
    color: var(--accent);
    background: none;
    -webkit-text-fill-color: initial;
    position: relative;
}

.hero-text h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(180, 83, 9, 0.2);
    z-index: -1;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
    transition: var(--transition);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* --- About Us Section --- */
.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
}

.about-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.about-f-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.about-f-item i {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid var(--accent);
}

.about-f-item h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.about-f-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

/* --- Stats Section --- */
.stats {
    background: var(--primary);
    color: white;
    padding: 6rem 0;
    border-top: 1px solid rgba(180, 83, 9, 0.3);
    border-bottom: 1px solid rgba(180, 83, 9, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--accent-light);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* --- Courses/Features Section --- */
.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.card-img-wrapper {
    height: 200px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.feature-content {
    padding: 2rem;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-list {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.card-list li {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
}

/* --- Testimonials --- */
.testimonials {
    background: #f1f5f9;
}

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

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 0;
    box-shadow: var(--shadow-md);
    position: relative;
    border-left: 5px solid var(--accent);
}

.quote {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info h4 {
    margin-bottom: 0.2rem;
}

.user-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- FAQ --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 0;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* --- Footer --- */
footer {
    background: var(--text-main);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info p {
    margin-top: 1.5rem;
    opacity: 0.7;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.5;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.wa-container {
    position: relative;
    display: flex;
    align-items: center;
}

.wa-tooltip {
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-right: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
    pointer-events: none;
    border: 1px solid #e2e8f0;
    color: var(--text-main);
}

.wa-container:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.wa-button {
    width: 55px;
    height: 55px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse-green 2s infinite;
    position: relative;
}

.wa-hat {
    position: absolute;
    top: -32px;
    left: 4px;
    font-size: 40px;
    color: var(--primary);
    transform: rotate(-10deg);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    z-index: 20;
}

.wa-button:hover {
    transform: scale(1.1) rotate(10deg);
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Animations --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-image {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .about-f-item {
        text-align: left;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero {
        padding: 8rem 0 4rem;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    section {
        padding: 4rem 0;
    }
    .stat-number {
        font-size: 2rem;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}
