/* Aurora Admissions — design system */

:root {
    --light-blue: #e8f4f8;
    --sky-blue: #b3d9e8;
    --blue: #6ab7d4;
    --dark-blue: #2c5aa0;
    --navy: #003d5c;
    --gold: #d4af37;
    --yellow: #ffd700;
    --accent-yellow: #ffed4e;
    --white: #ffffff;
    --dark-text: #1a1a1a;
    --light-text: #666;
    --muted-text: #999;
    --border-light: #e0e0e0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    --sans: 'Avenir', 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

    /* Horizontal page chrome — overridden in the mobile media query. */
    --page-padding-x: 2rem;
}

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

html {
    font-size: 18px;
}

body {
    font-family: var(--sans);
    line-height: 1.6;
    color: var(--dark-text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; margin: 1.5rem 0; }
h2 { font-size: 2.25rem; margin: 1.5rem 0 1rem; }
h3 { font-size: 1.5rem; margin: 1rem 0 0.5rem; }

p {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--gold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--page-padding-x);
}

/* ---------- Navbar ---------- */
.navbar {
    background: linear-gradient(135deg, #e8f4f8 0%, #c5dfe8 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navy);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-mark {
    font-size: 1.5rem;
    line-height: 1;
}

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

.nav-link {
    color: var(--navy);
    font-weight: 500;
    position: relative;
}

.nav-link.active {
    color: var(--dark-blue);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--accent-yellow));
    border-radius: 2px;
}

.nav-cta {
    background: linear-gradient(135deg, var(--yellow) 0%, var(--accent-yellow) 100%);
    color: var(--navy) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    color: var(--navy) !important;
}

/* ---------- Buttons ---------- */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent-yellow) 100%);
    color: var(--navy);
    border: none;
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    font-family: var(--sans);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
    color: var(--navy);
}

.cta-button-light {
    margin-top: 2rem;
}

.cta-button-full {
    width: 100%;
    padding: 1rem;
}

/* ---------- Hero (home) ---------- */
.hero {
    background: linear-gradient(135deg, #e8f4f8 0%, #b3d9e8 50%, #6ab7d4 100%);
    padding: 4rem var(--page-padding-x);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    color: var(--navy);
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--navy);
    opacity: 0.85;
    margin: 1.5rem 0 2rem;
    line-height: 1.6;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    display: block;
}

/* ---------- Sections ---------- */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tagline {
    text-align: center;
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.why-us {
    background: var(--white);
    padding: 5rem var(--page-padding-x);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(232, 244, 248, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy) 100%);
    color: var(--white);
    padding: 5rem var(--page-padding-x);
    text-align: center;
}

.cta-section h2,
.cta-section p {
    color: var(--white);
}

.cta-section p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-inner {
    max-width: 720px;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
    background: linear-gradient(135deg, #e8f4f8 0%, #b3d9e8 100%);
    padding: 4rem var(--page-padding-x);
    text-align: center;
}

.page-hero h1 {
    margin: 0.5rem 0;
}

.page-hero-tagline {
    color: var(--navy);
    opacity: 0.85;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
}

.page-hero-cta {
    margin-top: 1.75rem;
}

/* ---------- Services ---------- */
.services-section {
    padding: 5rem var(--page-padding-x);
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(232, 244, 248, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.tag-row-center {
    justify-content: center;
}

.feature-tag {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--sky-blue) 100%);
    color: var(--navy);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tag {
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent-yellow) 100%);
    color: var(--navy);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ---------- Pricing ---------- */
.pricing-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy) 100%);
    color: var(--white);
    padding: 5rem var(--page-padding-x);
    text-align: center;
}

.pricing-section h2,
.pricing-section h3 {
    color: var(--white);
}

.pricing-section .section-tagline {
    color: var(--sky-blue);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card p {
    color: rgba(255, 255, 255, 0.85);
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-2px);
}

.pricing-card.highlight {
    transform: scale(1.05);
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.12);
}

.pricing-card.highlight:hover {
    transform: scale(1.05) translateY(-2px);
}

.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent-yellow) 100%);
    color: var(--navy);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin: 0.75rem 0 1rem;
}

.price-unit {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 0.25rem;
}

/* ---------- Team ---------- */
.team-section {
    padding: 5rem var(--page-padding-x);
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
}

.team-card {
    background: linear-gradient(135deg, rgba(232, 244, 248, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.team-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--gold);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-role {
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--light-text);
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
}

.team-bio:last-of-type {
    margin-bottom: 1rem;
}

.team-credentials {
    text-align: left;
    line-height: 1.8;
    border-left: 3px solid var(--gold);
    padding-left: 0.9rem;
    margin-top: 1rem;
}

/* ---------- Values ---------- */
.values-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy) 100%);
    color: var(--white);
    padding: 5rem var(--page-padding-x);
}

.values-section h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 2.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateX(8px);
}

.value-card h3 {
    color: var(--accent-yellow);
}

.value-card p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ---------- Contact ---------- */
.contact-methods-section {
    padding: 5rem var(--page-padding-x);
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-method {
    background: linear-gradient(135deg, rgba(232, 244, 248, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.contact-icon-svg {
    color: var(--navy);
    height: 4.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-icon-svg svg {
    width: 2.75rem;
    height: 2.75rem;
}

.contact-sub {
    color: var(--muted-text);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.social-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy) 100%);
    color: var(--white);
    padding: 4rem var(--page-padding-x);
    text-align: center;
}

.social-section h2 {
    color: var(--white);
}

.social-section .section-tagline {
    color: var(--sky-blue);
}

.social-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent-yellow) 100%);
    color: var(--navy) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

/* ---------- Form ---------- */
.form-section {
    padding: 5rem var(--page-padding-x);
    background: var(--white);
}

.form-wrapper {
    max-width: 640px;
}

.form-wrapper h2 {
    text-align: center;
}

.contact-form {
    margin-top: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.req {
    color: var(--gold);
    margin-left: 0.2rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: vertical;
    color: var(--dark-text);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* ---------- Footer ---------- */
.footer {
    background: linear-gradient(135deg, var(--navy) 0%, #002235 100%);
    color: var(--white);
    padding: 3rem var(--page-padding-x) 2rem;
    text-align: center;
}

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

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin: 0.75rem 0 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--sky-blue);
    font-size: 0.95rem;
}

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

.footer-copy {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    :root {
        --page-padding-x: 0.5rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.85rem; }

    .navbar-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        column-gap: 1rem;
        row-gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

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

    .feature-grid,
    .services-grid,
    .contact-grid,
    .pricing-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.highlight {
        transform: scale(1);
    }

    .pricing-card.highlight:hover {
        transform: translateY(-2px);
    }

    .feature-card,
    .service-card {
        padding: 0.25rem 0.5rem;
    }

    .team-card,
    .contact-method,
    .pricing-card {
        padding: 0.5rem;
    }

    .feature-card .feature-icon,
    .service-card .service-icon {
        margin-bottom: 0.25rem;
    }

    .feature-card h3,
    .service-card h3 {
        margin-top: 0.5rem;
    }
}

/* ---------- Accessibility ---------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--navy);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 0 0 6px 0;
    font-weight: 600;
    z-index: 200;
}

.skip-link:focus,
.skip-link:focus-visible {
    left: 0;
    color: var(--white);
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

.nav-link:focus-visible,
.nav-cta:focus-visible,
.cta-button:focus-visible,
.social-link:focus-visible,
.footer-links a:focus-visible,
.footer-legal a:focus-visible,
.logo:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 1px;
}

/* ---------- 404 page ---------- */
.error-page {
    background: linear-gradient(135deg, #e8f4f8 0%, #b3d9e8 50%, #6ab7d4 100%);
    padding: 5rem var(--page-padding-x);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.error-inner {
    text-align: center;
    max-width: 640px;
}

.error-mark {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-tagline {
    font-size: 1.15rem;
    color: var(--navy);
    opacity: 0.85;
    margin: 1rem 0 2rem;
}

/* ---------- Legal pages (privacy, terms) ---------- */
.legal-section {
    padding: 4rem var(--page-padding-x) 5rem;
    background: var(--white);
}

.legal-page {
    max-width: 760px;
}

.legal-page h2 {
    margin-top: 2.5rem;
    font-size: 1.75rem;
}

.legal-page h3 {
    margin-top: 1.75rem;
    font-size: 1.2rem;
}

.legal-page p,
.legal-page li {
    color: var(--dark-text);
    line-height: 1.75;
    font-size: 1rem;
}

.legal-page ul {
    margin: 1rem 0 1.25rem 1.5rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

.legal-meta {
    color: var(--light-text);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ---------- Footer legal links ---------- */
.footer-legal {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: var(--accent-yellow);
}
