/* ==========================================================================
   Banglar Bagh Foundation — Components CSS v3 (Modern)
   ========================================================================== */

/* ---------- 1. BASE ---------- */
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif; }

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #0A3B2E; border-radius: 4px; }

/* ---------- 2. NAVIGATION ---------- */
.mobile-menu-open { overflow: hidden; }

.mobile-overlay {
    transition: transform 0.3s cubic-bezier(0.2,0.9,0.4,1), opacity 0.2s ease;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}
.mobile-overlay.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* Modern glassmorphism navbar */
#navbar {
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-link-item {
    position: relative;
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    text-transform: uppercase;
}
.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E9B35F;
    border-radius: 2px;
    transition: width 0.25s ease;
}
.nav-link-item:hover { color: #0A3B2E; }
.nav-link-item:hover::after { width: 100%; }

/* Dropdown polish */
.dropdown-menu {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.15), 0 18px 36px -18px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(10px);
}
.group:hover .dropdown-menu {
    transform: translateY(0);
}

/* ---------- 3. HERO ---------- */
.hero-gradient {
    background: linear-gradient(135deg, rgba(10,59,46,0.7) 0%, rgba(0,0,0,0.55) 100%);
}
.hero-gradient-deep {
    background: linear-gradient(160deg, rgba(0,0,0,0.6) 0%, rgba(15,23,42,0.7) 100%);
}

.hero-slider-wrapper { position: relative; min-height: 100vh; }
.hero-slide {
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
}

.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255,255,255,0.22);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    cursor: pointer;
    z-index: 30;
    transition: all 0.25s ease;
}
.hero-slider-nav:hover {
    transform: translateY(-50%) scale(1.08);
    background: rgba(255,255,255,0.28);
    border-color: rgba(255,255,255,0.4);
}
.hero-slider-prev { left: 24px; }
.hero-slider-next { right: 24px; }

.hero-slider-dots { display: flex; gap: 10px; }
.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 1.5px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.25s ease;
}
.hero-slider-dot.active {
    background: #E9B35F;
    border-color: #E9B35F;
    transform: scale(1.3);
    width: 28px;
    border-radius: 5px;
}

/* ---------- 4. PAGE HERO (inner pages) ---------- */
.page-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,59,46,0.88) 0%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
}
.page-hero-content { position: relative; z-index: 2; }

/* Animated hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-accent, #E9B35F);
    box-shadow: 0 0 10px var(--c-accent, #E9B35F);
    animation: pulse 2s infinite;
}

/* ---------- 5. BUTTONS ---------- */
.btn-accent-gradient {
    background: linear-gradient(135deg, var(--c-accent, #E9B35F), #d4973d);
    box-shadow: 0 8px 25px -5px rgba(233, 179, 95, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-accent-gradient:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px -8px rgba(233, 179, 95, 0.5);
}

.btn-primary-gradient {
    background: linear-gradient(135deg, #0A3B2E, #2D6A4F);
    color: #fff;
    transition: all 0.25s ease;
}
.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10,59,46,0.3);
    background: linear-gradient(135deg, #2D6A4F, #0A3B2E);
}

/* ---------- 6. CARDS ---------- */
.project-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    border: 1px solid rgba(0,0,0,0.05);
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.project-card .card-img { overflow: hidden; }
.project-card .card-img img { transition: transform 0.6s ease; }
.project-card:hover .card-img img { transform: scale(1.06); }

/* Gradient border on cards */
.gradient-border {
    position: relative;
}
.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, rgba(233,179,95,0.4), rgba(10,59,46,0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Team card */
.team-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.team-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,59,46,0.85) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.team-card:hover .overlay { opacity: 1; }

/* Stats counter */
.stat-number-wrap {
    position: relative;
    display: inline-block;
}

/* ---------- 7. SECTIONS ---------- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #E9B35F;
    margin-bottom: 10px;
}
.section-label::before {
    content: '';
    width: 28px;
    height: 2px;
    background: #E9B35F;
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #0A3B2E;
    line-height: 1.2;
}

/* Wave divider */
.wave-divider {
    overflow: hidden;
    line-height: 0;
}
.wave-divider svg { display: block; }

/* Impact / stats strip */
.impact-strip {
    background: linear-gradient(135deg, #0A3B2E 0%, #1a5c47 50%, #2D6A4F 100%);
    position: relative;
    overflow: hidden;
}
.impact-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='30' fill='rgba(255,255,255,0.025)'/%3E%3C/svg%3E") repeat;
    opacity: 0.4;
}

/* ---------- 8. DONATION FORM ---------- */
.donate-amount-btn {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 8px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    color: #1e293b;
}
.donate-amount-btn:hover { border-color: #E9B35F; background: #fffbf0; }
.donate-amount-btn.selected { border-color: #0A3B2E; background: #0A3B2E; color: #fff; }

.payment-method-btn {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}
.payment-method-btn:hover { border-color: #E9B35F; }
.payment-method-btn.selected { border-color: #0A3B2E; background: #f0fdf4; color: #0A3B2E; }

/* ---------- 9. TESTIMONIALS ---------- */
.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: #E9B35F;
    opacity: 0.12;
    line-height: 1;
}

/* ---------- 10. PROGRESS BARS ---------- */
.progress-bar-wrap {
    height: 10px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #E9B35F, #d4973d);
    border-radius: 999px;
    transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- 11. NEWSLETTER / SUBSCRIBE ---------- */
.newsletter-wrap {
    background: linear-gradient(135deg, #0A3B2E, #2D6A4F);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}
.newsletter-wrap::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    background: rgba(233,179,95,0.1);
    border-radius: 50%;
    pointer-events: none;
}

/* ---------- 12. ANIMATIONS ---------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes countUp {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}

.animate-fade-up  { animation: fadeUp 0.7s ease both; }
.animate-float    { animation: float 4s ease-in-out infinite; }
.animate-pulse-slow { animation: pulse 3s ease-in-out infinite; }

/* Staggered children */
.stagger > *:nth-child(1) { animation-delay: 0s; }
.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.2s; }
.stagger > *:nth-child(4) { animation-delay: 0.3s; }

/* ---------- 13. UTILITIES ---------- */
.hover-scale { transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); }
.hover-scale:hover { transform: translateY(-4px); }

.glass {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
}

.text-gradient {
    background: linear-gradient(135deg, #0A3B2E, #2D6A4F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-gold {
    background: linear-gradient(135deg, #E9B35F, #d4973d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Breadcrumb */
.breadcrumb-separator::before { content: '›'; margin: 0 8px; opacity: 0.4; }

/* Form inputs (public) */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #1e293b;
    background: #fff;
    transition: all 0.2s ease;
    outline: none;
}
.form-input:focus {
    border-color: #0A3B2E;
    box-shadow: 0 0 0 3px rgba(10,59,46,0.08);
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Cookie notice */
#cookieNotice {
    backdrop-filter: blur(12px);
    background: rgba(15,23,42,0.95) !important;
}

/* ---------- 14. FOOTER ---------- */
.footer-link {
    color: rgba(255,255,255,0.55);
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
}
.footer-link:hover { color: #E9B35F; }
.footer-link::before {
    content: '→';
    font-size: 11px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
}
.footer-link:hover::before { opacity: 1; transform: translateX(0); }

/* Social icons */
.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.08);
}
.social-btn:hover {
    background: #E9B35F;
    color: #fff;
    border-color: #E9B35F;
    transform: translateY(-2px);
}

/* ---------- 15. RESPONSIVE ---------- */
@media (max-width: 768px) {
    .page-hero { min-height: 320px; }
    .newsletter-wrap { padding: 28px 20px; }
    .hero-slider-nav { width: 40px; height: 40px; font-size: 13px; }
}
@media (max-width: 480px) {
    .hero-slider-prev { left: 12px; }
    .hero-slider-next { right: 12px; }
}

/* ========== PAGE HERO DEFAULT BACKGROUND ========== */
.page-hero {
    background: linear-gradient(135deg, #0A3B2E 0%, #1a5c47 60%, #2D6A4F 100%);
}
/* Remove the ::before overlay if page-hero already has its own gradient */
/* If there's a bg-image, the ::before overlay applies on top */
.page-hero.has-image::before {
    background: linear-gradient(135deg, rgba(10,59,46,0.82) 0%, rgba(0,0,0,0.6) 100%);
}

/* Remove undefined blob classes */
.hero-blob-right, .hero-blob-left { display: none; }

/* Section heading center alignment shortcut */
.section-label.justify-center { justify-content: center; }

/* ========== TEAM CARDS MODERN ========== */
.team-card {
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

/* ========== FAQ ACCORDION ========== */
/* ========== FAQ MODERN ACCORDION ========== */
.faq-item {
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

/* Active State */
.faq-item.open .faq-question {
    color: #0A3B2E;
}

.faq-item.open .faq-icon {
    background: #0A3B2E;
    color: #fff;
    transform: rotate(180deg);
}

/* Smooth Dropdown */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: #475569;
    line-height: 1.7;
    font-size: 14.5px;
    transition: all 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px; /* adjust if needed */
    padding-bottom: 20px;
}

/* Optional animation */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-item.open .faq-answer p {
    animation: slideDown 0.3s ease;
}

/* ========== NEWS CARDS ========== */
.news-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.09); }
.news-card .news-img { overflow: hidden; }
.news-card .news-img img { transition: transform 0.5s ease; }
.news-card:hover .news-img img { transform: scale(1.05); }

/* ========== STORE / PRODUCT CARDS ========== */
.product-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.09); }

/* ========== INVOLVED PAGE CARDS ========== */
.involve-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.involve-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.09); }
.involve-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

/* ========== PARTNERSHIP CARDS ========== */
.partner-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s ease;
}
.partner-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }

/* ========== PAGE BREADCRUMB ========== */
.breadcrumb-bar {
    background: rgba(255,255,255,0.08);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 10px 0;
}
.breadcrumb-item {
    font-size: 12.5px;
    color: rgba(255,255,255,0.55);
}
.breadcrumb-item a { color: rgba(255,255,255,0.65); text-decoration: none; }
.breadcrumb-item a:hover { color: #E9B35F; }
.breadcrumb-item.current { color: rgba(255,255,255,0.85); }

/* ========== ADMIN LOGIN PAGE ========== */
.admin-login-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.18);
    max-width: 420px;
    width: 100%;
}

/* ========== RESPONSIVE UTILITIES ========== */
@media (max-width: 640px) {
    .page-hero { min-height: 340px; }
    .section-title { font-size: 1.6rem; }
    .newsletter-wrap { padding: 28px 20px; }
}

/* ---------- 16. ADMIN: OTHER PAGE BUILDER ---------- */
.opb-top {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.opb-stat {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    padding: 16px 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.opb-stat-k { font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.opb-stat-v { font-size: 28px; font-weight: 900; color: #0A3B2E; line-height: 1; }

.opb-nav-wrap {
    margin-bottom: 24px;
    position: relative;
    z-index: 100;
}
.opb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.opb-nav-group {
    position: relative;
    flex-shrink: 0;
}
.opb-nav-group-trigger {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.opb-nav-group:hover .opb-nav-group-trigger,
.opb-nav-group.mobile-open .opb-nav-group-trigger {
    border-color: #0A3B2E;
    color: #0A3B2E;
    background: #f0fdf4;
}
.opb-nav-group.active .opb-nav-group-trigger {
    background: #0A3B2E;
    color: #fff;
    border-color: #0A3B2E;
}

.opb-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    width: 240px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px;
}

/* Desktop Hover Styles */
@media (min-width: 768px) {
    .opb-nav-group:hover .opb-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness & Accordion Logic */
@media (max-width: 767px) {
    .opb-nav {
        flex-direction: column;
        align-items: stretch;
    }
    .opb-nav-group-trigger {
        width: 100%;
        justify-content: space-between;
    }
    .opb-dropdown {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        background: #f8fafc;
        margin-top: 8px;
        border-style: dashed;
        padding: 4px;
    }
    .opb-nav-group.mobile-open .opb-dropdown {
        display: block;
    }
}

/* Position fixes for wide screens but limited container */
@media (min-width: 768px) and (max-width: 1100px) {
    .opb-nav-group:last-child .opb-dropdown {
        left: auto;
        right: 0;
    }
}

.opb-nav-item {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: all 0.2s;
}
.opb-nav-item i { width: 16px; text-align: center; color: #94a3b8; }
.opb-nav-item:hover { background: #f1f5f9; color: #0A3B2E; }
.opb-nav-item:hover i { color: #0A3B2E; }

.opb-nav-item.active {
    background: #f0fdf4;
    color: #0A3B2E;
    font-weight: 700;
}
.opb-nav-item.active i { color: #0A3B2E; }

.opb-nav-item .badge {
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
}
.opb-nav-item.active .badge { background: #0A3B2E; color: #fff; }

.opb-panel { display: none; }
.opb-panel.active { display: block; }

.opb-section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.opb-section-card {
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.opb-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}
.opb-section-title { 
    font-size: 15px; 
    font-weight: 900; 
    color: #0f172a; 
    display: flex;
    align-items: center;
    gap: 10px;
}
.opb-section-title i { color: #0A3B2E; }

.opb-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    flex: 1;
}
.opb-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.opb-label-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.opb-field .cms-label {
    font-size: 12px;
    font-weight: 800;
    color: #334155;
    margin: 0;
}
.opb-field .cms-input, 
.opb-field .cms-textarea {
    border: 2px solid #f1f5f9;
    border-radius: 14px;
    background: #f8fafc;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    transition: all 0.2s;
}
.opb-field .cms-input:focus, 
.opb-field .cms-textarea:focus {
    border-color: #0A3B2E;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(10, 59, 46, 0.05);
}

.opb-meta {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 4px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.opb-meta span { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; }

/* Pills UI */
.opb-pills-list { display: flex; flex-direction: column; gap: 8px; }
.opb-pill-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.opb-pill-num {
    width: 28px;
    height: 28px;
    background: #0A3B2E;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.opb-pill-remove {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 10px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
}
.opb-pill-remove:hover { background: #fecaca; }
.opb-pill-add {
    width: 100%;
    margin-top: 8px;
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    padding: 10px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.opb-pill-add:hover { background: #e2e8f0; color: #0f172a; border-color: #94a3b8; }

.opb-icon-edit-btn {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.opb-icon-edit-btn:hover { background: #e2e8f0; color: #0f172a; }

.opb-icon-input-wrap {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 12px;
    margin-top: 10px;
    display: none;
}
.opb-icon-input-wrap.active { display: block; }

@media (max-width: 1024px) {
    .opb-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .opb-top { grid-template-columns: 1fr; }
    .opb-section-grid { grid-template-columns: 1fr; }
}

/* ---------- 17. DONATE PAGE REDESIGN ---------- */
.donate-hero-modern {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    overflow: hidden;
}

.donate-hero-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 59, 46, 0.9) 0%, rgba(10, 59, 46, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.donate-hero-modern .container {
    position: relative;
    z-index: 2;
}

.donation-card-modern {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 40px;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.15);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.payment-option {
    position: relative;
    padding: 16px;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: #fff;
}

.payment-option:hover {
    border-color: #E9B35F;
    background: #fffaf0;
    transform: translateY(-2px);
}

.payment-option.active {
    border-color: #0A3B2E;
    background: #f0fdf4;
    box-shadow: 0 4px 12px rgba(10, 59, 46, 0.08);
}

.payment-option.active::after {
    content: '✓';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #0A3B2E;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.impact-badge {
    padding: 3px 12px;
    background: rgba(233, 179, 95, 0.15);
    color: #E9B35F;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trust-shield {
    color: #059669;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
}


/* 
=========================================
STORE COMPONENTS (Base Styles Only)
=========================================
*/

.store-img-zoom {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-pro-card:hover .store-img-zoom {
    transform: scale(1.08);
}

.store-card-shadow {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.store-card-shadow:hover {
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.12);
}






