/* ==========================================================================
   Community System - Fresh, Modern, Colorful Frontend Stylesheet
   Vibrant, Clean, Friendly & Responsive Community UI Design System
   ========================================================================== */

:root {
    /* Brand-Aligned Community Design System Variables (Calibrated to VanshOne Logo) */
    --comm-blue: #146280;
    --comm-blue-gradient: linear-gradient(135deg, #377a93 0%, #11536d 100%);
    --comm-blue-soft: #ecf2f5;
    --comm-blue-border: #c4d8df;

    --comm-orange: #de8032;
    --comm-orange-gradient: linear-gradient(135deg, #e39351 0%, #bd6d2b 100%);
    --comm-orange-soft: #fcf5ef;
    --comm-orange-border: #f7dfcc;

    --comm-emerald: #146280;
    --comm-emerald-gradient: linear-gradient(135deg, #377a93 0%, #146280 100%);
    --comm-emerald-soft: #ecf2f5;
    --comm-emerald-border: #c4d8df;

    --comm-purple: #11536d;
    --comm-purple-gradient: linear-gradient(135deg, #146280 0%, #11536d 100%);
    --comm-purple-soft: #ecf2f5;
    --comm-purple-border: #c4d8df;

    --comm-rose: #bd6d2b;
    --comm-rose-gradient: linear-gradient(135deg, #e39351 0%, #bd6d2b 100%);
    --comm-rose-soft: #fcf5ef;
    --comm-rose-border: #f7dfcc;

    --comm-amber: #de8032;
    --comm-amber-gradient: linear-gradient(135deg, #e39351 0%, #bd6d2b 100%);
    --comm-amber-soft: #fcf5ef;
    --comm-amber-border: #f7dfcc;

    /* Neutrals */
    --comm-dark: #0c232f;
    --comm-slate: #102e3d;
    --comm-body: #163c4d;
    --comm-muted: #667d85;
    --comm-border: #d5e4e5;
    --comm-border-light: #eef5f5;
    --comm-bg: #f3f8f8;
    --comm-card-bg: #ffffff;

    /* Radii & Shadows */
    --comm-radius-sm: 10px;
    --comm-radius-md: 16px;
    --comm-radius-lg: 24px;
    --comm-radius-xl: 32px;
    --comm-radius-full: 9999px;

    --comm-shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    --comm-shadow-hover: 0 16px 32px -4px rgba(15, 23, 42, 0.12), 0 6px 12px -2px rgba(15, 23, 42, 0.04);
    --comm-shadow-glow-orange: 0 10px 25px -3px rgba(234, 88, 12, 0.35);
    --comm-shadow-glow-blue: 0 10px 25px -3px rgba(37, 99, 235, 0.35);

    --comm-transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);

    /* Localized Font Families */
    --comm-font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --comm-font-hi: 'Noto Sans Devanagari', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --comm-font-gu: 'Anek Gujarati', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Base & Typography */
body.modern-frontend {
    font-family: var(--comm-font-en);
    color: var(--comm-body);
    background-color: var(--comm-bg);
    line-height: 1.65;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ==========================================================================
   Language-specific Typography (Hindi & Gujarati)
   Google Fonts: Noto Sans Devanagari (Hindi), Anek Gujarati (Gujarati)
   Carefully scoped to text elements so icon fonts and SVGs are NEVER overridden
   ========================================================================== */

/* Hindi (Devanagari) */
html[lang="hi"] body.modern-frontend,
html[lang="hi"] p,
html[lang="hi"] a:not([class*="fa-"]):not(.fas):not(.far):not(.fab):not(.fa),
html[lang="hi"] span:not([class*="fa-"]):not(.fas):not(.far):not(.fab):not(.fa),
html[lang="hi"] div:not([class*="fa-"]):not(.fas):not(.far):not(.fab):not(.fa),
html[lang="hi"] li:not([class*="fa-"]),
html[lang="hi"] button,
html[lang="hi"] input,
html[lang="hi"] select,
html[lang="hi"] textarea,
.font-lang-hi {
    font-family: var(--comm-font-hi) !important;
}

html[lang="hi"] h1,
html[lang="hi"] h2,
html[lang="hi"] h3,
html[lang="hi"] h4,
html[lang="hi"] h5,
html[lang="hi"] h6,
html[lang="hi"] .colorful-section-title,
html[lang="hi"] .modern-nav-link,
html[lang="hi"] .modern-dropdown-link {
    font-family: var(--comm-font-hi) !important;
    letter-spacing: normal;
}

/* Gujarati */
html[lang="gu"] body.modern-frontend,
html[lang="gu"] p,
html[lang="gu"] a:not([class*="fa-"]):not(.fas):not(.far):not(.fab):not(.fa),
html[lang="gu"] span:not([class*="fa-"]):not(.fas):not(.far):not(.fab):not(.fa),
html[lang="gu"] div:not([class*="fa-"]):not(.fas):not(.far):not(.fab):not(.fa),
html[lang="gu"] li:not([class*="fa-"]),
html[lang="gu"] button,
html[lang="gu"] input,
html[lang="gu"] select,
html[lang="gu"] textarea,
.font-lang-gu {
    font-family: var(--comm-font-gu) !important;
}

html[lang="gu"] h1,
html[lang="gu"] h2,
html[lang="gu"] h3,
html[lang="gu"] h4,
html[lang="gu"] h5,
html[lang="gu"] h6,
html[lang="gu"] .colorful-section-title,
html[lang="gu"] .modern-nav-link,
html[lang="gu"] .modern-dropdown-link {
    font-family: var(--comm-font-gu) !important;
    letter-spacing: normal;
}

/* Hard protection for FontAwesome webfonts (prevents any language override) */
.modern-frontend i.fas,
.modern-frontend i.far,
.modern-frontend i.fa,
.modern-frontend i[class*=" fa-"],
.modern-frontend i[class^="fa-"] {
    font-family: "Font Awesome 5 Free" !important;
    font-style: normal;
}

.modern-frontend i.fab {
    font-family: "Font Awesome 5 Brands" !important;
    font-style: normal;
}

/* SVG Icon sizing & alignment */
.svg-inline--fa {
    display: inline-block;
    height: 1em;
    overflow: visible;
    vertical-align: -0.125em;
}

.modern-frontend svg.svg-inline--fa {
    font-family: initial !important;
}

.modern-frontend h1,
.modern-frontend h2,
.modern-frontend h3,
.modern-frontend h4,
.modern-frontend h5,
.modern-frontend h6 {
    color: var(--comm-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Explicit high-contrast white protection for headings on dark backgrounds & overlays */
.modern-frontend .hero-slide-content h1,
.modern-frontend .hero-slide-content h2,
.modern-frontend .hero-slide-content h3,
.modern-frontend .hero-slide-title,
.modern-frontend .welfare-banner-section h1,
.modern-frontend .welfare-banner-section h2,
.modern-frontend .welfare-banner-section h3,
.modern-frontend .welfare-banner-title,
.modern-frontend .gallery-tile-overlay h1,
.modern-frontend .gallery-tile-overlay h2,
.modern-frontend .gallery-tile-overlay h3,
.modern-frontend .gallery-tile-overlay h4,
.modern-frontend .gallery-tile-title,
.modern-frontend .modern-footer h1,
.modern-frontend .modern-footer h2,
.modern-frontend .modern-footer h3,
.modern-frontend .modern-footer h4,
.modern-frontend .modern-footer h5,
.modern-frontend .modern-footer h6,
.modern-frontend .footer-heading {
    color: #ffffff !important;
}

.modern-frontend a {
    color: var(--comm-blue);
    text-decoration: none;
    transition: var(--comm-transition);
}

.modern-frontend a:hover {
    color: var(--comm-orange);
}

/* Headings with links strictly inherit brand dark text (#0c232f) */
.modern-frontend h1 a,
.modern-frontend h2 a,
.modern-frontend h3 a,
.modern-frontend h4 a,
.modern-frontend h5 a,
.modern-frontend h6 a {
    color: var(--comm-dark);
    text-decoration: none;
    transition: var(--comm-transition);
}

.modern-frontend h1 a:hover,
.modern-frontend h2 a:hover,
.modern-frontend h3 a:hover,
.modern-frontend h4 a:hover,
.modern-frontend h5 a:hover,
.modern-frontend h6 a:hover {
    color: var(--comm-blue);
}

/* Utilities */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Colorful Section Badges */
.badge-pill-colorful,
.badge-pill-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: var(--comm-radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.badge-pill-orange {
    background: var(--comm-orange-soft);
    color: var(--comm-orange);
    border: 1px solid var(--comm-orange-border);
}

.badge-pill-blue {
    background: var(--comm-blue-soft);
    color: var(--comm-blue);
    border: 1px solid var(--comm-blue-border);
}

.badge-pill-emerald {
    background: var(--comm-emerald-soft);
    color: var(--comm-emerald);
    border: 1px solid var(--comm-emerald-border);
}

.badge-pill-purple {
    background: var(--comm-purple-soft);
    color: var(--comm-purple);
    border: 1px solid var(--comm-purple-border);
}

/* Section Headings */
.colorful-section-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--comm-dark);
    line-height: 1.25;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .colorful-section-title {
        font-size: 1.85rem;
    }
}

.colorful-section-desc {
    font-size: 1.05rem;
    color: var(--comm-muted);
    max-width: 620px;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */

/* Topbar */
.modern-topbar {
    position: relative;
    z-index: 1060;
    background: linear-gradient(90deg, var(--comm-topbar-bg, #0c232f) 0%, var(--comm-topbar-bg-end, #102e3d) 100%);
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modern-topbar a {
    color: #cbd5e1;
}

.modern-topbar a:hover {
    color: #fbbf24;
}

.topbar-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 22px;
}

.topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    margin-left: 6px;
    font-size: 0.75rem;
    transition: var(--comm-transition);
}

.topbar-social a:hover {
    background: var(--comm-orange);
    color: #fff;
    transform: translateY(-2px);
}

/* Language Dropdown */
.lang-dropdown-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: var(--comm-radius-sm);
    padding: 5px 12px;
    font-size: 0.825rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--comm-transition);
}

.lang-dropdown-btn:hover,
.lang-dropdown-btn[aria-expanded="true"],
.lang-dropdown-btn.show {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.lang-dropdown-menu {
    position: absolute;
    z-index: 1070 !important;
    border-radius: var(--comm-radius-md);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.24);
    border: 1px solid var(--comm-border);
    background-color: #ffffff;
    padding: 8px;
    min-width: 165px;
    margin-top: 6px !important;
}

.lang-dropdown-menu .dropdown-item {
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--comm-dark);
    transition: var(--comm-transition);
}

.lang-dropdown-menu .dropdown-item:hover {
    background-color: var(--comm-blue-soft);
    color: var(--comm-blue);
}

.lang-dropdown-menu .dropdown-item.active {
    background-color: var(--comm-blue-soft);
    color: var(--comm-blue);
    font-weight: 700;
}

/* Main Navigation */
.modern-navbar {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    position: sticky;
    top: 0;
    z-index: 1040;
    transition: var(--comm-transition);
}

.modern-navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: var(--comm-shadow-card);
}

.navbar-brand-logo {
    height: 68px;
    width: auto;
    object-fit: contain;
    transition: var(--comm-transition);
}

@media (max-width: 991.98px) {
    .navbar-brand-logo {
        height: 48px;
        max-width: 175px;
    }
}

@media (max-width: 480px) {
    .navbar-brand-logo {
        height: 40px;
        max-width: 140px;
    }
}

.modern-nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.modern-nav-item {
    position: relative;
}

.modern-nav-link {
    color: var(--comm-dark);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 14px;
    border-radius: var(--comm-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--comm-transition);
}

.modern-nav-link:hover,
.modern-nav-item.active .modern-nav-link {
    color: var(--comm-orange);
    background-color: var(--comm-orange-soft);
}

/* Nav Dropdown (Fixed Hover Bridge & Grace Period to Prevent Premature Hiding) */
.modern-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 1050;
    display: block;
    min-width: 230px;
    padding: 8px;
    margin: 0;
    background-color: #ffffff;
    border: 1px solid var(--comm-border, #d5e4e5);
    border-radius: var(--comm-radius-md, 14px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.12s; /* Grace period when mouse leaves link */
}

/* Invisible hover bridge spanning the space between nav button and dropdown */
.modern-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -14px;
    left: -10px;
    right: -10px;
    height: 18px;
    background: transparent;
    display: block;
    pointer-events: auto;
}

.modern-nav-item.dropdown:hover .modern-dropdown-menu,
.modern-nav-item.dropdown:focus-within .modern-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s; /* Opens instantly when hovering item */
}

.modern-dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    color: var(--comm-dark);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--comm-transition);
}

.modern-dropdown-link:hover {
    background-color: var(--comm-blue-soft);
    color: var(--comm-blue);
    transform: translateX(4px);
}

/* Colorful CTA Buttons */
.btn-colorful-donate {
    background: var(--comm-orange-gradient);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.925rem;
    padding: 9px 22px;
    border-radius: var(--comm-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    box-shadow: var(--comm-shadow-glow-orange);
    transition: var(--comm-transition);
}

.btn-colorful-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -2px rgba(234, 88, 12, 0.5);
}

.btn-colorful-register {
    background: var(--comm-blue-soft);
    color: var(--comm-blue) !important;
    border: 1.5px solid var(--comm-blue-border);
    font-weight: 700;
    font-size: 0.925rem;
    padding: 8px 18px;
    border-radius: var(--comm-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--comm-transition);
}

.btn-colorful-register:hover {
    background: var(--comm-blue);
    color: #ffffff !important;
    border-color: var(--comm-blue);
    transform: translateY(-2px);
}

/* ==========================================================================
   Mobile Header & Side Panel Drawer
   ========================================================================== */

/* Mobile Hamburger Toggler */
.mobile-toggler {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(20, 98, 128, 0.08);
    border: 1px solid rgba(20, 98, 128, 0.22);
    color: var(--comm-primary, #146280);
    cursor: pointer;
    transition: all 0.22s ease;
    outline: none;
    flex-shrink: 0;
}

.mobile-toggler:hover,
.mobile-toggler:focus {
    background: var(--comm-primary, #146280);
    color: #ffffff !important;
    border-color: var(--comm-primary, #146280);
    box-shadow: 0 4px 14px rgba(20, 98, 128, 0.28);
}

.mobile-toggler:active {
    transform: scale(0.95);
}

.mobile-toggler i,
.mobile-toggler svg {
    font-size: 1.25rem;
    pointer-events: none;
}

@media (max-width: 480px) {
    .mobile-toggler {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
}

/* Mobile Side Panel Drawer */
.mobile-side-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 330px !important;
    max-width: 86vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    z-index: 99999 !important;
    box-shadow: 6px 0 32px rgba(15, 23, 42, 0.28) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    visibility: hidden;
}

.mobile-side-drawer.is-open,
.mobile-side-drawer.show {
    transform: translateX(0) !important;
    visibility: visible !important;
}

/* Mobile Drawer Backdrop */
.mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

body.drawer-open {
    overflow: hidden !important;
    touch-action: none;
}

/* Drawer Header */
.drawer-header {
    flex-shrink: 0;
    background: #ffffff;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.drawer-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.drawer-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f8fafc;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.drawer-close-btn:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
    transform: rotate(90deg);
}

/* Drawer Body */
.drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px;
}

/* Featured Donate Box inside Drawer */
.drawer-donate-box {
    background: linear-gradient(135deg, rgba(20, 98, 128, 0.08) 0%, rgba(222, 128, 50, 0.14) 100%);
    border: 1px solid rgba(222, 128, 50, 0.3);
    border-radius: 14px;
    padding: 14px 16px;
}

.drawer-donate-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--comm-primary, #146280);
}

/* Drawer Navigation List */
.drawer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-nav-item {
    position: relative;
}

.drawer-nav-link {
    display: flex;
    align-items: center;
    padding: 11px 14px;
    border-radius: 10px;
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.drawer-nav-icon {
    width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--comm-primary, #146280);
    margin-right: 10px;
    transition: transform 0.2s ease;
}

.drawer-nav-link:hover,
.drawer-nav-link.active {
    background: rgba(20, 98, 128, 0.08);
    color: var(--comm-primary, #146280) !important;
}

.drawer-nav-link:hover .drawer-nav-icon,
.drawer-nav-link.active .drawer-nav-icon {
    color: var(--comm-orange, #de8032);
    transform: scale(1.1);
}

.drawer-chevron {
    transition: transform 0.25s ease;
    color: #94a3b8;
}

.drawer-nav-item.open > .drawer-nav-link .drawer-chevron {
    transform: rotate(180deg);
    color: var(--comm-primary, #146280);
}

.drawer-submenu {
    list-style: none;
    padding: 4px 0 6px 38px;
    margin: 0;
    display: none;
}

.drawer-nav-item.open > .drawer-submenu {
    display: block;
}

.drawer-sublink {
    display: block;
    padding: 8px 12px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.18s ease;
}

.drawer-sublink:hover {
    color: var(--comm-orange, #de8032) !important;
    background: rgba(222, 128, 50, 0.08);
    padding-left: 16px;
}

/* Language Section inside Drawer */
.drawer-lang-section {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.drawer-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}

.drawer-lang-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.drawer-lang-btn {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #ffffff;
    color: #334155;
    padding: 7px 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.drawer-lang-btn:hover {
    border-color: var(--comm-primary, #146280);
    color: var(--comm-primary, #146280);
}

.drawer-lang-btn.active {
    background: var(--comm-primary, #146280);
    color: #ffffff;
    border-color: var(--comm-primary, #146280);
    box-shadow: 0 2px 8px rgba(20, 98, 128, 0.25);
}

/* Drawer Contact Section */
.drawer-contact-section {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.85rem;
}

.drawer-contact-row a {
    color: #334155;
    text-decoration: none !important;
    font-weight: 500;
}

.drawer-contact-row a:hover {
    color: var(--comm-primary, #146280);
}

.drawer-social-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.85rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.drawer-social-icon:hover {
    background: var(--comm-primary, #146280);
    color: #ffffff;
    border-color: var(--comm-primary, #146280);
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero Slider Section (Admin Controlled)
   100% Full-Width Desktop & Smooth Responsive Mobile Image Slider
   (Clear Images, No Text Overlays, Destination Link Support)
   ========================================================================== */

.hero-slider-container {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    background-color: var(--brand-topbar-bg, #0b1528);
}

.hero-swiper {
    width: 100%;
    height: 520px;
}

@media (min-width: 1600px) {
    .hero-swiper {
        height: 580px;
    }
}

@media (max-width: 1200px) {
    .hero-swiper {
        height: 440px;
    }
}

@media (max-width: 992px) {
    .hero-swiper {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .hero-swiper {
        height: 280px;
    }
}

@media (max-width: 576px) {
    .hero-swiper {
        height: 210px;
    }
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--brand-topbar-bg, #0b1528);
}

.hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    outline: none;
    cursor: pointer;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-slide-active .hero-slide-img {
    transform: scale(1.03);
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-slide-active .hero-slide-bg {
    transform: scale(1.03);
}

/* Ensure no dark overlays or text block the clear images */
.hero-slide-overlay {
    display: none !important;
}

.hero-slide-content {
    display: none !important;
}

.hero-slide-tagline,
.hero-slide-title,
.hero-slide-cta-btn {
    display: none !important;
}

/* Glassy Slider Controls on 100% Full-Width Edge */
.hero-swiper-btn-prev,
.hero-swiper-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--comm-transition);
}

.hero-swiper-btn-prev {
    left: 24px;
}

.hero-swiper-btn-next {
    right: 24px;
}

.hero-swiper-btn-prev:hover,
.hero-swiper-btn-next:hover {
    background: #ffffff;
    color: var(--comm-dark, #0b1528);
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .hero-swiper-btn-prev,
    .hero-swiper-btn-next {
        display: none;
    }
}

.hero-swiper-pagination {
    bottom: 16px !important;
    z-index: 10;
}

.hero-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    border-radius: var(--comm-radius-full);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    transition: var(--comm-transition);
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
    width: 32px;
    background: var(--comm-orange, #de8032);
}

@media (max-width: 576px) {
    .hero-swiper-pagination {
        bottom: 10px !important;
    }
    .hero-swiper-pagination .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
    }
    .hero-swiper-pagination .swiper-pagination-bullet-active {
        width: 20px;
    }
}

/* ==========================================================================
   Section 2: Colorful Quick Hub Cards
   ========================================================================== */

.hub-section {
    padding: 1.5rem 0 3.5rem;
}

.hub-card {
    background: #ffffff;
    border-radius: var(--comm-radius-lg);
    padding: 24px;
    box-shadow: var(--comm-shadow-card);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    height: 100%;
    border: 1px solid var(--comm-border);
    transition: var(--comm-transition);
    position: relative;
    overflow: hidden;
}

.hub-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0.8;
}

.hub-card.card-blue::before { background: var(--comm-blue-gradient); }
.hub-card.card-orange::before { background: var(--comm-orange-gradient); }
.hub-card.card-emerald::before { background: var(--comm-emerald-gradient); }
.hub-card.card-purple::before { background: var(--comm-purple-gradient); }

.hub-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--comm-shadow-hover);
}

.hub-card.card-blue:hover { border-color: var(--comm-blue-border); }
.hub-card.card-orange:hover { border-color: var(--comm-orange-border); }
.hub-card.card-emerald:hover { border-color: var(--comm-emerald-border); }
.hub-card.card-purple:hover { border-color: var(--comm-purple-border); }

.hub-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--comm-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--comm-transition);
}

.card-blue .hub-icon-wrapper { background: var(--comm-blue-soft); color: var(--comm-blue); }
.card-orange .hub-icon-wrapper { background: var(--comm-orange-soft); color: var(--comm-orange); }
.card-emerald .hub-icon-wrapper { background: var(--comm-emerald-soft); color: var(--comm-emerald); }
.card-purple .hub-icon-wrapper { background: var(--comm-purple-soft); color: var(--comm-purple); }

.hub-card:hover .hub-icon-wrapper {
    transform: scale(1.1) rotate(4deg);
}

.card-blue:hover .hub-icon-wrapper { background: var(--comm-blue); color: #fff; }
.card-orange:hover .hub-icon-wrapper { background: var(--comm-orange); color: #fff; }
.card-emerald:hover .hub-icon-wrapper { background: var(--comm-emerald); color: #fff; }
.card-purple:hover .hub-icon-wrapper { background: var(--comm-purple); color: #fff; }

.hub-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--comm-dark);
    margin-bottom: 6px;
}

.hub-desc {
    font-size: 0.88rem;
    color: var(--comm-muted);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   Section 3: Fresh About Story & Highlights
   ========================================================================== */

.about-fresh-section {
    padding: 4.5rem 0;
    background: #ffffff;
}

.about-fresh-img-container {
    position: relative;
}

.about-fresh-img-box {
    border-radius: var(--comm-radius-xl);
    overflow: hidden;
    box-shadow: var(--comm-shadow-hover);
    position: relative;
}

.about-fresh-img-box img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

/* Floating colorful badge */
.about-floating-stat {
    position: absolute;
    bottom: -20px;
    right: -10px;
    background: #ffffff;
    border-radius: var(--comm-radius-lg);
    padding: 20px 26px;
    box-shadow: var(--comm-shadow-hover);
    border: 2px solid var(--comm-amber);
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (max-width: 576px) {
    .about-floating-stat {
        position: static;
        margin-top: 1rem;
    }
}

.about-floating-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--comm-amber-soft);
    color: var(--comm-amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.about-highlight-card {
    background: linear-gradient(135deg, var(--comm-orange-soft) 0%, #fff 100%);
    border-left: 5px solid var(--comm-orange);
    border-radius: var(--comm-radius-sm);
    padding: 20px 24px;
    margin: 24px 0;
    font-weight: 600;
    font-size: 1.05rem;
    color: #9a3412;
    line-height: 1.6;
}

/* Quick Impact Metrics */
.metrics-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 28px 0;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.metric-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--comm-blue);
    line-height: 1;
}

.metric-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--comm-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

/* ==========================================================================
   Section 4: Colorful Welfare & Initiatives Grid
   ========================================================================== */

.services-colorful-section {
    padding: 5rem 0;
    background: var(--comm-bg);
}

.service-card-modern {
    background: #ffffff;
    border-radius: var(--comm-radius-lg);
    border: 1px solid var(--comm-border);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--comm-shadow-card);
    transition: var(--comm-transition);
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--comm-shadow-hover);
    border-color: var(--comm-blue-border);
}

.service-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #e2e8f0;
}

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

.service-card-modern:hover .service-img-wrap img {
    transform: scale(1.08);
}

.service-body-modern {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title-modern {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--comm-dark);
    margin-bottom: 10px;
    transition: var(--comm-transition);
}

.service-title-modern a {
    color: var(--comm-dark);
    text-decoration: none;
    transition: var(--comm-transition);
}

.service-card-modern:hover .service-title-modern,
.service-card-modern:hover .service-title-modern a,
.service-title-modern a:hover {
    color: var(--comm-blue);
}

.service-desc-modern {
    font-size: 0.925rem;
    color: var(--comm-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link-btn {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--comm-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link-btn i {
    transition: transform 0.25s ease;
}

.service-card-modern:hover .service-link-btn i {
    transform: translateX(5px);
}

/* ==========================================================================
   Section 5: Vibrant Events Showcase
   ========================================================================== */

.events-colorful-section {
    padding: 5rem 0;
    background: #ffffff;
}

.event-card-modern {
    background: #ffffff;
    border-radius: var(--comm-radius-lg);
    border: 1px solid var(--comm-border);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--comm-shadow-card);
    transition: var(--comm-transition);
}

.event-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--comm-shadow-hover);
    border-color: var(--comm-orange-border);
}

.event-img-wrap {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
}

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

.event-card-modern:hover .event-img-wrap img {
    transform: scale(1.08);
}

/* Vibrant calendar date chip */
.event-calendar-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 8px 14px;
    text-align: center;
    font-weight: 800;
    color: var(--comm-orange);
    font-size: 0.825rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--comm-orange-border);
}

.event-body-modern {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-meta-location {
    font-size: 0.85rem;
    color: var(--comm-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.event-title-modern {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--comm-dark);
    margin-bottom: 16px;
    line-height: 1.35;
    transition: var(--comm-transition);
}

.event-title-modern a {
    color: var(--comm-dark);
    text-decoration: none;
    transition: var(--comm-transition);
}

.event-card-modern:hover .event-title-modern,
.event-card-modern:hover .event-title-modern a,
.event-title-modern a:hover {
    color: var(--comm-orange);
}

/* ==========================================================================
   Section 6: Colorful Welfare Banner
   ========================================================================== */

.welfare-banner-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--comm-blue) 0%, #0c232f 45%, var(--comm-orange) 100%);
    color: #ffffff;
}

.welfare-banner-section::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.modern-frontend .welfare-banner-title,
.welfare-banner-title,
h2.welfare-banner-title {
    font-size: 2.85rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
    .modern-frontend .welfare-banner-title,
    .welfare-banner-title,
    h2.welfare-banner-title {
        font-size: 2rem;
    }
}

.welfare-banner-desc {
    font-size: 1.15rem;
    color: #ffffff !important;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.btn-banner-white {
    background: #ffffff;
    color: var(--comm-dark) !important;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 14px 34px;
    border-radius: var(--comm-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: var(--comm-transition);
}

.btn-banner-white:hover {
    background: var(--comm-orange);
    color: #ffffff !important;
    transform: translateY(-3px);
}

.btn-banner-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 13px 30px;
    border-radius: var(--comm-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--comm-transition);
}

.btn-banner-glass:hover {
    background: #ffffff;
    color: var(--comm-blue) !important;
    border-color: #ffffff;
    transform: translateY(-3px);
}

/* ==========================================================================
   Section 7: Fresh Gallery Showcase
   ========================================================================== */

.gallery-fresh-section {
    padding: 5rem 0;
    background: var(--comm-bg);
}

.gallery-tile {
    position: relative;
    border-radius: var(--comm-radius-lg);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: var(--comm-shadow-card);
    display: block;
}

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

.gallery-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #ffffff;
    transition: var(--comm-transition);
}

.gallery-tile:hover img {
    transform: scale(1.1);
}

.modern-frontend .gallery-tile-title,
.gallery-tile-title,
h4.gallery-tile-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   Section 8: Community Voices & Testimonials
   ========================================================================== */

.testimonials-fresh-section {
    padding: 5rem 0;
    background: #ffffff;
}

.testimonial-box-modern {
    background: var(--comm-bg);
    border: 1px solid var(--comm-border);
    border-radius: var(--comm-radius-lg);
    padding: 32px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--comm-shadow-card);
    transition: var(--comm-transition);
    position: relative;
}

.testimonial-box-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--comm-shadow-hover);
    border-color: var(--comm-amber-border);
    background: #ffffff;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.testimonial-quote-text {
    font-size: 1rem;
    color: var(--comm-body);
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
    font-style: italic;
}

.testimonial-profile {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--comm-orange);
}

.testimonial-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--comm-dark);
    margin: 0;
}

.testimonial-role {
    font-size: 0.825rem;
    color: var(--comm-muted);
    margin: 0;
}

/* ==========================================================================
   Section 9: Latest Community Articles & News
   ========================================================================== */

.blogs-fresh-section {
    padding: 5rem 0;
    background: var(--comm-bg);
}

.blog-card-modern {
    background: #ffffff;
    border: 1px solid var(--comm-border);
    border-radius: var(--comm-radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--comm-shadow-card);
    transition: var(--comm-transition);
}

.blog-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--comm-shadow-hover);
    border-color: var(--comm-purple-border);
}

.blog-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

.blog-card-modern:hover .blog-img-wrap img {
    transform: scale(1.08);
}

.blog-date-chip {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 8px;
}

.blog-body-modern {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title-modern {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--comm-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: var(--comm-transition);
}

.blog-title-modern a {
    color: var(--comm-dark);
    text-decoration: none;
    transition: var(--comm-transition);
}

.blog-card-modern:hover .blog-title-modern,
.blog-card-modern:hover .blog-title-modern a,
.blog-title-modern a:hover {
    color: var(--comm-purple);
}

.blog-desc-modern {
    font-size: 0.925rem;
    color: var(--comm-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.blog-read-link {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--comm-purple);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-read-link i {
    transition: transform 0.25s ease;
}

.blog-card-modern:hover .blog-read-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   Modern Community Footer
   ========================================================================== */

.modern-footer {
    background-color: var(--comm-footer-bg, #081820);
    color: #94a3b8;
    padding-top: 5rem;
    border-top: 4px solid var(--comm-orange);
}

.footer-brand-logo {
    height: 175px;
    max-height: 180px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 24px;
    display: block;
}

@media (max-width: 768px) {
    .footer-brand-logo {
        height: 125px;
        margin-bottom: 20px;
    }
}

.footer-about-text {
    font-size: 0.925rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: #cbd5e1;
}

.modern-footer .footer-heading,
.footer-heading {
    color: #ffffff !important;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.modern-footer .footer-heading::after,
.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, var(--comm-orange, #de8032) 0%, rgba(222, 128, 50, 0.25) 100%);
    border-radius: 3px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links-list a {
    color: #cbd5e1;
    font-size: 0.925rem;
    font-weight: 600;
    transition: var(--comm-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

/* Modern Professional Footer Contact Cards */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 14px;
    margin-bottom: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(222, 128, 50, 0.35);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.footer-contact-item .footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(222, 128, 50, 0.16) 0%, rgba(20, 98, 128, 0.14) 100%);
    border: 1px solid rgba(222, 128, 50, 0.28);
    color: var(--comm-orange, #de8032);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.footer-contact-item:hover .footer-contact-icon {
    background: var(--comm-orange, #de8032);
    border-color: var(--comm-orange, #de8032);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(222, 128, 50, 0.4);
    transform: scale(1.05);
}

.footer-contact-item .footer-contact-icon i,
.footer-contact-item i {
    color: inherit;
    font-size: 1rem;
    transition: color 0.25s ease;
}

.footer-contact-content {
    flex: 1;
    min-width: 0;
}

.footer-contact-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #8da2b0;
    margin-bottom: 2px;
    line-height: 1.2;
}

.footer-contact-value {
    font-size: 0.915rem;
    color: #e2e8f0;
    line-height: 1.55;
    word-break: break-word;
}

.footer-contact-value a,
.footer-contact-link {
    color: #e2e8f0 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-block;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

.footer-contact-value a:hover,
.footer-contact-link:hover {
    color: var(--comm-orange, #de8032) !important;
    text-decoration: none !important;
}

.footer-phone-group,
.footer-email-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    margin-right: 10px;
    font-size: 1rem;
    transition: var(--comm-transition);
}

.footer-social-links a.social-fb:hover { background: #1877f2; }
.footer-social-links a.social-tw:hover { background: #1da1f2; }
.footer-social-links a.social-ig:hover { background: #e1306c; }
.footer-social-links a.social-yt:hover { background: #ff0000; }
.footer-social-links a.social-li:hover { background: #0a66c2; }

.footer-social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: var(--comm-footer-bottom-bg, #050f14);
    padding: 20px 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: #8395a3;
}

.footer-bottom strong {
    color: #cbd5e1;
    font-weight: 600;
}

.footer-bottom a,
.footer-bottom .footer-credit-link {
    color: #9cb1c0;
    font-weight: 500;
    text-decoration: none;
    transition: var(--comm-transition);
}

.footer-bottom a:hover,
.footer-bottom .footer-credit-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Floating Back-to-Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--comm-orange-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--comm-shadow-glow-orange);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--comm-transition);
    border: none;
}

.back-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    transform: translateY(-3px) scale(1.08);
}

/* ======================================================================
   Modern Inner Page Header & Breadcrumb Hero
   ====================================================================== */
.modern-page-header {
    position: relative;
    padding: 68px 0 62px;
    background: linear-gradient(135deg, var(--brand-topbar-bg, #081820) 0%, var(--brand-primary-dark, #0d3e52) 100%);
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modern-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.7;
    pointer-events: none;
}

.modern-page-header::after {
    content: '';
    position: absolute;
    right: -5%;
    bottom: -30%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(222, 128, 50, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.modern-page-header .container {
    position: relative;
    z-index: 2;
}

.modern-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 6px 18px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--comm-radius-full, 9999px);
    font-size: 0.825rem;
    font-weight: 500;
}

.modern-breadcrumb a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    transition: var(--comm-transition);
}

.modern-breadcrumb a:hover {
    color: var(--brand-secondary, #de8032) !important;
}

.modern-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.modern-breadcrumb-active {
    color: var(--brand-secondary, #de8032);
    font-weight: 600;
}

.modern-page-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1.25;
}

.modern-page-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* ======================================================================
   Modern About Section Components
   ====================================================================== */
.about-detail-section {
    padding: 70px 0 90px;
    background: var(--comm-body-bg, #f8fafc);
}

.about-feature-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid var(--comm-border, #e2e8f0);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    padding: 36px;
    height: 100%;
    transition: var(--comm-transition);
}

.about-feature-card:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.09);
    transform: translateY(-3px);
}

.about-img-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.16);
    border: 4px solid #ffffff;
    background-color: #f1f5f9;
}

.about-img-frame img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    max-height: 520px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-img-frame:hover img {
    transform: scale(1.03);
}

.about-floating-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #ffffff;
    border-radius: 16px;
    padding: 12px 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-floating-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--comm-orange-soft);
    color: var(--brand-secondary, #de8032);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.about-floating-badge-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--comm-dark, #0c232f);
    line-height: 1.2;
}

.about-floating-badge-sub {
    font-size: 0.75rem;
    color: var(--comm-gray, #64748b);
    line-height: 1.2;
}

.about-quote-box {
    background: linear-gradient(135deg, rgba(20, 98, 128, 0.05) 0%, rgba(222, 128, 50, 0.05) 100%);
    border-left: 4px solid var(--brand-secondary, #de8032);
    border-radius: 0 16px 16px 0;
    padding: 20px 24px;
    margin: 24px 0;
    font-style: italic;
    color: var(--comm-dark, #0c232f);
    font-weight: 500;
    line-height: 1.65;
}

.about-rich-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #334155;
}

.about-rich-text p {
    margin-bottom: 1.25rem;
}

.about-rich-text h3, .about-rich-text h4 {
    color: var(--comm-dark, #0c232f);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.pillar-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-weight: 600;
    color: var(--comm-dark, #0c232f);
    font-size: 0.975rem;
}

.pillar-check-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--comm-blue-soft);
    color: var(--brand-primary, #146280);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Leadership Presentation (President, Secretary, Founder) */
.leader-card-modern {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid var(--comm-border, #e2e8f0);
    box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    padding: 40px;
}

.leader-portrait-frame {
    position: relative;
    display: inline-block;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.16);
    border: 4px solid #ffffff;
    max-width: 380px;
    width: 100%;
    background-color: #f1f5f9;
}

.leader-portrait-frame img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.leader-designation-ribbon {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(8, 24, 32, 0.95) 0%, rgba(8, 24, 32, 0.75) 70%, transparent 100%);
    padding: 32px 20px 16px;
    color: #ffffff;
    text-align: center;
}

.leader-designation-ribbon h4 {
    color: #ffffff !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.leader-designation-ribbon span {
    color: var(--brand-secondary, #de8032);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.leader-signoff-box {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--comm-border, #e2e8f0);
    display: flex;
    align-items: center;
    gap: 16px;
}

.leader-signoff-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--comm-blue-soft);
    color: var(--brand-primary, #146280);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* Committee Member Grid */
.committee-position-header {
    position: relative;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(20, 98, 128, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.committee-member-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--comm-border, #e2e8f0);
    overflow: hidden;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.06);
    transition: var(--comm-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.committee-member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px -6px rgba(0, 0, 0, 0.12);
    border-color: rgba(20, 98, 128, 0.3);
}

.committee-member-photo {
    width: 100%;
    height: 290px;
    object-fit: cover;
    display: block;
    background-color: #f1f5f9;
}

.committee-member-info {
    padding: 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.committee-member-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--comm-dark, #0c232f);
    margin-bottom: 4px;
}

.committee-member-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-secondary, #de8032);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* CSR Specific Cards */
.csr-stat-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--comm-border, #e2e8f0);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    padding: 26px 20px;
    text-align: center;
    transition: var(--comm-transition);
}

.csr-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.csr-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 16px;
}

.csr-sidebar-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--comm-border, #e2e8f0);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    padding: 28px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .modern-page-header {
        padding: 50px 0 44px;
    }
    .modern-page-title {
        font-size: 1.85rem;
    }
    .leader-card-modern {
        padding: 24px 18px;
    }
    .leader-portrait-frame img {
        height: 380px;
    }
}

/* ==========================================================================
   Services, Events, Gallery, Blogs & Contact Specialized Modern Styles
   ========================================================================== */

/* Filter Pills Navigation */
.filter-nav-pills {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    background: #ffffff;
    padding: 8px;
    border-radius: 9999px;
    border: 1px solid var(--comm-border, #d5e4e5);
    box-shadow: 0 4px 14px rgba(12, 35, 47, 0.04);
}

.filter-nav-pills .filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--comm-body, #163c4d);
    text-decoration: none;
    transition: var(--comm-transition);
}

.filter-nav-pills .filter-pill:hover {
    color: var(--brand-primary, #146280);
    background: var(--comm-blue-soft, #ecf2f5);
}

.filter-nav-pills .filter-pill.active {
    background: var(--brand-primary, #146280);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(20, 98, 128, 0.28);
}

/* Detail Pages Hero Banner & Elements */
.detail-featured-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #e2e8f0;
}

.detail-featured-banner img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    display: block;
}

.detail-quote-box {
    background: var(--comm-orange-soft, #fcf5ef);
    border-left: 4px solid var(--brand-secondary, #de8032);
    border-radius: 0 16px 16px 0;
    padding: 22px 26px;
    margin: 24px 0;
    color: var(--comm-dark, #0c232f);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
}

.detail-content-body {
    font-size: 1.025rem;
    line-height: 1.8;
    color: var(--comm-body, #163c4d);
}

.detail-content-body p {
    margin-bottom: 1.25rem;
}

/* Detail Sidebar */
.modern-sidebar-widget {
    background: #ffffff;
    border: 1px solid var(--comm-border, #d5e4e5);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.modern-sidebar-widget .widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--comm-dark, #0c232f);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--comm-border-light, #eef5f5);
    position: relative;
}

.modern-sidebar-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 44px;
    height: 2px;
    background: var(--brand-secondary, #de8032);
}

/* Sidebar Post List */
.sidebar-recent-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-recent-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--comm-border, #d5e4e5);
    transition: var(--comm-transition);
}

.sidebar-recent-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-recent-thumb {
    width: 76px;
    height: 76px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-recent-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 4px;
}

.sidebar-recent-title a {
    color: var(--comm-dark, #0c232f);
    text-decoration: none;
    transition: var(--comm-transition);
}

.sidebar-recent-title a:hover {
    color: var(--brand-primary, #146280);
}

.sidebar-recent-date {
    font-size: 0.8rem;
    color: var(--comm-muted, #667d85);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Event Info Meta List */
.event-info-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-info-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.event-info-meta-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--comm-blue-soft, #ecf2f5);
    color: var(--brand-primary, #146280);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.event-info-meta-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--comm-muted, #667d85);
    margin-bottom: 2px;
}

.event-info-meta-value {
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--comm-dark, #0c232f);
}

/* Gallery Album Cards */
.gallery-album-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--comm-border, #d5e4e5);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--comm-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
}

.gallery-album-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(20, 98, 128, 0.12);
    border-color: var(--comm-blue-border, #c4d8df);
}

.gallery-album-img-wrap {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #e2e8f0;
}

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

.gallery-album-card:hover .gallery-album-img-wrap img {
    transform: scale(1.08);
}

.gallery-album-chip {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(12, 35, 47, 0.85);
    backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.gallery-album-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gallery-album-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--comm-dark, #0c232f);
    margin-bottom: 8px;
    transition: var(--comm-transition);
}

.gallery-album-card:hover .gallery-album-title {
    color: var(--brand-primary, #146280);
}

.gallery-album-desc {
    font-size: 0.9rem;
    color: var(--comm-muted, #667d85);
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}

/* Gallery Details Media Grid & Professional Lightbox */
.gallery-media-grid {
    margin-bottom: 2rem;
}

.gallery-media-card {
    display: block;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #0c232f;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease;
    cursor: pointer;
}

.gallery-media-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(12, 35, 47, 0.2);
}

.gallery-media-img-wrap {
    position: relative;
    width: 100%;
    height: 270px;
    overflow: hidden;
    background: #08141c;
}

.gallery-media-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
}

.gallery-media-card:hover .gallery-media-img-wrap img {
    transform: scale(1.08);
    opacity: 0.9;
}

.gallery-media-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(12, 35, 47, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.gallery-media-badge.video-badge {
    background: rgba(20, 20, 20, 0.82);
    border-color: rgba(255, 50, 50, 0.3);
}

.gallery-play-btn-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ff0000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    padding-left: 4px;
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    animation: ytPulseAnimation 2s infinite;
    transition: transform 0.3s ease, background 0.3s ease;
}

@keyframes ytPulseAnimation {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.65);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.gallery-media-card:hover .gallery-play-btn-pulse {
    transform: translate(-50%, -50%) scale(1.12);
    background: #e60000;
}

.gallery-media-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(180deg, rgba(8, 20, 28, 0.15) 0%, rgba(8, 20, 28, 0.85) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 3;
}

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

.gallery-media-action-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--brand-primary, #146280);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(12px) scale(0.85);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-media-action-circle.play-circle {
    background: #ff0000;
    color: #ffffff;
    padding-left: 3px;
}

.gallery-media-card:hover .gallery-media-action-circle {
    transform: translateY(0) scale(1);
}

.gallery-media-caption {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    transform: translateY(8px);
    transition: transform 0.35s ease;
}

.gallery-media-card:hover .gallery-media-caption {
    transform: translateY(0);
}

/* Fancybox Modern Professional Gallery Styling */
.fancybox__container {
    --fancybox-bg: rgba(6, 17, 24, 0.95);
    --fancybox-color: #f8fafc;
    --fancybox-accent-color: var(--brand-primary, #146280);
    z-index: 100050 !important;
}

.fancybox__backdrop {
    background: rgba(6, 17, 24, 0.94) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.fancybox__toolbar {
    padding: 14px 20px;
    background: linear-gradient(180deg, rgba(6, 17, 24, 0.85) 0%, transparent 100%);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.fancybox__infobar {
    font-size: 0.88rem;
    font-weight: 700;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
}

.fancybox__button {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 4px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.fancybox__button:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: scale(1.08);
}

.fancybox__button--close {
    background: rgba(255, 255, 255, 0.18);
}

.fancybox__button--close:hover {
    background: rgba(239, 68, 68, 0.85);
}

.fancybox__nav .fancybox__button {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fancybox__nav .fancybox__button:hover {
    background: var(--brand-primary, #146280);
}

.fancybox__caption {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    padding: 16px 20px;
    background: linear-gradient(0deg, rgba(6, 17, 24, 0.9) 0%, transparent 100%);
}

.fancybox__slide .fancybox__image {
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
}

.fancybox__slide iframe {
    border-radius: 14px;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.75);
}

/* Contact Cards Modern */
.contact-info-card-modern {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--comm-border, #d5e4e5);
    padding: 30px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: var(--comm-transition);
}

.contact-info-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(20, 98, 128, 0.1);
    border-color: var(--comm-blue-border, #c4d8df);
}

.contact-info-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--comm-orange-soft, #fcf5ef);
    color: var(--brand-secondary, #de8032);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: var(--comm-transition);
}

.contact-info-card-modern:hover .contact-info-icon-box {
    background: var(--brand-secondary, #de8032);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(222, 128, 50, 0.35);
}

.contact-info-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--comm-muted, #667d85);
    margin-bottom: 8px;
}

.contact-info-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--comm-dark, #0c232f);
    margin-bottom: 4px;
    line-height: 1.5;
}

.contact-info-value a {
    color: var(--comm-dark, #0c232f);
    text-decoration: none;
    transition: var(--comm-transition);
}

.contact-info-value a:hover {
    color: var(--brand-primary, #146280);
}

/* Modern Form Inputs */
.modern-input-field {
    width: 100%;
    padding: 14px 20px;
    background: #f8fafc;
    border: 1px solid var(--comm-border, #d5e4e5);
    border-radius: 14px;
    font-size: 0.95rem;
    color: var(--comm-dark, #0c232f);
    transition: var(--comm-transition);
    outline: none;
}

.modern-input-field:focus {
    background: #ffffff;
    border-color: var(--brand-primary, #146280);
    box-shadow: 0 0 0 3px rgba(20, 98, 128, 0.12);
}

/* Pagination Buttons Modern */
.btn-modern-page {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 0.925rem;
    font-weight: 700;
    border: 1px solid var(--comm-border, #d5e4e5);
    background: #ffffff;
    color: var(--brand-primary, #146280);
    transition: var(--comm-transition);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-modern-page:hover:not(:disabled) {
    background: var(--brand-primary, #146280);
    color: #ffffff;
    border-color: var(--brand-primary, #146280);
    box-shadow: 0 6px 18px rgba(20, 98, 128, 0.25);
    transform: translateY(-2px);
}

.btn-modern-page:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ==========================================================================
   Modern Event RSVP Modal, Country Phone Control & Dietary Chips
   ========================================================================== */

.modal-modern-card {
    border-radius: 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden;
}

.event-modal-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(20, 98, 128, 0.1);
    color: var(--brand-primary, #146280);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.modal-modern-header {
    background: #ffffff;
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.modal-modern-body {
    padding: 24px;
    background: #ffffff;
}

/* Input with icon prefix */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    pointer-events: none;
    z-index: 2;
    font-size: 0.9rem;
}

.modern-input-field.with-icon {
    padding-left: 38px !important;
}

/* Modern Unified Country Phone Input Group (Matches Admin Member Form) */
.modern-country-phone-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    height: 48px;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    position: relative;
}

.modern-country-phone-wrapper:focus-within {
    border-color: var(--brand-primary, #146280);
    box-shadow: 0 0 0 3px rgba(20, 98, 128, 0.12);
}

.modern-country-phone-wrapper.border-danger {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.modern-country-phone-wrapper .country-code-col {
    flex: 0 0 84px;
    min-width: 84px;
    max-width: 88px;
    height: 100%;
    display: flex;
    align-items: center;
    background: #ffffff;
}

/* Select2 integration inside country phone wrapper */
.modern-country-phone-wrapper .select2-container {
    width: 100% !important;
    height: 100%;
}

.modern-country-phone-wrapper .select2-container .select2-selection--single {
    border: none !important;
    height: 100% !important;
    background: transparent !important;
    display: flex;
    align-items: center;
    padding: 0 4px 0 10px;
    font-weight: 700;
    color: #1e293b;
    outline: none !important;
}

.modern-country-phone-wrapper .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0 !important;
    padding-right: 16px !important;
    color: #1e293b !important;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 48px !important;
}

.modern-country-phone-wrapper .select2-container .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 4px !important;
}

.modern-country-phone-wrapper select.admin-country-code-select.form-select {
    border: none !important;
    background-color: transparent !important;
    height: 100% !important;
    font-weight: 700;
    color: #1e293b;
    padding-left: 10px;
    padding-right: 24px;
    box-shadow: none !important;
    cursor: pointer;
    font-size: 0.95rem;
}

.modern-country-phone-wrapper .phone-control-divider {
    width: 1px;
    height: 24px;
    background: #cbd5e1;
    flex-shrink: 0;
}

.modern-country-phone-wrapper .phone-number-input {
    flex: 1 1 auto;
    border: none !important;
    background: transparent !important;
    padding: 0 14px;
    height: 100%;
    outline: none !important;
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 500;
    min-width: 0;
}

.modern-country-phone-wrapper .phone-number-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Select2 Dropdown on Modal - Professional wide display for names & flags */
.select2-dropdown.modern-country-dropdown,
#modalEventInvitation .select2-dropdown {
    min-width: 330px !important;
    max-width: 420px !important;
    width: 330px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16) !important;
    overflow: hidden;
    z-index: 1080 !important;
}

.select2-container--default .select2-search--dropdown {
    padding: 8px 10px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    outline: none !important;
    font-size: 0.9rem !important;
    background: #ffffff;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--brand-primary, #146280) !important;
    box-shadow: 0 0 0 2px rgba(20, 98, 128, 0.12) !important;
}

.select2-container--default .select2-results__options {
    max-height: 240px !important;
    padding: 6px !important;
}

.select2-container--default .select2-results__option {
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 0.92rem !important;
    color: #1e293b !important;
    transition: background-color 0.15s ease;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(20, 98, 128, 0.08) !important;
    color: #0f172a !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(20, 98, 128, 0.14) !important;
    color: var(--brand-primary, #146280) !important;
    font-weight: 700;
}

/* Side-by-side Food Preferences in Desktop View */
.food-preferences-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
}

.food-preferences-wrapper > .food-pref-col {
    flex: 1 1 calc(50% - 8px);
    min-width: 280px;
}

.food-preference-column-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    height: 100%;
}
    font-weight: 600;
}

/* Guest Counter Cards */
.guest-counter-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 16px;
    transition: all 0.2s ease;
}

.guest-counter-card:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.counter-badge-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.bg-primary-soft {
    background: rgba(20, 98, 128, 0.1);
    color: var(--brand-primary, #146280);
}

.bg-info-soft {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
}

.modal-counter-box-modern {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 2px 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.modal-counter-btn-modern {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-counter-btn-modern:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.modal-counter-btn-modern.plus {
    background: var(--comm-orange-soft, #fff7ed);
    color: var(--brand-secondary, #de8032);
}

.modal-counter-btn-modern.plus:hover {
    background: var(--brand-secondary, #de8032);
    color: #ffffff;
}

.modal-counter-val-modern {
    width: 38px;
    border: none !important;
    background: transparent !important;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    outline: none !important;
}

/* Modern Food Preference Cards & Dietary Pills */
.guest-food-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.guest-food-card:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.guest-food-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.guest-avatar-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.guest-avatar-pill.adult {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.guest-avatar-pill.child {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.food-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.food-pill-wrapper {
    display: inline-block;
}

.food-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 25px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0;
}

.food-pill-btn:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
    color: #0f172a;
    transform: translateY(-1px);
}

/* Active Highlight States per Dietary Preference */
.btn-check:checked + .food-pill-btn.food-theme-veg {
    background: #ecfdf5 !important;
    border-color: #10b981 !important;
    color: #065f46 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25) !important;
}

.btn-check:checked + .food-pill-btn.food-theme-nonveg {
    background: #fef2f2 !important;
    border-color: #ef4444 !important;
    color: #991b1b !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25) !important;
}

.btn-check:checked + .food-pill-btn.food-theme-jain {
    background: #fffbeb !important;
    border-color: #f59e0b !important;
    color: #92400e !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25) !important;
}

.btn-check:checked + .food-pill-btn.food-theme-swami {
    background: #fff7ed !important;
    border-color: #ea580c !important;
    color: #9a3412 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25) !important;
}

.btn-check:checked + .food-pill-btn.food-theme-egg {
    background: #fefce8 !important;
    border-color: #eab308 !important;
    color: #854d0e !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(234, 179, 8, 0.25) !important;
}

.btn-check:checked + .food-pill-btn.food-theme-fasting {
    background: #f5f3ff !important;
    border-color: #8b5cf6 !important;
    color: #5b21b6 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.25) !important;
}

/* Helpers */
.smaller {
    font-size: 0.78rem;
}

