
/* ==========================================
   DR. AIT ALUMNI VOICE
   Main Stylesheet
   ========================================== */

/* 1. GLOBAL RESET & VARIABLES */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --navy: #10223a;
    --navy-deep: #0a1729;
    --navy-soft: #1a3555;

    --gold: #d8b66a;
    --gold-deep: #a9822d;

    --cream: #faf8f2;
    --ink: #17253a;
    --muted: #667184;
    --line: #e9e5db;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: "DM Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

/* ==========================================
   2. HEADER / NAVIGATION
   ========================================== */

.topbar {
    min-height: 78px;
    padding: 16px clamp(20px, 6vw, 88px);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background: #ffffff;
    border-bottom: 1px solid #eee9dd;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    border: 1px solid var(--gold);
    border-radius: 50%;

    color: var(--gold-deep);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 16px;
    font-weight: 700;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;

    letter-spacing: 0.13em;
    color: var(--navy);
}

.brand-copy strong {
    font-size: 13px;
}

.brand-copy small {
    font-size: 9px;
    letter-spacing: 0.19em;
    color: #8c7443;
}

.event-label {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #657084;
    font-size: 12px;
}

.event-dot {
    width: 7px;
    height: 7px;

    background: var(--gold);
    border-radius: 50%;
}

/* ==========================================
   3. HERO SECTION
   ========================================== */

.hero {
    position: relative;
    overflow: hidden;

    min-height: 540px;
    padding: 78px 24px 82px;

    display: grid;
    place-items: center;

    color: #ffffff;
    text-align: center;

    background: radial-gradient(
        ellipse at 50% 5%,
        #203e61 0%,
        var(--navy) 47%,
        var(--navy-deep) 100%
    );
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    pointer-events: none;

    width: 570px;
    height: 570px;

    border: 1px solid rgba(216, 182, 106, 0.16);
    border-radius: 50%;
}

.hero::before {
    left: -360px;
    bottom: -370px;
}

.hero::after {
    right: -350px;
    top: -380px;
}

.hero-glow {
    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.13;
}

.hero-glow-one {
    background: #d8b66a;
    left: 5%;
    top: 20%;
}

.hero-glow-two {
    background: #4f7ea7;
    right: 8%;
    bottom: 5%;
}

.hero-content {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 760px;
}

.eyebrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    margin: 0 0 23px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;

    color: #e7ce91;
}

.eyebrow span {
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.laurel {
    color: var(--gold);
    font-size: 30px;
    margin-bottom: 14px;
}

/* ==========================================
   4. TYPOGRAPHY
   ========================================== */

h1,
h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 600;
}

h1 {
    margin: 0;

    font-size: clamp(43px, 6.5vw, 76px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

h1 em,
.closing h2 em {
    color: var(--gold);
    font-weight: 600;
}

.hero-lead {
    max-width: 565px;
    margin: 24px auto 30px;

    color: #d2dbe7;
    font-size: 15px;
    line-height: 1.8;
}

.scroll-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    padding: 0 0 9px;

    border-bottom: 1px solid rgba(216, 182, 106, 0.7);

    color: #f2d99a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
}

.scroll-link span {
    font-size: 16px;
}

.hero-side-note {
    position: absolute;
    right: 24px;
    bottom: 26px;

    color: rgba(255, 255, 255, 0.42);
    font-size: 8px;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
}

/* ==========================================
   5. FEEDBACK & REVIEW SECTION
   ========================================== */

.share-section {
    max-width: 1060px;
    margin: 0 auto;
    padding: 82px 24px 88px;
}

.section-heading {
    max-width: 620px;
    margin: 0 auto 38px;

    text-align: center;
}

.dark-eyebrow {
    color: var(--gold-deep);
    margin-bottom: 14px;
}

.section-heading h2 {
    margin: 0;

    color: var(--navy);
    font-size: clamp(31px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.section-heading > p:last-child {
    margin: 15px auto 0;

    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ==========================================
   6. ACTION CARDS
   ========================================== */

.action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 31px;

    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 17px;

    box-shadow: 0 12px 34px rgba(17, 34, 58, 0.035);
}

.card-icon {
    display: grid;
    place-items: center;

    width: 50px;
    height: 50px;
    margin-bottom: 23px;

    border-radius: 14px;
}

.card-icon svg {
    width: 25px;
    height: 25px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.review-icon {
    background: #f7f0df;
    color: #a9822d;
}

.review-icon svg {
    fill: rgba(216, 182, 106, 0.2);
}

.feedback-icon {
    background: #eaf0f8;
    color: var(--navy-soft);
}

.card-kicker {
    margin: 0 0 9px;

    color: #9b7a36;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.19em;
}

.action-card h3 {
    margin: 0 0 11px;

    color: var(--navy);
    font-size: 22px;
    letter-spacing: -0.025em;
}

.action-card > p:not(.card-kicker):not(.card-footnote) {
    flex: 1;

    margin: 0 0 25px;

    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* ==========================================
   7. BUTTONS
   ========================================== */

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;
    min-height: 49px;
    padding: 13px 17px;

    border-radius: 9px;

    font-size: 12px;
    font-weight: 700;
    text-decoration: none;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(16, 34, 58, 0.12);
}

.button:focus-visible,
a:focus-visible {
    outline: 3px solid #5c91d8;
    outline-offset: 3px;
}

.button-navy {
    color: #ffffff;
    background: var(--navy);
}

.button-navy:hover {
    background: #1a3555;
}

.button-gold {
    color: #17253a;
    background: #e8cd8d;
}

.button-gold:hover {
    background: #f0dca9;
}

.card-footnote {
    margin: 12px 0 0;

    color: #8992a0;
    font-size: 10px;
    line-height: 1.6;
}

/* ==========================================
   8. TRUST / PRIVACY NOTE
   ========================================== */

.trust-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    max-width: 760px;
    margin: 28px auto 0;
    padding: 18px 20px;

    background: #f3f0e8;
    border-radius: 10px;
}

.trust-symbol {
    flex: 0 0 25px;

    display: grid;
    place-items: center;

    height: 25px;

    background: #e6d6ad;
    border-radius: 50%;

    color: #735a23;
    font-size: 12px;
    font-weight: 700;
}

.trust-note p {
    margin: 2px 0 0;

    color: #626b79;
    font-size: 12px;
    line-height: 1.7;
}

.trust-note strong {
    color: var(--navy);
}

/* ==========================================
   9. CLOSING SECTION
   ========================================== */

.closing {
    padding: 68px 24px 78px;

    background: var(--navy);
    color: #ffffff;
    text-align: center;
}

.closing-line {
    width: 48px;
    height: 1px;
    margin: 0 auto 25px;

    background: var(--gold);
}

.closing-kicker {
    color: #e4c77f;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.closing h2 {
    margin: 19px 0 13px;

    font-size: clamp(34px, 4.5vw, 48px);
    line-height: 1.16;
}

.closing-copy {
    max-width: 510px;
    margin: 0 auto;

    color: #cbd5e2;
    font-size: 13px;
    line-height: 1.8;
}

/* ==========================================
   10. FOOTER
   ========================================== */

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;

    padding: 23px clamp(20px, 6vw, 88px);

    background: #091626;
    color: #9da9b9;
    font-size: 10px;
}

.footer-brand {
    color: #f0d79b;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.footer-brand span {
    color: #6f8095;
    margin: 0 4px;
}

.link-unconfigured {
    opacity: 0.75;
}

/* ==========================================
   11. RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 680px) {

    .topbar {
        min-height: 68px;
        padding: 13px 18px;
    }

    .brand-mark {
        width: 37px;
        height: 37px;
    }

    .event-label {
        max-width: 125px;

        justify-content: flex-end;

        font-size: 10px;
        line-height: 1.4;
        text-align: right;
    }

    .hero {
        min-height: 505px;
        padding: 67px 22px 76px;
    }

    .eyebrow {
        font-size: 8px;
        letter-spacing: 0.13em;
    }

    .hero-lead {
        font-size: 13px;
    }

    .hero-side-note {
        display: none;
    }

    .share-section {
        padding: 61px 18px 64px;
    }

    .action-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .action-card {
        padding: 25px;
    }

    .action-card h3 {
        font-size: 21px;
    }

    .trust-note {
        padding: 15px;
    }

    .closing {
        padding: 58px 20px 62px;
    }

    footer {
        flex-direction: column;
        text-align: center;
        padding: 22px 16px;
    }
}

/* ==========================================
   12. ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}


/* ==========================================
   OFFICIAL INSTITUTE LOGO
========================================== */

.brand-logo {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}


/* ==========================================
   QR CODE SECTIONS
========================================== */

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    margin-top: 25px;
    padding-top: 22px;

    border-top: 1px solid var(--line);
    text-align: center;
}

.qr-title {
    margin: 0 0 14px;

    color: var(--gold-deep);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.12em;
}

.qr-frame {
    display: grid;
    place-items: center;

    width: 176px;
    height: 176px;
    padding: 10px;

    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;

    box-shadow: 0 5px 18px rgba(16, 34, 58, 0.06);
}

.qr-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.qr-caption {
    max-width: 240px;
    margin: 12px 0 0;

    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}


/* ==========================================
   MOBILE LOGO AND QR ADJUSTMENTS
========================================== */

@media (max-width: 680px) {

    .brand-logo {
        width: 39px;
        height: 39px;
    }

    .qr-frame {
        width: 165px;
        height: 165px;
    }

    .qr-section {
        margin-top: 22px;
        padding-top: 20px;
    }
}


footer a {
    color: #9da9b9;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #f0d79b;
    text-decoration: underline;
}
