:root {
    --primary-blue: #1a3c8e;
    --primary-gold: #fabb18;
    --primary-gold-light: #fef08a;
    --gold-gradient: linear-gradient(135deg, #1a3c8e 0%, #fabb18 100%);
    --wave-top: #ffffff;
    --footer-bg: #050f2c; /* Same dark navy as header */

    --text-dark: #111827;
    --text-gray: #4b5563;
    --white: #ffffff;
    --bg-light: #f9fafb;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Accessibility Variables */
    --accessible-font-size: 1rem;
    --accessible-line-height: 1.6;
    --accessible-letter-spacing: normal;
}

/* Hide Google Translate Banner Frame & Tooltips */
.goog-te-banner-frame.skiptranslate, 
.goog-te-banner-frame,
#goog-gt-tt, 
.goog-te-balloon-frame,
.goog-te-popup { 
    display: none !important; 
    visibility: hidden !important; 
}

body { 
    top: 0px !important; 
}

.goog-tooltip, 
.goog-tooltip:hover { 
    display: none !important; 
}

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

/* Accessibility Modes */
html.grayscale { filter: grayscale(100%) !important; }
html.high-contrast { background: #000 !important; color: #fff !important; }
html.high-contrast :not(.acc-panel, .acc-panel *) { background: #000 !important; color: #fff !important; border-color: #fff !important; }
html.high-contrast a { color: #ffff00 !important; text-decoration: underline !important; }

html.dark-mode { background: #121212 !important; color: #e0e0e0 !important; }
html.dark-mode :not(.acc-panel, .acc-panel *) { background: #121212 !important; color: #e0e0e0 !important; }
html.dark-mode a { color: #bb86fc !important; }

body.underline-links a { text-decoration: underline !important; }
body.readable-font { font-family: Arial, Helvetica, sans-serif !important; }
body.highlight-links a { 
    background: var(--primary-gold) !important;
    color: var(--primary-blue) !important;
    font-weight: 700 !important;
    padding: 2px 10px !important;
    border-radius: 6px !important;
    box-shadow: var(--shadow-md) !important;
    text-decoration: none !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    transition: transform 0.2s ease !important;
}
body.highlight-links a:hover {
    transform: translateY(-2px) !important;
}
body.highlight-headings h1, body.highlight-headings h2, body.highlight-headings h3 { background: rgba(26, 60, 142, 0.1) !important; border-left: 5px solid var(--primary-blue) !important; padding-left: 10px !important; }
body.stop-animations * { animation: none !important; transition: none !important; }
body.big-cursor * { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" style="font-size: 24px;"><text y="24">👆</text></svg>'), auto !important; }

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-blue);
    color: white;
    padding: 1rem;
    z-index: 9999;
    transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* Focus Indicators - Only show for keyboard users */
:focus-visible {
    outline: 3px solid var(--primary-gold) !important;
    outline-offset: 3px !important;
}

:focus:not(:focus-visible) {
    outline: none !important;
}

/* Specific fix to remove yellow box from language button and top-info links */
#langBtn:focus, .top-btn:focus, .top-info a:focus {
    outline: none !important;
    box-shadow: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: var(--accessible-line-height);
    font-size: var(--accessible-font-size);
    letter-spacing: var(--accessible-letter-spacing);
    overflow-x: hidden;
    background-color: var(--white);
}

.hero h1 { 
    font-size: 2.8rem; 
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
        overflow-wrap: break-word !important;
    }

    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
    }

    .hero h1 {
        font-size: 1.6rem !important;
        line-height: 1.1 !important;
        word-wrap: break-word !important;
        white-space: normal !important;
    }
}


.top-bar .container {
    overflow: visible !important;
}



/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Layout Elements */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
    border: none;
    outline: none;
}


.section-title {
    text-align: center;
    margin-bottom: 3rem;
}


.section-title span {
    color: var(--primary-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 1rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gold);
    border-radius: 2px;
}


/* Header & Top Bar */
.top-bar {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.6rem 0;
    height: 48px; /* Standard height */
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(250, 187, 24, 0.2);
    position: relative;
    z-index: 3001;
}


.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 1.5rem;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-info a {
    transition: var(--transition);
}

/* Professional Language Selector Styling */
.lang-globe-container {
    position: relative !important;
    display: inline-block !important;
}

#langBtn {
    background: transparent !important;
    border: 2px solid var(--primary-gold) !important;
    text-shadow: none !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    color: var(--white) !important;
    padding: 0.35rem 0.6rem !important;
    outline: none !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    min-width: 40px !important;
    min-height: 40px !important;
    box-sizing: border-box !important;
}

#langBtn:hover {
    background-color: rgba(250, 187, 24, 0.15) !important;
    border-color: var(--primary-gold) !important;
    transform: scale(1.08) !important;
    box-shadow: 0 0 10px rgba(250, 187, 24, 0.3) !important;
}

#langBtn:focus {
    outline: 3px solid var(--primary-gold) !important;
    outline-offset: 2px !important;
}

#langBtn:active {
    transform: scale(0.95) !important;
}

#langDropdown {
    display: none !important;
    position: absolute !important;
    right: 0 !important;
    background-color: var(--white) !important;
    min-width: 160px !important;
    box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.1) !important;
    z-index: 9999 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-top: 8px !important;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid #e5e7eb !important;
}

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

#langDropdown a {
    color: var(--text-dark) !important;
    padding: 12px 18px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    font-size: 0.95rem !important;
    border-bottom: 1px solid #e5e7eb !important;
    transition: all 0.25s ease !important;
    font-weight: 500 !important;
    gap: 10px !important;
}

#langDropdown a:last-child {
    border-bottom: none !important;
}

#langDropdown a:hover {
    background: linear-gradient(135deg, rgba(26, 60, 142, 0.08) 0%, rgba(250, 187, 24, 0.08) 100%) !important;
    color: var(--primary-blue) !important;
    padding-left: 22px !important;
    font-weight: 600 !important;
}

#langDropdown a::before {
    content: "🌐";
    font-size: 1.1rem;
}

#langDropdown a[onclick*="'en'"]::before { content: "🇬🇧"; }
#langDropdown a[onclick*="'es'"]::before { content: "🇪🇸"; }
#langDropdown a[onclick*="'so'"]::before { content: "🇸🇴"; }
#langDropdown a[onclick*="'ar'"]::before { content: "🇸🇦"; }
#langDropdown a[onclick*="'hmn'"]::before { content: "🇺🇸"; }

/* Top Social Styling */
.top-social {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    position: relative !important;
}

.top-info a:hover {
    color: var(--primary-gold);
}

header {
    background: transparent;
    position: absolute;
    top: 48px; /* Height of top bar */
    left: 0;
    width: 100%;
    z-index: 3000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

header.scrolled {
    position: fixed;
    top: 0;
    background: #050f2c;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 3px solid var(--primary-gold);
}

/* Ensure hero content isn't covered too much */
.hero {
    padding-top: 100px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}


.logo img {
    height: clamp(60px, 15vw, 120px) !important;
    width: auto !important;
    display: block;
    max-width: 100%;
}





/* Footer logo rule moved to footer section below */



.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-weight: 600;
}

.nav-links a {
    color: var(--white);
}


.nav-links a:hover {
    color: var(--primary-gold);
}

.nav-links a.active {
    color: var(--primary-gold);
    position: relative;
    font-weight: 700;
}


.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gold);
}

.btn-cta {
    background: var(--gold-gradient);
    color: var(--white);
    padding: 0.8rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 150, 56, 0.3);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 150, 56, 0.5);
    background: linear-gradient(135deg, #fabb18 0%, #1a3c8e 100%);
}

.btn-pill {
    background: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-pill:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    background: var(--primary-gold);
}


/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    border: none;
    outline: none;
}

.wave-divider {
    position: absolute;
    bottom: -2px; /* Pulls the wave down to definitely overlap any subpixel gap */
    left: 0;
    width: 100%;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 10;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 4px);
    height: 105px;
    transform: translateX(-2px); /* Center the extended width */
}

.wave-divider .shape-fill {
    fill: #FFFFFF;
}



.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
}

/* Modern Stats Section */
.stats-section {
    background: var(--gold-gradient);
    padding: 8rem 0;
    position: relative;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #f3f4f6;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-gold);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-blue);
    font-size: 1.5rem;
}



/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 2rem;
}

.modal-content {
    background: var(--white);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    border-radius: 2rem;
    position: relative;
    overflow-y: auto;
    animation: modalFade 0.4s ease;
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-gray);
    z-index: 10;
}

.modal-header-img {
    height: 300px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.modal-body {
    padding: 3rem;
}

.modal-body h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.modal-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.modal-detail-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 1rem;
}


/* VIP Service Cards */
.vip-service-card {
    background: var(--white);
    padding: 0;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
}

.vip-service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(26, 60, 142, 0.4));
}

.service-body {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-body h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-body p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.read-more-btn i {
    transition: var(--transition);
}

.read-more-btn:hover i {
    transform: translateX(5px);
}


/* Values Section */
.value-card {
    text-align: center;
    padding: 3rem;
    border-radius: 1.5rem;
    background: var(--bg-light);
    border-bottom: 4px solid transparent;
    transition: var(--transition);
}

.value-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-gold);
}

/* Testimonials */
.testimonial-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-box i {
    font-size: 3rem;
    color: var(--primary-gold-light);
    margin-bottom: 1.5rem;
    display: block;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
}

/* CTA Banner */
.cta-banner {
    background: var(--blue-gradient);
    padding: 6rem 0;
    color: var(--white);
    text-align: center;
    border-radius: 2rem;
    margin: 4rem 0;
    background: linear-gradient(135deg, #1a3c8e 0%, #172554 100%);
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}


.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: var(--white);
    padding: 3.5rem 2rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.img-gradient-box {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
}

.img-gradient-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 60, 142, 0.4) 0%, rgba(250, 187, 24, 0.4) 100%);
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: var(--white);
    padding: 6rem 0 2rem;
    position: relative;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.footer-wave .shape-fill {
    fill: #FFFFFF; /* White wave curves into dark footer — premium transition */
}




.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 120px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
}



.footer-links h4 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Refinements */
@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 6rem;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: 20px 0 50px rgba(0,0,0,0.1);
        z-index: 2000;
    }

    .nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(5, 15, 44, 0.75);
        opacity: 0;
        visibility: hidden;
        transition: 0.4s;
        z-index: 2000;
    }

    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        color: var(--primary-blue);
        font-size: 1.3rem;
        font-weight: 600;
        display: inline-block;
        padding: 1rem 0;
    }

    .nav-links li a.active {
        color: var(--primary-gold);
        border-bottom: 3px solid var(--primary-gold);
    }

    .btn-cta {
        display: none; /* Revert to hidden on mobile header as requested */
    }

    .nav-toggle {
        display: block;
        color: var(--primary-gold); /* Back to gold for visibility */
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .top-bar .container {
        justify-content: space-between !important;
    }

    .top-info {
        display: flex !important;
        gap: 12px !important; /* Proper spacing for visibility */
        align-items: center !important;
        justify-content: flex-start !important;
    }

    .top-info a {
        font-size: 0.85rem !important; /* Revert to normal font size, we will hide text via span */
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 5px !important;
        min-height: 40px !important; /* Ensure height for clicking */
    }

    .top-info-text {
        display: none !important;
    }

    .top-info i {
        font-size: 1.2rem !important;
        color: var(--white) !important;
    }

    .hero {
        background-attachment: scroll !important;
        padding-top: 6rem !important;
        padding-bottom: 8rem !important;
        height: auto !important;
        min-height: 550px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 100% !important;
        margin-bottom: 2rem;
    }
}

/* Tablet Optimization (768px and below) */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 1.25rem;
    }

    h1 { font-size: clamp(1.5rem, 5vw, 2.5rem); }
    h2 { font-size: clamp(1.25rem, 4.5vw, 2rem); }
    h3 { font-size: clamp(1.1rem, 4vw, 1.75rem); }
    h4, h5, h6 { font-size: clamp(0.95rem, 3.5vw, 1.25rem); }

    body { font-size: clamp(0.95rem, 3.5vw, 1rem); }

    .section { padding: 3rem 1.25rem; }

    button, .btn, input[type="submit"], input[type="button"] {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .card { margin-bottom: 1.5rem; }
}

/* Small Devices Optimization (480px and below) */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.1rem; }
    h4, h5, h6 { font-size: 0.95rem; }

    body { font-size: 0.95rem; line-height: 1.5; }

    .section {
        padding: 2.5rem 1rem !important;
    }

    .logo img {
        height: 50px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons a, .hero-buttons button {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    button, .btn, input[type="submit"], input[type="button"] {
        min-height: 44px;
        min-width: 44px;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        touch-action: manipulation;
    }

    .services-grid, .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .card {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    input, textarea, select {
        font-size: 1rem !important;
        padding: 0.75rem;
        width: 100%;
        min-height: 44px;
    }

    label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        display: block;
    }

    table {
        font-size: 0.85rem;
    }

    table th, table td {
        padding: 0.75rem 0.5rem;
    }

    .modal, .dialog {
        width: 95%;
        max-width: 100%;
        padding: 1.5rem;
    }

    .modal-header {
        padding: 1rem;
        gap: 0.5rem;
    }

    .modal-body {
        padding: 1.25rem;
    }

    .modal-footer {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .top-social {
        gap: 8px !important;
    }

    .nav-links {
        width: 75% !important;
        max-width: 280px !important;
    }

    .header {
        padding: 0.75rem 0;
    }

    .hero {
        min-height: 400px;
        padding-top: 5rem !important;
        padding-bottom: 3rem !important;
    }

    .footer {
        padding: 2rem 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-column h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-column li, .footer-column p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Extra Small Mobile Language Button */
    #langBtn {
        padding: 0.3rem 0.5rem !important;
        font-size: 0.9rem !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }

    #langDropdown {
        min-width: 140px !important;
        right: -5px !important;
        font-size: 0.85rem !important;
    }

    #langDropdown a {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }

    #langDropdown a::before {
        font-size: 1rem !important;
    }
}

    /* Touch-friendly spacing */
    a, button, [role="button"] {
        padding: .6rem 1rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Images responsive */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Prevent accidental zoom on inputs */
    input, textarea, select {
        font-size: 16px !important;
    }

    /* Mobile Language Button */
    #langBtn {
        padding: 0.35rem 0.6rem !important;
        font-size: 1rem !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    #langDropdown {
        min-width: 150px !important;
        right: -10px !important;
        margin-top: 6px !important;
    }

    #langDropdown a {
        padding: 10px 14px !important;
        font-size: 0.9rem !important;
    }

    #langDropdown a:hover {
        padding-left: 18px !important;
    }
}

/* Extra Small Devices (320px and below) */
@media (max-width: 380px) {
    .container {
        padding: 0 0.75rem;
    }

    h1 { font-size: 1.3rem; }
    h2 { font-size: 1.1rem; }
    h3 { font-size: 1rem; }

    body { font-size: 0.9rem; }

    .section {
        padding: 2rem 0.75rem !important;
    }

    .logo img {
        height: 45px;
    }

    .hero {
        min-height: 350px;
        padding-top: 4rem !important;
        padding-bottom: 2.5rem !important;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons a {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }

    button, .btn {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 2rem !important;
    }

    .card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }

    .card p {
        font-size: 0.95rem;
    }

    table {
        font-size: 0.8rem;
    }

    table th, table td {
        padding: 0.5rem 0.25rem;
    }

    .modal {
        width: 98%;
        padding: 1.25rem;
    }

    .acc-panel {
        width: 280px;
        bottom: 85px;
        left: 10px;
    }

    .acc-panel-toggle {
        bottom: 15px;
        left: 15px;
        width: 55px;
        height: 55px;
        font-size: 1.25rem;
    }

    .footer-column h3 {
        font-size: 0.95rem;
    }

    .nav-links {
        width: 70% !important;
        max-width: 260px !important;
    }

    /* Professional Services Mobile View */
    .service-block {
        gap: 2rem !important;
        margin-bottom: 3.5rem !important;
    }

    .service-info h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }

    .service-info p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .service-image img {
        height: 250px !important;
        border-radius: 1.5rem !important;
    }

    .vision-card, .mission-card {
        padding: 2.5rem 1.5rem !important;
    }

    .vision-card h2, .mission-card h2 {
        font-size: 1.6rem !important;
    }

    .vision-card i, .mission-card i {
        font-size: 2.5rem !important;
    }

    .testimonial-section {
        padding: 4rem 1.5rem !important;
    }

    .vision-card p, .mission-card p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
    }

    .btn-pill {
        padding: 0.6rem 1.5rem !important;
        font-size: 0.9rem !important;
        display: inline-block !important;
        width: auto !important;
        white-space: nowrap !important;
    }

    .logo img {
        height: 80px !important;
    }
}
/* Accessibility Panel Styles */
.acc-panel-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3000;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--white);
}

.acc-panel {
    position: fixed;
    bottom: 90px;
    left: 20px;
    width: 320px;
    background: var(--white);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    padding: 1.5rem;
    display: none;
    border: 1px solid #e5e7eb;
    max-height: 70vh;
    overflow-y: auto;
}

.acc-panel.active { display: block; }
.acc-panel h3 { font-size: 1.25rem; margin-bottom: 1.5rem; border-bottom: 2px solid #f3f4f6; padding-bottom: 0.5rem; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.acc-btn {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.acc-btn:hover { background: #e5e7eb; }
.acc-btn.active { background: var(--primary-blue); color: var(--white); }
.acc-btn i { font-size: 1.1rem; }

.acc-btn b {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-top: 2px;
}
.acc-btn.active b { color: white; }

.acc-reset {
    grid-column: span 2;
    background: #ef4444 !important;
    color: white !important;
    margin-top: 1rem;
}
.acc-reset:hover { background: #dc2626 !important; }
