:root {
    --primary-navy: #003366;
    --accent-gold: #D4AF37;
    --accent-gold-light: #f1e4b8;
    --text-dark: #1A1A1A;
    --text-muted: #555555;
    --text-light: #F8F9FA;
    --white: #FFFFFF;
    --bg-light: #FFFFFF;
    --bg-grey: #F8FAF9;
    --bg-navy-soft: #0a192f;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 51, 102, 0.06);
    --shadow-lg: 0 20px 50px rgba(0, 51, 102, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --section-padding: 6rem 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

/* Mission Box */
.mission-box {
    background: var(--bg-grey);
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 5px solid var(--accent-gold);
    margin: 2.5rem 0;
    box-shadow: var(--shadow-sm);
}

.mission-box h3 {
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.mission-list {
    list-style: none;
    padding: 0;
}

.mission-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.mission-list li::before {
    content: '•';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.top-bar {
    background: var(--primary-navy);
    padding: 0.5rem 0;
    font-size: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 1.15rem;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--accent-gold);
}

.top-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-right: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-links a:hover {
    color: var(--accent-gold);
}

.main-nav {
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.navbar.scrolled .main-nav {
    padding: 0.8rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 80px; /* Reduced from default for better proportions */
    max-height: 80px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 60px;
}

.logo.inverted {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.logo.inverted .logo-lh {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--accent-gold);
    line-height: 1;
}

.logo.inverted .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: 1px;
}

.logo.inverted .logo-text span {
    color: var(--accent-gold);
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ethos Section */
.ethos-section {
    padding: 5rem 0;
    background-color: var(--primary-navy);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ethos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}

.poem-card {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.poem-line {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-style: italic;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: var(--accent-gold);
}

.poem-author {
    margin-top: 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--text-light);
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }


.menu-toggle {
    display: none; /* Hidden on desktop — shows in @media ≤1024px */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 700;
    transition: var(--transition);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px; /* Thicker for premium feel */
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hero */
.hero {
    height: 100vh;
    background: url('assets/Community Photos/dominium_aviara flats_exterior 2.jpeg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 232px !important; /* EXACT offset for desktop fixed navbar */
    color: var(--text-light);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-title span {
    color: var(--accent-gold);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
    color: var(--white);
}

/* Sections */
.section {
    padding: var(--section-padding);
}

.section-tight {
    padding: 4rem 0;
}

.grey-bg {
    background-color: var(--bg-grey);
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
    color: var(--primary-navy);
    letter-spacing: -1px;
}

.section-title span {
    color: var(--accent-gold);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-navy);
}

/* Nav-specific Contact button: give it extra horizontal room */
.nav-links .btn-primary {
    padding: 0.75rem 2.5rem;
}

.btn-primary:hover {
    background-color: var(--accent-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.btn-outline {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--primary-navy);
}

/* Portfolio Specific Grid */
.projects-grid, .project-grid {
    display: block;   /* overridden so status-group divs stack correctly */
    margin-top: 4rem;
}

#project-grid {
    display: block;
    margin-top: 4rem;
}

.base-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 51, 102, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.base-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 51, 102, 0.15);
}

/* Portfolio Specific */
.project-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 51, 102, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.project-img {
    height: 240px;
    background: var(--primary-navy);
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.project-location {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}

.project-desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.project-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-link:after {
    content: '→';
}

/* Partners Grid */
.partner-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.partner-card {
    background: white;
    padding: 3.5rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(-8px);
    border-color: var(--accent-gold);
}

.partner-logo {
    max-height: 60px;
    max-width: 100%;
    margin-bottom: 2rem;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-card:hover .partner-logo {
    filter: grayscale(0);
    opacity: 1;
}

.partner-card h4 {
    color: var(--primary-navy);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.partner-card p {
    font-size: 0.9rem;
    color: #666;
    font-weight: 300;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.news-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 51, 102, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.news-content {
    padding: 1.5rem 2rem; /* Reduced internal padding for better density */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    font-size: 0.9rem;
    color: var(--primary-navy);
    opacity: 0.7;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.news-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-navy);
    line-height: 1.3;
}

.news-summary {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.board-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 51, 102, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.board-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
}

.board-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.board-card .role {
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.board-card .bio {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 0;
}

.news-link {
    margin-top: auto;
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.news-link:hover {
    gap: 1rem;
}

/* Card Placeholder & Portfolio UI */
.card-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(145deg, var(--primary-navy) 0%, #002244 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-placeholder::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.card-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: rotate(15deg);
    top: -50%;
    left: -50%;
}

.placeholder-icon {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--accent-gold);
    text-align: center;
    padding: 2rem;
}

.placeholder-icon svg {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.placeholder-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.8;
}

.placeholder-status {
    font-size: 0.8rem;
    color: var(--accent-gold);
    margin-top: 0.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, transparent 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 5rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-status {
    margin-top: 2rem;
    font-size: 0.85rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-status strong {
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.verify-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.verify-link:hover {
    text-decoration: underline;
}

.footer h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-gold);
}

.rounded { border-radius: 12px; }
.shadow { box-shadow: var(--shadow); }
.img-responsive { width: 100%; height: auto; }

/* ===================================================
   About Section Restructure
   =================================================== */
.about-intro {
    max-width: 800px;
    margin-bottom: 3.5rem;
}

.about-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 3.5rem;
}

.about-mission-grid .mission-box {
    margin: 0; /* Remove the standalone margin since it's grid-managed */
}

.about-mission-grid .about-image img {
    width: 100%;
    height: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .about-mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Page Header */
.page-header {
    background-color: var(--primary-navy);
    padding: 232px 0 60px !important; /* EXACT top offset for navbar (232px measured) */
    color: var(--white);
    text-align: center;
    background-image: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('assets/lhah_hero_building.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px !important; /* Increased to ensure adequate visible area below tall navbar */
}

.page-header + .section {
    padding-top: 2rem; /* Reduced gap between header and content (Combined 60px header bottom + 32px section top ≈ 6rem original) */
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    color: var(--white);
}

.page-header p {
    color: var(--white);
    opacity: 0.9;
    font-size: 1.1rem;
}

.page-header h1 span {
    color: var(--accent-gold);
}

/* Board Section */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.board-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border-top: 6px solid var(--accent-gold);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.board-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.board-card h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.board-card .role {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.board-card .bio {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Bio & History Sections */
.bio-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-navy);
}

.bio-section h2 span {
    color: var(--accent-gold);
}

.quote-block {
    margin: 2rem 0;
    padding-left: 2rem;
    border-left: 4px solid var(--accent-gold);
}

.quote-block blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-navy);
    line-height: 1.4;
}

.bio-caption {
    margin-top: 1rem;
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: right;
}

.history-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.history-content p {
    margin-bottom: 1.5rem;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-grey); }

/* ===================================================
   Responsive — tablets & below (≤1024px)
   =================================================== */
@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--primary-navy);
        transition: var(--transition);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.12);
        z-index: 1001;
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1rem 0;
        text-align: center;
    }
}

/* ===================================================
   Responsive — mobile phones (≤768px)
   =================================================== */
@media (max-width: 768px) {
    /* Hide the top utility bar — saves ~32px of header height */
    .top-bar {
        display: none;
    }

    .main-nav {
        padding: 0.75rem 0 !important;
    }

    /* Hero: center content vertically relative to visible area */
    .hero {
        padding-top: 100px; /* Offset for mobile fixed navbar */
        height: auto;
        min-height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Logo */
    .logo-img {
        height: 50px !important;
    }

    /* Page headers on sub-pages: Maintain centering on mobile with navbar offset */
    .page-header {
        padding: 100px 0 40px; /* Mobile navbar offset */
        min-height: 380px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .page-header + .section {
        padding-top: 1.5rem; /* Cut mobile gap roughly in half */
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    /* Section titles */
    .section-title {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
    }

    /* Poem quote in ethos section */
    .poem-line {
        font-size: 1.8rem;
    }

    /* Grid: 2-col → single col */
    .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Footer grid: 3-col → 1-col */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Board grid: let cards stack */
    .board-grid {
        grid-template-columns: 1fr;
    }

    /* About-page portrait: cap height so it doesn't dominate */
    .bio-image img {
        max-height: 380px;
        object-fit: cover;
        width: 100%;
    }

    /* About mission grid: 2-col → 1-col */
    .about-mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===================================================
   Responsive — small phones (≤480px)
   =================================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.85rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .project-grid-inner {
        grid-template-columns: 1fr;
    }
}


/* ===================================================
   Status Group Headers (Portfolio Page)
   =================================================== */
.status-group {
    margin-bottom: 6rem;
}

.status-group-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid rgba(0, 51, 102, 0.08);
}

.status-group-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-group-title {
    font-size: 2rem;
    color: var(--primary-navy);
    margin: 0;
    letter-spacing: -0.5px;
}

.status-group-count {
    margin-left: auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--bg-grey);
    padding: 0.35rem 1rem;
    border-radius: 20px;
}

.project-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
}

/* ===================================================
   News Thumbnail
   =================================================== */
.news-thumbnail {
    height: 200px;
    overflow: hidden;
}

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

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

/* ===================================================
   Load More Button (News page)
   =================================================== */
.load-more-wrap {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.load-more-btn {
    padding: 1rem 3rem;
    border-radius: 50px;
    border: 2px solid var(--primary-navy);
    background: transparent;
    color: var(--primary-navy);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.load-more-btn:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
