*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0a1628;
    --navy-mid: #112040;
    --gold: #b8963e;
    --gold-light: #d4af6a;
    --gold-pale: #f0e4c4;
    --cream: #faf7f0;
    --parchment: #f4ede0;
    --stone: #8a8070;
    --charcoal: #2c2c2c;
    --ink: #1a1a2e;
    --white: #ffffff;
    --border: rgba(184, 150, 62, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'EB Garamond', Georgia, serif;
    background: var(--cream);
    color: var(--charcoal);
    overflow-x: hidden;
    font-size: 18px;
    line-height: 1.7;
}

/* ─── TOP BAR ─── */
.topbar {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    letter-spacing: 0.06em;
    padding: 8px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(184, 150, 62, 0.2);
}

.topbar a {
    color: var(--gold-light);
    text-decoration: none;
}

.topbar a:hover {
    color: var(--white);
}

.topbar-right {
    display: flex;
    gap: 24px;
}

.topbar-mobile {
    display: none;
}

/* ─── NAV ─── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy);
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--gold);
    transition: box-shadow 0.3s;
}

nav.scrolled {
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    text-decoration: none;
}

.nav-crest {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.nav-brand-title {
    font-family: 'Cinzel', serif;
    color: var(--white);
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

.nav-brand-sub {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold-light);
    font-size: 13px;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-links a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    letter-spacing: 0.08em;
    padding: 28px 20px;
    text-transform: uppercase;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.2s;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-portal {
    background: var(--gold);
    color: var(--navy) !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    border-radius: 2px;
    margin-left: 20px;
    transition: background 0.2s !important;
}

.nav-portal:hover {
    background: var(--gold-light) !important;
}

.nav-portal::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid rgba(184, 150, 62, 0.4);
    border-radius: 4px;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold);
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(184, 150, 62, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 20% 80%, rgba(17, 32, 64, 0.8) 0%, transparent 50%),
        linear-gradient(135deg, #050d1a 0%, #0a1628 40%, #112040 100%);
}

/* Hero images – floating artistic positions */
.hero-images {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    position: absolute;
    background-size: cover;
    background-position: center;
    border: 3px solid rgba(184, 150, 62, 0.4);
    border-radius: 4px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
    animation: heroImageFloat 6s ease-in-out infinite alternate;
}

@keyframes heroImageFloat {
    from {
        margin-top: 0;
    }

    to {
        margin-top: -20px;
    }
}

.hero-image:nth-child(1) {
    width: 220px;
    height: 280px;
    top: 15%;
    right: 15%;
    transform: rotate(2deg);
    opacity: 0.9;
    animation-delay: 0s;
}

.hero-image:nth-child(2) {
    width: 250px;
    height: 310px;
    bottom: 12%;
    right: 32%;
    transform: rotate(-3deg);
    opacity: 0.95;
    animation-delay: 0.7s;
}

.hero-image:nth-child(3) {
    width: 190px;
    height: 240px;
    bottom: 15%;
    right: 18%;
    transform: rotate(1deg);
    opacity: 0.9;
    animation-delay: 1.4s;
    z-index: 4;
    /* On top of others */
}

.hero-image:nth-child(4) {
    width: 210px;
    height: 260px;
    bottom: 10%;
    right: 5%;
    transform: rotate(-1deg);
    opacity: 0.85;
    animation-delay: 2.1s;
}

/* Ensure they appear after page load if not using JS intersection observer here */
.hero-image {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.hero-images::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, var(--navy) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
}

.hero-lines {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(90deg, rgba(184, 150, 62, 0.04) 0px, transparent 1px, transparent 80px, rgba(184, 150, 62, 0.04) 81px),
        repeating-linear-gradient(0deg, rgba(184, 150, 62, 0.04) 0px, transparent 1px, transparent 80px, rgba(184, 150, 62, 0.04) 81px);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 60px 80px;
    max-width: 800px;
    animation: heroFadeIn 1.2s ease both;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-overline {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: heroFadeIn 1.2s 0.2s ease both;
}

.hero-overline::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: clamp(42px, 6vw, 80px);
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 12px;
    animation: heroFadeIn 1.2s 0.3s ease both;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
    display: block;
}

.hero-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: 32px 0;
    animation: heroFadeIn 1.2s 0.4s ease both;
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    color: rgba(255, 255, 255, 0.75);
    font-size: 22px;
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 48px;
    animation: heroFadeIn 1.2s 0.5s ease both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: heroFadeIn 1.2s 0.6s ease both;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    font-family: 'Cinzel', serif;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 40px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    font-family: 'Cinzel', serif;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 40px;
    text-decoration: none;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.hero-stats {
    position: absolute;
    right: 60px;
    bottom: 80px;
    display: flex;
    gap: 60px;
    align-items: flex-end;
    z-index: 10;
    /* Ensure stats are on top of floating images */
    animation: heroFadeIn 1.2s 0.8s ease both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--gold);
    line-height: 1;
    display: block;
}

.hero-stat-label {
    font-family: 'Cormorant Garamond', serif;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 6px;
    display: block;
}

.hero-stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    align-self: stretch;
}

/* ─── ANNOUNCEMENT BANNER ─── */
.announcement {
    background: var(--gold);
    padding: 14px 60px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.announcement-tag {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--navy);
    color: var(--gold-light);
    padding: 4px 12px;
    flex-shrink: 0;
    font-weight: 600;
}

.announcement p {
    font-family: 'Cormorant Garamond', serif;
    color: var(--navy);
    font-size: 16px;
    font-weight: 500;
}

/* ─── SECTIONS ─── */
section {
    padding: 100px 60px;
}

.section-label {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 52px);
    color: var(--navy);
    line-height: 1.15;
    font-weight: 600;
    margin-bottom: 24px;
}

.section-title em {
    font-style: italic;
    color: var(--gold);
}

/* ─── ABOUT ─── */
#about {
    background: var(--cream);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    font-family: 'EB Garamond', serif;
    font-size: 19px;
    line-height: 1.75;
    color: #3a3a4a;
    margin-bottom: 20px;
}

.about-quote {
    border-left: 3px solid var(--gold);
    padding: 24px 32px;
    margin: 36px 0;
    background: var(--parchment);
}

.about-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 24px;
    color: var(--navy);
    line-height: 1.5;
}

.about-quote cite {
    display: block;
    margin-top: 12px;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--gold);
    text-transform: uppercase;
    font-style: normal;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 10px;
}

.value-item {
    background: var(--navy);
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}

.value-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gold);
    transition: height 0.3s;
}

.value-item:hover {
    background: var(--navy-mid);
}

.value-item:hover::before {
    height: 100%;
}

.value-name {
    font-family: 'Cinzel', serif;
    color: var(--gold-light);
    font-size: 13px;
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 6px;
}

.value-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-family: 'Cormorant Garamond', serif;
}

/* ─── ACADEMICS ─── */
#academics {
    background: var(--navy);
}

#academics .section-title {
    color: var(--white);
}

.academics-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin-bottom: 64px;
    line-height: 1.65;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.pillar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(184, 150, 62, 0.15);
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.pillar:hover {
    background: rgba(184, 150, 62, 0.06);
    border-color: rgba(184, 150, 62, 0.4);
}

.pillar-number {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    color: rgba(184, 150, 62, 0.12);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 24px;
    font-weight: 700;
    transition: color 0.4s;
}

.pillar:hover .pillar-number {
    color: rgba(184, 150, 62, 0.22);
}

.pillar-icon {
    font-size: 28px;
    margin-bottom: 20px;
    display: block;
}

.pillar h3 {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 20px;
    margin-bottom: 14px;
    font-weight: 600;
}

.pillar p {
    font-family: 'Cormorant Garamond', serif;
    color: rgba(255, 255, 255, 0.55);
    font-size: 17px;
    line-height: 1.65;
}

/* ─── PORTAL ─── */
#portal {
    background: var(--parchment);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.portal-card {
    background: var(--navy);
    padding: 48px;
    border-top: 3px solid var(--gold);
    position: relative;
}

.portal-roles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 36px;
}

.portal-role {
    padding: 24px;
    border: 1px solid rgba(184, 150, 62, 0.2);
    background: rgba(184, 150, 62, 0.04);
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    position: relative;
}

.portal-role:hover {
    border-color: var(--gold);
    background: rgba(184, 150, 62, 0.1);
}

.portal-role-label {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.portal-role-desc {
    font-family: 'Cormorant Garamond', serif;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

.portal-role-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--gold);
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 20px;
}

.portal-role:hover .portal-role-arrow {
    opacity: 1;
}

.portal-info h2 {
    color: var(--navy);
}

.portal-info p {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    color: #4a4a5a;
    line-height: 1.75;
    margin-bottom: 20px;
}

.portal-features {
    list-style: none;
    margin: 28px 0;
}

.portal-features li {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    color: var(--charcoal);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-features li::before {
    content: '◆';
    color: var(--gold);
    font-size: 8px;
    flex-shrink: 0;
}

/* ─── NEWS ─── */
#news {
    background: var(--cream);
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 24px;
    margin-top: 48px;
}

.news-card {
    background: var(--white);
    overflow: hidden;
    position: relative;
    text-decoration: none;
    display: block;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-card-img {
    aspect-ratio: 16/9;
    background: var(--navy-mid);
    position: relative;
    overflow: hidden;
}

.news-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.7), transparent);
}

.news-card-body {
    padding: 28px;
}

.news-card-tag {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.news-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.news-card-secondary h3 {
    font-size: 17px;
}

.news-card p {
    font-family: 'Cormorant Garamond', serif;
    color: var(--stone);
    font-size: 16px;
    line-height: 1.55;
}

.news-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    color: var(--stone);
    margin-top: 16px;
    display: block;
    letter-spacing: 0.05em;
}

/* ─── GALLERY ─── */
#gallery {
    background: var(--navy);
    padding: 100px 0;
}

#gallery .section-label,
#gallery .section-title {
    padding-left: 60px;
}

#gallery .section-title {
    color: var(--white);
}

.gallery-scroll {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 40px 60px 20px;
    scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex-shrink: 0;
    width: 320px;
    height: 220px;
    background: var(--navy-mid);
    border: 1px solid rgba(184, 150, 62, 0.1);
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8);
    transition: all 0.5s;
}

.gallery-item:hover img {
    filter: saturate(1);
    transform: scale(1.04);
}

.gallery-item-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 14px;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9), transparent);
    font-family: 'Cormorant Garamond', serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    letter-spacing: 0.05em;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-label {
    opacity: 1;
}

/* ─── CONTACT ─── */
#contact {
    background: var(--navy);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    color: var(--white);
}

.contact-item {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(184, 150, 62, 0.15);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.contact-value {
    font-family: 'Cormorant Garamond', serif;
    color: var(--white);
    font-size: 19px;
    line-height: 1.7;
}

.contact-value a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.contact-value a:hover {
    color: var(--gold-light);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(184, 150, 62, 0.15);
    padding: 48px;
}

.contact-form-title {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 26px;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(184, 150, 62, 0.2);
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    padding: 14px 18px;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    background: var(--gold);
    color: var(--navy);
    border: none;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 18px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 600;
}

.form-submit:hover {
    background: var(--gold-light);
}

/* ─── FOOTER ─── */
footer {
    background: #050d1a;
    padding: 80px 60px 40px;
    border-top: 2px solid rgba(184, 150, 62, 0.2);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand-name {
    font-family: 'Cinzel', serif;
    color: var(--white);
    font-size: 16px;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.footer-brand-motto {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold-light);
    font-size: 14px;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    display: block;
}

.footer-desc {
    font-family: 'Cormorant Garamond', serif;
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    line-height: 1.65;
}

.footer-col-title {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(184, 150, 62, 0.2);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-family: 'Cormorant Garamond', serif;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 36px;
}

.footer-copy {
    font-family: 'Cormorant Garamond', serif;
    color: rgba(255, 255, 255, 0.25);
    font-size: 14px;
}

.footer-copy a {
    color: rgba(184, 150, 62, 0.6);
    text-decoration: none;
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {

    .topbar,
    nav,
    section,
    footer {
        padding-left: 30px;
        padding-right: 30px;
    }

    #about,
    #portal,
    #contact {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-stats {
        position: static;
        margin-top: 60px;
        margin-left: 30px;
    }

    .hero-content {
        padding: 80px 30px 60px;
    }

    .hero-images {
        padding: 60px 30px 80px;
    }

    .hero-image {
        width: 120px !important;
        height: 150px !important;
    }

    .hero-image:nth-child(2) {
        width: 100px !important;
        height: 130px !important;
    }

    .hero-image:nth-child(3) {
        width: 90px !important;
        height: 120px !important;
    }

    .hero-image:nth-child(4) {
        width: 95px !important;
        height: 125px !important;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .pillars {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    #gallery .section-label,
    #gallery .section-title {
        padding-left: 30px;
    }
}

/* Hero Floating Images Responsiveness */
@media screen and (max-width: 1024px) {
    .hero-image:nth-child(1) {
        width: 180px;
        height: 230px;
        top: 18%;
        right: 8%;
    }

    .hero-image:nth-child(2) {
        display: none;
    }

    .hero-image:nth-child(3) {
        width: 140px;
        height: 180px;
        bottom: 22%;
        right: 15%;
    }

    .hero-image:nth-child(4) {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .hero-image {
        display: none !important;
    }

    .topbar-desktop,
    .topbar-right {
        display: none !important;
    }

    .topbar-mobile {
        display: inline !important;
        font-size: 12px;
        flex: 1;
        min-width: 0;
    }

    .topbar-mobile a {
        color: var(--gold-light);
    }

    nav {
        padding: 0 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--navy);
        padding: 20px;
        border-top: 2px solid var(--gold);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }

    .nav-links-open {
        display: flex !important;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(184, 150, 62, 0.15);
    }

    .nav-links a {
        padding: 16px 20px;
    }

    .nav-portal {
        margin-left: 0 !important;
        margin-top: 8px;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding-bottom: 40px;
    }

    .hero-content {
        padding: 40px 20px 24px;
    }

    .hero-subtitle {
        font-size: 17px;
        margin-bottom: 24px;
    }

    .hero-actions {
        margin-bottom: 24px;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        padding: 14px 28px;
        font-size: 12px;
    }

    .hero-stats {
        margin-top: 24px;
        margin-left: 20px;
        gap: 24px;
    }

    .hero-stat-num {
        font-size: 36px;
    }

    .hero-images {
        position: static;
        order: 0;
        padding: 20px 20px 16px;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .hero-content {
        order: 1;
    }

    .hero-stats {
        order: 2;
    }

    .hero-images::-webkit-scrollbar {
        display: none;
    }

    .hero-images::before {
        display: none;
    }

    .hero-image {
        width: 100px !important;
        height: 130px !important;
        flex-shrink: 0;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .hero-image:nth-child(2),
    .hero-image:nth-child(3),
    .hero-image:nth-child(4) {
        width: 100px !important;
        height: 130px !important;
    }

    .hero-title {
        font-size: 38px;
    }

    .announcement {
        padding: 12px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .portal-roles {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}