

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Design Tokens */
:root {
    /* Colors */
    --edu-background: hsl(40, 33%, 98%);
    --edu-foreground: hsl(222, 47%, 11%);
    --edu-card: hsl(0, 0%, 100%);
    --edu-card-foreground: hsl(222, 47%, 11%);
    --edu-primary: hsl(222, 47%, 18%);
    --edu-primary-foreground: hsl(40, 33%, 98%);
    --edu-muted: hsl(220, 14%, 96%);
    --edu-muted-foreground: hsl(220, 9%, 46%);
    --edu-accent: hsl(38, 92%, 50%);
    --edu-accent-foreground: hsl(222, 47%, 11%);
    --edu-border: hsl(220, 13%, 91%);
    
    /* Custom Colors */
    --edu-gold: hsl(38, 92%, 50%);
    --edu-gold-light: hsl(38, 92%, 65%);
    --edu-navy: hsl(222, 47%, 18%);
    --edu-navy-light: hsl(222, 35%, 35%);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(222, 47%, 18%) 0%, hsl(222, 35%, 28%) 100%);
    --gradient-gold: linear-gradient(135deg, hsl(38, 92%, 50%) 0%, hsl(45, 93%, 58%) 100%);
    --gradient-subtle: linear-gradient(180deg, hsl(40, 33%, 98%) 0%, hsl(220, 14%, 96%) 100%);
    
    /* Shadows */
    --edu-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-md: 0 8px 24px -8px hsla(222, 47%, 18%, 0.12);
    --shadow-lg: 0 16px 48px -12px hsla(222, 47%, 18%, 0.18);
    --shadow-gold: 0 8px 32px -8px hsla(38, 92%, 50%, 0.35);
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Source Sans 3', sans-serif;
    
    /* Border Radius */
    --radius: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--edu-background);
    color: var(--edu-foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

/* Navbar Styles */
.navbar-edu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background-color: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--edu-border);
    padding: 0;
    height: 80px;
}

.navbar-edu .container {
    height: 100%;
}

.navbar-edu .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.navbar-brand-icon {
    width: 10rem;
    height: auto;
}

.navbar-brand:hover .navbar-brand-icon {
    transform: scale(1.05);
}

.navbar-brand-icon img {
    width: fit-content;
    height: auto;
}

.navbar-brand-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--edu-foreground);
}

.navbar-brand-text span {
    color: var(--edu-accent);
}

.navbar-edu .nav-link {
    font-weight: 500;
    color: var(--edu-muted-foreground);
    padding: 0.5rem 0;
    margin: 0 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-edu .nav-link:hover,
.navbar-edu .nav-link.active {
    color: var(--edu-accent);
}

.navbar-edu .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--edu-accent);
    border-radius: 1px;
}

/* Button Styles */
.btn-edu-gold {
    background: var(--gradient-gold);
    color: var(--edu-accent-foreground);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius);
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
}

.btn-edu-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px -8px hsla(38, 92%, 50%, 0.45);
    color: var(--edu-accent-foreground);
}

.btn-edu-hero {
    background: var(--gradient-gold);
    color: var(--edu-accent-foreground);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-edu-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px -8px hsla(38, 92%, 50%, 0.45);
    color: var(--edu-accent-foreground);
}

.btn-edu-hero-outline {
    background: transparent;
    color: var(--edu-primary-foreground);
    border: 2px solid var(--edu-primary-foreground);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-edu-hero-outline:hover {
    background: var(--edu-primary-foreground);
    color: var(--edu-primary);
}

.btn-edu-outline {
    background: transparent;
    color: var(--edu-foreground);
    border: 1px solid var(--edu-border);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.btn-edu-outline:hover {
    background: var(--edu-muted);
    border-color: var(--edu-border);
    color: var(--edu-foreground);
}

/* Hero Sections */
.hero-section {
    background: var(--gradient-hero);
    color: var(--edu-primary-foreground);
    padding: 4rem 0;
    padding-top: calc(80px + 5rem);
}

.hero-section.hero-home {
    min-height: 90vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-home .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-home .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-home .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, hsla(222, 47%, 18%, 0.95) 0%, hsla(222, 47%, 18%, 0.8) 50%, hsla(222, 47%, 18%, 0.4) 100%);
}

.hero-home .hero-content {
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: hsla(38, 92%, 50%, 0.2);
    color: var(--edu-accent);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .accent {
    color: var(--edu-accent);
}

.hero-description {
    font-size: 1.125rem;
    color: hsla(40, 33%, 98%, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

/* Cards */
.edu-card {
    background: var(--edu-card);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.edu-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.edu-card-static {
    background: var(--edu-card);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.edu-icon-box {
    width: 56px;
    height: 56px;
    background: hsla(38, 92%, 50%, 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.edu-icon-box svg {
    width: 28px;
    height: 28px;
    color: var(--edu-accent);
}

/* Section Styles */
.section-edu {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .section-edu {
        padding: 5rem 0;
    }
    .hero-section{
        padding:2rem 0;
        padding-top: calc(80px + 2rem);
    }
}

.section-bg-subtle {
    background: var(--gradient-subtle);
}

.section-bg-primary {
    background: var(--gradient-hero);
    color: var(--edu-primary-foreground);
}

.section-label {
    color: var(--edu-accent);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--edu-foreground);
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--edu-muted-foreground);
}

.section-bg-primary .section-title {
    color: var(--edu-primary-foreground);
}

.section-bg-primary .section-description {
    color: hsla(40, 33%, 98%, 0.8);
}

/* Stats Section */
.stats-section {
    background: var(--edu-card);
    border-top: 1px solid var(--edu-border);
    border-bottom: 1px solid var(--edu-border);
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--edu-accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--edu-muted-foreground);
    font-weight: 500;
}

/* Feature Cards */
.feature-card {
    background: var(--edu-card);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--edu-foreground);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--edu-muted-foreground);
    line-height: 1.6;
    margin: 0;
}

/* Testimonials */
.testimonial-card {
    background: var(--edu-card);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    fill: var(--edu-accent);
    color: var(--edu-accent);
}

.testimonial-content {
    color: var(--edu-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: hsla(38, 92%, 50%, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--edu-accent);
}

.testimonial-author-name {
    font-weight: 600;
    color: var(--edu-foreground);
}

.testimonial-author-role {
    font-size: 0.875rem;
    color: var(--edu-muted-foreground);
}

/* CTA Benefits */
.cta-benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: hsla(40, 33%, 98%, 0.7);
}

.cta-benefit svg {
    width: 16px;
    height: 16px;
    color: var(--edu-accent);
}

/* Contact Info Cards */
.contact-info-card {
    background: var(--edu-card);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
    font-weight: 600;
    color: var(--edu-foreground);
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--edu-foreground);
    margin-bottom: 0.25rem;
}

.contact-info-card .subtitle {
    color: var(--edu-muted-foreground);
    font-size: 0.875rem;
}

/* Form Styles */
.form-control-edu {
    height: 48px;
    border: 1px solid var(--edu-border);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-control-edu:focus {
    border-color: var(--edu-accent);
    box-shadow: 0 0 0 3px hsla(38, 92%, 50%, 0.15);
    outline: none;
}

textarea.form-control-edu {
    height: auto;
    min-height: 150px;
    resize: none;
}

.form-label-edu {
    font-weight: 500;
    color: var(--edu-foreground);
    margin-bottom: 0.5rem;
}

/* FAQ Cards */
.faq-card {
    background: var(--edu-card);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
}

.faq-card h3 {
    font-weight: 600;
    color: var(--edu-foreground);
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
}

.faq-card p {
    color: var(--edu-muted-foreground);
    margin: 0;
    line-height: 1.6;
}

/* Map Container */
.map-container {
    background: var(--edu-card);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 320px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Team Cards */
.team-card {
    background: var(--edu-card);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
}

.team-avatar {
    width: 96px;
    height: 96px;
    background: var(--edu-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.team-avatar span {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--edu-primary-foreground);
}

.team-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--edu-foreground);
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: var(--edu-accent);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.team-card .bio {
    color: var(--edu-muted-foreground);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Timeline */
.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-year {
    width: 64px;
    height: 64px;
    background: var(--edu-accent);
    color: var(--edu-accent-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: var(--edu-border);
    margin-top: 1rem;
}

.timeline-content {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.timeline-content p {
    font-size: 1.125rem;
    color: var(--edu-foreground);
    margin: 0;
}

/* Legal Content */
.legal-content {
    background: var(--edu-card);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .legal-content {
        padding: 3rem;
    }
}

.legal-intro {
    color: var(--edu-muted-foreground);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--edu-foreground);
    margin-bottom: 1rem;
}

.legal-section p,
.legal-section div {
    color: var(--edu-muted-foreground);
    line-height: 1.7;
    white-space: pre-line;
}

/* Footer */
.footer-edu {
    background: var(--edu-primary);
    color: var(--edu-primary-foreground);
    padding: 4rem 0 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.footer-brand-icon {
    width: 10rem;
    height: auto;
}

.footer-brand-icon img {
    width: fit-content;
    height: auto;
    filter: invert(1) brightness(1.1);
    opacity: 0.85;
}

.footer-brand-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--edu-primary-foreground);
}

.footer-brand-text span {
    color: var(--edu-accent);
}

.footer-description {
    color: hsla(40, 33%, 98%, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: hsla(40, 33%, 98%, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--edu-primary-foreground);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--edu-accent);
    color: var(--edu-accent-foreground);
}

.footer-social a svg {
    width: 20px;
    height: 20px;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: hsla(40, 33%, 98%, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--edu-accent);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-contact-item span {
    color: hsla(40, 33%, 98%, 0.7);
}

.footer-bottom {
    border-top: 1px solid hsla(40, 33%, 98%, 0.1);
    margin-top: 3rem;
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    color: hsla(40, 33%, 98%, 0.5);
    margin: 0;
}

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

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.animation-delay-1 { animation-delay: 0.1s; }
.animation-delay-2 { animation-delay: 0.15s; }
.animation-delay-3 { animation-delay: 0.2s; }
.animation-delay-4 { animation-delay: 0.25s; }
.animation-delay-5 { animation-delay: 0.3s; }
.animation-delay-6 { animation-delay: 0.35s; }

/* Body padding for fixed navbar */
body {
    padding-top: 0;
}

/* Utilities */
.text-accent {
    color: var(--edu-accent);
}

.text-muted {
    color: var(--edu-muted-foreground) !important;
}

.bg-card {
    background-color: var(--edu-card);
}

/* Form Success State */
.form-success {
    text-align: center;
    padding: 3rem 0;
}

.form-success-icon {
    width: 80px;
    height: 80px;
    background: hsl(142, 76%, 95%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.form-success-icon svg {
    width: 40px;
    height: 40px;
    color: hsl(142, 76%, 36%);
}

/* Mobile Menu */
.navbar-toggler-edu {
    border: none;
    background: none;
    padding: 0.5rem;
}

.navbar-toggler-edu svg {
    width: 24px;
    height: 24px;
    color: var(--edu-foreground);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--edu-card);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        border-bottom: 1px solid var(--edu-border);
        box-shadow: var(--shadow-md);
    }
    
    .navbar-edu .nav-link {
        padding: 0.75rem 1rem;
        margin: 0;
        border-radius: var(--radius);
    }
    
    .navbar-edu .nav-link:hover {
        background: var(--edu-muted);
    }
    
    .navbar-edu .nav-link.active {
        background: hsla(38, 92%, 50%, 0.1);
    }
    
    .navbar-edu .nav-link.active::after {
        display: none;
    }
}
