/**
 * RUPEP Modern Main Stylesheet
 * Design: High-Fidelity, Clean, Professional NGO Look
 */

:root {
    /* Colors */
    --primary: #001A72; /* UNESCO Dark Blue */
    --primary-dark: #000F44;
    --secondary: #D32F2F; /* Action Red */
    --bg-light: #F8F9FA;
    --text-main: #2D3436;
    --text-muted: #636E72;
    --white: #FFFFFF;
    --border: #E1E8ED;

    /* Spacing */
    --gap: 2rem;
    --container: 1200px;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    margin-top: 0;
    color: var(--primary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: 0.3s ease;
}

a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Screen Reader Only */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* Top Info Bar */
.top-info-bar {
    background: #000000;
    color: #FFFFFF;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

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

.top-contact { display: flex; gap: 1.5rem; }
.top-contact span { display: flex; align-items: center; gap: 0.5rem; }
.top-contact i { font-size: 1rem; opacity: 0.8; }

.top-social { display: flex; gap: 1rem; }
.top-social a { color: #FFFFFF; opacity: 0.9; display: flex; align-items: center; gap: 0.3rem; }
.top-social a:hover { opacity: 1; color: var(--secondary); }

/* Main Header */
.site-header {
    background: var(--white);
    padding: 1rem 0 0;
    box-shadow: none;
    position: relative;
    z-index: 1000;
}

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
}

.site-branding img {
    max-height: 80px; /* Reduced from default */
    width: auto;
}

.logo-text-wrapper .site-title {
    font-size: 1.8rem;
    margin: 0;
    line-height: 1.2;
}

.logo-text-wrapper .site-description {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.header-actions { display: flex; align-items: center; gap: 1rem; }

.btn-donate {
    background: var(--primary);
    color: var(--white);
    border-radius: 6px; /* Updated to match other buttons */
    padding: 0.4rem 1.2rem; /* Slightly further reduced height */
    font-size: 0.95rem;
}

.btn-donate:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: none;
}

/* Navigation Bar */
.main-navigation {
    background: var(--primary);
    width: 100%;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 1rem 1.2rem;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.main-navigation li.menu-item-has-children > a:after {
    content: "\f140"; /* Dashicons down arrow */
    font-family: dashicons;
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: middle;
    font-size: 0.8rem;
    opacity: 0.8;
}

.main-navigation a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

/* Dropdown Menus */
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-dark);
    min-width: 200px;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.main-navigation ul ul li { width: 100%; }
.main-navigation ul ul a {
    padding: 0.8rem 1.2rem;
    text-transform: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.main-navigation li:hover > ul {
    display: flex;
}

/* Mobile Adjustments */
.mobile-only { display: none; }

@media (max-width: 992px) {
    .top-info-inner { 
        flex-direction: column; 
        gap: 0.5rem; 
        text-align: center; 
    }
    .top-contact { 
        flex-direction: row; 
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem; 
        font-size: 0.8rem;
    }
    .top-contact span {
        gap: 0.3rem;
    }
    .top-social {
        justify-content: center;
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    .mobile-only { display: block !important; }
    .menu-toggle { display: block !important; }
    
    .site-header-inner {
        padding: 0.75rem 0;
    }

    .site-branding img {
        max-height: 55px !important;
    }
    
    .btn-donate {
        padding: 0.4rem 0.9rem !important;
        font-size: 0.85rem !important;
        border-radius: 4px;
        white-space: nowrap;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .main-navigation.active { display: block; }
    
    .main-navigation ul { flex-direction: column; }
    .main-navigation ul ul { position: static; display: none; width: 100%; background: rgba(0,0,0,0.1); }
    .main-navigation li.menu-item-has-children.active > ul { display: block; }
}

/* Hero Section (Custom for Front Page later) */
.page-header {
    padding: 4rem 0 2rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 1.8rem;
    }
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary);
}

/* Post Grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--gap);
    margin-bottom: 4rem;
}

.grid-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.post-thumbnail {
    height: 220px;
    overflow: hidden;
}

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

.grid-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.entry-header { padding: 1.5rem 1.5rem 0.5rem; }
.entry-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.entry-title { font-size: 1.25rem; margin: 0; line-height: 1.4; }
.entry-summary { padding: 0 1.5rem 1.5rem; font-size: 0.95rem; color: var(--text-muted); }

/* Animation System */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Toggle button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    outline: none;
    position: relative;
    z-index: 1001;
}

/* Hamburger Icon styling */
.hamburger {
    width: 25px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hamburger animation on active open state */
.hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
}

/* Main Slider */
.main-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.main-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 500px; /* Adjust height as needed */
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider Nav */
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    border: none;
    color: white;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.slider-prev:hover, .slider-next:hover { background: rgba(0,0,0,0.7); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active { background: var(--secondary); width: 25px; border-radius: 10px; }

@media (max-width: 768px) {
    .main-slider { height: 300px; }
    .slide-title { font-size: 1.5rem; }
    .slider-prev, .slider-next { display: none; }
}

/* Home About Section */
.home-about-section {
    padding: 5rem 0;
    background: #fff;
}

.home-about-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.home-about-image-wrapper.reveal {
    transition-delay: 0.2s;
}

.section-title.underline {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 2rem;
    color: #000;
    font-size: 2.2rem;
}

.section-title.underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    text-align: justify;
}

.about-image-container {
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.about-main-image {
    width: 100%;
    display: block;
}

.about-explore-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    text-transform: capitalize;
    transition: 0.3s;
    border-radius: 4px;
    font-size: 0.9rem;
}

.about-explore-btn:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .home-about-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .home-about-content { order: 1; }
    .home-about-image-wrapper { order: 2; }
}

@media (max-width: 768px) {
    .home-about-section {
        padding: 20px 0;
    }
    .home-about-inner {
        gap: 1.5rem;
    }
    .section-title.underline {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    .about-text {
        font-size: 1rem;
    }
    .about-explore-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        bottom: 10px;
        right: 10px;
    }
}

/* Home Info Section */
.home-info-section {
    width: 100%;
    overflow: hidden;
}

.home-info-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.info-box {
    flex: 1;
    min-width: 33.333%;
    padding: 5rem 3.5rem;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.info-box.box-1 { background: #000000; }
.info-box.box-2 { background: #8B2E2E; }
.info-box.box-3 { background: var(--primary); }

.info-box-title {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.info-box-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 3.5rem;
    opacity: 0.95;
    flex-grow: 1;
}

.info-box-btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
    text-transform: capitalize;
    font-weight: 600;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    border-radius: 4px;
}

.info-box-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (max-width: 992px) {
    .info-box {
        min-width: 100%;
        padding: 4rem 2rem;
    }
}

/* Home Stats Section */
.home-stats-section {
    padding: 6rem 0;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.stat-card {
    background: #F9FAFB;
    padding: 4rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 4.5rem;
    color: #ED1C24; /* NGO Action Red */
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.stat-title {
    font-size: 1.6rem;
    color: #111;
    margin-bottom: 1rem;
    font-weight: 700;
}

.stat-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
    max-width: 90%;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .home-stats-section {
        padding: 4rem 0;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .stat-card {
        padding: 3rem 1.5rem;
    }
    .stat-number {
        font-size: 3.5rem;
    }
}

/* Latest News Section */
.home-news-section {
    padding: 6rem 0;
    background: #fff;
}

.home-news-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.view-more-btn {
    background: var(--primary);
    color: #fff;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: 0.3s;
}

.view-more-btn:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.news-card-image-link {
    display: block;
    height: 240px;
    overflow: hidden;
}

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

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

.news-card-content {
    padding: 1.5rem 2rem 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: block;
}

.news-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-weight: 700;
    flex-grow: 1;
}

.news-title a { color: #111; }
.news-title a:hover { color: var(--primary); }

.read-more-news {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    transition: 0.3s;
    text-transform: capitalize;
}

.read-more-news:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.placeholder-image {
    height: 240px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.placeholder-image .dashicons { font-size: 4rem; width: auto; height: auto; }

/* Responsive styles for Home News Section */
@media (max-width: 992px) {
    .home-news-section {
        padding: 4rem 0;
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .news-card-image-link {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .home-news-section {
        padding: 3rem 0;
    }
    .home-news-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }
    .home-news-section .section-title {
        font-size: 1.8rem;
    }
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .news-card-image-link {
        height: 220px;
    }
    .news-title {
        font-size: 1.1rem !important;
        margin-bottom: 1rem;
    }
    .news-card-content {
        padding: 1.25rem 1.5rem 1.75rem;
    }
}

/* Archive Page */
.news-archive-header {
    background: var(--bg-light);
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 4rem;
}

.news-archive-container {
    padding-bottom: 6rem;
}

/* Pagination */
.navigation.pagination {
    margin-top: 4rem;
    width: 100%;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination .page-numbers {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-weight: 600;
}

.pagination .page-numbers.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination .page-numbers:hover:not(.current) {
    background: var(--bg-light);
}

/* --- Single Post Premium Styles --- */

.single-post-header {
    padding: 7rem 0 5rem;
    text-align: center;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.single-post-meta {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.meta-item.date { color: var(--secondary); }
.meta-item.category a { color: var(--text-muted); }
.meta-item.category a:hover { color: var(--primary); }
.meta-sep { color: var(--border); }

.single-post-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    line-height: 1.15;
    margin: 0 0 2rem;
    color: var(--primary-dark);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
}

.single-post-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.single-post-author img {
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
}

/* Layout Grid */
.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 4rem;
    margin-top: -4rem; /* Lift over the header */
    padding-bottom: 8rem;
}

.single-post-main-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    overflow: hidden;
}

.main-content-inner {
    padding: 3rem;
}

.single-post-thumbnail {
    margin: -3rem -3rem 3rem -3rem; /* Flush with container edges */
    overflow: hidden;
}

.single-post-thumbnail img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.entry-content {
    color: var(--text-main);
    font-size: 1.15rem;
    line-height: 1.85;
}

.entry-content p {
    margin-bottom: 2rem;
}

.entry-content h2, .entry-content h3 {
    margin: 3rem 0 1.5rem;
    color: var(--primary);
}

/* Footer & Nav */
.single-post-footer {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.post-nav-wrapper .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-links .nav-subtitle {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.nav-links .nav-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

/* Sidebar Styling */
.single-post-sidebar {
    padding-top: 4rem;
    align-self: flex-start;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 12px;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

.sidebar-news-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    transition: 0.3s;
}

.sidebar-news-item:hover {
    transform: translateX(5px);
}

.sidebar-news-thumb {
    flex: 0 0 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-news-info { flex: 1; }

.sidebar-news-date {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.sidebar-news-title {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
}

.sidebar-news-title a { color: var(--text-main); }
.sidebar-news-title a:hover { color: var(--primary); }

/* Responsive adjustments */
@media (max-width: 1100px) {
    .single-post-layout {
        grid-template-columns: 1fr;
        margin-top: 0;
        gap: 4rem;
        padding-bottom: 6rem;
    }
    .main-content-inner { padding: 2rem; }
    .single-post-thumbnail { margin: -2rem -2rem 2rem -2rem; }
}

@media (max-width: 768px) {
    .single-post-header { padding: 4rem 0 3rem; }
    .single-post-title { font-size: 2.2rem; }
    .entry-content { font-size: 1.05rem; }
    .post-nav-wrapper .nav-links { flex-direction: column; }
}

/* Home Projects Section */
.home-projects-section {
    padding: 6rem 0;
    background: #fff;
}

.projects-flex {
    display: flex;
    gap: 4rem;
}

.ongoing-projects-col {
    flex: 2;
    min-width: 0;
}

.completed-projects-col {
    flex: 1.2;
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.slider-controls {
    display: flex;
    gap: 12px;
}

.slider-controls button {
    background: var(--primary);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.slider-controls button:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

.slider-controls button .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Ongoing Slider */
.ongoing-slider-container {
    overflow: hidden;
}

.ongoing-slider-track {
    display: flex;
    gap: 25px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-slide {
    flex: 0 0 calc(50% - 12.5px);
}

.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.project-thumb {
    height: 280px;
    overflow: hidden;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-card:hover .project-thumb img {
    transform: scale(1.1);
}

.project-info {
    padding: 2rem;
    flex-grow: 1;
}

.project-title {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.5;
    font-weight: 700;
}

.project-title a { color: #111; }
.project-title a:hover { color: var(--primary); }

/* Completed Projects List */
.completed-list-box {
    background: var(--primary-dark);
    padding: 3rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.completed-projects-col .section-title {
    margin-bottom: 2.5rem;
}

.completed-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
}

.completed-list li {
    background: #fff;
    margin-bottom: 18px;
    padding: 18px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.completed-list li:hover {
    transform: translateX(10px) scale(1.02);
}

.completed-list li a {
    color: #111;
    font-weight: 600;
    display: block;
    font-size: 1.05rem;
    line-height: 1.4;
}

.view-more-completed {
    text-align: right;
}

.view-more-btn-simple {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: 0.3s;
}

.view-more-btn-simple:hover {
    opacity: 1;
    padding-right: 5px;
}

@media (max-width: 1200px) {
    .projects-flex { gap: 2rem; }
    .project-thumb { height: 220px; }
}

@media (max-width: 992px) {
    .projects-flex {
        flex-direction: column;
        gap: 4rem;
    }
    .project-slide {
        flex: 0 0 100%;
    }
}

/* Completed Projects Table */
.completed-projects-container {
    padding: 6rem 0;
}

.table-responsive {
    overflow-x: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.completed-projects-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 1000px; /* Ensure table doesn't squish too much */
}

.completed-projects-table th,
.completed-projects-table td {
    padding: 1.5rem 1.2rem;
    border: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: top;
}

.completed-projects-table th {
    background: #fcfcfc;
    color: var(--primary-dark);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.completed-projects-table tr:hover {
    background: #f9f9f9;
}

.completed-projects-table td strong a {
    color: var(--primary);
    font-weight: 700;
    transition: 0.3s;
}

.completed-projects-table td strong a:hover {
    color: var(--secondary);
}

.nature-cell {
    min-width: 280px;
    line-height: 1.7;
    color: #555;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .completed-projects-container {
        padding: 4rem 0;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: -4rem;
}

.hero-title {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.5rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.btn {
    display: inline-block;
    padding: 0.6rem 2rem; /* Reduced height via padding */
    border-radius: 6px; /* Updated from 50px */
    font-weight: 600;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    margin-right: 1rem;
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-secondary {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* Impact Section */
.impact-section {
    padding: 6rem 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.impact-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
}

.impact-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.impact-number {
    font-size: 3rem;
    margin: 0;
    color: var(--primary);
}

.impact-label {
    margin: 0;
    font-weight: 600;
    color: var(--text-muted);
}

/* Sections */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    border-left: 5px solid var(--secondary);
    padding-left: 1.5rem;
}

.section-title {
    font-size: 2.2rem;
    margin: 0;
}

/* Single Post */
.single-container {
    max-width: 850px;
    padding: 4rem 1.5rem;
}

.single-header {
    margin-bottom: 3rem;
    text-align: center;
}

.single-header .entry-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 1.5rem 0;
}

.single-header .post-thumbnail {
    height: auto;
    border-radius: 20px;
    margin-top: 2rem;
}

.entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
}

.entry-content p { margin-bottom: 2rem; }

/* Read More & View All */
.read-more, .view-all {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.placeholder-thumb {
    height: 220px;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.placeholder-thumb .dashicons { font-size: 3rem; }

/* Premium Projects Table (Manual) */
.completed-projects-container {
    padding: 2rem 0;
}

.table-responsive {
    overflow-x: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.completed-projects-premium-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 1000px;
}

.completed-projects-premium-table thead th {
    background: var(--primary);
    color: #fff;
    padding: 1.2rem 1rem;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.completed-projects-premium-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: 0.3s;
}

.completed-projects-premium-table tbody tr:hover {
    background: #f9f9f9;
}

.completed-projects-premium-table td {
    padding: 1.2rem 1rem;
    vertical-align: middle;
    color: #444;
    line-height: 1.6;
}

.sn-cell {
    font-weight: 700;
    color: var(--primary);
}

.project-info-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.project-mini-thumb {
    flex: 0 0 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.project-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-text strong {
    color: #111;
    font-size: 1rem;
}

.nature-cell {
    max-width: 300px;
    font-size: 0.9rem;
}

.budget-cell {
    font-weight: 600;
    color: #2e7d32; /* Success Green for money */
}

@media (max-width: 768px) {
    .completed-projects-container {
        padding: 0 15px 4rem;
    }
}

/* Compact Header for specific pages */
.compact-header {
    padding: 0 !important;
    margin-bottom: 15px !important;
}

/* --- Professional Footer Design --- */
.site-footer {
    background: #001a4d; /* Deep Navy */
    background: linear-gradient(135deg, #001a4d 0%, #000d2b 100%);
    color: #e0e0e0;
    padding: 80px 0 0;
    font-family: var(--font-body);
}

.site-footer-inner {
    margin-bottom: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 40px;
}

.footer-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary); /* Red Accent */
}

.footer-desc {
    line-height: 1.8;
    color: #b0b0b0;
    margin-top: 20px;
    font-size: 0.95rem;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
    /* filter: brightness(0) invert(1); */ /* Commented out as it causes solid white rectangle on non-transparent logos */
}

/* Footer Navigation & Lists */
.footer-links-list, .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li, .contact-list li {
    margin-bottom: 12px;
}

.footer-links-list a, .contact-list a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links-list a:hover, .contact-list a:hover {
    color: #fff;
    transform: translateX(5px);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #b0b0b0;
}

.contact-list i {
    color: var(--secondary);
    margin-top: 4px;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b0b0b0;
    text-decoration: none;
    transition: 0.3s;
}

.social-icon i {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    font-size: 1.1rem;
}

.social-icon:hover i {
    background: var(--secondary);
    color: #fff;
    transform: scale(1.1);
}

.social-icon:hover span {
    color: #fff;
}

/* Footer Bottom Bar */
.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
}

.footer-bottom-links {
    display: flex;
    gap: 15px;
}

.footer-bottom-links a {
    color: #888;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px 30px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 60px 0 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-col {
        text-align: center;
    }
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .contact-list li {
        justify-content: center;
    }
    .social-links {
        align-items: center;
    }
}

/* --- Premium Page Banner Header & Layout --- */
.page-banner-header {
    background: linear-gradient(135deg, rgba(0, 26, 114, 0.05) 0%, rgba(211, 47, 47, 0.05) 100%);
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-banner-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(211,47,47,0.02) 0%, transparent 60%);
    pointer-events: none;
}

.page-banner-title {
    font-size: 3.2rem;
    color: var(--primary);
    margin: 0 0 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.page-banner-breadcrumbs {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-banner-breadcrumbs a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-banner-breadcrumbs a:hover {
    color: var(--primary);
}

.default-page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 6rem;
}

/* Submenu / Current Menu Item Styles */
.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_item > a {
    color: var(--secondary) !important;
    font-weight: 700;
}

.main-navigation ul ul li.current-menu-item > a,
.main-navigation ul ul li.current_page_item > a {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    border-left: 3px solid var(--secondary);
    font-weight: 600;
}

/* ============================================
   PREMIUM TEAM GRID & CARDS
   ============================================ */
.premium-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 2rem 0 4rem;
}

.premium-team-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 26, 114, 0.12);
}

.team-card-inner {
    padding: 2rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Photo container */
.team-image-container {
    width: 150px;
    height: 170px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 3px solid var(--border);
    background: var(--bg-light);
    flex-shrink: 0;
}

.team-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.team-profile-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8eaf0 100%);
}

.team-profile-fallback .dashicons {
    font-size: 4rem;
    width: auto;
    height: auto;
    color: var(--text-muted);
}

/* Name */
.team-member-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.4rem;
    font-family: var(--font-heading);
    line-height: 1.3;
}

/* Role / Designation */
.team-member-role {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: capitalize;
    margin-bottom: 0.75rem;
    letter-spacing: 0.3px;
}

/* Email */
.team-member-email {
    font-size: 0.82rem;
    color: var(--secondary);
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.team-member-email:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .premium-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .premium-team-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   GALLERY ARCHIVE — Album Cards
   ============================================ */
.gallery-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0 4rem;
}

.gallery-album-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,26,114,0.12);
}

.gallery-album-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gallery-album-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-light);
}

.gallery-album-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-album-card:hover .gallery-album-thumb img {
    transform: scale(1.06);
}

.gallery-album-no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light), #e8eaf0);
}

.gallery-album-no-thumb .dashicons {
    font-size: 3.5rem;
    width: auto;
    height: auto;
    color: var(--text-muted);
}

.gallery-album-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 26, 114, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-album-card:hover .gallery-album-overlay {
    opacity: 1;
}

.gallery-view-btn {
    background: #fff;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.55rem 1.4rem;
    border-radius: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.gallery-album-info {
    padding: 1rem 1.2rem 1.2rem;
}

.gallery-album-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.35rem;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.gallery-album-count {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ============================================
   SINGLE GALLERY — Photo Grid
   ============================================ */
.single-gallery-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.single-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.gallery-lightbox-item {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
}

.gallery-photo-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-lightbox-item:hover .gallery-photo-wrap img {
    transform: scale(1.08);
}

.gallery-photo-zoom {
    position: absolute;
    inset: 0;
    background: rgba(0, 26, 114, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-lightbox-item:hover .gallery-photo-zoom {
    opacity: 1;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.rupep-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    cursor: zoom-out;
}

.lightbox-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 95vw;
    max-height: 95vh;
}

.lightbox-img-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 85vw;
    max-height: 90vh;
}

.lightbox-main-img {
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: block;
}

.lightbox-caption {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    margin: 0.75rem 0 0;
    text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox-close {
    position: absolute;
    top: -56px;
    right: 0;
    font-size: 1.8rem;
    width: 44px;
    height: 44px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 1024px) {
    .gallery-archive-grid { grid-template-columns: repeat(2, 1fr); }
    .single-gallery-grid  { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .gallery-archive-grid { grid-template-columns: 1fr; }
    .single-gallery-grid  { grid-template-columns: repeat(2, 1fr); }
    .lightbox-prev, .lightbox-next { width: 36px; height: 36px; font-size: 1rem; }
}

/* ============================================
   DONATE PAGE
   ============================================ */

/* Intro text strip */
.donate-intro {
	padding: 2.5rem 0 2rem;
	text-align: center;
	background: #fff;
	border-bottom: 1px solid var(--border);
}

.donate-intro-text {
	max-width: 820px;
	margin: 0 auto;
	font-size: 1rem;
	color: var(--secondary);
	font-weight: 500;
	line-height: 1.8;
}

/* ── Hero Section ── */
.donate-hero-section {
	position: relative;
	padding: 5rem 0;
	background: url('') center center / cover no-repeat;
	background-color: #1a1a2e;
	overflow: hidden;
}

.donate-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0,10,50,0.88) 0%, rgba(0,20,80,0.80) 100%);
}

.donate-hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: start;
}

/* FAQ Card */
.donate-faq-card {
	background: #fff;
	border-radius: 14px;
	padding: 2rem 2rem 1.5rem;
	box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

.donate-faq-title {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--secondary);
	margin: 0 0 0.75rem;
	font-family: var(--font-heading);
}

.donate-faq-divider {
	height: 2px;
	background: var(--border);
	margin-bottom: 1.25rem;
}

/* Individual FAQ item */
.donate-faq-item {
	border-bottom: 1px solid var(--border);
}

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

.donate-faq-question {
	width: 100%;
	background: none;
	border: none;
	padding: 0.9rem 0;
	text-align: left;
	cursor: pointer;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--primary);
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	line-height: 1.4;
	font-family: inherit;
	transition: color 0.2s ease;
}

.donate-faq-question:hover {
	color: var(--secondary);
}

.faq-icon {
	flex-shrink: 0;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--secondary);
	margin-top: 1px;
	width: 16px;
	text-align: center;
}

.donate-faq-answer {
	padding: 0.25rem 0 1rem 1.5rem;
	background: #fff5f5;
	border-left: 3px solid var(--secondary);
	border-radius: 0 6px 6px 0;
	margin-bottom: 0.5rem;
}

.donate-faq-answer p {
	margin: 0;
	font-size: 0.9rem;
	color: #555;
	line-height: 1.7;
	padding: 0.6rem 0.75rem;
}

/* Bank Details Card */
.donate-bank-card {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.bank-details-block,
.qr-block {
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 12px;
	padding: 1.75rem 2rem;
	backdrop-filter: blur(6px);
}

.bank-section-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 0.6rem;
	font-family: var(--font-heading);
}

.bank-section-divider {
	height: 2px;
	width: 45px;
	background: var(--secondary);
	margin-bottom: 1.25rem;
	border-radius: 2px;
}

.bank-detail-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.bank-detail-list li {
	font-size: 0.95rem;
	color: rgba(255,255,255,0.9);
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.bank-label {
	font-weight: 600;
	font-size: 0.8rem;
	color: rgba(255,255,255,0.6);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.bank-value {
	font-size: 0.97rem;
	color: #fff;
	font-weight: 500;
}

/* QR Code visual */
.qr-placeholder {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
}

.qr-code-visual {
	display: grid;
	grid-template-columns: repeat(15, 1fr);
	gap: 2px;
	width: 150px;
	height: 150px;
	padding: 8px;
	background: #fff;
	border-radius: 8px;
}

.qr-dot {
	background: #fff;
	border-radius: 1px;
}

.qr-dot.filled {
	background: #1a1a2e;
}

.qr-hint {
	font-size: 0.8rem;
	color: rgba(255,255,255,0.6);
	margin: 0;
}

/* Uploaded QR image */
.donate-qr-img {
	width: 160px;
	height: 160px;
	object-fit: contain;
	background: #fff;
	border-radius: 10px;
	padding: 8px;
	display: block;
	box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.qr-not-set {
	padding: 1rem;
	background: rgba(255,255,255,0.05);
	border: 1px dashed rgba(255,255,255,0.2);
	border-radius: 8px;
	text-align: center;
	max-width: 200px;
}

/* CTA Strip */
.donate-cta-strip {
	background: var(--primary);
	padding: 2.5rem 0;
}

.donate-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.donate-cta-inner p {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 600;
	color: rgba(255,255,255,0.92);
}

.donate-cta-btn {
	display: inline-block;
	padding: 0.8rem 2rem;
	background: var(--secondary);
	color: #fff;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	transition: background 0.3s ease, transform 0.2s ease;
	white-space: nowrap;
}

.donate-cta-btn:hover {
	background: #b71c1c;
	transform: translateY(-2px);
	color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
	.donate-hero-inner {
		grid-template-columns: 1fr;
	}

	.donate-cta-inner {
		flex-direction: column;
		text-align: center;
	}

	.donate-faq-card {
		padding: 1.5rem;
	}

	.bank-details-block,
	.qr-block {
		padding: 1.25rem;
	}
}

/* ============================================
   CONTACT US PAGE
   ============================================ */

.contact-banner {
	background: url('https://images.unsplash.com/photo-1534536281715-e28d76689b4d?auto=format&fit=crop&q=80&w=1920') center center / cover no-repeat !important;
	background-color: #1a1a2e !important;
}

.contact-section-wrapper {
	padding: 4.5rem 0;
	background: #f8f9fc;
}

.contact-main-inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 3rem;
	align-items: start;
}

/* Contact Form Card */
.contact-form-card {
	background: #ffffff;
	border-radius: 12px;
	padding: 2.5rem 3rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-card-title {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--primary);
	text-align: center;
	margin-bottom: 2rem;
	font-family: var(--font-heading);
}

.premium-contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.form-group-wrapper {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.form-input-label {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--primary);
}

.form-input-control {
	width: 100%;
	height: 48px;
	padding: 0.75rem 1rem;
	font-size: 0.95rem;
	border: 1px solid #dcdcdc;
	border-radius: 6px;
	color: var(--primary);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	font-family: inherit;
}

.form-input-control::placeholder {
	color: #999;
}

.form-input-control:focus {
	outline: none;
	border-color: var(--secondary);
	box-shadow: 0 0 0 3px rgba(183, 28, 28, 0.1);
}

.textarea-control {
	height: auto;
	resize: vertical;
	min-height: 120px;
}

.input-icon-container {
	position: relative;
	display: flex;
	align-items: center;
}

.input-icon-container .form-input-control {
	padding-right: 3rem;
}

.input-field-icon {
	position: absolute;
	right: 1.25rem;
	color: #00bcd4; /* cyan email icon color match */
	font-size: 1.2rem;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.input-field-icon .dashicons {
	width: auto;
	height: auto;
	font-size: 1.25rem;
}

.contact-submit-btn {
	width: 100%;
	height: 48px;
	background: var(--primary);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
	margin-top: 0.75rem;
}

.contact-submit-btn:hover {
	background: var(--secondary);
}

.contact-submit-btn:active {
	transform: scale(0.99);
}

/* Right Side: Details Cards */
.contact-info-cards {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.info-block-card {
	background: #ffffff;
	border-radius: 12px;
	padding: 1.75rem 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	border: 1px solid rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease;
}

.info-block-card:hover {
	transform: translateY(-4px);
}

.info-block-icon {
	font-size: 2.2rem;
	margin-bottom: 0.75rem;
	width: auto;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.info-block-icon .dashicons {
	width: auto;
	height: auto;
	font-size: 2.2rem;
}

.address-icon {
	color: #b71c1c; /* Pin Location (red) */
}

.phone-icon {
	color: #b71c1c; /* Phone (red) */
}

.email-icon {
	color: #b71c1c; /* Email (red) */
}

.info-block-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #b71c1c; /* Red text label match */
	margin: 0 0 0.5rem 0;
	font-family: var(--font-heading);
}

.info-block-value {
	font-size: 0.95rem;
	font-weight: 500;
	color: #444;
	margin: 0;
}

/* Small Social Media Icons Aligned Bottom-Left inside the Card */
.contact-form-socials {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid #eeeeee;
}

.form-social-link {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 1.1rem;
	transition: background-color 0.2s ease, transform 0.2s ease;
	text-decoration: none;
}

.form-social-link .dashicons {
	width: auto;
	height: auto;
	font-size: 1.1rem;
}

.form-social-link.fb {
	background-color: #3b5998;
}

.form-social-link.tw {
	background-color: #1da1f2;
}

.form-social-link.yt {
	background-color: #ff0000;
}

.form-social-link:hover {
	transform: translateY(-2px);
	filter: brightness(1.1);
}

/* AJAX Response Notification Banners */
.contact-response-banner {
	padding: 1rem 1.25rem;
	border-radius: 6px;
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.4;
	display: flex;
	align-items: center;
	animation: slideDownIn 0.3s ease forwards;
}

.contact-response-banner.success {
	background-color: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #c8e6c9;
}

.contact-response-banner.error {
	background-color: #ffebee;
	color: #c62828;
	border: 1px solid #ffcdd2;
}

/* Spinner Rotate Animation */
.contact-submit-btn .dashicons.spin {
	animation: btnSpinnerRotate 1s linear infinite;
	font-size: 1.2rem;
	width: auto;
	height: auto;
	display: inline-block;
}

@keyframes btnSpinnerRotate {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

@keyframes slideDownIn {
	0% { opacity: 0; transform: translateY(-10px); }
	100% { opacity: 1; transform: translateY(0); }
}

/* Google Map Section */
.contact-map-section {
	padding: 4.5rem 0 0 0;
	background: #ffffff;
}

.map-section-title {
	font-size: 2.1rem;
	font-weight: 700;
	color: #1a1a2e;
	text-align: center;
	margin-bottom: 2.5rem;
	font-family: var(--font-heading);
}

.map-iframe-container {
	width: 100%;
	line-height: 0;
	border-top: 1px solid #eaeaea;
}

.map-iframe-container iframe {
	border: none;
	width: 100%;
	height: 480px;
}

/* Responsive Styles */
@media (max-width: 992px) {
	.contact-main-inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	.social-strip-inner {
		gap: 2rem;
	}
}

@media (max-width: 768px) {
	.contact-form-card {
		padding: 2rem;
	}
	
	.map-iframe-container iframe {
		height: 350px;
	}
}

