/* Layout Components CSS - Extracted from app.blade.php */
/* ============================================= */

:root { 
    --top-height: 0px; 
    --nav-height: 0px; 
    --top-vpad: 8px; 
}

/* Fix topbar and navbar to the top */
.top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
}

.navbar-area {
    position: fixed;
    top: var(--top-height);
    left: 0;
    right: 0;
    z-index: 1090;
}

/* Prevent content from being hidden behind fixed bars */
body {
    padding-top: calc(var(--top-height) + var(--nav-height));
}
body.no-scroll { overflow: hidden; }

/* Modern Top Bar Styling with Orange + Light Blue Gradient Effects */
.top {
    background: linear-gradient(135deg, rgba(253,84,15,0.95) 0%, rgba(11,111,137,0.75) 50%, rgba(32,177,219,0.45) 100%);
    border: 2px solid rgb(255, 183, 153);
    background-clip: padding-box;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12), 0 6px 24px rgba(0,0,0,0.18);
    overflow: hidden;
    padding-top: var(--top-vpad);
    padding-bottom: var(--top-vpad);
    transition: transform 0.25s ease;
}

.top::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(253,84,15,0.85) 0%, rgba(11,111,137,0.65) 50%, rgba(32,177,219,0.55) 100%);
    background-size: 400% 400%;
    z-index: -1;
    border-radius: inherit;
    animation: gradientShift 3s ease infinite;
}

.top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
}

.top .container {
    position: relative;
    z-index: 2;
}

.top ul {
    margin-bottom: 0;
    padding-left: 0;
}

.top ul li {
    list-style-type: none;
    line-height: 50px;
    float: left;
    margin-right: 20px;
    font-weight: 500;
    position: relative;
    padding-left: 15px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.top ul li:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.top ul li i {
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

/* Circle ring for call and mail icons on left side */
.top .left-side li.phone-text i,
.top .left-side li.email-text i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 14px;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.9);
    vertical-align: middle;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.top .left-side li.phone-text:hover i,
.top .left-side li.email-text:hover i {
    transform: scale(1.05);
    background: transparent;
    border-color: rgba(255,255,255,1);
}

/* Layout for contact items with label and value */
.top .left-side li.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
    padding-left: 0;
}

.top .left-side li.contact-item .contact-text {
    display: flex;
    flex-direction: column;
}

.top .left-side li.contact-item .contact-text small {
    display: block;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2px;
    font-weight: 500;
}

.top .left-side li.contact-item .contact-text a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.top .left-side li.contact-item .contact-text a:hover {
    text-decoration: underline;
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
}

.top ul li:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

.top ul li a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.top ul li a:hover {
    color: #ffffff;
    background: rgba(32, 177, 219, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Right-side column: social icons row on top, auth row below */
.top .right-side { display: flex; flex-direction: column; align-items: flex-end; }
.top ul.right { float: right; }
.top .right-side ul.social-list,
.top .right-side ul.auth-list { margin: 0; padding: 0; list-style: none; }
.top .right-side ul.social-list { display: flex; align-items: flex-start; justify-content: flex-end; gap: 0; flex-wrap: nowrap; margin-left: -6px; margin-right: -6px; }
.top .right-side ul.auth-list { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 4px; }

/* Neutralize float for right-side items inside custom lists */
.top .right-side ul.social-list li,
.top .right-side ul.auth-list li { float: none; margin: 0; padding: 0; position: relative; }

.top ul.right li {
    margin-right: 0;
    padding-left: 15px;
    margin-left: 10px;
}

.top ul.right li:before {
    content: "|";
    position: absolute;
    top: 0;
    left: 0;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/* Hide generic separators in flex row */
.top .right-side ul.right li:before { display: none; }

/* Vertical separators between social icons (right side) */
.top .right-side ul.social-list li.social-icon {
    position: relative;
    margin: 0;
    padding-left: 6px;
    padding-right: 6px;
}

.top .right-side ul.social-list li.social-icon + li.social-icon::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 28px;
    width: 1px;
    background: rgba(255,255,255,0.45);
    display: block !important;
}

/* Separator before the first icon */
.top .right-side ul.social-list li.social-icon:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 28px;
    width: 1px;
    background: rgba(255,255,255,0.45);
    display: block !important;
}

/* Separator after the last icon */
.top .right-side ul.social-list li.social-icon:last-child::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 28px;
    width: 1px;
    background: rgba(255,255,255,0.45);
    display: block !important;
}

.top ul.right li:first-child:before {
    display: none;
}

/* Auth links row styling */
.top .right-side ul.auth-list li.menu { display: inline-block; margin-top: 0; }
.top .right-side ul.auth-list li.menu a { 
    padding: 6px 12px; 
    border-radius: 18px; 
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 4px 12px rgba(253,84,15,0.22), 0 6px 16px rgba(32,177,219,0.12);
}
.top .right-side ul.auth-list li.menu a:hover { background: rgba(32,177,219,0.28); }

/* Make social icons attractive */
.top .right-side ul.social-list li.social-icon a {
    display: inline-flex;
    width: 30px; 
    height: 30px;
    align-items: center; 
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 6px 18px rgba(253,84,15,0.18), 0 8px 22px rgba(32,177,219,0.12);
}
.top .right-side ul.social-list li.social-icon a:hover { transform: translateY(-2px) scale(1.03); background: rgba(32,177,219,0.28); }
.top .right-side ul.social-list li.social-icon i { font-size: 14px; }

/* Colored brand icons (topbar) */
.top .right-side ul.social-list i.fa-facebook,
.top .right-side ul.social-list i.fa-facebook-f { color: #1877F2 !important; }
.top .right-side ul.social-list i.fa-twitter { color: #1DA1F2 !important; }
.top .right-side ul.social-list i.fa-x-twitter { color: #000000 !important; }
.top .right-side ul.social-list i.fa-linkedin,
.top .right-side ul.social-list i.fa-linkedin-in { color: #0A66C2 !important; }
.top .right-side ul.social-list i.fa-youtube { color: #FF0000 !important; }
.top .right-side ul.social-list i.fa-whatsapp { color: #25D366 !important; }
.top .right-side ul.social-list i.fa-telegram { color: #26A5E4 !important; }
.top .right-side ul.social-list i.fa-github { color: #171515 !important; }
.top .right-side ul.social-list i.fa-pinterest { color: #E60023 !important; }
.top .right-side ul.social-list i.fa-tiktok { color: #000000 !important; }
.top .right-side ul.social-list i.fa-snapchat,
.top .right-side ul.social-list i.fa-snapchat-ghost { color: #FFFC00 !important; }
/* Instagram gradient fill */
/* Instagram: original single-color brand look (topbar) */
.top .right-side ul.social-list i.fa-instagram { color: #E4405F !important; }

/* Accessibility icon bigger and floating style */
.top ul.right li.accessibility-icon { margin-left: 14px; }
.top ul.right li.accessibility-icon a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.top ul.right li.accessibility-icon i { font-size: 18px; color: #ffffff; }
.top ul.right li.accessibility-icon a:hover {
    background: rgba(32, 177, 219, 0.35);
}

/* Gradient Animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced Glassmorphism */
.top {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0;
}

/* When topbar is hidden, slide it up */
body.topbar-hidden .top { transform: translateY(-100%); }
body.topbar-hidden .navbar-area { top: 0; }
body.topbar-hidden { padding-top: var(--nav-height) !important; }

/* Floating Accessibility Button */
.a11y-fab {
    position: fixed;
    right: 16px;
    top: calc(var(--top-height) + 16px);
    z-index: 2001;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(253,84,15,0.9) 0%, rgba(11,111,137,0.9) 55%, rgba(32,177,219,0.9) 100%);
    border: 1px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 22px rgba(253,84,15,0.22), 0 10px 26px rgba(32,177,219,0.15);
    color: #fff;
    cursor: pointer;
}
.a11y-fab i { font-size: 22px; text-shadow: 0 1px 3px rgba(0,0,0,0.45); }
.a11y-fab:hover { filter: saturate(110%); transform: translateY(-2px); }

.search-fab {
    position: fixed;
    left: 16px;
    top: calc(var(--top-height) + 16px);
    z-index: 2001;
    width: 54px; 
    height: 54px;
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    background: linear-gradient(135deg, rgba(32,177,219,0.9) 0%, rgba(11,111,137,0.9) 45%, rgba(253,84,15,0.9) 100%);
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
    box-shadow: 0 8px 22px rgba(32,177,219,0.22), 0 10px 26px rgba(253,84,15,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}
.search-fab i { font-size: 20px; text-shadow: 0 1px 3px rgba(0,0,0,0.45); }
.search-fab:hover { filter: saturate(110%); transform: translateY(-2px); }

.fab-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    z-index: 1999;
    display: none;
}

/* Accessibility classes */
body.a11y-large-text { font-size: 112%; }
body.a11y-contrast { background: #000 !important; color:#fff !important; }
body.a11y-contrast a { color: #20b1db !important; }
body.a11y-contrast .glassy-card { background: rgba(32,32,32,0.9) !important; }
body.a11y-grayscale { filter: grayscale(100%); }
body.a11y-dyslexia { font-family: 'Atkinson Hyperlegible', Arial, Helvetica, sans-serif !important; }
body.a11y-highlight-links a { outline: 2px dashed #fd540f; outline-offset: 2px; text-decoration: underline; }
body.a11y-text-spacing { letter-spacing: 0.02em; word-spacing: 0.06em; line-height: 1.75; }

/* CTA area: light blue theme */
.cta { background: linear-gradient(135deg, #e6f4fa 0%, #cfe9f5 100%) !important; }
.cta .right .inner a {
    background: linear-gradient(135deg, #fd540f 0%, #ff6b35 100%) !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(253,84,15,0.3);
    transition: all 0.3s ease;
}
.cta .right .inner a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(253,84,15,0.4);
}

/* === Modern Counter Section with Glassmorphism === */
.counter-section {
    position: relative;
    background: linear-gradient(135deg, #f0f9ff 0%, #fef3f2 100%);
    padding: 70px 0;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(253,84,15,0.06) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(32,177,219,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.counter-section .container {
    position: relative;
    z-index: 2;
}

.counter-section .counter-items {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.counter-section .counter-item {
    flex: 1;
    min-width: 200px;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.counter-section .counter-item:nth-child(1) { animation-delay: 0.1s; }
.counter-section .counter-item:nth-child(2) { animation-delay: 0.2s; }
.counter-section .counter-item:nth-child(3) { animation-delay: 0.3s; }
.counter-section .counter-item:nth-child(4) { animation-delay: 0.4s; }

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

.counter-section .counter-item {
    text-align: center;
    padding: 20px 15px;
    position: relative;
}

.counter-section .counter {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, #fd540f 0%, #f97316 50%, #20b1db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.2;
    display: block;
}

.counter-section .text {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a8a;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    margin-top: 10px;
    line-height: 1.4;
}

@media (max-width: 991px) {
    /* Mobile header sizing */
    :root { --mobile-header-height: 72px; }
    .counter-section .counter-items {
        gap: 20px;
    }
    
    .counter-section .counter-item {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 575px) {
    .counter-section .counter-item {
        min-width: 100%;
        padding: 15px 10px;
    }
    
    .counter-section .counter {
        font-size: 48px;
    }
    
    .counter-section .text {
        font-size: 16px;
    }
}

/* Reusable modern glassy card */
.glassy-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 0 0 1px rgba(255,255,255,0.2);
    overflow: hidden;
}
.glassy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fd540f 0%, #20b1db 100%);
}

/* Modern Banner Styling (page-top) */
.page-top {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    padding: 90px 0;
}

.page-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(30, 58, 138, 0.95) 0%, 
        rgba(249, 115, 22, 0.88) 50%, 
        rgba(14, 165, 233, 0.92) 100%);
    z-index: 1;
}

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

.page-top h1, .page-top h2, .page-top h3 {
    color: #ffffff !important;
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.9), 0 2px 4px rgba(0,0,0,0.8) !important;
    position: relative;
    z-index: 99;
    -webkit-text-fill-color: #ffffff !important;
}

.page-top h1::after, .page-top h2::after, .page-top h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #f97316, #0ea5e9);
    border-radius: 2px;
    animation: globalShimmer 2s ease-in-out infinite alternate;
}

@keyframes globalShimmer {
    0% { box-shadow: 0 0 5px rgba(249, 115, 22, 0.5); }
    100% { box-shadow: 0 0 20px rgba(14, 165, 233, 0.8); }
}

.page-top .breadcrumb {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.page-top .breadcrumb-item,
.page-top .breadcrumb-item a {
    color: #ffffff !important;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.8), 0 0 3px rgba(0,0,0,0.9) !important;
}

.page-top .breadcrumb-item a:hover {
    color: #f97316 !important;
}

.page-top .breadcrumb-item + .breadcrumb-item::before {
    color: #ffffff !important;
}

/* All page-top text should be white */
.page-top p, .page-top span, .page-top .subtitle, .page-top small, .page-top * {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
    -webkit-text-fill-color: #ffffff !important;
}

.page-top .container * {
    position: relative;
    z-index: 99;
}

/* Responsive banner */
@media (max-width: 768px) {
    .page-top {
        padding: 60px 0;
        min-height: 250px;
    }
    
    .page-top h1, .page-top h2, .page-top h3 {
        font-size: 2rem;
    }
    
    .page-top .breadcrumb {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 576px) {
    .page-top {
        padding: 40px 0;
        min-height: 200px;
    }
    
    .page-top h1, .page-top h2, .page-top h3 {
        font-size: 1.5rem;
    }
}

/* Global accent color overrides: switch green -> orange/light blue */
:root { 
    --accent-orange: #f97316; 
    --accent-blue: #20b1db; 
}
a { color: #20b1db; }
a:hover { color: #fd540f; }
.btn-primary {
    background: linear-gradient(135deg, #fd540f 0%, #ff6b35 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(253,84,15,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253,84,15,0.4);
}

/* Footer glassmorphism */
.footer {
    position: relative;
    background: linear-gradient(180deg, rgba(1,13,77,0.96) 0%, rgba(1,13,77,0.92) 100%);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -12px 36px rgba(0,0,0,0.45);
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
}
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 240px at 10% -20%, rgba(32,177,219,0.15), transparent 60%),
                radial-gradient(900px 260px at 90% -10%, rgba(253,84,15,0.12), transparent 65%);
    pointer-events: none;
    opacity: 0.9;
}
.footer,
.footer p,
.footer li { color: #EAF1FF; text-shadow: 0 1px 2px rgba(0,0,0,0.35); }
.footer a { color: #F2F6FF; text-decoration: none; }
.footer a:hover { color: #fd540f; }
.footer .item {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    padding: 18px;
    color: #EAF1FF;
}
.footer .heading {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}
.footer .heading::after {
    content: '';
    position: absolute;
    left: 0; 
    bottom: 0;
    width: 42px; 
    height: 3px;
    background: linear-gradient(90deg, #fd540f, #20b1db);
    border-radius: 2px;
}
.footer .useful-links li { margin: 6px 0; }
.footer .useful-links li a { color: #e9efff; text-decoration: none; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.footer .useful-links li a:hover { color: #fd540f; }
.footer .list-item { display: flex; gap: 10px; margin-bottom: 10px; }
.footer .list-item .left { color: #e5edff; opacity: 0.95; }
.footer .list-item .right { color: #e9efff; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.footer .social li a {
    display:inline-flex; 
    align-items:center; 
    justify-content:center;
    width:32px; 
    height:32px; 
    border-radius:50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}
.footer .item ul.social + h2.heading { margin-top: 12px; }
.footer .item h2.heading + .footer-map-preview { margin-top: 8px; }
.footer ul.social li a {
    background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08)) !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(0,0,0,0.25) !important;
    backdrop-filter: blur(8px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(140%) !important;
}
.footer ul.social li a:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.30), rgba(255,255,255,0.12)) !important;
    border-color: rgba(255,255,255,0.5) !important;
    color: #fd540f !important;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 28px rgba(0,0,0,0.30) !important;
}

/* Footer: colored brand icons */
.footer ul.social i.fa-facebook,
.footer ul.social i.fa-facebook-f { color: #1877F2 !important; }
.footer ul.social i.fa-twitter { color: #1DA1F2 !important; }
.footer ul.social i.fa-x-twitter { color: #000000 !important; }
.footer ul.social i.fa-linkedin,
.footer ul.social i.fa-linkedin-in { color: #0A66C2 !important; }
.footer ul.social i.fa-youtube { color: #FF0000 !important; }
.footer ul.social i.fa-whatsapp { color: #25D366 !important; }
.footer ul.social i.fa-telegram { color: #26A5E4 !important; }
.footer ul.social i.fa-github { color: #171515 !important; }
.footer ul.social i.fa-pinterest { color: #E60023 !important; }
.footer ul.social i.fa-tiktok { color: #000000 !important; }
.footer ul.social i.fa-snapchat,
.footer ul.social i.fa-snapchat-ghost { color: #FFFC00 !important; }
/* Instagram: original single-color brand look (footer) */
.footer ul.social i.fa-instagram { color: #E4405F !important; }
.footer-bottom {
    background: rgba(0,10,61,0.92);
    border-top: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
    box-shadow: 0 -8px 28px rgba(0,0,0,0.4) inset;
}
.footer-bottom .copyright { color: #e5edff; text-shadow: 0 1px 2px rgba(0,0,0,0.35); }

.footer > .container,
.footer-bottom > .container {
    max-width: 1400px !important;
    width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
    position: relative;
    z-index: 1;
}
@media (max-width: 1200px) {
    .footer > .container,
    .footer-bottom > .container {
        width: 98% !important;
    }
}
@media (max-width: 768px) {
    .footer > .container,
    .footer-bottom > .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

.footer-map-preview iframe,
.footer-map-preview .map iframe,
.footer-map-preview .map {
    width: 100% !important;
    height: 180px !important;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    /* Mobile header sizing */
    :root { --mobile-header-height: 100px; }

    /* Hide topbar completely on small screens */
    .top { display: none !important; }

    /* Hide floating accessibility and search buttons */
    .a11y-fab, .search-fab { display: none !important; }

    /* Show only the right logo in the mobile header */
    .mobile-nav .logo { display: none !important; }
    .mobile-nav .logo-right { 
        display: inline-block !important; 
        position: absolute !important; 
        left: 16px; 
        top: 50%; 
        transform: translateY(-50%);
        z-index: 2001; 
        padding: 6px 10px;
        background: rgba(255,255,255,0.14);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.28);
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }
    .mobile-nav .logo-right img { max-height: var(--mobile-header-height); height: var(--mobile-header-height); width: auto; }

    /* Adjust body padding since topbar is hidden */
    body { padding-top: var(--nav-height) !important; }
    
    /* Ensure navbar area starts at top and sits above overlays */
    .navbar-area { top: 0 !important; z-index: 2100 !important; }
    
    /* Make sure hamburger menu button is visible and functional */
    .mean-container a.meanmenu-reveal {
        display: flex !important;
        position: absolute !important;
        right: 12px !important;
        top: 8px !important; /* stick near the top-right */
        transform: none !important; /* no vertical centering */
        z-index: 2200 !important; /* above any overlays */
        pointer-events: auto !important;
        background: transparent !important; /* transparent so it doesn't cover logo */
        border-radius: 8px !important;
        height: 44px !important;
        width: auto !important; /* allow label text */
        padding: 8px 12px !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px;
        color: #0b0f2a !important; /* darker label for readability */
        font-weight: 700 !important;
        font-size: 14px !important;
        text-indent: 0 !important; /* show the label text */
        box-shadow: none !important;
    }

    /* Clean, unobtrusive pill label next to the icon */
    .mean-container a.meanmenu-reveal .menu-label {
        display: inline-block;
        margin-left: 8px;
        padding: 4px 8px;
        border-radius: 999px;
        background: rgba(255,255,255,0.3);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        border: 1px solid rgba(255,255,255,0.45);
        color: #0b0f2a;
        font-weight: 700;
        line-height: 1;
        white-space: nowrap;
    }
    .mean-container a.meanmenu-reveal:hover .menu-label { background: rgba(255,255,255,0.42); }
    
    /* Ensure mobile navigation is properly positioned */
    .mobile-nav {
        display: block !important;
        position: relative;
        padding: 12px 20px;
        min-height: calc(var(--mobile-header-height) + 20px);
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 4px 25px rgba(0,0,0,0.08);
        z-index: 2101; /* sits above page content overlays */
    }
    
    /* Override meanmenu bar styling for our design */
    .mean-container .mean-bar {
        background: transparent !important;
        position: relative !important;
        min-height: var(--mobile-header-height) !important; /* ensure vertical centering */
        padding: 0 !important;
        border: none !important;
        z-index: 2102; /* keep on top of mobile header */
    }
    
    /* Style hamburger button to match our theme */
    /* lines kept above; width removed to allow label text */
    
    /* Hamburger lines styling (scoped to .hamburger spans) */
    .mean-container a.meanmenu-reveal .hamburger span {
        background: #0b0f2a !important; /* darker lines for contrast */
        height: 3px !important;
        margin: 3px 0 !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
        display: block !important;
        width: 18px !important;
    }
    .mean-container a.meanmenu-reveal .hamburger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; }

    /* Make the "+" expand button clearly visible */
    .mean-container .mean-nav ul li a.mean-expand {
        color: #0b0f2a !important;
        font-size: 18px !important;
        line-height: 1 !important;
    }

    /* Improve visibility of mobile menu links */
    .mean-container .mean-nav ul li a {
        color: #0b0f2a !important;
        font-weight: 600;
        background: transparent !important;
    }
    .mean-container .mean-nav ul li a:hover {
        color: #fd540f !important;
        background: rgba(253,84,15,0.08) !important;
    }
    .mean-container .mean-nav ul li .mobile-submenu a {
        color: #0b0f2a !important;
        font-weight: 500;
    }
    .mean-container .mean-nav {
        position: fixed !important;
        right: 12px !important;
        top: calc(var(--mobile-header-height) + 12px) !important; /* sit below header so it never covers logo */
        width: min(86vw, 360px) !important;
        margin-top: 0 !important;
        z-index: 2200 !important; /* above overlay, below reveal button */
        background: #ffffff !important; /* opaque background for readability */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: 1px solid rgba(255,255,255,0.35);
        border-radius: 16px;
        box-shadow: 0 18px 50px rgba(0,0,0,0.18), 0 6px 18px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.35);
        max-height: calc(100vh - var(--mobile-header-height) - 24px);
        overflow: auto;
        padding: 8px 0;
    }
    .mean-container .mean-nav ul { background: transparent !important; }
    .mean-container .mean-nav ul li { background: transparent !important; }

    /* Page overlay behind the glass menu panel; stays below the header/logo */
    body.mobile-menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(15,23,42,0.35);
        z-index: 2095; /* below header (2101) and below menu (2200) */
        pointer-events: none; /* clicks pass through unless we add an element (see overlay div below) */
    }

    /* Style nested mobile submenus built via JS */
    .mean-container .mean-nav ul li.has-mobile-submenu > a { font-weight: 700; }
    .mean-container .mean-nav ul li .mobile-submenu {
        margin: 0 0 6px 10px;
        padding: 4px 8px;
        border-left: 2px solid rgba(32,177,219,0.35);
        border-radius: 6px;
        background: rgba(255,255,255,0.6);
    }
    .mean-container .mean-nav ul li .mobile-submenu li { padding: 0; }
    .mean-container .mean-nav ul li .mobile-submenu a {
        display: block;
        padding: 8px 4px;
        font-size: 14px;
        color: #0f172a;
    }

    /* Chevron toggle button next to parent items */
    .mean-container .mobile-submenu-toggle {
        background: transparent;
        border: none;
        color: #0f172a;
        margin-left: 8px;
        padding: 4px 6px;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease;
    }
    .mean-container .mobile-submenu-toggle i { font-size: 12px; transition: transform 0.2s ease; }
    .mean-container li.submenu-open > .mobile-submenu-toggle i { transform: rotate(180deg); }
    .mean-container .mobile-submenu { display: none; }
}

@media (max-width: 480px) { 
    #search-panel { left: 68px !important; } 
}

/* Small-screen overrides: hide topbar and floating icons; show only right logo */
@media (max-width: 991px) {
    /* Hide topbar completely on small screens */
    .top { display: none !important; }

    /* Hide floating accessibility and search buttons */
    .a11y-fab, .search-fab { display: none !important; }

    /* Show only the right logo in the mobile header */
    .mobile-nav .logo { display: none !important; }
    .mobile-nav .logo-right { 
        display: inline-block !important; 
        position: absolute !important; 
        left: 15px; 
        top: 50%; 
        transform: translateY(-50%);
        z-index: 2001; 
    }
    .mobile-nav .logo-right img { max-height: var(--mobile-header-height); height: var(--mobile-header-height); width: auto; }
}
