/* Global Styles */
:root {
    /* Colors - Trustworthy & Calm */
    --primary-color: #0F172A;
    /* Deep Navy - darker for more premium feel */
    --secondary-color: #1E293B;
    /* Slate */
    --accent-color: #F59E0B;
    /* Muted Gold/Amber for CTAs */
    --accent-hover: #D97706;

    --bg-light: #F8FAFC;
    /* Light Blue-Grey */
    --bg-white: #FFFFFF;
    --text-main: #334155;
    --text-dark: #0F172A;
    --text-muted: #64748B;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-container: 1200px;
    --spacing-section: 6rem 1rem;

    /* Effects */
    --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 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--spacing-section);
}

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

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 5px;
    /* Slightly squarer for institutional feel */
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    padding: 1.25rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.dot {
    color: var(--accent-color);
}

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

.nav-links a:not(.btn) {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:not(.btn):hover {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 140px;
    text-align: left;
    color: white;
    background: linear-gradient(rgba(10, 38, 71, 0.8), rgba(10, 38, 71, 0.6)), url('../assets/images/hero_campus.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax feel */
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subheadline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 650px;
    font-weight: 400;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.trust-badge {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Why Trust Us - Features */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

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

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

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

.feature-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

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

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

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

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* Imagine Your Future */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.image-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    position: relative;
}

.image-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.3), transparent);
}

.image-box img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: transform 0.6s ease;
}

.image-box:hover img {
    transform: scale(1.05);
    /* Subtle zoom */
}

/* Process Steps */
.steps-container {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Connecting line */
.steps-container::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #E2E8F0;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: var(--bg-light);
    /* Hide line behind bg if needed, or transparent */
    text-align: center;
    flex: 1;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    background: var(--primary-color);
    color: white;
}

.step h3 {
    font-size: 1rem;
    color: var(--text-main);
}

/* Social Proof */
.section-sub {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: #CBD5E1;
    margin-bottom: 1rem;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    background: #ddd;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0;
}

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

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

.faq-item {
    border-bottom: 1px solid #E2E8F0;
    padding: 1.5rem 0;
}

.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
}

.faq-answer {
    margin-top: 0.75rem;
    color: var(--text-muted);
    display: none;
    /* JS will toggle */
}

/* Final CTA */
.cta-final {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 5rem 1rem;
}

.cta-final h2 {
    color: white;
    margin-bottom: 1rem;
}

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

/* Footer */
.footer {
    background: #0F172A;
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 1rem 2rem;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.contact-info h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info i {
    width: 20px;
    color: var(--accent-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {

    /* Navbar Tweaks for Mobile */
    .mobile-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary-color);
        z-index: 1001;
    }

    .nav-links {
        display: none;
        /* Hidden by default on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .text-content {
        padding-right: 0;
        order: 2;
    }

    .image-box {
        order: 1;
        margin-bottom: 2rem;
    }

    .steps-container {
        flex-direction: column;
        gap: 2.5rem;
        align-items: flex-start;
        padding-left: 20px;
    }

    .steps-container::before {
        left: 20px;
        top: 0;
        bottom: 0;
        width: 2px;
        height: auto;
    }

    .step {
        display: flex;
        gap: 1.5rem;
        text-align: left;
        align-items: center;
    }

    .step-number {
        margin: 0;
        min-width: 50px;
    }

    .step h3 {
        margin: 0;
        text-align: left;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Float Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero h1 {
    animation: float 6s ease-in-out infinite;
}