: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 6px rgba(0, 51, 102, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 51, 102, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 51, 102, 0.12);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --section-padding: 10rem 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;
}

.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: 60px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.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: 8rem 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; }


.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;
    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/lhah_hero_building.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    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: 6rem 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 2.5rem;
    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;
}

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

.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: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 3rem;
    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(380px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.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: 2.5rem;
    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;
}

.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: 8rem 0 3rem;
    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; }

/* Page Header */
.page-header {
    background-color: var(--primary-navy);
    padding: 10rem 0 6rem;
    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;
}

.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-light);
    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 */
@media (max-width: 768px) {
    .page-header h1 { font-size: 2.5rem; }
    .poem-line { font-size: 1.8rem; }
    .grid { grid-template-columns: 1fr; gap: 2rem; }
    .page-header { padding: 8rem 0 4rem; }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
    }

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

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

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

    .nav-links li {
        margin: 1.5rem 0;
    }
}

