@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

:root {
    --primary: #0A1128;
    /* Deep Midnight */
    --accent: #D4AF37;
    /* Classic Gold */
    --accent-light: #E5C76B;
    --background: #FBF9F4;
    /* Creamy White */
    --text: #1C2025;
    --text-muted: #5E6771;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(10, 17, 40, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Logo Manual Tuning */
    --logo-height: 130px;
    --logo-margin-v: 0;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

/* Glassmorphism Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    /* Taller on top */
    background: transparent;
    border-bottom: 1px solid transparent;
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
    overflow: visible;
}

nav.scrolled {
    height: 100px;
    /* Maintain height on scroll */
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    /* No gap as requested */
    text-decoration: none;
    color: var(--primary);
    position: relative;
    top: -30px;
    /* Pulls the entire group up */
}

.brand-logo {
    height: var(--logo-height);
    margin: var(--logo-margin-v) 0;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.brand-logo.inverted {
    filter: brightness(0) invert(1);
}

.tagline {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.company-name {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 2px;
    text-transform: none;
    /* Soften from uppercase */
}

.company-tagline {
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

footer .company-name {
    color: white;
    font-size: 3rem;
    letter-spacing: 2px;
}

footer .company-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    letter-spacing: 2.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.btn-cta {
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: var(--shadow);
}

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

/* Hero Section */
.hero {
    padding: 220px 0 80px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    display: block;
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.hero-image:hover img {
    transform: scale(1);
}

/* Social Proof Floating Badges */
.badge {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.badge-top {
    top: 30px;
    right: -30px;
}

.badge-bottom {
    bottom: 40px;
    left: -20px;
}

/* Course Sections */
.section {
    padding: 120px 0;
}

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-head h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-light);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--accent);
}

/* Feature Specifics */
.highlight-feature {
    background: var(--primary);
    color: white;
    border-radius: 40px;
    padding: 80px;
    margin: 60px auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 60px;
}

.feature-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    max-width: 450px;
}

.feature-img img {
    width: 100%;
}

.feature-text {
    flex: 0 1 500px;
}

.feature-text h2 {
    color: var(--accent);
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list i {
    color: var(--accent);
}

/* Pricing Card (Premium) */
.pricing {
    text-align: center;
    background: linear-gradient(135deg, #0A1128, #1c2b45);
    color: white;
    border-radius: 40px;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.pricing h2 {
    color: var(--accent);
    font-size: 3.5rem;
}

.price-tag {
    font-size: 5rem;
    font-weight: 700;
    margin: 30px 0;
}

.price-tag span {
    font-size: 1.5rem;
    text-decoration: line-through;
    opacity: 0.5;
    margin-right: 15px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

/* Floating Pencil Animation */
@keyframes floatPencil {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(15deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.floating-pencil {
    position: absolute;
    z-index: 5;
    color: var(--accent);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    opacity: 0.6;
    pointer-events: none;
}

.p1 {
    top: 15%;
    left: 5%;
    animation: floatPencil 6s ease-in-out infinite;
}

.p2 {
    bottom: 20%;
    left: 45%;
    animation: floatPencil 8s ease-in-out infinite reverse;
}

.p3 {
    top: 10%;
    right: 10%;
    animation: floatPencil 7s ease-in-out infinite;
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .hero-content p {
        margin: 0 auto 40px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .highlight-feature {
        flex-direction: column;
        padding: 40px;
    }

    /* New Responsiveness */
    #about .container {
        flex-direction: column;
        text-align: center;
        gap: 40px !important;
    }

    #about blockquote {
        border-left: none;
        border-top: 4px solid var(--accent);
        padding: 20px 0 0 0;
    }

    #curriculum .container>div {
        grid-template-columns: 1fr !important;
    }
}