:root {
    --primary-color: #0033A0; /* IOM Blue */
    --secondary-color: #0056D2; /* Lighter Blue */
    --text-color: #333;
    --heading-color: #002D72; /* Darker Blue for headings */
    --bg-light: #f4f6f8;
    --white: #ffffff;
    --footer-bg: #002D72;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Top Bar - Replicating Professional Institutional Style (AFD) */
.top-bar {
    background: #f8f9fa;
    color: #666;
    padding: 8px 0;
    font-size: 12px;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end; /* Align right like many institutional sites */
    gap: 20px;
}

.top-bar i {
    margin-right: 5px;
    color: #999;
}

.contact-info span {
    margin-right: 0;
    margin-left: 20px;
}

header {
    background: var(--white);
    padding: 0; /* Removing padding to let nav items stretch */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e5e5;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px; /* Fixed height for consistency */
}

.logo h1 {
    color: var(--primary-color);
    font-weight: 800; /* Bolder */
    font-size: 28px;
    letter-spacing: 0.5px;
    margin: 0;
    text-transform: uppercase;
}

nav {
    height: 100%;
}

nav ul {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
}

/* Main Level 1 Items */
nav > ul > li {
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

nav > ul > li > a {
    font-family: 'Roboto', sans-serif;
    font-weight: 700; /* Bold like AFD */
    color: #002D72 !important; /* Specific Dark Blue */
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 0 18px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    transition: color 0.2s;
    border-bottom: 4px solid transparent; /* Prepare for hover border */
}

/* Hover Effect - Thick Bottom Border */
nav > ul > li > a:hover,
nav > ul > li:hover > a,
nav > ul > li > a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color); /* The AFD "Bar" effect */
    background: rgba(0,0,0,0.01);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: capitalize;
    cursor: pointer;
    border: none;
}

.btn-donate {
    background: var(--primary-color);
    color: #fff;
    transition: background 0.3s ease;
}

.btn-donate:hover {
    background: var(--secondary-color);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0,51,160,0.6), rgba(0,51,160,0.6)), url('https://source.unsplash.com/1600x900/?humanitarian,aid');
    background-size: cover;
    background-position: center;
    height: 550px;
    display: flex;
    align-items: center;
    text-align: left;
    color: #fff;
}

.hero-content {
    max-width: 800px;
}

.hero-content h2 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff; /* Always white */
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    font-weight: 300;
}

/* Features/Stats */
.stats-section {
    padding: 60px 0;
    background: var(--white);
    color: var(--text-color);
    border-bottom: 1px solid #eee;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 30px;
}

.stat-item h3 {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 700;
}

.stat-item p {
    font-size: 16px;
    color: #777;
}

/* Section General */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: left;
    margin-bottom: 40px;
    border-left: 5px solid var(--primary-color);
    padding-left: 20px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--heading-color);
    margin-bottom: 10px;
    font-weight: 700;
}
.section-title p {
    color: #666;
    font-size: 18px;
}


/* Campaigns */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.campaign-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px; /* Slightly softer corners, or 0 for sharp */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.campaign-card:hover { 
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.campaign-img {
    height: 200px;
    background-color: #f0f0f0;
    overflow: hidden;
    position: relative;
}

.campaign-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campaign-content {
    padding: 20px;
}

.campaign-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 700;
}

.campaign-content h3 a {
    color: var(--activity-title-color, var(--heading-color));
}

.progress-bar-container {
    height: 6px;
    background: #eee;
    border-radius: 3px;
    margin: 15px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
}

.fund-stats {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

/* Blog */
.blog-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.blog-item {
    display: flex;
    gap: 20px;
    background: #fff;
    align-items: flex-start;
}

.blog-img {
    width: 200px;
    height: 140px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
}
.blog-content h4 a {
    color: var(--heading-color); 
}

.blog-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Blog page: press-review style cards */
.blog-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card-press {
    background: #fff;
    border: 1px solid #e4e6ea;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card-press:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
}

.blog-img-press {
    width: 100%;
    height: 240px;
    padding: 12px;
    background: #f4f6f9;
    border-bottom: 1px solid #eaedf2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-img-press img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
}

.blog-img-placeholder {
    width: 100%;
    height: 100%;
    border: 1px dashed #b8c0cc;
    border-radius: 4px;
    color: #6f7a88;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.blog-content-press {
    padding: 22px;
}

.blog-date-press {
    display: block;
    margin-bottom: 10px;
}

.blog-title-press {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.4;
}

.blog-title-press a {
    color: #002D72;
}

.blog-summary-press {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.blog-link-press {
    color: #0033A0;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Blog article detail page */
.blog-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 30px;
    align-items: start;
}

.blog-article-main {
    background: #fff;
    border: 1px solid #e4e6ea;
    border-radius: 8px;
    padding: 26px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.blog-article-image {
    margin-bottom: 22px;
}

.blog-article-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 6px;
}

.blog-article-summary {
    font-size: 18px;
    line-height: 1.7;
    color: #3b4554;
    margin-bottom: 20px;
    border-left: 4px solid #0033A0;
    padding-left: 14px;
}

.blog-article-content {
    font-size: 17px;
    line-height: 1.9;
    color: #2f2f2f;
}

.blog-article-content p {
    margin-bottom: 16px;
}

.blog-article-back {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #edf0f4;
}

.blog-article-back a {
    color: #0033A0;
    font-weight: 600;
}

.blog-article-side {
    background: #fff;
    border: 1px solid #e4e6ea;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.blog-article-side h3 {
    font-size: 18px;
    margin-bottom: 14px;
    color: #002D72;
}

.blog-side-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #edf0f4;
}

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

.blog-side-thumb {
    width: 80px;
    height: 60px;
    background: #f2f4f8;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-side-text strong {
    display: block;
    color: #1f2a3a;
    font-size: 14px;
    line-height: 1.4;
}

.blog-side-text span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #7a8596;
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: #ddd;
    padding-top: 60px;
    font-size: 14px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cols for more info like IOM */
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul li a {
    color: #bbb;
}
.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-social a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 8px;
    color: #fff;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    background: #002255;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* Responsive */
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-list {
        grid-template-columns: 1fr;
    }
    .blog-article-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) { /* Mobile */
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }
    nav ul {
        flex-direction: column;
        width: 100%;
        padding-top: 15px;
    }
    nav ul li {
        margin: 5px 0;
    }
    .hero-content h2 {
        font-size: 32px;
    }
    .stats-grid, .footer-columns {
        grid-template-columns: 1fr;
    }
}

/* Hero Slider */
.hero-slider {
 position: relative;
 height: 600px;
 overflow: hidden;
 background: #333;
}
.hero-slider .slide {
 position: absolute;
 top: 0; 
 left: 0; 
 width: 100%; 
 height: 100%;
 background-size: cover;
 background-position: center;
 display: flex;
 align-items: center;
 opacity: 0;
 transition: opacity 1.5s ease-in-out;
 z-index: 1;
}
.hero-slider .slide::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 51, 160, 0.5); /* Blue overlay */
    z-index: 1;
}
.hero-slider .slide.active {
 opacity: 1;
 z-index: 2;
}
.hero-slider .hero-content {
 position: relative;
 z-index: 3;
 animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
 from { opacity: 0; transform: translateY(20px); }
 to { opacity: 1; transform: translateY(0); }
}


/* Dropdown Menus - AFD Style */
nav ul li {
 position: relative;
}

/* Submenu Container */
nav ul li ul {
 display: none;
 position: absolute;
 top: 100%; /* Directly below */
 left: 0;
 background: #fff !important; /* Force white background */
 box-shadow: 0 10px 30px rgba(0,0,0,0.15);
 min-width: 280px; /* Wider */
 padding: 0; 
 margin: 0;
 border-radius: 0 0 4px 4px;
 z-index: 2000; /* Ensure on top of everything */
 flex-direction: column;
 align-items: stretch; /* Stretch items to full width */
 border-top: 4px solid var(--secondary-color);
 animation: fadeInMenu 0.2s ease-out;
 height: auto; /* Allow growth */
 min-height: fit-content;
}

@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

nav ul li:hover > ul {
 display: flex; /* Use flex to keep column direction */
}

nav ul li ul li {
 margin: 0;
 width: 100%;
 border-bottom: 1px solid #f0f0f0;
 height: auto;
 display: block;
 flex: 0 0 auto; /* Don't shrink */
}

nav ul li ul li:last-child {
    border-bottom: none;
}

/* Submenu Links */
nav ul li ul li a {
 display: block;
 padding: 15px 25px;
 font-size: 14px;
 color: #444 !important; /* Dark grey */
 font-weight: 500; /* Regular/Medium weight */
 text-transform: none; /* Sentence case/Normal */
 border-bottom: none; /* Remove main nav hover effect */
 height: auto; /* Reset */
 transition: all 0.2s;
 background: transparent;
}

/* Hover on Submenu Link */
nav ul li ul li a:hover {
 background: #f8f9fa; /* Light grey bg */
 color: var(--primary-color) !important;
 border-bottom: none; /* Ensure no line */
 padding-left: 30px; /* Slight movement indication */
}

/* Chevron/Icon in Main Menu */
nav ul li a i {
    font-size: 10px;
    margin-left: 8px;
    opacity: 0.5;
    transition: transform 0.3s;
}

nav ul li:hover > a i {
    transform: rotate(180deg);
    opacity: 1;
}

/* Mobile tweak for dropdowns (simple version) */
@media (max-width: 900px) {
    header { height: auto; padding: 15px 0; }
    .header-container { flex-direction: column; height: auto; gap: 15px; }
    nav ul { flex-direction: column; width: 100%; }
    nav ul li { width: 100%; text-align: center; margin: 5px 0; }
    nav > ul > li > a { justify-content: center; height: 40px; border-bottom: none; }
    nav ul li ul { position: static; box-shadow: none; border-top: none; background: #f9f9f9; width: 100%; }
    nav ul li ul li a { padding-left: 20px; text-align: center; }
}


/* Partners Section */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
    padding: 20px 0;
}
.partner-item {
    flex: 0 0 auto;
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.partner-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}
.partner-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* Hero Slider */
.hero-slider {
 position: relative;
 height: 600px;
 overflow: hidden;
 background: #333;
}
.hero-slider .slide {
 position: absolute;
 top: 0; 
 left: 0; 
 width: 100%; 
 height: 100%;
 background-size: cover;
 background-position: center;
 display: flex;
 align-items: center;
 opacity: 0;
 transition: opacity 1.5s ease-in-out;
 z-index: 1;
}
.hero-slider .slide::before {
 content: ;
 position: absolute;
 top: 0; left: 0; right: 0; bottom: 0;
 background: rgba(0, 51, 160, 0.5); /* Blue overlay */
 z-index: 1;
}
.hero-slider .slide.active {
 opacity: 1;
 z-index: 2;
}
.hero-slider .hero-content {
 position: relative;
 z-index: 3;
 animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
 from { opacity: 0; transform: translateY(20px); }
 to { opacity: 1; transform: translateY(0); }
}


/* About Page Float Layout */
.about-image-wrapper {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
    max-width: 400px;
    width: 100%;
}
.about-image-wrapper img {
    width: 100%;
    border-radius: 8px;
    display: block;
}
@media (max-width: 768px) {
    .about-image-wrapper {
        float: none;
        max-width: 100%;
        margin-right: 0;
    }
}


/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.team-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}
.team-card:hover { 
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.team-img {
    height: 280px;
    background-color: #f9f9f9;
    overflow: hidden;
}
.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-content {
    padding: 20px;
}
.team-content h3 {
    margin: 0 0 5px;
    font-size: 20px;
    color: var(--heading-color);
}
.team-content .role {
    display: block;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 13px;
}
.team-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}


/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 250px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 14px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.gallery-item:hover .caption {
    transform: translateY(0);
}
/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}


/* Hero Slider */
.hero-slider {
 position: relative;
 height: 600px;
 overflow: hidden;
 background: #333;
}
.hero-slider .slide {
 position: absolute;
 top: 0; 
 left: 0; 
 width: 100%; 
 height: 100%;
 background-size: cover;
 background-position: center;
 display: flex;
 align-items: center;
 opacity: 0;
 transition: opacity 1.5s ease-in-out;
 z-index: 1;
}
.hero-slider .slide::before {
 content: ;
 position: absolute;
 top: 0; left: 0; right: 0; bottom: 0;
 background: rgba(0, 51, 160, 0.5); /* Blue overlay */
 z-index: 1;
}
.hero-slider .slide.active {
 opacity: 1;
 z-index: 2;
}
.hero-slider .hero-content {
 position: relative;
 z-index: 3;
 animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
 from { opacity: 0; transform: translateY(20px); }
 to { opacity: 1; transform: translateY(0); }
}


/* Payment Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
}
.modal-overlay.active { display: flex; }
.payment-modal {
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; }}
.payment-header {
    background: #002D72;
    padding: 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.payment-header h3 { margin: 0; color: #fff; font-size: 18px; }
.close-modal {
    background: none; border: none; color: #fff; font-size: 24px; cursor: pointer;
}
.payment-body { padding: 30px; }
.payment-options { display: grid; gap: 15px; margin-bottom: 20px; }
.payment-option {
    border: 2px solid #eee;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: 0.2s;
}
.payment-option:hover, .payment-option.selected {
    border-color: #0033A0;
    background: #f0f4ff;
}
.payment-option i { font-size: 24px; color: #0033A0; margin-right: 15px; width: 30px; text-align: center; }
.payment-option span { font-weight: 500; color: #333; }
.payment-details { display: none; border-top: 1px solid #eee; padding-top: 20px; animation: fadeIn 0.3s; }
.payment-details.active { display: block; }
.btn-pay {
    width: 100%;
    padding: 15px;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
}
.btn-pay:hover { background: #218838; }


/* Accordion Style for About Page */
.accordion-btn {
    background: #f8f9fa;
    color: #333;
    cursor: pointer;
    padding: 20px 25px;
    width: 100%;
    border: none;
    border-left: 5px solid #002D72;
    text-align: left;
    outline: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.accordion-btn:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.accordion-btn.active {
    background: #002D72;
    color: #fff;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
    border-radius: 0 0 4px 4px;
}
.accordion-content.open {
    max-height: 2000px; /* Approximate max height */
    border: 1px solid #eee;
    border-top: none;
    padding: 20px;
}


/* Enhanced Typography for About Accordion */
.accordion-content {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #2c3e50; /* Darker grey for better contrast */
    background: #fdfdfd; /* Very subtle off-white for reading comfort */
}

.accordion-content .dynamic-content p {
    font-size: 17px;
    line-height: 1.9; /* More breathing room */
    margin-bottom: 20px;
    text-align: justify; /* Optional: enables clean edges, or leave left */
}

.accordion-content .dynamic-content h3, 
.accordion-content .dynamic-content h4 {
    color: #002D72;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.accordion-content .dynamic-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.accordion-content .dynamic-content ul li {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.7;
}

