
:root {
    --navy: #12253d;
    --blue: #24476a;
    --gold: #d8b36a;
    --white: #ffffff;
    --cream: #f5f6f8;
    --text: #293747;
    --muted: #697586;
    --border: #dfe5ec;
    --green: #237653;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
}

button, input, select, textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #d8b36a;
    outline-offset: 3px;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 6%;
    background: var(--navy);
    color: white;
    box-shadow: 0 4px 18px #0b172526;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.3;
}

.brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--gold);
    margin-top: 4px;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 2px solid var(--gold);
    border-radius: 10px;
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 25px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    border: 1px solid transparent;
    padding: 10px 16px;
    border-radius: 6px;
    color: white;
    background: transparent;
    transition: 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--navy);
    background: var(--gold);
}

.menu-toggle {
    display: none;
    color: white;
    background: transparent;
    border: 1px solid #ffffff60;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 22px;
}

/* PAGE NAVIGATION */

.page {
    display: none;
}

.page.active {
    display: block;
}

/* HOME */

.home-page {
    min-height: 690px;
    min-height: calc(100vh - 100px);
    display: none;
    align-items: center;
    padding: 75px 8%;
    color: white;

    background:
        linear-gradient(
            90deg,
            rgba(10, 24, 42, 0.94) 0%,
            rgba(10, 24, 42, 0.77) 48%,
            rgba(10, 24, 42, 0.25) 100%
        ),
        url("images/college-bg.jpg") center / cover no-repeat,
        #12253d;
}

.home-page.active {
    display: flex;
}

.hero-content {
    max-width: 760px;
}

.eyebrow {
    display: inline-block;
    color: #a77a30;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.2px;
    margin-bottom: 15px;
}

.home-page .eyebrow {
    color: var(--gold);
}

.hero-content h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(39px, 5.5vw, 69px);
    line-height: 1.13;
    margin-bottom: 25px;
}

.hero-content h1 span {
    color: var(--gold);
}

.hero-content > p {
    max-width: 640px;
    color: #e0e6ee;
    font-size: 17px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.primary-btn,
.secondary-btn,
.outline-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 19px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}

.primary-btn {
    background: var(--navy);
    color: white;
    border: 1px solid var(--navy);
}

.primary-btn:hover {
    background: var(--blue);
    transform: translateY(-2px);
}

.home-page .primary-btn {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.home-page .primary-btn:hover {
    background: #efd29a;
}

.outline-btn {
    background: transparent;
    color: white;
    border: 1px solid #ffffff9c;
}

.outline-btn:hover {
    background: #ffffff19;
}

.secondary-btn {
    background: #e9edf2;
    color: var(--navy);
    border: 1px solid var(--border);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 60px;
}

.hero-features div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-features strong {
    color: var(--gold);
    font-size: 22px;
}

.hero-features span {
    font-size: 12px;
    color: #e0e6ee;
}

/* GENERAL CONTENT */

.content-page {
    min-height: 75vh;
    padding: 75px 7%;
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 42px;
}

.section-heading h2,
.form-container h2 {
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.25;
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--muted);
}

/* EXPLORE CARDS */

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: auto;
}

.service-card {
    position: relative;
    min-height: 275px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 25px #12253d0a;
    overflow: hidden;
    transition: 0.25s;
}

.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: var(--gold);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px #12253d16;
}

.service-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    border-radius: 10px;
    background: #edf1f6;
    color: var(--navy);
    font-size: 27px;
}

.card-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #92713e;
    margin-bottom: 6px;
}

.service-card h3 {
    color: var(--navy);
    font-family: Georgia, serif;
    font-size: 24px;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 23px;
}

.service-card .primary-btn {
    margin-top: auto;
}

.lost-card::after {
    background: #c48c48;
}

.found-card::after {
    background: #398765;
}

.books-card::after {
    background: #668cc4;
}

.legacy-card::after {
    background: #9a79b6;
}

/* FORM PAGES: DIFFERENT PHOTO BACKGROUNDS */

.form-page {
    min-height: 85vh;
    padding: 65px 6%;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.lost-page {
    background-image:
        linear-gradient(#12253dc9, #12253dce),
        url("images/lost-bg.jpg");
}

.found-page {
    background-image:
        linear-gradient(#123b31c9, #123b31ce),
        url("images/found-bg.jpg");
}

.books-page {
    background-image:
        linear-gradient(#172d49c9, #172d49ce),
        url("images/books-bg.jpg");
}

.legacy-page {
    background-image:
        linear-gradient(#382447c9, #382447ce),
        url("images/legacy-bg.jpg");
}

.form-container {
    max-width: 900px;
    margin: auto;
    padding: 40px;
    background: #fffffffa;
    border: 1px solid #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 55px #00000025;
}

.form-container .form-intro {
    color: var(--muted);
    margin-bottom: 30px;
}

.form-container .eyebrow {
    margin-bottom: 10px;
}

.data-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.field label {
    color: #26384b;
    font-size: 13px;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-width: 0;
    padding: 12px 13px;
    color: var(--text);
    background: white;
    border: 1px solid #d4dce6;
    border-radius: 6px;
    outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #537ca6;
    box-shadow: 0 0 0 3px #537ca61c;
}

.field textarea {
    resize: vertical;
    min-height: 105px;
}

.full-width {
    grid-column: 1 / -1;
}

.image-preview {
    display: block;
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    object-position: left;
    margin-top: 10px;
    border-radius: 8px;
}

.image-preview[hidden] {
    display: none;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}

.consent input {
    margin-top: 6px;
    accent-color: var(--navy);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.form-message {
    font-size: 14px;
    color: var(--green);
    font-weight: 600;
}

/* ABOUT THE APP */

.about-page {
    background:
        linear-gradient(#f4f6f9f2, #f4f6f9f2),
        url("images/college-bg.jpg") center / cover fixed;
}

.mission-panel {
    max-width: 1000px;
    margin: 0 auto 28px;
    padding: 32px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.mission-panel h3 {
    color: var(--navy);
    font-family: Georgia, serif;
    font-size: 25px;
    margin-bottom: 12px;
}

.mission-panel p {
    color: var(--muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto 28px;
}

.stat-card {
    padding: 26px 14px;
    text-align: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.stat-symbol {
    display: block;
    color: #a77a30;
    font-size: 29px;
    margin-bottom: 7px;
}

.stat-card p {
    min-height: 46px;
    font-size: 13px;
    color: var(--muted);
}

.stat-card strong {
    display: block;
    color: var(--navy);
    font-size: 29px;
    margin-top: 8px;
}

.impact-list {
    padding-left: 22px;
    color: var(--muted);
}

.impact-list li {
    padding: 4px 0;
}

.small-note {
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    font-size: 12px;
}

/* FOOTER */

.footer {
    padding: 24px 6%;
    text-align: center;
    color: #e5eaf0;
    background: var(--navy);
    font-size: 13px;
}

.footer p + p {
    color: var(--gold);
    margin-top: 5px;
}

/* MOBILE */

@media (max-width: 800px) {
    .header {
        flex-wrap: wrap;
        padding: 13px 5%;
    }

    .menu-toggle {
        display: block;
    }

    .navigation {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .navigation.open {
        display: flex;
    }

    .nav-link {
        text-align: left;
    }

    .home-page {
        min-height: 700px;
        padding: 65px 7%;
        background-position: center;
    }

    .hero-features {
        margin-top: 40px;
        gap: 22px;
    }

    .content-page {
        padding: 55px 5%;
    }

    .form-page {
        padding: 35px 4%;
        background-attachment: scroll;
    }

    .form-container {
        padding: 25px 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .service-grid,
    .data-form {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: auto;
    }

    .hero-content h1 {
        font-size: 39px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .hero-features {
        gap: 18px;
    }

    .service-card {
        padding: 24px;
    }

    .stats-grid {
        gap: 10px;
    }

    .stat-card {
        padding: 20px 9px;
    }

    .mission-panel {
        padding: 22px;
    }
}
