/* --------------------------------------------------
   1. DESIGN TOKENS
-------------------------------------------------- */
:root {
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;

    --text-light: #e6e6e6;
    --text-dark: #1b1b20;

    --bg-dark: #32323c;
    --bg-card: rgba(255, 255, 255, 0.08);

    --border-light: #e6e6e6;

    --shadow-strong: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-soft: 0 4px 12px rgba(0,0,0,0.08);


    /* Cultural background tones */
    --bg-sand: #faf7f2;      /* warm sand */
    --bg-earth: #f5efe6;     /* light earth */
    --bg-cotton: #f3f0e8;    /* natural cotton */


    /* Ambient (soft, warm) */
    --shadow-ambient: 0 2px 6px rgba(0, 0, 0, 0.06);

    /* Directional (subtle depth) */
    --shadow-directional: 0 4px 12px rgba(0, 0, 0, 0.08);

    /* Elevated card (premium NGO style) */
    --shadow-card: 
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 4px 10px rgba(0, 0, 0, 0.06);

    /* Floating popup (your membership box) */
    --shadow-popup:
        0 6px 20px rgba(0, 0, 0, 0.12),
        0 12px 32px rgba(0, 0, 0, 0.08);


}

/* --------------------------------------------------
   2. RESET & GLOBAL
-------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
body {
    background: linear-gradient(180deg, #faf7f2 0%, #f0e4d6 40%, #e3d2b8 100%);
    font-family: "Montserrat", sans-serif;
    padding-top: 60px;
    color: var(--text-dark);
}

*/

body {
    background: #f7f7f7;
    font-family: "Montserrat", sans-serif;
    padding-top: 60px;
    color: var(--text-dark);
}


body {
    background: linear-gradient(
        180deg,
        var(--bg-sand) 0%,
        var(--bg-earth) 40%,
        var(--bg-cotton) 100%
    );
}


p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    hyphens: auto;
}

/* --------------------------------------------------
   3. NAVIGATION
-------------------------------------------------- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--space-sm) 0;
    z-index: 1000;
    background-color: rgba(50, 50, 60, 0.95);
    box-shadow: var(--shadow-strong);
}


.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}


.nav-links {
    display: flex;
    gap: var(--space-sm);
    list-style: none;
}

nav a {
    font-size: 0.875rem;
    color: var(--text-light);
    text-decoration: none;
    padding-bottom: 0.3rem;
    transition: color 0.3s, border-bottom 0.3s;
}

nav a:hover {
    color: #1b1b20;
    border-bottom: 2px solid var(--border-light);
}

/* Mobile nav */
.burger {
    display: none;
    font-size: 1.75rem;
    color: #000;
    cursor: pointer;
    padding: var(--space-xs);
}

@media (max-width: 600px) {

    /* Show burger */
    .burger {
        display: block !important;
        position: absolute;
        left: 20px;
        top: 10px;
        font-size: 28px;
        cursor: pointer;
        z-index: 9999;
    }

    /* Mobile menu container */
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;   /* LEFT ALIGN */
        background: #000;
        width: 100%;
        padding: 20px;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 999;
        gap: 10px;
    }

    /* When active, show menu */
    .nav-links.active {
        display: flex;
    }

    /* Make links full width */
    .nav-links a {
        width: 100%;
        text-align: left;          /* LEFT ALIGN TEXT */
        padding: 10px 0;
        color: #fff;
    }
}



/* Dropdown */
.nav-links li {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #222;
    border: 1px solid #444;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 180px;
    z-index: 9999;
    box-shadow: var(--shadow-soft);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: #fff;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background: #555;
}



/* --------------------------------------------------
   4. HERO / HEADER
-------------------------------------------------- */

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;

    width: 100vw;
    height: 100vh;

    padding: var(--space-lg);
    padding-top: 60px;

    background-image: url(/img/peckim.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    position: relative;
}

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 40px;
    text-align: left;
}


.container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.25); /* softened overlay */
}


.container::before {
    z-index: 1;
}


.header-content {
    margin-top: var(--space-xl);
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px; /* spacing between elements */
}

.header-content {
    z-index: 2;
}


.header-content h1,
.header-content h2 {
    color: var(--text-light);
}

.header-content h2 {
    font-size: 1rem;
    opacity: 0.75;
    margin-top: -10px;
}

.welcome-main {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
}

.welcome-subtitle {
    font-size: 0.6rem;
    opacity: 0.65;
    font-style: italic;
    margin-top: -6px;
}

.button-container {
    margin-top: 28px;
    z-index: 1;
}

.shrink-border {
    position: relative;
    padding-right: 48px;
    background-image: url('/assets/icons/enter-icon.png');
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 24px;
}


.join-link {
    color: #2b6289;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.enter-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}



/* --------------------------------------------------
  SUPPORT SECTION
-------------------------------------------------- */

.support-section {
    margin-top: 40px;
    padding: 25px;
    background: #f7f4ef;
    border: 2px solid #d4cfc7;
}

.support-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.support-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.support-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

.support-btn:hover {
    background: #1a242f;
}



.ourpurpose-section {
    width: 600px;      /* or any width you prefer */
    max-width: 100%;
}



.ourpurpose-section {
    text-align: justify;
}



.support-section b {
    font-size: 10px;
    line-height: 1.6;
    color: #2c3e50;
}


/* Mbaandi block css */



.welcome-block {
    text-align: center;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.welcome-block.ready {
    opacity: 1;
    transform: translateY(0);
}

.welcome-main {
    font-size: 28px;
    font-weight: 600;
    color: white;
    background:
        linear-gradient(
            135deg,
            rgba(120, 140, 170, 0.10),
            rgba(255, 255, 255, 0.02)
        ),
        rgba(0,0,0,0.45);
    padding: 6px 14px;
    border-radius: 8px;
    display: inline-block;
    backdrop-filter: blur(6px);
    cursor: default;
}

.welcome-subtitle {
    margin-top: 6px;
    font-size: 16px;
    color: #eaeaea;
    opacity: 0.85;
}





/* WEATHER APP CSS */


/* Toggle button */
.weather-toggle {
    display: none !important;
    position: fixed;
    top: 90px;
    right: 20px;
    background: rgba(0,0,0,0.45);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    backdrop-filter: blur(4px);
    z-index: 9999;
}

/* Panel */
.weather-panel {
    position: fixed;
    top: 100px;
    right: 20px;
    background:
    linear-gradient(
        135deg,
        rgba(180, 210, 255, 0.08),  /* cool daylight tint */
        rgba(255, 255, 255, 0.03)   /* soft haze */
    ),
    rgba(0,0,0,0.45);             /* your original background */
              

    /* Small improvement */
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
    backdrop-filter: blur(4px);

    z-index: 10000;
    width: 70px;
    padding: 0;
    border-radius: 8px;
}


.weather-panel {
    transition: box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.weather-panel.open {
    box-shadow: 0 8px 22px rgba(0,0,0,0.45);
    backdrop-filter: blur(12px);
}


/* Visitor weather */
#my-weather-icon {
    width: 32px;
    height: 32px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#my-weather-icon.loaded {
    opacity: 1;
}

#my-weather-text {
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
}


/* Rows */
.weather-row {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 12px;
    margin-bottom: 10px;
}

.weather-row img {
    width: 22px;
    height: 22px;
}

/* Slide-down animation */
.weather-extra {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.weather-panel.open .weather-extra {
    max-height: 500px;
}




.city-block {
    margin-bottom: 6px;
}

.city-summary {
    cursor: pointer;
}

/* Individual card matching visitor style */
.city-card {
    background:
        linear-gradient(
            135deg,
            rgba(180, 210, 255, 0.08),
            rgba(255, 255, 255, 0.03)
        ),
        rgba(0,0,0,0.45);

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;

    padding: 10px 12px;
    margin-left: 28px;
    margin-top: 6px;

    max-height: 0;
    overflow: hidden;

    backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);

    transition: max-height 0.35s ease, opacity 0.35s ease;
    opacity: 0;
}

.city-card.open {
    max-height: 90px;
    opacity: 1;
}

.simple-card-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.95);
}

.simple-card-row img {
    width: 26px;
    height: 26px;
}



/* Divider between cities */
.city-block {
    margin-bottom: 4px;          /* reduced */
    padding-bottom: 2px;         /* reduced */
    border-bottom: 1px solid rgba(255,255,255,0.06); /* softer */
}

/* Arrow */
.arrow {
    display: inline-block;
    transition: transform 0.25s ease;
    font-size: 9px;              /* smaller */
    opacity: 0.75;
    margin-right: 3px;           /* tighter */
}

/* Rotate arrow when open */
.city-summary.open .arrow {
    transform: rotate(180deg);
}

/* Compact card */
.city-card {
    background:
        linear-gradient(
            135deg,
            rgba(180, 210, 255, 0.06),
            rgba(255, 255, 255, 0.02)
        ),
        rgba(0,0,0,0.40);

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 6px;          /* slightly smaller radius */

    padding: 6px 8px;            /* reduced padding */
    margin-left: 24px;           /* slightly tighter indent */
    margin-top: 3px;             /* reduced top spacing */

    max-height: 0;
    overflow: hidden;

    backdrop-filter: blur(8px);  /* slightly lighter blur */
    box-shadow: 0 4px 12px rgba(0,0,0,0.30); /* smaller shadow */

    opacity: 0;
    transform: translateY(-3px);
    transition: max-height 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}

.city-card.open {
    max-height: 55px;            /* MUCH more compact */
    opacity: 1;
    transform: translateY(0);
}

/* Compact row */
.simple-card-row {
    display: flex;
    align-items: center;
    gap: 6px;                    /* tighter spacing */
    font-size: 11px;             /* smaller text */
    color: rgba(255,255,255,0.92);
}

.simple-card-row img {
    width: 20px;                 /* smaller icon */
    height: 20px;
}



/* --------------------------------------------------
   5. BUTTONS
-------------------------------------------------- */
button {
    text-transform: uppercase;
    border: none;
    font-size: 0.875rem;
    padding: 0.8rem 2rem;
    border-radius: 0;
    margin: 0 var(--space-xs);
    border: 2px solid transparent;
    cursor: pointer;
}

button:active {
    transform: translate(2px);
}

.shrink-border {
    background-color: transparent;
    color: var(--text-light);
    position: relative;
}

.shrink-border::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid var(--border-light);
    transition: opacity 0.3s, border 0.3s;
}

.shrink-border::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 3px solid #000;
    opacity: 0;
    transform: scale(1.1);
    transition: transform 0.3s, opacity 0.3s;
}

.shrink-border:hover::before {
    opacity: 0;
}

button:hover::after {
    opacity: 1;
    transform: scaleX(1.5) scaleY(1);
    border: 1px solid #fff;
}

.btn-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}



  /* SUPPORT OUR WORK CSS */


.support-section {
    max-width: 100%;
    margin: 30px auto;        /* more breathing room */
    padding: 10px;
    width: 300px;
    background: #f7f7f7;
    border-radius: 6px;
    text-align: left;         /* cleaner for paragraphs */
}

.support-section {
    box-shadow: 0 0px 0px rgba(0,0,0,0.0);
}



.support-section h2 {
    font-size: 14px;
    margin-bottom: 6px;
    color: #2c3e50;
    text-align: center;
}

.support-short {
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* show only 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.support-full {
    display: none;
    font-size: 10px;
    line-height: 1.5;
}


.support-toggle-btn {
    margin-top: 6px;
    background: none;
    border: none;
    color: #2c3e50;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    font-size: 12px;
}

.support-toggle-btn:hover {
    text-decoration: underline;
}

.support-btn {
    display: block;
    width: fit-content;
    margin: 10px auto 0;
    padding: 6px 12px;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 3px;
    font-size: 12px;
}

.support-btn:hover {
    background: #1a242f;
}


/* READ BUTTON CSS */

.read-more-btn,
.support-toggle-btn {
    text-transform: none !important;
}

/* Smooth read-more animation */
.full-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
    transition: max-height 0.45s ease, opacity 0.35s ease;
}

.full-text.visible {
    max-height: 800px;
    opacity: 1;
}



/*  Wrap the two sections together */



.purpose-block {
    flex: 2;
}

.support-block {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}



.support-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s ease-out forwards;
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Hands icon */

.support-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 6px;
    opacity: 0.8;
}


/*Support section matching Join Card style */

.support-section {
    margin: 30px 0 30px auto;
    padding: 10px;
    width: 300px;
    background: #f7f7f7;
    border-radius: 6px;
    box-shadow: 0 0px 0px rgba(0,0,0,0.0);
    text-align: left;
}


@media (max-width: 600px) {
    .support-section {
        margin: 20px 0 0 auto !important;
    }

    .purpose-support-wrapper {
        width: 100% !important;
        margin-left: 0 !important;
        align-items: flex-end;
    }
}





/* --------------------------------------------------
   6. ABOUT PAGE
-------------------------------------------------- */
.two-column-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.two-column-container .column {
    flex: 1.2;
}

.two-column-container img {
    width: 100%;
    max-width: 650px;
    border-radius: 8px;
    object-fit: cover;
}

.about-section {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    line-height: 1.6;
}

.about-section h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2b6289;
}

.about-section h2 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.about-section p {
    font-size: 1rem;
    color: #333;
}

@media (max-width: 600px) {
    .two-column-container {
        flex-direction: column;
        margin: var(--space-md);
    }
}



/* Legend/info-icon CSS 


.info-icon {
    cursor: pointer;
    margin-left: 6px;
    font-size: 14px;
    position: relative;
    display: inline-block;
}

.info-icon::after {
    content: attr(data-info);
    position: absolute;
    left: 50%;
    transform: translateX(-70%);
    bottom: 120%;
    background: #2a2623;
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    width: 180px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 99999;
}

.info-icon.show::after {
    opacity: 1;
}

*/


/* --------------------------------------------------
   7. UNIFIED FORM SYSTEM (CONTACT + JOIN)
-------------------------------------------------- */

/* Layout wrapper */
.page-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact-section {
    background: rgba(255, 255, 255, 0.85);
    padding: 40px 20px; /* ← FIX: reduce horizontal padding */
    border-radius: 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


/* Generic form container (for legacy .contact pages if needed) */
.contact {
    width: 100%;
}

/* Form box */
.contact-box {
    width: 100%;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form group */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative; /* for dropdowns like country autocomplete */
}

.form-group {
    width: 100%;
    margin-bottom: 18px;
}

/* Labels */
.form-group label {
    font-weight: 600;
    color: #222;
}

/* Inputs / Textareas / Selects */
.form-input,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 16px;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s ease;
}

.form-input:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #2a7ae2;
    outline: none;
}

/* Textarea */
textarea.form-input {
    resize: vertical;
}

/* Radio group */
.radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    margin: 0;
}

/* Character counter */
.char-counter {
    text-align: right;
    width: 100%;        /* ← THIS fixes the alignment */
    box-sizing: border-box;
    font-size: 14px;
    color: #444;
}

/* Submit button */
.form-submit,
.send-btn {
    background: #2a7ae2;
    color: #fff;
    padding: 14px 20px;
    border: none;
    border-radius: 0;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
    text-transform: uppercase;
    font-weight: 600;
}

.form-submit:hover,
.send-btn:hover {
    background: #1f5fb5;
}

/* Error / success messages */
.form-errors {
    background: #ffdddd;
    border-left: 4px solid #ff4444;
    padding: 12px;
    margin-bottom: 20px;
}

.form-success {
    background: #ddffdd;
    border-left: 4px solid #44aa44;
    padding: 12px;
    margin-bottom: 20px;
}


.page-container {
    padding: 40px 20px;
}

.contact-section {
    padding: 40px 20px;
}


/* Mobile form adjustments */
@media (max-width: 600px) {
    .contact-section {
        padding: 20px;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}


@media (max-width: 600px) {

    /* Full‑screen container with safe‑area support */
    .contact-section {
        padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
        margin: 0;
        background: #ffffff;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
    }

    /* Sticky title bar */
    .contact-section h2 {
        position: sticky;
        top: 0;
        background: #ffffff;
        padding: 16px 20px;
        margin: 0 0 12px 0;
        font-size: 20px;
        font-weight: 600;
        border-bottom: 1px solid #e5e5e5;
        z-index: 10;
    }

    /* Form container */
    .contact-form {
        flex: 1;
        overflow-y: auto;
        padding: 0 20px 40px;
        background: #ffffff;
        -webkit-overflow-scrolling: touch;
    }

    /* Inputs — iOS friendly */
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px;
        padding: 14px 12px;
        border-radius: 4px;
        border: 1px solid #d0d0d0;
        width: 100%;
        box-sizing: border-box;
    }

    /* Labels */
    .contact-form label {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 6px;
        display: block;
    }

    /* Field spacing */
    .form-group {
        margin-bottom: 18px;
    }

    /* Census note */
    .census-note {
        font-size: 13px;
        background: #f7f7f7;
        padding: 10px 14px;
        border-left: 3px solid #2b6289;
        border-radius: 4px;
        margin: 0 20px 20px;
        opacity: 0.9;
    }

    /* Submit button */
    .contact-form button {
        width: 100%;
        padding: 16px;
        font-size: 17px;
        font-weight: 600;
        border-radius: 4px;
        background: #2b6289;
        color: white;
        border: none;
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .contact-form button,
    .join-form button {
        width: 100%;
        display: block;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
}








/* --------------------------------------------------
   8. JOIN FORM — COMPACT THEME (OPTIONAL)
-------------------------------------------------- */

.join-compact .contact {
    display: flex;
    justify-content: center;
    padding: 6px 0;
}

.join-compact .contact-box {
    width: 100%;
    max-width: 500px;
    background: #fff;
    padding: 16px 20px;
    border: 1px solid #ddd;
    box-shadow: 0 15px 8px rgba(0,0,0,0.05);
}

.join-compact .contact-box h2 {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
}

.join-compact .contact-box label {
    font-weight: 600;
    margin-bottom: 2px;
    display: block;
}

.join-compact .contact-box input[type="text"],
.join-compact .contact-box input[type="email"],
.join-compact .contact-box select,
.join-compact .contact-box textarea {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ccc;
    background: #fafafa;
    font-size: 13px;
    outline: none;
    border-radius: 0;
    margin-bottom: 8px;
}

.join-compact .contact-box textarea {
    resize: vertical;
}

.join-compact .gender-group {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.join-compact .gender-group label {
    display: flex;
    align-items: center;
    gap: 3px;
    font-weight: normal;
    font-size: 13px;
}

.join-compact #age_group {
    margin-bottom: 10px;
}

.join-compact .send-btn {
    width: 100%;
    padding: 8px;
    background: #2a7ae2;
    color: white;
    border: none;
    font-size: 14px;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.2s ease;
    margin-top: 4px;
}

.join-compact .send-btn:hover {
    background: #1f5fb4;
}

@media (max-width: 600px) {
    .join-compact .contact {
        padding: 10px;
        margin: 20px auto;
    }

    .join-compact .contact-box {
        max-width: 100%;
        padding: 12px 14px;
        box-shadow: none;
        border-radius: 4px;
    }

    .join-compact .contact-box input,
    .join-compact .contact-box select,
    .join-compact .contact-box textarea {
        font-size: 14px;
        padding: 8px;
    }

    .join-compact .gender-group {
        flex-direction: column;
        gap: 6px;
    }

    .join-compact .send-btn {
        padding: 10px;
        font-size: 15px;
    }


}

/* --------------------------------------------------
   9. COUNTRY AUTOCOMPLETE
-------------------------------------------------- */
.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 180px;
    overflow-y: auto;
    display: none;
    z-index: 9999;
}

.autocomplete-item {
    padding: 8px 10px;
    cursor: pointer;
}

.autocomplete-item:hover {
    background: #f0f0f0;
}

/* --------------------------------------------------
   10. GALLERY
-------------------------------------------------- */
#main-gallery-container {
    margin-top: 50px;
    margin-bottom: 50px;
}

#gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 75vw;
    margin: 20px auto;
}

figure {
    margin: 10px;
    padding: 0;
    position: relative;
}

figure img {
    width: 100%;
}

#gallery img {
    padding: 0;
    width: 100%;
    box-shadow: 0px 0px 3px #ccc;
    border: 3px solid #fff;
}

figcaption {
    background-color: rgba(255, 255, 255, 0.5);
    width: 100%;
    text-align: center;
    color: #1b1b20;
    padding: 9px 0 11px;
    font-size: 10px;
    position: absolute;
    bottom: 6px;
}

@media (max-width: 600px) {
    #gallery {
        grid-template-columns: 1fr;
        width: 90vw;
    }
    figcaption {
        font-size: 3vw;
    }
}



/* --------------------------------------------------
   12. FOOTER
-------------------------------------------------- */
footer {
    background-color: #2a2623;
    padding: 3rem 0;
    color: #dddbdb;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-copy {
    font-size: 0.8rem;
    opacity: 0.9;
    color: #7e8081;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.footer-links a {
    font-size: 0.9rem;
    color: #dcdcdc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    font-size: 1.5rem;
    color: #dcdcdc;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #ffffff;
}

@media (max-width: 700px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-social {
        justify-content: center;
    }
}


@media (max-width: 600px) {
    .footer-copy {
        display: block;
        line-height: 1.4;
        max-width: 260px; /* forces clean wrap */
    }
}



/* --------------------------------------------------
   13. MEDIA / DOCUMENTS / OUR PEOPLE
-------------------------------------------------- */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.media-item video {
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
}

.doc-list li {
    margin-bottom: 10px;
}

.doc-list a {
    color: #333;
    text-decoration: none;
}

.doc-list a:hover {
    text-decoration: underline;
}

.ourpeople-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.card {
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    width: 200px;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: 0.2s;
}

.card:hover {
    background: #f0f0f0;
}

/* --------------------------------------------------
   14. LANGUAGE SWITCHER & THEME TOGGLE
-------------------------------------------------- */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.lang-toggle,
.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    /* color: inherit; */
    color: var(--text-light);

    font: inherit;
}

.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-btn {
    padding: 6px 12px;
    font-family: Montserrat, sans-serif;
}

.lang-menu {
    position: absolute;
    top: 40px;
    right: 0;
    background: white;
    border: 2px solid #2a2623;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    width: 150px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.lang-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-menu li {
    padding: 8px 15px;
}

.lang-menu li a {
    text-decoration: none;
    color: #2a2623;
    font-weight: 600;
}

.theme-toggle button {
    background: none;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.theme-toggle button:hover {
    background: rgba(0,0,0,0.05);
}

/* --------------------------------------------------
   15. UTILITIES
-------------------------------------------------- */
.danger-link {
    color: #b30000;
    font-weight: bold;
}

.danger-link:hover {
    text-decoration: underline;
}

.alert-box {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.alert-box.fade-out {
    opacity: 0;
    transform: translateY(-15px);
}





/* TO PREVENT FOR SQUEEZE */


body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

footer {
    margin-top: auto;
}
  margin-top: auto;
}



/* DONATION CSS */

.donation-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 20px;
    text-align: center;
}

.donation-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.donation-hero p {
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 40px;
}

.donation-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.4);
    animation: fadeIn 0.6s ease;
}

.donation-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.donation-btn {
    margin-top: 25px;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    background: #ccc;
    color: #555;
    cursor: not-allowed;
    font-weight: bold;
}

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



/* DONATION TIERS */

.donation-tiers {
    margin-top: 60px;
}

.tiers-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.tier-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    animation: fadeIn 0.6s ease;
}

.tier-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.tier-amount {
    margin-top: 15px;
    font-size: 1.4rem;
    font-weight: bold;
    opacity: 0.9;
}



/* PAYMENT METHOD */

.donation-payments {
    margin-top: 60px;
    text-align: center;
}

.payments-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.payments-desc {
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 30px;
}

.payment-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.payment-btn {
    padding: 14px 22px;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    opacity: 0.6;
}

.payment-icon {
    font-size: 1.3rem;
}



.donation-impact {
    margin-top: 70px;
    text-align: center;
}

.impact-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.impact-desc {
    opacity: 0.8;
    max-width: 650px;
    margin: 0 auto 40px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.impact-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    animation: fadeIn 0.6s ease;
}

.impact-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}





.donation-progress {
    margin-top: 70px;
    text-align: center;
}

.progress-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.progress-desc {
    opacity: 0.8;
    max-width: 650px;
    margin: 0 auto 30px;
}

/* Progress Bar */
.progress-bar-wrapper {
    width: 100%;
    max-width: 600px;
    height: 18px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    width: 0;
    animation: progressFill 1.2s ease forwards;
}

@keyframes progressFill {
    from { width: 0; }
    to { width: inherit; }
}

/* Stats */
.progress-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    opacity: 0.8;
    font-size: 0.95rem;
}



.donation-form {
    margin-top: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.donation-form-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.donation-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.donation-input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.2);
    margin-bottom: 20px;
    font-size: 1rem;
}

.donation-submit {
    padding: 14px 22px;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    color: white;
    width: 100%;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}


.tier-card.active {
    border: 2px solid #007bff;
    background-color: #eef6ff;
}


/* Layout polish & responsiveness /


.donation-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 16px;
}


.donation-form,
.bank-card {
    margin-bottom: 24px;
}
.donation-transparency {
    margin-top: 32px;
}





/* Shared card styling for About + Home */
.about-section,
.ourpurpose-section {
    background: #ffffff;
    color: #222;
    padding: 24px;
    border-radius: 4px;
}

/* Headings */
.ourpurpose-section h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #222;
}

/* Body text */
.about-section p,
.ourpurpose-section p,
.ourpurpose-section .short-text,
.ourpurpose-section .full-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}


/* Make Home.php text match About.php text */
.ourpurpose-section .short-text,
.ourpurpose-section .full-text {
    display: block;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 12px;
}



.ourpurpose-section {
 background: #ffffff;
 border: none;
}


.page-body {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}


.dark_theme .form-group label,
.dark_theme .char-counter,
.dark_theme .donation-help {
    color: #eee;
}


/* External link to projects - about.php */


.ext-link {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--link-color, #2a7ae2);
    text-decoration: none;
    font-weight: 500;
    transition: color .25s ease;
}

.ext-link:hover {
    color: var(--link-hover, #1a5ac7);
}

.ext-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: transform .25s ease, opacity .25s ease;
    opacity: 0.85;
}

.ext-link:hover .ext-icon {
    transform: translate(2px, -2px);
    opacity: 1;
}

/* Dark mode support */
body.dark .ext-link {
    color: var(--link-dark, #8ab4ff);
}

body.dark .ext-link:hover {
    color: var(--link-dark-hover, #a8c8ff);
}








/* Future events announcement */

/* =========================================================
   HERO OVERLAY — CINEMATIC, APPLE‑GRADE VERSION
   Clean, unified, fullscreen‑safe, mobile‑first
========================================================= */

/* ------------------------------
   OVERLAY CONTAINER
------------------------------ */
.hero-overlay-box {
    display: none;
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 240px;
    padding: 12px;
    background: rgba(0,0,0,0.55);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);

    opacity: 0;
    transform: translateY(12px);
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: auto;

    /* fullscreen‑safe */
    overflow: visible !important;
}

/* Hidden state */
.hero-overlay-box.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Visible state */
.hero-overlay-box.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Desktop hover lift */
@media (hover: hover) {
    .hero-overlay-box:hover {
        transform: translateY(0) scale(1.03);
    }
}


/* ------------------------------
   VIDEO WRAPPER
------------------------------ */
.hero-video-wrapper {
    display: none;
    position: relative;
    width: 100%;
    overflow: visible !important; /* fullscreen‑safe */
}


/* ------------------------------
   VIDEO ELEMENT
------------------------------ */
.hero-video {
    display: none;
    width: 100%;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    background: #000;
}


/* ------------------------------
   BUTTONS (Close, Mute, Fullscreen)
------------------------------ */
.hero-video-close,
.video-sound-toggle,
.video-fullscreen-toggle {
    position: absolute;
    z-index: 50;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background .25s ease, opacity .25s ease;
}

/* Close (top-left) */
.hero-video-close {
    top: 6px;
    left: 6px;
}

/* Mute (bottom-right) */
.video-sound-toggle {
    bottom: 6px;
    right: 6px;
}

/* Fullscreen (bottom-left) */
.video-fullscreen-toggle {
    bottom: 6px;
    left: 6px;
}

/* Hover effect */
@media (hover: hover) {
    .hero-video-close:hover,
    .video-sound-toggle:hover,
    .video-fullscreen-toggle:hover {
        background: rgba(0,0,0,0.75);
    }
}


/* ------------------------------
   AUTO‑HIDE CONTROLS
------------------------------ */
.hero-video-wrapper.hide-controls button {
    opacity: 0;
    pointer-events: none;
}


/* ------------------------------
   CAPTION (disabled)
------------------------------ */
.hero-video-caption {
    display: none !important;
}


/* ------------------------------
   MOBILE — COMPACT MODE
------------------------------ */
@media (max-width: 600px) {

    .hero-video-close,
    .video-sound-toggle,
    .video-fullscreen-toggle {
        font-size: 9px !important;
        padding: 3px 5px !important;
        border-radius: 4px !important;
    }

    .video-sound-toggle {
        bottom: 4px !important;
        right: 4px !important;
    }

    .video-fullscreen-toggle {
        bottom: 4px !important;
        left: 4px !important;
    }

    .hero-video-close {
        top: 4px !important;
        left: 4px !important;
    }

    /* Disable hover scale */
    .hero-overlay-box:hover {
        transform: translateX(-50%) !important;
    }
}



.hero-announcement {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(0,0,0,0.55);
    padding: 16px 22px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    max-width: 360px;
    backdrop-filter: blur(4px);
}


.hero-announcement h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
}

.hero-announcement p {
    margin: 0;
    font-size: 14px;
}


.hero-announcement-link {
    text-decoration: none;
    color: inherit;
}
.hero-announcement-link:hover .hero-announcement {
    background: rgba(0,0,0,0.65);
}


/* animation (fade‑in + slide‑up) */

.hero-announcement,
.hero-overlay-box {
    animation: fadeSlideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





/* Cookie banner */

/* TOP BAR */
.pb-cookie-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 14px 20px;
    z-index: 999999;
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity .4s ease, transform .4s ease;
}

.pb-cookie-topbar {
    z-index: 999999 !important;
    position: fixed !important;
}



.pb-cookie-topbar.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.pb-cookie-topbar-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.pb-cookie-topbar p {
    margin: 0;
    font-size: 15px;
}

.pb-cookie-link {
    color: #ffd200;
    text-decoration: underline;
}

.pb-cookie-buttons button {
    margin-left: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

#pbCookieAccept {
    background: #ffd200;
    color: #000;
}

#pbCookieReject {
    background: #444;
    color: #fff;
}

#pbCookieSettingsBtn {
    background: #2a7ae2;
    color: #fff;
}

/* SETTINGS MODAL */
.pb-cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
}

.pb-cookie-modal-box {
    background: #111;
    color: #fff;
    padding: 24px;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    border: 1px solid rgba(255,255,255,0.25);
}

.pb-cookie-option {
    display: flex;
    justify-content: space-between;
    margin: 14px 0;
}

/* SWITCHES */
.pb-switch {
    position: relative;
    width: 46px;
    height: 24px;
}

.pb-switch input {
    display: none;
}

.slider {
    position: absolute;
    inset: 0;
    background: #555;
    border-radius: 24px;
    transition: .3s;
}

.slider:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 2px;
    top: 2px;
    background: #fff;
    border-radius: 50%;
    transition: .3s;
}

.pb-switch input:checked + .slider {
    background: #ffd200;
}

.pb-switch input:checked + .slider:before {
    transform: translateX(22px);
}

.pb-switch.disabled {
    opacity: .4;
}

/* MODAL BUTTONS */
.pb-cookie-modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

#pbCookieSave {
    background: #ffd200;
    color: #000;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
}

#pbCookieClose {
    background: #444;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
}

/* FLOATING BUBBLE */
.pb-cookie-bubble {
    position: fixed;
    bottom: 20px;
    right: 5px;
    background: #ffd200;
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    z-index: 999999;
}

/* DARK MODE */
@media (prefers-color-scheme: dark) {
    .pb-cookie-modal-box {
        background: #000;
    }
}



/* Cookie banner */


.pb-cookie-topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap; /* keep everything on one line */
}

.pb-cookie-topbar p {
    flex: 1; /* paragraph takes available space */
    margin: 0;
    color: #fff !important;
}

.pb-cookie-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0; /* buttons never wrap */
}


@media (max-width: 600px) {

    .pb-cookie-topbar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        flex-wrap: wrap; /* allow wrapping on mobile */
    }

    .pb-cookie-topbar p {
        width: 100%;
        font-size: 14px;
        line-height: 1.4;
    }

    .pb-cookie-buttons {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        gap: 10px;
        flex-wrap: wrap;
    }

    .pb-cookie-buttons button {
        flex: 1; /* buttons stretch evenly */
        min-width: 80px;
    }


.pb-cookie-bubble {
        background: none! important;
        display: block !important;
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 22px;
        cursor: pointer;
        z-index: 9999;
}


}


/* Privacy css */

.page-content {
  padding: 10px;

}

.privacy-toc {
    position: relative;
    margin-top: 0.1rem;
    z-index: 1;
}


.privacy-block h3 {
    margin-top: 2rem;
    font-size: 1.3rem;
}

.privacy-block h4 {
    margin-top: 1rem;
    font-size: 1.1rem;
}

.privacy-block p,
.privacy-block ul {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.privacy-block ul {
    padding-left: 1.2rem;
}


.privacy-lang {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    font-weight: 600;
}
.privacy-lang a {
    list-style: none;
    text-decoration: none;
}




/* Donate.php IBAN css */

.copy-btn {
    position: relative;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background: var(--accent, #2a7ae2);
    color: white;
    font-weight: 600;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* Hover glow in brand yellow 
.copy-btn:hover {
    box-shadow: 0 0 12px #ffd200;
} - disabled for now */

/* Tooltip - disabled for now 
.copy-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tooltip-bg, #000);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}


*/


/* Checkmark */
.copy-btn::before {
    content: "";
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    opacity: 0;
    color: #00c853;
    font-size: 1.2rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Pulse ring */
.copy-btn.copied {
    animation: pulse-ring 0.6s ease-out;
}

/* Tooltip visible */
.copy-btn.copied::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* Checkmark visible */
.copy-btn.copied::before {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}

/* Pulse ring animation */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 210, 0, 0.6);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(255, 210, 0, 0);
    }
}

/* Dark mode */
body.dark .copy-btn {
    background: #ffd200;
    color: #000;
}

body.dark .copy-btn:hover {
    box-shadow: 0 0 12px #fff;
}

body.dark .copy-btn::after {
    background: #fff;
    color: #000;
}


@media (max-width: 600px) {

    .copy-btn {
        width: 100%;
        font-size: 0.85rem;
        padding: 0.55rem 0.9rem;
        margin-bottom: 10px;
        border-radius: 6px;
    }

    /* Tooltip reposition for mobile */
    .copy-btn::after {
        top: -30px;
        font-size: 0.7rem;
    }

    /* Checkmark reposition */
    .copy-btn::before {
        right: -18px;
        font-size: 1rem;
    }

    /* Pulse ring slightly smaller */
    @keyframes pulse-ring {
        0% {
            box-shadow: 0 0 0 0 rgba(255, 210, 0, 0.6);
        }
        100% {
            box-shadow: 0 0 0 8px rgba(255, 210, 0, 0);
        }
    }

}




@media (max-width: 600px) {

    .join-card {
        display: none;
    }

    .mbaandi-tooltip.join-link {
        position: fixed;
        bottom: 20px;
        right: 40px;
        width: 300px;
        background: #ffffff;
        border: 2px solid #2a2623;
        padding: 10px;
        font-family: 'Montserrat', sans-serif;
        box-shadow: 0 4px 20px rgba(0,0,0,0.25);
        z-index: 9999;
    }
}


/* Desktop: show card, hide mobile link */
.join-card {
    display: block;
}

.join-link-mobile {
    display: none;
}

/* Mobile: hide card, show mobile link */
@media (max-width: 600px) {
    .join-card {
        display: none;
    }

    .join-link-mobile {
        display: block;
        text-align: center;
        margin-top: 20px;
    }


    .join-link-mobile .join-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        position: fixed;
        bottom: 236px;
        right: 20px;
        width: 230px;
        background: #ffffff;
        border: 2px solid #2a2623;
        padding: 10px;
        font-family: 'Montserrat', sans-serif;
        box-shadow: 0 4px 20px rgba(0,0,0,0.25);
        z-index: 9999;
    }

    .join-link-mobile .join-link span {
        position: relative;
        top: -1px; /* lift text slightly */
    }

}

