/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    /* Light navbar */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(166, 93, 32, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    font-family: var(--font-body);
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 65px;
    max-width: 100%;
    padding: 0 32px;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo {
    height: 68px !important;
    max-height: 68px !important;
    width: auto !important;
    margin: 0 !important;
    object-fit: contain;
    transition: var(--transition);
}

.logo-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.logo-text h1 {
    font-family: var(--font-heading) !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.15 !important;
    color: var(--dark-brown) !important;
    white-space: nowrap;
}

.logo-text p {
    font-family: var(--font-body) !important;
    font-size: 0.82rem !important;
    color: var(--golden-brown) !important;
    margin: 3px 0 0 0 !important;
    padding: 0 !important;
    letter-spacing: 0.6px;
    line-height: 1.2 !important;
    white-space: nowrap;
}

.desktop-nav {
    margin-left: auto;
    margin-right: auto;
    padding: 0 18px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.desktop-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
}

.desktop-nav li {
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.desktop-nav a,
.desktop-nav button.nav-donate-link {
    font-size: var(--font-nav) !important;
    font-weight: 600;
    font-family: inherit;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.2s ease;
    background: none;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--dark-brown);
    text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav button.nav-donate-link:hover {
    color: var(--golden-brown);
    background-color: rgba(166, 93, 32, 0.08);
}

.desktop-nav a.active {
    color: var(--golden-brown);
    background-color: rgba(166, 93, 32, 0.1);
    font-weight: 700;
}

/* Dropdown Navbar Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    z-index: 1001;
    border-radius: 8px;
    overflow: hidden;
    top: 100%;
    left: 0;
    margin-top: 15px;
    /* Spacing from navbar */
    border: 1px solid rgba(166, 93, 32, 0.1);
}

.dropdown-content a {
    color: var(--dark-brown);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--cream);
    color: var(--golden-brown);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ==========================================================
   Highlighted Navbar Donate Button with Attention-Grabbing Shake & Glow
   ========================================================== */
@keyframes donateShakeGlow {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        box-shadow: 0 4px 14px rgba(166, 93, 32, 0.35);
    }
    10% {
        transform: scale(1.06) rotate(-5deg);
        box-shadow: 0 6px 22px rgba(166, 93, 32, 0.55), 0 0 14px rgba(255, 210, 125, 0.7);
    }
    18% {
        transform: scale(1.06) rotate(5deg);
        box-shadow: 0 6px 22px rgba(166, 93, 32, 0.55), 0 0 16px rgba(255, 210, 125, 0.75);
    }
    26% {
        transform: scale(1.06) rotate(-4deg);
        box-shadow: 0 6px 22px rgba(166, 93, 32, 0.55), 0 0 14px rgba(255, 210, 125, 0.7);
    }
    34% {
        transform: scale(1.04) rotate(3deg);
        box-shadow: 0 5px 16px rgba(166, 93, 32, 0.45), 0 0 10px rgba(255, 210, 125, 0.5);
    }
    42% {
        transform: scale(1.02) rotate(-1deg);
        box-shadow: 0 4px 14px rgba(166, 93, 32, 0.35);
    }
    50% {
        transform: rotate(0deg) scale(1);
        box-shadow: 0 4px 14px rgba(166, 93, 32, 0.35);
    }
}

@keyframes heartBeatGlow {
    0%, 100% {
        transform: scale(1);
    }
    15% {
        transform: scale(1.3);
    }
    30% {
        transform: scale(1);
    }
    45% {
        transform: scale(1.25);
    }
    60% {
        transform: scale(1);
    }
}

.btn-nav-donate {
    background: linear-gradient(135deg, #FFE194 0%, #E29B38 50%, #A65D20 100%) !important;
    color: #2E1505 !important;
    border: 1.5px solid rgba(255, 230, 160, 0.85) !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 18px !important;
    border-radius: 25px !important;
    font-weight: 800 !important;
    font-size: var(--font-btn);
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(166, 93, 32, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
    box-sizing: border-box;
    animation: donateShakeGlow 3.5s ease-in-out infinite;
    transform-origin: center center;
}

.btn-nav-donate i {
    color: #8A4817 !important;
    font-size: 0.95rem;
    animation: heartBeatGlow 3.5s ease-in-out infinite;
    display: inline-block;
}

.btn-nav-donate:hover {
    animation-play-state: paused;
    transform: translateY(-2px) scale(1.06) !important;
    box-shadow: 0 8px 25px rgba(166, 93, 32, 0.5), 0 0 16px rgba(255, 210, 125, 0.85) !important;
    color: #1A0B02 !important;
    border-color: #FFFFFF !important;
}

.btn-nav-donate:hover i {
    animation-play-state: paused;
    transform: scale(1.2);
}

.btn-nav-donate:active {
    transform: translateY(0) scale(1) !important;
}

/* ==========================================================
   User Navbar Dropdown & Login Pill (Universal across all pages)
   ========================================================== */
.user-nav-dropdown {
    position: relative;
}

.user-nav-pill {
    background: rgba(196, 154, 69, 0.12);
    border: 1px solid rgba(196, 154, 69, 0.35);
    color: var(--dark-brown);
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 16px 0 12px !important;
    border-radius: 25px !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1;
    box-sizing: border-box;
}

.user-nav-pill:hover {
    background: rgba(196, 154, 69, 0.22);
    border-color: var(--golden-brown);
    color: var(--dark-brown);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(181, 133, 72, 0.15);
}

.user-nav-pill i.fa-user-circle {
    font-size: 1.15rem;
    color: var(--golden-brown);
}

.user-nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-nav-circle-btn {
    padding: 3px !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.user-nav-circle-btn .user-nav-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(196, 154, 69, 0.2);
    min-width: 210px;
    overflow: hidden;
    z-index: 1000;
    display: none;
}

.user-dropdown-menu.show {
    display: block;
    animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

.user-dropdown-header {
    padding: 12px 16px;
    background: #FAF6F0;
    border-bottom: 1px solid #EFEAE3;
}

.user-dropdown-header strong {
    display: block;
    font-size: 0.92rem;
    color: var(--dark-brown);
}

.user-dropdown-header span {
    display: block;
    font-size: 0.78rem;
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #444;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background 0.15s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.user-dropdown-item:hover {
    background: #FDF9F3;
    color: var(--golden-brown);
}

.user-dropdown-item i {
    width: 16px;
    color: var(--golden-brown);
}

.user-dropdown-divider {
    height: 1px;
    background: #EFEAE3;
    margin: 4px 0;
}

/* ==========================================================
   Language Welcome Modal & Floating Switcher
   ========================================================== */
.lang-welcome-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 16, 8, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.lang-welcome-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.lang-welcome-modal-card {
    background: linear-gradient(145deg, #FFFDF8 0%, #FFF4E5 100%);
    border: 2px solid rgba(166, 93, 32, 0.25);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(60, 28, 10, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    width: 100%;
    max-width: 520px;
    position: relative;
    padding: 34px 28px 28px;
    text-align: center;
    transform: scale(0.92) translateY(15px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    overflow: hidden;
}

.lang-welcome-modal-backdrop.show .lang-welcome-modal-card {
    transform: scale(1) translateY(0);
}

.lang-modal-close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(166, 93, 32, 0.2);
    background: rgba(255, 255, 255, 0.8);
    color: var(--dark-brown, #512D16);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
    z-index: 2;
}

.lang-modal-close-btn:hover {
    background: var(--golden-brown, #A65D20);
    color: #FFF;
    border-color: var(--golden-brown, #A65D20);
    transform: rotate(90deg);
}

.lang-modal-header {
    margin-bottom: 22px;
}

.lang-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(166, 93, 32, 0.12);
    border: 1px solid rgba(166, 93, 32, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--golden-brown, #A65D20);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.lang-modal-badge i {
    color: #D97706;
}

.lang-modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-brown, #512D16);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.lang-modal-title span {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--golden-brown, #A65D20);
    display: block;
    margin-top: 4px;
}

.lang-modal-subtitle {
    font-size: 0.92rem;
    color: #6E533F;
    margin: 0 auto;
    line-height: 1.5;
    max-width: 440px;
}

/* Options */
.lang-modal-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.lang-choice-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    background: #FFFFFF;
    border: 2px solid rgba(166, 93, 32, 0.16);
    border-radius: 16px;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(81, 45, 22, 0.05);
}

.lang-choice-card:hover {
    border-color: var(--golden-brown, #A65D20);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(166, 93, 32, 0.16);
    background: #FFFBF5;
}

.lang-choice-card.active {
    border-color: var(--golden-brown, #A65D20);
    background: linear-gradient(135deg, #FFF8EF 0%, #FFEFDD 100%);
    box-shadow: 0 6px 20px rgba(166, 93, 32, 0.2);
}

.lang-card-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #FFFFFF;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.gu-badge {
    background: linear-gradient(135deg, #FF7700 0%, #D95300 100%);
}

.en-badge {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
}

.hi-badge {
    background: linear-gradient(135deg, #C2185B 0%, #880E4F 100%);
}

.lang-card-info {
    display: flex;
    flex-direction: column;
}

.lang-native-name {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--dark-brown, #512D16);
    line-height: 1.2;
}

.lang-sub-name {
    font-size: 0.8rem;
    color: var(--golden-brown, #A65D20);
    font-weight: 600;
    margin-bottom: 2px;
}

.lang-desc {
    font-size: 0.78rem;
    color: #7A6253;
}

.lang-check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(166, 93, 32, 0.25);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 0.78rem;
    transition: all 0.25s ease;
}

.lang-choice-card.active .lang-check-icon {
    border-color: var(--golden-brown, #A65D20);
    background: var(--golden-brown, #A65D20);
    color: #FFF;
    transform: scale(1.08);
}

.lang-modal-footer {
    display: flex;
    justify-content: center;
}

.btn-lang-proceed {
    width: 100%;
    padding: 13px 24px;
    background: linear-gradient(135deg, var(--golden-brown, #A65D20) 0%, #8A4611 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(166, 93, 32, 0.3);
    transition: all 0.25s ease;
}

.btn-lang-proceed:hover {
    background: linear-gradient(135deg, #8A4611 0%, #683207 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(166, 93, 32, 0.4);
}

.btn-lang-proceed i {
    transition: transform 0.2s ease;
}

.btn-lang-proceed:hover i {
    transform: translateX(4px);
}

/* Floating Language Switcher Trigger */
.floating-lang-trigger {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(166, 93, 32, 0.3);
    border-radius: 50px;
    padding: 8px 15px;
    box-shadow: 0 6px 20px rgba(81, 45, 22, 0.14);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-brown, #512D16);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-lang-trigger i {
    font-size: 1.1rem;
    color: var(--golden-brown, #A65D20);
    transition: transform 0.3s ease;
}

.floating-lang-trigger:hover {
    background: #FFFDF8;
    border-color: var(--golden-brown, #A65D20);
    color: var(--golden-brown, #A65D20);
    box-shadow: 0 10px 25px rgba(166, 93, 32, 0.22);
    transform: translateY(-2px) scale(1.02);
}

.floating-lang-trigger:hover i {
    transform: rotate(25deg);
}

/* Footer Language Link */
.footer-policy a#footerLangLink {
    color: var(--golden-brown, #A65D20);
    font-weight: 600;
}

.footer-policy a#footerLangLink:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-lang-trigger {
        bottom: 10px;
        left: 12px;
        padding: 5px 11px;
        font-size: 0.74rem;
        gap: 5px;
        border-width: 1px;
        box-shadow: 0 4px 12px rgba(81, 45, 22, 0.12);
    }

    .floating-lang-trigger i {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .lang-welcome-modal-card {
        padding: 26px 18px 20px;
        border-radius: 20px;
    }

    .lang-modal-title {
        font-size: 1.35rem;
    }

    .lang-choice-card {
        padding: 12px 14px;
    }

    .lang-card-icon-wrap {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .lang-native-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .floating-lang-trigger {
        bottom: 8px;
        left: 10px;
        padding: 4px 9px;
        font-size: 0.72rem;
        gap: 4px;
    }

    .floating-lang-trigger i {
        font-size: 0.8rem;
    }
}

/* Hide default Google Translate top frame cleanly */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-banner-frame-container,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf-ti6hGc {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body {
    top: 0px !important;
    position: static !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #E2C99D, #A65D20);
    color: #000;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    /* Removed filter to keep original colors or set to brightness(0) if needed */
}

.footer-logo h3 {
    color: #000;
    margin: 0;
    font-size: 1.1rem;
}

.footer-logo p {
    color: #000;
    font-size: 0.8rem;
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    background: rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    color: #000 !important;
    text-decoration: none;
    line-height: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.social-icons a i {
    color: #000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 0;
    vertical-align: 0;
    margin: 0;
    padding: 0;
    font-size: 15px;
}

.social-icons a:hover {
    background: #000;
    color: #fff !important;
    transform: translateY(-2px);
}

.social-icons a:hover i {
    color: #fff !important;
}

.footer-col h4 {
    color: #000000 !important;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 6px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: #000000 !important;
}

.footer-col ul li {
    margin-bottom: 6px;
    line-height: 1.35;
    color: #000000 !important;
}

.footer-col ul li a {
    color: #000000 !important;
    font-size: 0.92rem;
    letter-spacing: -0.2px;
}

.footer-col ul li a:hover {
    color: #000000 !important;
    opacity: 0.75;
    padding-left: 4px;
}

.footer-col p {
    color: #000000 !important;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.92rem;
    line-height: 1.45;
    letter-spacing: -0.2px;
}

.footer-contact-item {
    color: #000000 !important;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.92rem;
    line-height: 1.45;
}

.footer-contact-item i {
    color: #000000 !important;
    font-size: 0.9rem;
    width: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-phone-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    color: #000000 !important;
}

.footer-phone-list a,
.footer-email-link,
.footer-col p a {
    color: #000000 !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-phone-list a:hover,
.footer-email-link:hover,
.footer-col p a:hover {
    color: #000000 !important;
    text-decoration: underline;
    opacity: 0.8;
}

.footer-phone-list .phone-bullet {
    color: #000000 !important;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    opacity: 0.9;
}

.phone-nowrap-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: #000000 !important;
}

.footer i,
.footer-col p i {
    color: #000000 !important;
    font-size: 0.9rem;
    width: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    color: #000000 !important;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    padding-top: 15px;
    font-size: 0.85rem;
    letter-spacing: -0.2px;
}

.footer-bottom p,
.footer-policy,
.footer-policy a {
    color: #000000 !important;
}

/* Comprehensive Pure Black Text Rule for entire footer */
.footer,
.footer p,
.footer span,
.footer a,
.footer h3,
.footer h4,
.footer li,
.footer-container,
.footer-container * {
    color: #000000 !important;
}

.footer .social-icons a:hover {
    background: #000000 !important;
    color: #ffffff !important;
}

.footer .social-icons a:hover i {
    color: #ffffff !important;
}

/* ==========================================================
   Comprehensive Responsive Breakpoints (Mobile, Tablet, Desktop)
   ========================================================== */

/* Laptop / Smaller Desktops */
@media (max-width: 1350px) {
    .desktop-nav {
        padding: 0 10px;
    }

    .desktop-nav ul {
        gap: 6px;
    }

    .desktop-nav a {
        font-size: 15px !important;
        padding: 6px 14px;
    }
}

@media (max-width: 1150px) {
    .header-container {
        padding: 0 14px;
        gap: 8px;
    }

    .logo-area {
        gap: 10px;
    }

    .logo {
        height: 62px !important;
        max-height: 62px !important;
        margin: 0 !important;
    }

    .logo-text h1 {
        font-size: 1.18rem !important;
        margin: 0 !important;
    }

    .logo-text p {
        font-size: 0.78rem !important;
        margin: 2px 0 0 0 !important;
    }

    .desktop-nav {
        padding: 0 4px;
    }

    .desktop-nav ul {
        gap: 4px;
    }

    .desktop-nav a {
        font-size: 13.5px !important;
        padding: 5px 10px;
    }

    .header-actions {
        gap: 8px;
        flex-shrink: 0 !important;
    }

    .btn-nav-donate {
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        padding: 0 12px !important;
        font-size: var(--font-btn);
        gap: 6px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .user-nav-pill {
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        padding: 0 12px 0 10px !important;
        font-size: 13px !important;
        gap: 6px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
}

/* Specific fix for 1080px to 1025px (prevents Login button cropping) */
@media (max-width: 1080px) and (min-width: 1025px) {
    .header-container {
        padding: 0 10px;
        gap: 6px;
    }

    .logo-area {
        gap: 8px;
    }

    .logo {
        height: 74px !important;
        max-height: 74px !important;
        margin: 0 !important;
        margin: 0 !important;
    }

    .logo-text h1 {
        font-size: 1.14rem !important;
        margin: 0 !important;
    }

    .logo-text p {
        font-size: 0.75rem !important;
        margin: 2px 0 0 0 !important;
    }

    .desktop-nav {
        margin: 0 auto;
        min-width: 0;
    }

    .desktop-nav ul {
        gap: 5px;
    }

    .desktop-nav a {
        font-size: 12.5px !important;
    }

    .header-actions {
        gap: 6px;
        flex-shrink: 0 !important;
    }

    .btn-nav-donate {
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        padding: 0 10px !important;
        font-size: var(--font-btn);
        gap: 4px !important;
        flex-shrink: 0 !important;
    }

    .user-nav-pill {
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        padding: 0 10px 0 8px !important;
        font-size: 12px !important;
        gap: 4px !important;
        flex-shrink: 0 !important;
    }
}

/* Tablet Landscape & Portrait (Max 1024px) */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 65px);
        background: #FFFDF8;
        padding: 10px 16px 14px;
        box-shadow: 0 15px 35px rgba(81, 45, 22, 0.15);
        overflow-y: auto;
        z-index: 9998;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    }

    .desktop-nav.mobile-active {
        display: flex !important;
        flex-direction: column;
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .desktop-nav.mobile-active ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 2px;
        padding: 0;
        margin: 0;
    }

    .desktop-nav.mobile-active li {
        width: 100%;
        border-bottom: 1px solid rgba(166, 93, 32, 0.08);
    }

    .desktop-nav.mobile-active li:last-child {
        border-bottom: none;
    }

    .desktop-nav.mobile-active a,
    .desktop-nav.mobile-active button.nav-donate-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 9px 12px;
        font-size: var(--font-nav);
        font-weight: 600;
        font-family: inherit;
        color: var(--dark-brown, #512D16);
        border-radius: 8px;
        transition: all 0.2s ease;
        width: 100%;
        background: none;
        border: none;
        cursor: pointer;
        text-align: left;
    }

    .desktop-nav.mobile-active a:hover,
    .desktop-nav.mobile-active a:active,
    .desktop-nav.mobile-active button.nav-donate-link:hover,
    .desktop-nav.mobile-active button.nav-donate-link:active {
        background: rgba(166, 93, 32, 0.08);
        color: var(--golden-brown, #A65D20);
        padding-left: 15px;
    }

    .btn-nav-donate {
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        padding: 0 12px !important;
        font-size: var(--font-btn);
        gap: 5px !important;
        border-radius: 20px !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
    }

    .user-nav-pill {
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        padding: 0 12px 0 10px !important;
        font-size: 13px !important;
        gap: 6px !important;
        border-radius: 20px !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
    }

    .user-nav-circle-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 8px;
        background: rgba(166, 93, 32, 0.1);
        color: var(--dark-brown, #512D16);
        cursor: pointer;
        font-size: 1.25rem;
        transition: all 0.2s ease;
    }

    .mobile-menu-btn:hover {
        background: var(--golden-brown, #A65D20);
        color: #FFFFFF;
    }
}

/* Tablet View (576px to 1024px) */
@media (max-width: 1024px) {
    .footer {
        padding: 35px 0 20px;
    }

    .footer-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 22px;
        row-gap: 16px;
        margin-bottom: 20px;
    }

    /* Logo and About span full width on top */
    .footer-container>.footer-col:first-child {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 14px;
        margin-bottom: 8px;
    }

    .footer-container>.footer-col:first-child .footer-logo {
        margin-bottom: 0;
        gap: 10px;
    }

    .footer-container>.footer-col:first-child>p {
        max-width: 100%;
        margin: 0;
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .footer-container>.footer-col:first-child .social-icons {
        margin-top: 4px;
        margin-bottom: 0;
        gap: 10px;
    }

    /* Links, Services, and Contact Info are strictly side by side */
    .footer-container>.footer-col:not(:first-child) {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .footer-container>.footer-col h4 {
        margin-top: 0;
        margin-bottom: 12px;
        padding-bottom: 6px;
        font-size: 1rem;
    }

    .footer-container>.footer-col ul li {
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .footer-container>.footer-col ul li a {
        font-size: 0.88rem;
    }

    .footer-container>.footer-col p {
        margin-bottom: 8px;
        font-size: 0.86rem;
        line-height: 1.4;
    }
}

/* Tablets Portrait & Large Mobile (Max 768px) */
@media (max-width: 768px) {
    .header-container {
        padding: 0 14px;
        min-height: 60px;
    }

    .btn-nav-donate {
        padding: 6px 12px;
        font-size: var(--font-btn);
        gap: 5px;
    }

    .logo-area {
        gap: 0 !important;
    }

    .logo {
        height: 48px !important;
        max-height: 48px !important;
        width: auto !important;
        margin: 0 !important;
    }

    /* Remove/Hide logo text on mobile so only logo and buttons appear */
    .logo-text {
        display: none !important;
    }

    .desktop-nav {
        top: 60px;
        max-height: calc(100vh - 60px);
    }

    .footer {
        padding: 24px 0 12px;
    }
}

/* Mobile Phones (Max 575px) - Perfectly proportioned 2-column layout + full width contact info */
@media (max-width: 575px) {
    .footer {
        padding: 24px 0 16px;
    }

    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 14px;
        row-gap: 16px;
        margin-bottom: 16px;
    }

    /* Logo & Description: Full width at top */
    .footer-container>.footer-col:first-child {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 12px;
        margin-bottom: 4px;
    }

    .footer-container>.footer-col:first-child .footer-logo {
        margin-bottom: 0;
        gap: 8px;
    }

    .footer-container>.footer-col:first-child .footer-logo img {
        height: 38px;
    }

    .footer-container>.footer-col:first-child .footer-logo h3 {
        font-size: 0.95rem;
    }

    .footer-container>.footer-col:first-child .footer-logo p {
        font-size: 0.72rem;
    }

    .footer-container>.footer-col:first-child>p {
        font-size: 0.8rem;
        line-height: 1.35;
        margin: 0;
    }

    .footer-container>.footer-col:first-child .social-icons {
        margin-top: 4px;
        margin-bottom: 2px;
        gap: 8px;
    }

    .footer-container>.footer-col:first-child .social-icons a {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    /* Quick Links on Left */
    .footer-container>.footer-col:nth-child(2) {
        grid-column: 1;
    }

    /* Our Services on Right */
    .footer-container>.footer-col:nth-child(3) {
        grid-column: 2;
    }

    /* Contact Info: Full width on bottom so phone, email and address never cramp */
    .footer-container>.footer-col:nth-child(4),
    .footer-container>.footer-col:last-child {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding-top: 14px;
        margin-top: 2px;
    }

    .footer-container>.footer-col:not(:first-child) {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .footer-container>.footer-col h4 {
        margin-top: 0;
        margin-bottom: 10px;
        padding-bottom: 5px;
        font-size: 0.92rem;
        font-weight: 700;
    }

    .footer-container>.footer-col ul li {
        margin-bottom: 7px;
        line-height: 1.35;
    }

    .footer-container>.footer-col ul li a {
        font-size: 0.84rem;
    }

    .footer-container>.footer-col p {
        margin-bottom: 8px;
        font-size: 0.82rem;
        line-height: 1.4;
        display: flex;
        align-items: flex-start;
        gap: 8px;
        word-break: normal;
    }

    .footer-container>.footer-col p i {
        font-size: 0.82rem;
        width: 14px;
        margin-top: 3px;
        flex-shrink: 0;
        color: #000;
    }

    .footer-bottom {
        padding-top: 14px;
        font-size: 0.76rem;
        line-height: 1.5;
    }
}

/* Extra Small Devices (Max 360px & 320px) */
@media (max-width: 360px) {
    .footer-container {
        column-gap: 10px;
        row-gap: 14px;
    }

    .footer-container>.footer-col h4 {
        font-size: 0.88rem;
    }

    .footer-container>.footer-col ul li a {
        font-size: 0.8rem;
    }

    .footer-container>.footer-col p {
        font-size: 0.78rem;
    }
}

/* Small Phones (Max 480px) */
@media (max-width: 480px) {
    .header-container {
        padding: 0 10px;
        gap: 6px;
    }

    .logo-area {
        gap: 8px;
    }

    .logo {
        height: 48px !important;
        max-height: 48px !important;
        margin: 0 !important;
        margin: 0 !important;
        margin-top: -4px;
        margin-bottom: -4px;
    }

    .header-actions {
        gap: 6px;
    }

    .lang-selector-btn {
        padding: 5px 8px;
        font-size: 0.8rem;
    }

    .search-trigger-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .user-nav-pill {
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        padding: 0 10px 0 8px !important;
        font-size: 12px !important;
        gap: 5px !important;
        border-radius: 18px !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
    }

    .user-nav-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.72rem;
    }

    .btn-nav-donate {
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        padding: 0 10px !important;
        font-size: var(--font-btn);
        gap: 4px !important;
        border-radius: 18px !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
    }

    .user-nav-circle-btn {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
    }

    .mobile-menu-btn {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }
}

/* Extra Small Devices (Max 360px) */
@media (max-width: 360px) {
    .logo {
        height: 44px !important;
        max-height: 44px !important;
        margin: 0 !important;
        margin: 0 !important;
    }

    .header-actions {
        gap: 4px;
    }

    .btn-nav-donate {
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        padding: 0 8px !important;
        font-size: var(--font-btn);
        gap: 3px !important;
        border-radius: 16px !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
    }

    .user-nav-pill {
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        padding: 0 8px 0 6px !important;
        font-size: 11.5px !important;
        gap: 4px !important;
        border-radius: 16px !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
    }

    .user-nav-circle-btn {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }
}

/* ==========================================================
   ULTRA-WIDE SCREEN (2K / 2560px & 4K Displays) HEADER & FOOTER
   ========================================================== */
@media (min-width: 2000px) {
    .header-container {
        max-width: 1900px;
        margin: 0 auto;
        padding: 0 40px;
        min-height: 80px;
    }

    .desktop-nav a {
        font-size: 16px !important;
    }

    .desktop-nav ul {
        gap: 28px;
    }

    .footer-container {
        max-width: 1900px;
        margin: 0 auto;
        padding: 0 40px;
    }
}

@media (min-width: 2560px) {
    .header-container {
        max-width: 2400px;
        margin: 0 auto;
        padding: 0 50px;
        min-height: 90px;
    }

    .logo {
        height: 74px !important;
        max-height: 74px !important;
        margin: 0 !important;
        margin: 0 !important;
    }

    .logo-text h1 {
        font-size: 1.35rem !important;
        margin: 0 !important;
        margin: 0 !important;
    }

    .logo-text p {
        font-size: 0.95rem;
    }

    .desktop-nav a {
        font-size: 16px !important;
    }

    .desktop-nav ul {
        gap: 36px;
    }

    .footer-container {
        max-width: 2400px;
        margin: 0 auto;
        padding: 0 50px;
    }

    .footer-container>.footer-col h4 {
        font-size: 1.4rem;
    }

    .footer-container>.footer-col ul li a,
    .footer-container>.footer-col p {
        font-size: 1.15rem;
    }
}