/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-primary: #2c2c2c;
    --text-secondary: #4a4a4a;
    --navbar-height: 72px;
}

body {
    font-family: 'Slabo 27px', Georgia, serif;
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--text-primary);
    overflow-x: hidden;
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6,
p, li, a {
    color: var(--text-primary);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo-image {
    width: 52px;
    height: 52px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(6, 44, 61, 0.12));
}

.logo-icon {
    position: relative;
    width: 40px;
    height: 40px;
}

.map-icon {
    width: 100%;
    height: 100%;
    background: #e8f4f8;
    border-radius: 50%;
    position: relative;
}

.map-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #d4e6f1 0%, #a9cce3 100%);
    border-radius: 50%;
}

.map-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #7ec9b5;
    border-radius: 50%;
}

.magnifying-glass {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid #2e9d74;
    border-radius: 50%;
    background: transparent;
}

.magnifying-glass::before {
    content: '';
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 8px;
    height: 2px;
    background: #2e9d74;
    transform: rotate(45deg);
}

.liberia-flag {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 6px;
    background: linear-gradient(to bottom, #bd2130 0%, #bd2130 20%, #ffffff 20%, #ffffff 40%, #bd2130 40%, #bd2130 60%, #ffffff 60%, #ffffff 80%, #bd2130 80%, #bd2130 100%);
    border-radius: 1px;
}

.liberia-flag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 6px;
    background: #0d5b4a;
    border-radius: 1px 0 0 1px;
}

.liberia-flag::after {
    content: '★';
    position: absolute;
    top: 1px;
    left: 1px;
    font-size: 2px;
    color: white;
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.osm-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.liberia-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-top: -2px;
}

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

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2e9d74;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2e9d74;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Keep active menu item highlighted */
.nav-link.active {
    color: #2e9d74;
}

.nav-link.active::after {
    width: 100%;
}

.contact-btn {
    background: #2e9d74;
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(46, 157, 116, 0.3);
}

.contact-btn:hover {
    background: #237d60;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 157, 116, 0.4);
}

.contact-btn::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 640px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(8, 50, 75, 0.82), rgba(22, 121, 93, 0.78)), url('hero_image/OSM_Photo.jpg') center/cover no-repeat;
    padding-top: 92px;
    margin-bottom: 0;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 40px));
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0 50px;
}

.hero-copy {
    max-width: 700px;
}

.eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.95);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.osm-title {
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    color: white;
    margin: 0 0 18px;
    font-weight: 800;
    text-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.hero-slogan-right {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 650px;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.2s ease;
}

.hero-cta.primary {
    background: #ffffff;
    color: #0f3b4b;
}

.hero-cta.secondary {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
}

.hero-panel {
    display: grid;
    gap: 18px;
    justify-items: center;
}

.hero-panel-card {
    width: min(100%, 300px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

.panel-label {
    display: block;
    font-size: 1.2rem;
    font-family: 'Georgia', serif;
    font-style: italic;
    margin-bottom: 6px;
    opacity: 0.97;
}

.hero-panel-card strong {
    font-size: clamp(2rem, 2.7vw, 3rem);
    line-height: 1;
    font-weight: 700;
}

@media (max-width: 900px) {
    .hero {
        min-height: 540px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-slogan-right {
        max-width: 600px;
    }

    .hero-panel {
        width: 100%;
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 80px;
    }

    .hero-panel {
        grid-template-columns: 1fr;
    }

    .hero-panel-card {
        width: min(78vw, 270px);
    }
}

.impact-showcase {
    background: #f3f3f1;
    padding: 30px 0 60px;
    position: relative;
    overflow: hidden;
}

.impact-showcase::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 220px;
    height: 100%;
    background: linear-gradient(135deg, rgba(130, 177, 170, 0.15) 0%, rgba(130, 177, 170, 0.05) 100%);
    border-left: 1px solid rgba(17, 71, 81, 0.08);
}

.impact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.impact-header {
    margin-bottom: 28px;
}

.impact-title {
    margin: 0;
    font-size: clamp(2.8rem, 4vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    color: #2e9d74;
    font-weight: 500;
    font-family: "Georgia", "Times New Roman", serif;
    font-style: italic;
}

.impact-title span {
    display: inline-block;
    color: #2e9d74;
    font-style: normal;
    font-family: 'Slabo 27px', Georgia, serif;
    letter-spacing: -0.05em;
    font-weight: 500;
}

.impact-circles {
    display: flex;
    gap: 52px;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-left: 8px;
}

.impact-circle {
    width: min(34vw, 420px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 4px solid #2e9d74;
    background: rgba(255,255,255,0.04);
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 1px rgba(26,165,181,0.1);
}

.impact-building {
    background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(26,165,181,0.02));
}

.impact-road {
    background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(26,165,181,0.02));
}

.impact-content {
    text-align: center;
    color: #2e9d74;
}

.impact-label {
    display: block;
    margin-bottom: 6px;
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
    color: #2e9d74;
    font-family: "Georgia", "Times New Roman", serif;
    font-style: italic;
}

.impact-content strong {
    font-size: clamp(1.8rem, 2.6vw, 3rem);
    line-height: 1;
    color: #2e9d74;
    font-weight: 700;
}

@media (max-width: 900px) {
    .impact-circles {
        justify-content: center;
        gap: 26px;
        padding-left: 0;
    }

    .impact-circle {
        width: min(72vw, 330px);
    }
}

/* Sticky Notes */
.sticky-notes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.sticky-note {
    position: absolute;
    width: 200px;
    height: 180px;
    background: #fffacd;
    border: 1px solid #f0e68c;
    border-radius: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: rotate(-2deg);
    transition: all 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
}

.sticky-note:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.sticky-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 2px 2px 0 0;
}

.sticky-note::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.3);
}

.note-content {
    padding: 25px 20px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.note-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2e9d74;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.note-content p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
    flex-grow: 1;
}

/* Sticky Note Positions */
.note-1 {
    top: 15%;
    left: 8%;
    transform: rotate(-3deg);
}

.note-2 {
    top: 25%;
    right: 10%;
    transform: rotate(2deg);
    background: #f0fff0;
    border-color: #90ee90;
}

.note-2::before {
    background: linear-gradient(to bottom, rgba(240, 255, 240, 0.3), transparent);
}

.note-3 {
    top: 60%;
    left: 15%;
    transform: rotate(-1deg);
    background: #fff0f5;
    border-color: #ffb6c1;
}

.note-3::before {
    background: linear-gradient(to bottom, rgba(255, 240, 245, 0.3), transparent);
}

/* About Section */
.about {
    padding: 100px 0 100px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    font-family: 'Slabo 27px', Georgia, serif;
    color: #000000;
}

/* Ensure no gap between hero and about */
.hero {
    margin-bottom: 0;
}

.hero + .about {
    margin-top: 0;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('background image/minimal-bauhaus-pattern-geometric-wallpaper-with-geometric-elements/f695a261-6207-4a26-b011-9b82ec046074.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.about .container {
    padding-top: 0;
}

.about .container, .about .section-header, .about .about-grid, .about .about-steps, .about .history-card {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Remove any top spacing that could create a gap under the hero */
.about .section-header {
    margin-top: 0;
    padding-top: 0;
}

.about .section-header h2 {
    margin-top: 0;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2e9d74;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.about-steps {
    max-width: 800px;
    margin: 0 auto;
    background: #fefefe;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.step-item {
    border-bottom: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.step-item:last-child {
    border-bottom: none;
}

.step-item.active {
    background: #f8f9fa;
}

.step-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-header:hover {
    background: rgba(44, 90, 160, 0.02);
}

.step-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: #666;
    margin-right: 1.5rem;
    min-width: 30px;
}

.step-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #666;
    margin: 0;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.step-item.active .step-title {
    color: #2e9d74;
    font-weight: 700;
}

.step-toggle {
    color: #999;
    transition: all 0.3s ease;
}

.step-item.active .step-toggle {
    color: #2e9d74;
    transform: rotate(180deg);
}

.step-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.step-item.active .step-content {
    max-height: 200px;
}

.step-content p {
    padding: 0 2rem 1.5rem 2rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('background image/gradient-minimalist-background/8266722.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    z-index: 0;
}

.gallery .container, .gallery .section-header, .gallery .gallery-filters, .gallery .gallery-grid, .gallery .gallery-item {
    position: relative;
    z-index: 1;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
    background: #2e9d74;
    color: white;
    border-color: #2e9d74;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    color: #ffffff;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #2e9d74;
    margin-right: 1rem;
    width: 30px;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #666;
}

.social-links {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-links h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2e9d74;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    color: #2e9d74;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #2e9d74;
    color: white;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: #2e9d74;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo-image {
    width: 42px;
    height: 42px;
    display: block;
    object-fit: contain;
}

.footer-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(248, 249, 250, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .osm-title {
        font-size: 5rem;
    }

    .liberia-title {
        font-size: 3.5rem;
    }

    .hero-slogan-right {
        max-width: 350px;
    }

    .hero-slogan-right p {
        font-size: 1.2rem;
    }

    .sticky-note {
        width: 160px;
        height: 140px;
    }

    .note-content {
        padding: 20px 15px 15px 15px;
    }

    .note-content h4 {
        font-size: 1rem;
    }

    .note-content p {
        font-size: 0.8rem;
    }

    .note-1 {
        top: 10%;
        left: 5%;
    }

    .note-2 {
        top: 20%;
        right: 5%;
    }

    .note-3 {
        top: 55%;
        left: 10%;
    }

    .about-steps {
        margin: 0 1rem;
    }

    .step-header {
        padding: 1rem 1.2rem;
    }

    .step-number {
        font-size: 0.9rem;
        margin-right: 0.8rem;
        min-width: 20px;
    }

    .step-title {
        font-size: 1rem;
    }

    .step-content p {
        padding: 0 1.2rem 1rem 1.2rem;
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .osm-title {
        font-size: 4rem;
    }

    .liberia-title {
        font-size: 2.8rem;
    }

    .hero-slogan-right {
        max-width: 300px;
    }

    .hero-slogan-right p {
        font-size: 1.1rem;
    }

    .sticky-note {
        width: 140px;
        height: 120px;
    }

    .note-content {
        padding: 15px 12px 12px 12px;
    }

    .note-content h4 {
        font-size: 0.9rem;
    }

    .note-content p {
        font-size: 0.75rem;
    }

    .note-1 {
        top: 8%;
        left: 3%;
    }

    .note-2 {
        top: 15%;
        right: 3%;
    }

    .note-3 {
        top: 50%;
        left: 8%;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .gallery-item img {
        height: 200px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .osm-text {
        font-size: 1.2rem;
    }

    .liberia-text {
        font-size: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.gallery-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Filter Animation */
.gallery-item.hide {
    display: none;
}

.gallery-item.show {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: start;
}

.about-left {
    min-width: 0;
}

.about-right {
    position: sticky;
    top: 90px;
}

.history-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    padding: 1.75rem;
    border: 1px solid #edf0f4;
}

.history-card h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.8rem;
    font-weight: 900;
    color: #2e9d74;
}

.history-card p {
    margin: 0 0 1rem 0;
    color: #4a5568;
    line-height: 1.75;
    font-size: 1rem;
}

/* Responsive: stack columns on small screens */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-right {
        position: static;
    }
}

.section-header h2 {
    font-size: 4em; /* 64px target */
    line-height: 1.1;
}

@media (max-width: 992px) {
    .section-header h2 {
        font-size: 3em;
    }
}

@media (max-width: 600px) {
    .section-header h2 {
        font-size: 2.25em;
    }
}

/* Team Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.team-card {
    background: #ffffff;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.team-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f3f6fa;
    position: relative;
    overflow: hidden;
}

.team-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(45deg, #eef2f7, #eef2f7 10px, #f8fafc 10px, #f8fafc 20px);
}

.team-body {
    padding: 1rem 1.1rem 1.25rem 1.1rem;
}

.team-name {
    margin: 0 0 0.25rem 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1f3b73;
}

.team-role {
    margin: 0 0 0.5rem 0;
    color: #466186;
    font-size: 0.95rem;
}

.team-desc {
    margin: 0;
    color: #3b4250;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Empower Section */
.empower {
    padding: 90px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.empower::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('background image/liquid-wave-gradient-design-background-blue-purple-abstract/yakin 2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    z-index: 0;
}

.empower .container, .empower .section-header, .empower .resource-grid, .empower .resource-card { position: relative; z-index: 1; }

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    padding: 1.5rem;
}

.resource-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef3ff;
    color: #2e9d74;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.resource-title {
    margin: 0 0 0.25rem 0;
    font-size: 1.2rem;
    color: #1f3b73;
    font-weight: 800;
}

.resource-desc {
    margin: 0 0 0.9rem 0;
    color: #4a5568;
}

.resource-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #dbe3ef;
    background: #f7fafc;
    color: #1f3b73;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn:hover { background: #eef5ff; border-color: #cbd7ee; }

.btn-primary {
    background: #2e9d74;
    color: #fff;
    border-color: #2e9d74;
}

.btn-primary:hover { background: #204b86; border-color: #204b86; }

/* Leaflet map in contact section */
.map-wrapper {
    margin-top: 2rem;
}

#leaflet-map {
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border: 1px solid #e6eef7;
}
