/* ============================================================
   PAGES.CSS — Shared styles for About, News, Events, Contact
   ============================================================ */

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

/* ===== BOOTSTRAP 5 — Nav overrides ===== */
.site-nav {
    padding: 0.45rem 0;
    background: rgba(4, 9, 30, 0.96);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 18px rgba(0,0,0,0.35);
    transition: background 0.5s ease, box-shadow 0.5s ease, padding 0.3s ease;
}

.site-nav.page-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(4, 9, 30, 0.45);
}

/* State added by JS on scroll */
.site-nav.nav-scrolled {
    background: rgba(4, 9, 30, 0) !important;
    box-shadow: none;
}

.site-nav.page-nav.nav-scrolled {
    position: fixed;
    top: 0;
    background: rgba(4, 9, 30, 0.96) !important;
    box-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

/* Shrink nav a tiny bit more when scrolled */
.site-nav.nav-scrolled .nav-logo { width: 80px; }

.nav-logo {
    width: 90px;
    transition: width 0.3s ease;
}

/* Nav links */
.site-nav .nav-link {
    color: rgba(255,255,255,0.80) !important;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 0.45rem 0.9rem !important;
    position: relative;
    transition: color 0.3s;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.site-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 2px;
    background: #f5c518;
    transition: left 0.35s ease, right 0.35s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: #fff !important;
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after {
    left: 0.9rem;
    right: 0.9rem;
}

/* LOGIN pill button in nav */
.login-nav-btn {
    background: #f5c518 !important;
    color: #04091e !important;
    border-radius: 20px !important;
    padding: 0.4rem 1.15rem !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    transition: background 0.3s, transform 0.15s !important;
    line-height: 1.6;
}
.login-nav-btn:hover {
    background: #ffe44a !important;
    transform: translateY(-1px);
}
.login-nav-btn::after { display: none !important; }

/* Bootstrap toggler — keep it clean */
.site-nav .navbar-toggler {
    border: none;
    padding: 0.3rem;
}
.site-nav .navbar-toggler:focus { box-shadow: none; }
.site-nav .menu-toggle-icon {
    display: block;
    width: 24px;
    height: 24px;
    overflow: visible;
}

.site-nav .menu-icon-line {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 220ms ease, opacity 160ms ease;
}

.site-nav .navbar-toggler[aria-expanded="true"] .menu-icon-line-top {
    transform: translateY(6px) rotate(45deg);
}

.site-nav .navbar-toggler[aria-expanded="true"] .menu-icon-line-middle {
    opacity: 0;
}

.site-nav .navbar-toggler[aria-expanded="true"] .menu-icon-line-bottom {
    transform: translateY(-6px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
    .site-nav .menu-icon-line { transition: none; }
}

/* Mobile collapse menu */
@media (max-width: 991.98px) {
    .site-nav .navbar-collapse {
        background: rgba(4, 9, 30, 0.97);
        border-top: 1px solid rgba(255,255,255,0.08);
        padding: 8px 12px 14px;
        margin-top: 4px;
    }
    .site-nav .nav-link { padding: 0.6rem 1rem !important; }
    .site-nav.nav-scrolled .navbar-collapse { background: rgba(4,9,30,0.97); }
    .login-nav-btn { display: inline-block; margin-top: 8px; }
}



/* ===== PAGE HERO ===== */
.page-hero {
    min-height: calc(52vh + 130px);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 210px 6% 80px;
}

.page-hero-text {
    max-width: 760px;
    color: #fff;
}

.page-hero-text h1 {
    font-family: 'Inter', sans-serif;
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 12px 0 16px;
    line-height: 1.15;
    color: #fff;
}

.page-hero-text p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    padding: 0;
}

.page-tag {
    display: inline-block;
    background: rgba(245, 197, 24, 0.2);
    color: #f5c518;
    border: 1px solid rgba(245, 197, 24, 0.4);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 8px;
}

@media (max-width: 700px) {
    .page-hero-text h1 { font-size: 30px; }
    .page-hero { min-height: 40vh; }
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 80px 6%;
}

.content-section.alt-bg {
    background: #f8f8fa;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading.centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: #1a1f6e;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 6px;
}

.section-tag::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 2px;
    background: #f5c518;
}

.section-heading.centered .section-tag::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
}

.section-inner h2 {
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    color: #04091e;
    margin: 8px 0 0;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ===== TWO-COL LAYOUT ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.col-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #04091e;
    margin: 10px 0 20px;
}

.col-text p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
    padding: 0;
}

.about-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    object-fit: cover;
    height: 420px;
}

.stats-row {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-num {
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1a1f6e;
    line-height: 1;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #888;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .two-col { grid-template-columns: 1fr; gap: 40px; }
    .about-img { height: 260px; }
}

/* ===== MISSION / VISION CARDS ===== */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.mv-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}

.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.13);
}

.mv-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.mv-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #1a1f6e;
    text-align: center;
    margin: 0 0 12px;
    font-weight: 700;
}

.mv-card p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    padding: 0;
}

@media (max-width: 800px) {
    .mv-grid { grid-template-columns: 1fr; }
}

/* ===== ABOUT PAGE CAMPUSES ===== */
.campuses-section {
    background: #f8f8fa;
    scroll-margin-top: 90px;
}

.campuses-section .section-heading {
    margin-bottom: 44px;
}

.campuses-section .section-heading > p {
    max-width: 620px;
    margin: 14px auto 0;
    padding: 0;
    color: #666;
}

.campuses-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin: 0 auto;
}

.about-campus-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(26,31,110,0.08);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 320px;
    max-width: 400px;
    width: 100%;
}

.about-campus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(26,31,110,0.12);
}

.about-campus-card > img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.about-campus-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.about-campus-location {
    color: #8a6a00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-campus-card-body h3 {
    margin: 8px 0 10px;
    color: #1a1f6e;
    font-family: 'Inter', sans-serif;
    font-size: 21px;
    font-weight: 700;
    text-align: left;
}

.about-campus-card-body p {
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .campuses-grid { gap: 24px; }
}

@media (max-width: 600px) {
    .campuses-grid { gap: 20px; }
    .about-campus-card { max-width: 100%; }
    .about-campus-card > img { height: 210px; }
}

/* ===== SCHOOL SECTION CARDS ===== */
.sections-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.section-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(26,31,110,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(26,31,110,0.12);
}

.section-card-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.section-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1f6e;
    text-align: left;
    margin: 0 0 12px;
}

.section-card p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    padding: 0;
    margin-bottom: 16px;
}

.section-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-list li {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #444;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-list li::before {
    content: '✔';
    color: #f5c518;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .sections-row { grid-template-columns: 1fr; }
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #1a1f6e 0%, #04091e 100%);
    padding: 80px 6%;
    text-align: center;
}

.cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 16px;
}

.cta-inner p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 32px;
    padding: 0;
}

.cta-btn {
    display: inline-block;
    background: #f5c518;
    color: #04091e;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 40px;
    letter-spacing: 0.5px;
    transition: background 0.3s, transform 0.2s;
}

.cta-btn:hover {
    background: #ffe44a;
    transform: translateY(-2px);
}

/* ===== NEWS PAGE ===== */
.news-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    justify-content: center;
}

.filter-btn {
    background: transparent;
    border: 2px solid #ddd;
    color: #555;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #1a1f6e;
    border-color: #1a1f6e;
    color: #fff;
}

/* ===== GALLERY PAGE ===== */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.gallery-grid {
    columns: 3 260px;
    column-gap: 24px;
}

.gallery-item {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 0 24px;
    overflow: hidden;
    break-inside: avoid;
    border-radius: 14px;
    background: #10152e;
    box-shadow: 0 5px 22px rgba(4,9,30,0.12);
}

.gallery-item[hidden] {
    display: none;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 190px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item figcaption {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 36px 20px 18px;
    color: #fff;
    background: linear-gradient(transparent, rgba(4,9,30,0.88));
}

.gallery-item figcaption span {
    color: #f5c518;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.gallery-item figcaption strong {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.gallery-empty {
    margin: 20px 0 0;
    color: #666;
    text-align: center;
}

/* ===== HOME PAGE GALLERY TEASER ===== */
.gallery-teaser {
    padding: 72px 6%;
    background: #f8f8fa;
}

.gallery-teaser-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-teaser-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.gallery-teaser-heading h2 {
    margin: 10px 0 8px;
    color: #04091e;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: clamp(28px, 4vw, 38px);
}

.gallery-teaser-heading p {
    margin: 0;
    padding: 0;
}

.gallery-teaser-link {
    flex-shrink: 0;
    color: #1a1f6e;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.gallery-teaser-link:hover { color: #8a6a00; }

.gallery-teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.gallery-teaser-card {
    position: relative;
    display: block;
    min-height: 230px;
    height: 260px;
    overflow: hidden;
    border-radius: 14px;
    background: #10152e;
    text-decoration: none;
}

.gallery-teaser-card::after {
    position: absolute;
    inset: 35% 0 0;
    content: '';
    background: linear-gradient(transparent, rgba(4,9,30,0.82));
    z-index: 3;
}

.gallery-teaser-card img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-teaser-card:hover img { transform: scale(1.05); }

.gallery-teaser-card span {
    position: absolute;
    z-index: 4;
    right: 18px;
    bottom: 18px;
    left: 18px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

/* Campus Teaser Slideshow */
.gallery-teaser-slideshow {
    position: relative;
}

.gallery-teaser-slideshow .campus-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out, transform 0.45s ease;
    z-index: 1;
}

.gallery-teaser-slideshow .campus-slide-image.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.gallery-teaser-slideshow:hover .campus-slide-image.is-active {
    transform: scale(1.05);
}

@media (max-width: 700px) {
    .gallery-teaser-heading { align-items: flex-start; flex-direction: column; }
    .gallery-teaser-grid { grid-template-columns: 1fr; gap: 14px; }
    .gallery-teaser-card, .gallery-teaser-card img { min-height: 200px; height: 200px; }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.13);
}

.news-card-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-card-img img {
    transform: scale(1.06);
}

.news-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    color: #fff;
}

.news-badge.achievements { background: #1a1f6e; }
.news-badge.community { background: #d97706; }
.news-badge.academics { background: #059669; }
.news-badge.sports { background: #dc2626; }

.news-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    display: block;
}

.news-card-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #1a1f6e;
    margin: 0 0 12px;
    text-align: left;
    font-weight: 700;
    line-height: 1.35;
}

.news-card-body p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    padding: 0;
    flex: 1;
}

.news-read-more {
    display: inline-block;
    margin-top: 18px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #1a1f6e;
    text-decoration: none;
    transition: letter-spacing 0.2s;
}

.news-read-more:hover {
    letter-spacing: 0.5px;
    color: #f5c518;
}

@media (max-width: 900px) {
    .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .news-grid { grid-template-columns: 1fr; }
}

/* ===== EVENTS PAGE ===== */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

.event-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 32px;
    align-items: flex-start;
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border-left: 5px solid #1a1f6e;
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 40px rgba(26,31,110,0.12);
}

.event-date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #1a1f6e;
    color: #fff;
    border-radius: 12px;
    padding: 16px 12px;
    min-width: 80px;
}

.event-day {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.event-month {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 2px;
    color: #f5c518;
}

.event-year {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

.event-badge {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.upcoming-badge {
    background: rgba(245, 197, 24, 0.15);
    color: #b45309;
    border: 1px solid rgba(245, 197, 24, 0.4);
}

.event-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    color: #1a1f6e;
    text-align: left;
    margin: 0 0 10px;
    font-weight: 700;
}

.event-info p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    padding: 0;
    margin-bottom: 16px;
}

.event-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.event-meta span {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

@media (max-width: 640px) {
    .event-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .event-date-block {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        padding: 12px 16px;
        width: fit-content;
    }
}

/* ===== PAST EVENTS GRID ===== */
.past-events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.past-event-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}

.past-event-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.past-event-card:hover img {
    transform: scale(1.08);
}

.past-event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4,9,30,0.9) 40%, transparent 100%);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.past-event-card:hover .past-event-overlay {
    opacity: 1;
}

.past-event-date {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #f5c518;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.past-event-overlay h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #fff;
    text-align: left;
    margin: 0 0 8px;
    font-weight: 700;
}

.past-event-overlay p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    padding: 0;
}

@media (max-width: 1000px) {
    .past-events-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .past-events-grid { grid-template-columns: 1fr; }
    .past-event-card { height: 220px; }
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: flex-start;
}

.contact-form-wrap h2,
.contact-info-wrap h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 34px;
    color: #04091e;
    margin: 10px 0 28px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #333;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    background: #fff;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1a1f6e;
    box-shadow: 0 0 0 4px rgba(26,31,110,0.08);
}

.form-group textarea {
    resize: vertical;
}

.form-submit-btn {
    background: #1a1f6e;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 40px;
    padding: 16px 40px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    align-self: flex-start;
}

.form-submit-btn:hover {
    background: #0d1250;
    transform: translateY(-2px);
}

.form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-success {
    display: none;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 16px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.campus-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 24px;
    transition: transform 0.3s;
}

.campus-card:hover {
    transform: translateY(-4px);
}

.campus-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.campus-card-body {
    padding: 20px 22px;
}

.campus-card-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #1a1f6e;
    text-align: left;
    margin: 0 0 12px;
    font-weight: 700;
}

.campus-card-body p {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: #555;
    line-height: 1.6;
    padding: 0;
    margin-bottom: 6px;
}

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; gap: 50px; }
    .form-row { grid-template-columns: 1fr; }
}

/* ===== SITE FOOTER ===== */
.site-footer {
    background: #04091e;
    color: #ccc;
    padding: 60px 6% 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1.8fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    width: 100px;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p,
.footer-contact p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    padding: 0;
    margin-bottom: 6px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 16px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    align-items: center;
}

.footer-links ul li {
    margin: 0;
}

.footer-links ul li a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #f5c518;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    padding: 0;
}

@media (max-width: 800px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}

:root {
    --pacy-ink: #102b3f;
    --pacy-ink-deep: #091c2c;
    --pacy-gold: #d3a743;
    --pacy-green: #477b62;
    --pacy-paper: #f5f7f5;
    --pacy-muted: #59676d;
}

.site-nav {
    padding: 12px 0;
    background: var(--pacy-ink-deep);
    box-shadow: 0 3px 16px rgba(7,24,37,.14);
}

.site-nav.home-nav,
.site-nav.page-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(7,24,37,.34);
    box-shadow: none;
}

.site-nav.nav-scrolled,
.site-nav.page-nav.nav-scrolled,
.site-nav.home-nav.nav-scrolled {
    position: fixed;
    background: rgba(9,28,44,.97) !important;
    box-shadow: 0 3px 16px rgba(7,24,37,.18);
}

.nav-logo { width: 78px; }

.site-nav .nav-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: .8px;
    text-shadow: none;
}

.site-nav .nav-link::after { background: var(--pacy-gold); }

.login-nav-btn {
    border-radius: 2px !important;
    background: var(--pacy-gold) !important;
    color: var(--pacy-ink-deep) !important;
}

.login-nav-btn:hover { background: #e2bd68 !important; }

.page-hero {
    min-height: 430px;
    justify-content: flex-start;
    padding: 160px 6% 72px;
    background-position: center 44%;
    text-align: left;
}

.page-hero-text { max-width: 760px; }

.page-hero-text h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 56px;
    font-weight: 600;
    letter-spacing: 0;
}

.page-hero-text p {
    max-width: 610px;
    color: rgba(255,255,255,.86);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
}

.page-tag {
    padding: 0 0 7px;
    border: 0;
    border-bottom: 1px solid var(--pacy-gold);
    border-radius: 0;
    background: transparent;
    color: #f0cb78;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 1.6px;
}

.content-section { padding: 78px 6%; }
.content-section.alt-bg, .campuses-section { background: var(--pacy-paper); }

.section-tag {
    color: var(--pacy-green);
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 1.3px;
}

.section-tag::after { background: var(--pacy-gold); }

.section-inner h2,
.col-text h2,
.contact-form-wrap h2,
.contact-info-wrap h2,
.gallery-teaser-heading h2 {
    color: var(--pacy-ink);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    letter-spacing: 0;
}

.section-inner h2 { font-size: 38px; }
.section-heading { margin-bottom: 38px; }
.section-heading > p { color: var(--pacy-muted); }

.mv-card,
.about-campus-card,
.section-card,
.news-card,
.event-card,
.campus-card {
    border: 1px solid #e3e8e4;
    border-radius: 3px;
    box-shadow: 0 7px 20px rgba(16,43,63,.055);
}

.mv-card:hover,
.about-campus-card:hover,
.section-card:hover,
.news-card:hover,
.campus-card:hover {
    box-shadow: 0 14px 28px rgba(16,43,63,.11);
}

.mv-card h3,
.about-campus-card-body h3,
.section-card h3,
.news-card-body h3,
.event-info h3,
.campus-card-body h3 {
    color: var(--pacy-ink);
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0;
}

.mv-card p,
.about-campus-card-body p,
.section-card p,
.news-card-body p,
.event-info p,
.campus-card-body p,
.col-text p {
    color: var(--pacy-muted);
    font-family: 'DM Sans', sans-serif;
}

.about-campus-location { color: var(--pacy-green); letter-spacing: .8px; }
.section-list li::before { color: var(--pacy-green); }

.cta-section { background: var(--pacy-ink); }
.cta-inner h2 { font-family: 'DM Sans', sans-serif; letter-spacing: 0; }
.cta-btn { border-radius: 2px; background: var(--pacy-gold); }

.filter-btn {
    border: 1px solid #d5ddd8;
    border-radius: 2px;
    color: var(--pacy-ink);
    font-family: 'DM Sans', sans-serif;
}

.filter-btn:hover,
.filter-btn.active { border-color: var(--pacy-ink); background: var(--pacy-ink); }

.gallery-item,
.gallery-teaser-card,
.past-event-card { border-radius: 2px; }
.gallery-item { background: var(--pacy-ink-deep); box-shadow: none; }
.gallery-item figcaption span,
.past-event-date { color: #f0cb78; }
.gallery-item figcaption strong,
.gallery-teaser-card span,
.past-event-overlay h3 { font-family: 'DM Sans', sans-serif; }
.gallery-teaser { background: var(--pacy-paper); }
.gallery-teaser-link,
.news-read-more { color: var(--pacy-green); }

.news-grid { gap: 24px; }
.news-card { box-shadow: 0 7px 20px rgba(16,43,63,.055); }
.news-card-img { height: 220px; }
.news-badge { border-radius: 2px; }
.news-badge.achievements { background: var(--pacy-ink); }
.news-badge.community { background: var(--pacy-green); }
.news-badge.academics { background: #a37a24; }
.news-badge.sports { background: #8c4a3f; }
.news-date { color: var(--pacy-green); font-family: 'DM Sans', sans-serif; }

.event-card {
    grid-template-columns: 88px 1fr;
    gap: 26px;
    border-left: 3px solid var(--pacy-gold);
    border-radius: 2px;
    box-shadow: 0 7px 20px rgba(16,43,63,.055);
}

.event-date-block { border-radius: 2px; background: var(--pacy-ink); }
.event-month { color: #f0cb78; }
.upcoming-badge { border-radius: 2px; color: var(--pacy-green); }
.event-meta span { color: var(--pacy-muted); font-family: 'DM Sans', sans-serif; }

.contact-layout { gap: 54px; }
.form-group label,
.form-group input,
.form-group select,
.form-group textarea { font-family: 'DM Sans', sans-serif; }
.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid #d7dfda;
    border-radius: 2px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--pacy-green);
    box-shadow: 0 0 0 3px rgba(71,123,98,.12);
}
.form-submit-btn { border-radius: 2px; background: var(--pacy-ink); font-family: 'DM Sans', sans-serif; }
.campus-card { box-shadow: 0 7px 20px rgba(16,43,63,.055); }

.site-footer {
    padding-top: 52px;
    background: #e9f0f3;
    color: var(--pacy-ink);
}

.footer-inner { border-bottom-color: rgba(16,43,63,.12); }
.footer-brand p, .footer-contact p { color: #52646d; }
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.footer-contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--pacy-green);
}
.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-contact a:hover {
    color: var(--pacy-green);
    text-decoration: underline;
}
.footer-links h4, .footer-contact h4 { color: var(--pacy-ink); }
.footer-links ul li a { color: #52646d; }
.footer-links ul li a:hover { color: var(--pacy-green); }
.footer-bottom p { color: #6d7c83; }

@media (max-width: 700px) {
    .page-hero { min-height: 390px; padding: 146px 7% 56px; }
    .page-hero-text h1 { font-size: 40px; }
    .content-section { padding: 62px 7%; }
    .section-inner h2 { font-size: 32px; }
    .contact-layout { gap: 42px; }
}

@media (max-width: 500px) {
    .site-nav .navbar-collapse { background: rgba(9,28,44,.98); }
    .event-card { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
}

@media (max-width: 991.98px) {
    .site-nav.home-nav,
    .site-nav.home-nav.nav-scrolled {
        position: relative;
        top: auto;
        left: auto;
        background: var(--pacy-ink-deep) !important;
    }

    .header {
        min-height: 680px;
        height: auto;
    }

    .text-box {
        position: relative;
        top: auto;
        left: auto;
        width: 86%;
        margin: auto 7%;
        padding: 48px 0;
        transform: none;
        animation: none;
    }
}
