/* ============================================================
   ACADEMIC MANTRA — GLOBAL THEME
   ============================================================ */

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

:root {
    /* BRAND */
    --brand-primary: #0947a8;
    --brand-secondary: #10459e;
    --brand-triary: #b6addf;
    --brand-accent: #f0b35a;
    --brand-green: #16a34a;

    /* BACKGROUNDS */
    --bg: #eaf2ff;
    --bg2: #f0f5ff;
    --bg-dark: #eaf2ff;
    --bg-card: #ffffff;
    --bg-card2: #f8fbff;
    --card: #ffffff;

    /* TEXT */
    --text: #0e1f36;
    --text-main: #0e1f36;
    --text-muted: #5a718a;
    --muted: #5a718a;

    /* LINES */
    --line: #d6e4f5;
    --border: #ddcaff;

    /* PRIMARY */
    --primary: #859eff;
    --primary-dark: #0947a8;
    --primary-glow: rgba(13, 93, 209, .18);

    /* ACCENT */
    --accent: #f0b35a;
    --accent2: #e79010;

    /* STATE */
    --success: #16a34a;
    --danger: #dc2626;

    /* INPUTS */
    --input-bg: #f4f8ff;
    --input-border: #c8daf0;
    --input-focus: #4a90e2;

    --glow: rgba(13, 93, 209, .10);

    /* SHAPE */
    --radius: 20px;
    --radius-sm: 12px;

    /* SHADOW */
    --shadow: 0 20px 50px rgba(13, 93, 209, .08);
    --shadow-card: 0 10px 30px rgba(14, 31, 54, .08);

    --font-family: 'Inter', system-ui, -apple-system, sans-serif;

    /* ALIASES */
    --ink: var(--brand-primary);
    --ink-2: var(--brand-secondary);
    --ink-3: var(--brand-triary);
    --paper: var(--bg);
    --cloud: var(--bg2);
    --mist: var(--bg-dark);
    --gold: var(--brand-accent);
    --gold-2: var(--accent2);
    --live: var(--danger);
    --text-light: var(--text);
    --text-dark: var(--text-main);
    --muted-dark: var(--text-muted);
    --r: var(--radius);
    --line-light: var(--border);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg);
    color: var(--text-main);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.wrap {
    margin: 0 auto;
    padding: 0 24px;
}

.wrap-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 48px 0;
}

.section-alt {
    background: var(--bg2);
}

.section-dark {
    background: var(--brand-primary);
}

.section-white {
    background: var(--card);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(9, 71, 168, .08);
    color: var(--brand-primary);
    border: 1px solid rgba(9, 71, 168, .14);
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .9px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.h1 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-main);
}

.h2 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

.h3 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-main);
}

.h4 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main);
}

.h1 span,
.h2 span {
    color: var(--brand-primary);
}

.lead {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 580px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all .25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand-primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(9, 71, 168, .22);
}

.btn-primary:hover {
    background: var(--brand-secondary);
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

.btn-outline:hover {
    background: var(--brand-primary);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--brand-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .10);
}

.btn-white:hover {
    transform: translateY(-2px);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 34px;
    font-size: 16px;
}

/* ============================================================
   BADGES / TAGS
   ============================================================ */
.badge {
    display: inline-block;
    padding: 4px 13px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.badge-blue {
    background: rgba(9, 71, 168, .10);
    color: #0947a8;
}

.badge-green {
    background: rgba(22, 163, 74, .10);
    color: #15803d;
}

.badge-gold {
    background: rgba(240, 179, 90, .18);
    color: #b45309;
}

.badge-purple {
    background: rgba(182, 173, 223, .28);
    color: #4338ca;
}

.badge-red {
    background: rgba(220, 38, 38, .10);
    color: #b91c1c;
}

.badge-teal {
    background: rgba(20, 184, 166, .12);
    color: #0f766e;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 28px;
}

.card-hover {
    transition: box-shadow .25s, transform .25s;
}

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

/* ============================================================
   GRID HELPERS
   ============================================================ */
.grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 24px;
}

.grid4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.grid5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    gap: 20px;
}

.grid6 {
    display: grid;
    grid-template-columns: repeat(6, minmax(220px, 1fr));
    gap: 20px;
}


/* ============================================================
   ICON BOX
   ============================================================ */
.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    margin-bottom: 16px;
}

.icon-box-blue {
    background: #e8f0fe;
}

.icon-box-green {
    background: #dcfce7;
}

.icon-box-gold {
    background: #fef9ee;
}

.icon-box-purple {
    background: #ede9fe;
}

.icon-box-teal {
    background: #ccfbf1;
}

/* ============================================================
   AVATAR
   ============================================================ */
.avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
    height: 1px;
    background: var(--line);
}

/* ============================================================
   SECTION HEADER BLOCK
   ============================================================ */
.section-header {
    margin-bottom: 48px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .lead {
    margin: 0 auto;
}

/* ============================================================
   STAT BOX
   ============================================================ */
.stat-box {
    background: var(--bg2);
    border-radius: var(--radius-sm);
    padding: 20px 16px;
    text-align: center;
}

.stat-box strong {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-box span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ============================================================
   STARS
   ============================================================ */
.stars {
    color: var(--brand-accent);
    font-size: 15px;
    letter-spacing: 2px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-main);
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    transition: background .2s;
    gap: 16px;
}

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

.faq-ico {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: transform .25s;
}

.faq-item.open .faq-ico {
    transform: rotate(180deg);
    background: var(--brand-primary);
    color: #fff;
}

.faq-a {
    display: none;
    padding: 0 22px 18px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    border-top: 1px solid var(--line);
}

.faq-a p {
    padding-top: 14px;
}

.faq-item.open .faq-a {
    display: block;
}

/* ============================================================
   REVIEW CARD
   ============================================================ */
.review-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card blockquote {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.8;
    font-style: italic;
    flex: 1;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-info h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.reviewer-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================================
   PRIVACY
   ============================================================ */
.privacy-toc {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 22px;
    position: sticky;
    top: 90px;
}

.privacy-toc h4 {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.privacy-toc a {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all .2s;
    margin-bottom: 2px;
}

.privacy-toc a:hover,
.privacy-toc a.active {
    background: var(--bg);
    color: var(--brand-primary);
}

.prose-section {
    margin-bottom: 40px;
}

.prose-section h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.prose-section p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 12px;
}

.prose-section ul {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.85;
    padding-left: 22px;
    margin-bottom: 12px;
}

.prose-section ul li {
    margin-bottom: 6px;
}

/* ============================================================
   BLOG CARD
   ============================================================ */
.blog-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
    display: flex;
    flex-direction: column;
}

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

.blog-thumb {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.blog-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.5;
    margin: 10px 0 10px;
}

.blog-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.blog-meta a {
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 13px;
    transition: opacity .2s;
}

.blog-meta a:hover {
    opacity: .75;
}

/* ============================================================
   TEAM CARD
   ============================================================ */
.team-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 26px 20px;
    text-align: center;
    transition: box-shadow .25s, transform .25s;
}

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

.team-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    margin: 0 auto 14px;
}

.team-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.team-card .role {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.team-social {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.team-social a {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--brand-primary);
    transition: all .2s;
}

.team-social a:hover {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
}

/* ============================================================
   LIFE AT AM — CULTURE CARDS
   ============================================================ */
.culture-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}

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

.culture-top {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    position: relative;
}

.culture-body {
    padding: 22px;
}

.culture-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin: 10px 0 8px;
}

.culture-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================================
   DEPT LINK CARD
   ============================================================ */
.dept-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 26px;
    transition: all .25s;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
}

.dept-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
    border-color: var(--brand-primary);
}

.dept-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.dept-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
}

.dept-card .arrow {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-primary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .h1 {
        font-size: 36px;
    }

    .h2 {
        font-size: 28px;
    }

    .section {
        padding: 56px 0;
    }

    .grid2,
    .grid3,
    .grid4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .h1 {
        font-size: 28px;
    }

    .h2 {
        font-size: 22px;
    }

    .section {
        padding: 40px 0;
    }

    .grid2,
    .grid3,
    .grid4 {
        grid-template-columns: 1fr;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .lead {
        font-size: 15px;
    }
}

