
/* =========================================================
   NOVA COLLEGE — PREMIUM BLUE & GOLD DESIGN
   Responsive: Desktop, Tablet, Mobile
========================================================= */

:root {
    --navy: #071a35;
    --navy-light: #102e55;
    --blue: #164e91;
    --blue-light: #2876c7;
    --gold: #e7b84b;
    --gold-light: #ffdc83;
    --white: #ffffff;
    --text: #26364b;
    --muted: #64748b;
    --light: #f4f7fc;
    --border: #e2e8f0;
    --shadow: 0 12px 35px rgba(7, 26, 53, 0.10);
    --radius: 18px;
}

/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

section {
    padding: 85px 7%;
}

section[id] {
    scroll-margin-top: 85px;
}

/* =========================================================
   WELCOME INTRO
========================================================= */

#welcome-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 50% 35%,
            rgba(40, 118, 199, 0.30), transparent 40%),
        linear-gradient(135deg, #041126, #102e55 60%, #071a35);
    animation: welcomeExit 0.8s ease 3.2s forwards;
}

.welcome-content {
    width: 100%;
    max-width: 600px;
    text-align: center;
    color: var(--white);
    animation: welcomeAppear 1s ease both;
}

.welcome-logo {
    width: 125px;
    height: 125px;
    margin: 0 auto 24px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 7px;
    border: 3px solid var(--gold);
    box-shadow: 0 0 45px rgba(231, 184, 75, 0.25);
}

.welcome-content h1 {
    font-size: clamp(32px, 6vw, 54px);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--gold-light);
}

.welcome-text {
    margin-top: 15px;
    font-size: 21px;
    font-weight: 600;
}

.welcome-subtitle {
    margin-top: 9px;
    font-size: 12px;
    letter-spacing: 4px;
    color: #d9e7fb;
}

.welcome-loader {
    width: min(230px, 80%);
    height: 4px;
    margin: 35px auto 0;
    overflow: hidden;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.18);
}

.loader-bar {
    width: 100%;
    height: 100%;
    background: var(--gold);
    transform-origin: left;
    animation: loaderProgress 2.7s ease-in-out forwards;
}

@keyframes loaderProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes welcomeAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes welcomeExit {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/* =========================================================
   NAVIGATION
========================================================= */

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 78px;
    padding: 15px 5%;
    background: rgba(7, 26, 53, 0.97);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.13);
    backdrop-filter: blur(15px);
}

.logo {
    flex-shrink: 0;
    color: white;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo span {
    color: var(--gold);
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
}

nav ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 11px;
    color: #edf4ff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 7px;
    transition: color 0.25s ease, background 0.25s ease;
}

nav ul li a:hover {
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.08);
}

nav ul li a.nav-portal-btn {
    margin-left: 4px;
    padding: 10px 14px;
    color: var(--navy);
    background: var(--gold);
    font-weight: 800;
}

nav ul li a.nav-portal-btn:hover {
    background: var(--gold-light);
    color: var(--navy);
}

/* =========================================================
   SCHOLARSHIP ANNOUNCEMENT
========================================================= */

.custom-ad-banner {
    position: relative;
    overflow: hidden;
    padding: 28px 20px;
    text-align: center;
    background: linear-gradient(110deg, #fff8e5, #fffdf7, #fff1c9);
    border-bottom: 1px solid #f1d58b;
}

.custom-ad-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gold);
}

.ad-badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 12px;
    color: #76500a;
    background: #f9e7ae;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-ad-banner h3 {
    color: var(--navy);
    font-size: clamp(20px, 3vw, 27px);
    margin-bottom: 5px;
}

.custom-ad-banner p {
    margin-bottom: 16px;
    color: #5b4a26;
    font-size: 14px;
}

.ad-btn {
    display: inline-block;
    padding: 11px 24px;
    color: white;
    background: var(--navy);
    border: 1px solid var(--navy);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
    transition: 0.25s ease;
}

.ad-btn:hover {
    color: var(--navy);
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* =========================================================
   HERO SECTION
========================================================= */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 590px;
    padding: 90px 9%;
    overflow: hidden;
    color: white;
    background:
        radial-gradient(ellipse at 85% 15%,
            rgba(40, 118, 199, 0.4), transparent 38%),
        linear-gradient(120deg, #041126 0%, #102e55 58%, #164e91 100%);
}

.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 480px;
    height: 480px;
    top: -230px;
    right: -120px;
    border: 1px solid rgba(231, 184, 75, 0.35);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(231, 184, 75, 0.035),
        0 0 0 75px rgba(231, 184, 75, 0.025);
}

.hero-background-logo {
    position: absolute;
    z-index: -1;
    right: 7%;
    top: 50%;
    width: min(390px, 36%);
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 50%;
    opacity: 0.09;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-content {
    width: 100%;
    max-width: 780px;
    animation: welcomeAppear 0.9s ease both;
}

.hero-content h1 {
    max-width: 800px;
    margin-bottom: 22px;
    color: white;
    font-size: clamp(38px, 6vw, 70px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.hero-content h1 span {
    display: block;
    color: var(--gold);
}

.hero-content p {
    max-width: 600px;
    margin-bottom: 30px;
    color: #d8e6f8;
    font-size: clamp(15px, 2vw, 19px);
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.gold-btn,
.white-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 13px 25px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    transition: 0.25s ease;
}

.gold-btn {
    color: var(--navy);
    background: var(--gold);
    border-color: var(--gold);
}

.gold-btn:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 9px 22px rgba(231, 184, 75, 0.2);
}

.white-btn {
    color: white;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.65);
}

.white-btn:hover {
    color: var(--navy);
    background: white;
    border-color: white;
}

.small-btn {
    min-height: 43px;
    padding: 10px 19px;
}

/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-title {
    margin-bottom: 45px;
    text-align: center;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 17px;
    color: var(--navy);
    font-size: clamp(27px, 4vw, 39px);
    line-height: 1.25;
    font-weight: 900;
}

.section-title h2::after {
    content: "";
    display: block;
    width: 68px;
    height: 4px;
    margin: 15px auto 0;
    background: var(--gold);
    border-radius: 20px;
}

.section-title p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 15px;
}

/* =========================================================
   ABOUT AND PROGRAM CARDS
========================================================= */

#about,
#programs {
    background: var(--light);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
}

.card {
    min-width: 0;
    padding: 30px 25px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(7, 26, 53, 0.045);
    transition: transform 0.3s ease, box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-7px);
    border-color: #e8c66f;
    box-shadow: var(--shadow);
}

.card .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin-bottom: 22px;
    color: var(--navy);
    background: #fff4d5;
    border: 1px solid #f3dfa3;
    border-radius: 16px;
    font-size: 31px;
}

.card h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.35;
}

.card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

/* Programs use four cards */

#programs .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

#programs .card {
    border-bottom: 4px solid var(--gold);
}

/* =========================================================
   PRINCIPAL MESSAGE
========================================================= */

.principal {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.5fr);
    align-items: start;
    gap: 50px;
    background: white;
}

.principal > img {
    position: sticky;
    top: 110px;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    object-position: top center;
    border: 6px solid white;
    outline: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.principal-text h2 {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 15px;
    color: var(--navy);
    font-size: clamp(29px, 4vw, 39px);
    line-height: 1.25;
}

.principal-text h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 4px;
    background: var(--gold);
    border-radius: 10px;
}

.principal-text p {
    margin-bottom: 20px;
    color: #526175;
    font-size: 14px;
    line-height: 2;
    text-align: justify;
}

.principal-text strong {
    display: inline-block;
    margin-top: 5px;
    padding-left: 15px;
    color: var(--navy);
    border-left: 4px solid var(--gold);
    line-height: 1.7;
}

/* =========================================================
   FACULTY
========================================================= */

#faculty {
    background: #f4f7fc;
}

#faculty .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faculty-card {
    overflow: hidden;
    padding: 0 0 25px;
    text-align: center;
}

.faculty-card > img {
    width: 100%;
    height: 260px;
    margin-bottom: 23px;
    object-fit: cover;
    object-position: center 25%;
    background: #e7edf5;
    border-bottom: 4px solid var(--gold);
    transition: transform 0.4s ease;
}

.faculty-card:hover > img {
    transform: scale(1.025);
}

.faculty-card h3 {
    padding: 0 16px;
    font-size: 21px;
}

.faculty-card p {
    padding: 0 20px;
    margin-top: 8px;
}

.faculty-card .dev-role {
    color: var(--blue);
    font-weight: 800;
}

.faculty-card .dev-phone {
    color: var(--muted);
    font-size: 13px;
}

/* =========================================================
   CAMPUS FACILITIES
========================================================= */

.feature-section {
    background: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    padding: 30px 27px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: 0.3s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-card:hover::before {
    width: 100%;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    background: #fff4d5;
    border-radius: 15px;
    font-size: 29px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 20px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

/* =========================================================
   STUDENT LIFE
========================================================= */

.feature-dark {
    color: white;
    background:
        radial-gradient(circle at 100% 0%,
            rgba(40, 118, 199, 0.25), transparent 35%),
        var(--navy);
}

.feature-dark .section-title h2 {
    color: white;
}

.feature-dark .section-title p {
    color: #c8d6e8;
}

.student-life-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.life-box {
    padding: 28px 22px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 15px;
    transition: 0.3s ease;
}

.life-box:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.life-box > span {
    display: inline-block;
    margin-bottom: 17px;
    font-size: 34px;
}

.life-box h3 {
    margin-bottom: 12px;
    color: var(--gold-light);
    font-size: 19px;
}

.life-box p {
    color: #d1deee;
    font-size: 13px;
    line-height: 1.9;
}

/* =========================================================
   SCHOLARSHIPS
========================================================= */

#scholarships {
    background: var(--light);
}

.info-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 35px;
    background: white;
    border: 1px solid #f0d68e;
    border-left: 5px solid var(--gold);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(7, 26, 53, 0.05);
}

.info-panel > div {
    flex: 1;
}

.info-panel-icon {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 32px;
}

.info-panel h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 24px;
}

.info-panel p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.info-panel .gold-btn {
    flex-shrink: 0;
}

/* =========================================================
   STUDENT DOWNLOADS
========================================================= */

.downloads-section {
    background: white;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 185px;
    padding: 24px 15px;
    text-align: center;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: 0.3s ease;
}

.download-card > span {
    margin-bottom: 13px;
    font-size: 37px;
}

.download-card strong {
    color: var(--navy);
    font-size: 15px;
}

.download-card small {
    margin-top: 8px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
}

.download-card:hover {
    background: #fff8e8;
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* =========================================================
   CAREER
========================================================= */

.career-section {
    background: #f4f7fc;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.career-card {
    padding: 32px 27px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: 0.3s ease;
}

.career-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.career-card > span {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 35px;
}

.career-card h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 20px;
}

.career-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

/* =========================================================
   COLLEGE GALLERY
========================================================= */

.gallery-container {
    padding: 85px 7%;
    background: white;
}

.gallery-container > h1 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 900;
    text-align: center;
}

.gallery-container > h1::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    margin: 14px auto;
    background: var(--gold);
    border-radius: 10px;
}

.gallery-container .subtitle {
    margin-bottom: 40px;
    color: var(--muted);
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    background: var(--navy);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.gallery-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.06);
}

.gallery-card .caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 22px 20px 17px;
    color: white;
    background: linear-gradient(transparent, rgba(4, 17, 38, 0.94));
    font-size: 18px;
    font-weight: 800;
}

/* =========================================================
   NOTICES
========================================================= */

.notice {
    background: var(--light);
}

.notice-list {
    display: grid;
    gap: 15px;
    max-width: 950px;
    margin: 0 auto;
}

.notice-item {
    position: relative;
    padding: 19px 22px 19px 55px;
    color: var(--navy);
    background: white;
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.25s ease;
}

.notice-item:hover {
    border-color: var(--gold);
    transform: translateX(4px);
    box-shadow: 0 5px 20px rgba(7, 26, 53, 0.06);
}

/* =========================================================
   STUDENT PORTAL CALL TO ACTION
========================================================= */

.portal-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 55px 8%;
    color: white;
    background:
        radial-gradient(circle at 85% 20%,
            rgba(40, 118, 199, 0.30), transparent 32%),
        var(--navy);
    border-top: 4px solid var(--gold);
}

.portal-cta > div {
    max-width: 700px;
}

.portal-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.portal-cta h2 {
    margin-bottom: 14px;
    font-size: clamp(27px, 4vw, 39px);
    line-height: 1.3;
}

.portal-cta p {
    color: #d0deef;
    font-size: 14px;
    line-height: 1.9;
}

.portal-cta > a {
    flex-shrink: 0;
}

/* =========================================================
   CONTACT
========================================================= */

#contact {
    background: #f4f7fc;
}

.contact-box {
    max-width: 850px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(7, 26, 53, 0.05);
}

.contact-box p {
    padding: 15px 10px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    overflow-wrap: anywhere;
}

.contact-box p:last-child {
    border-bottom: none;
}

.contact-box p:first-child {
    line-height: 1.9;
}

/* =========================================================
   DEVELOPERS
========================================================= */

.developers-section {
    padding: 85px 7%;
    background: white;
}

.developers-section > h2.section-title {
    color: var(--navy);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 900;
}

.developers-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    max-width: 1050px;
    margin: 0 auto;
}

.developer-card {
    overflow: hidden;
    padding: 30px 20px;
    text-align: center;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: 0.3s ease;
}

.developer-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.developer-img {
    width: 125px;
    height: 125px;
    margin: 0 auto 20px;
    object-fit: cover;
    object-position: center;
    background: white;
    border: 4px solid var(--gold);
    border-radius: 50%;
}

.developer-card h3 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 21px;
}

.developer-card .dev-role {
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
}

.developer-card .main-role {
    color: #966a08;
}

.developer-card .dev-phone {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

/* =========================================================
   MAIN FOOTER
========================================================= */

footer:not(.footer) {
    padding: 25px 6%;
    color: #dce7f6;
    text-align: center;
    background: #041126;
    border-top: 3px solid var(--gold);
}

footer:not(.footer) p {
    font-size: 13px;
}

footer:not(.footer) span {
    color: var(--gold);
    font-weight: 800;
}

/* =========================================================
   EXTENDED FOOTER
========================================================= */

.footer {
    padding: 65px 7% 0;
    color: #d8e4f4;
    background: #071a35;
    border-top: 3px solid var(--gold);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 35px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 45px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footer-column h3 {
    margin-bottom: 5px;
    color: var(--gold);
    font-size: 23px;
    font-weight: 900;
}

.footer-column h4 {
    margin-bottom: 8px;
    color: white;
    font-size: 17px;
}

.footer-column p {
    color: #bdcde1;
    font-size: 13px;
    line-height: 1.9;
}

.footer-column a {
    color: #bdcde1;
    font-size: 13px;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-bottom p {
    color: #aebfd5;
    font-size: 12px;
}

.footer-bottom #currentYear {
    color: var(--gold);
    font-weight: 800;
}

/* =========================================================
   RESPONSIVE — TABLETS AND SMALL LAPTOPS
========================================================= */

@media (max-width: 1100px) {
    nav {
        flex-direction: column;
        gap: 12px;
        padding: 16px 4%;
    }

    nav ul {
        justify-content: center;
        width: 100%;
    }

    #programs .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #faculty .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .student-life-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .download-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 700px) {
    html {
        scroll-padding-top: 20px;
    }

    section,
    .gallery-container,
    .developers-section {
        padding: 55px 5%;
        scroll-margin-top: 15px;
    }

    nav {
        position: relative;
        gap: 13px;
        padding: 15px 4%;
    }

    .logo {
        font-size: 23px;
        text-align: center;
    }

    nav ul {
        display: flex;
        justify-content: center;
        gap: 5px;
    }

    nav ul li a {
        padding: 8px 9px;
        font-size: 12px;
    }

    nav ul li a.nav-portal-btn {
        margin: 2px;
        padding: 9px 11px;
    }

    .hero {
        min-height: 500px;
        padding: 70px 6%;
    }

    .hero-background-logo {
        right: -15%;
        width: 75%;
        opacity: 0.065;
    }

    .hero-content h1 {
        font-size: clamp(36px, 9vw, 53px);
        letter-spacing: -0.8px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
        max-width: 300px;
    }

    .hero-buttons a {
        width: 100%;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 29px;
    }

    .cards,
    #programs .cards,
    #faculty .cards,
    .feature-grid,
    .career-grid,
    .developers-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .card {
        padding: 25px 22px;
    }

    .faculty-card {
        padding: 0 0 23px;
    }

    .faculty-card > img {
        height: 300px;
    }

    .principal {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .principal > img {
        position: static;
        width: 100%;
        max-width: 370px;
        max-height: 430px;
        margin: 0 auto;
    }

    .principal-text p {
        text-align: left;
    }

    .student-life-grid {
        grid-template-columns: 1fr;
    }

    .info-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px;
    }

    .info-panel .gold-btn {
        width: 100%;
    }

    .download-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .download-card {
        min-height: 160px;
        padding: 20px 10px;
    }

    .download-card strong {
        font-size: 13px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gallery-card img {
        height: 260px;
    }

    .notice-item {
        padding: 16px 15px 16px 38px;
        font-size: 14px;
    }

    .portal-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 45px 6%;
    }

    .portal-cta > a {
        width: 100%;
    }

    .contact-box {
        padding: 18px;
    }

    .contact-box p {
        font-size: 13px;
    }

    .developers-container {
        max-width: 420px;
        margin: 0 auto;
    }

    .developer-card {
        padding: 25px 18px;
    }

    .footer {
        padding: 45px 6% 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================================
   RESPONSIVE — VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {
    .logo {
        font-size: 21px;
    }

    nav ul li a {
        padding: 7px;
        font-size: 11px;
    }

    .hero {
        min-height: 460px;
        padding: 55px 5%;
    }

    .hero-content h1 {
        font-size: 35px;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .welcome-logo {
        width: 100px;
        height: 100px;
    }

    .welcome-content h1 {
        font-size: 31px;
        letter-spacing: 2px;
    }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    #welcome-screen {
        animation-delay: 0s;
    }
}
