:root {
    /* Colors */
    --color-grey: #606060;
    --color-black: #1B1B1B;
    --color-blue-full: #030320;
    --color-blue: #0E3BA6;
    --color-blue-half: rgba(14, 59, 166, 0.5);
    --color-light-blue: #F0F6FF;
    /* Assuming 50% opacity based on name */
    --color-blue-quarter: rgba(14, 59, 166, 0.25);
    /* Assuming 25% opacity */
    --color-green: #00BC5B;
    --color-green-half: rgba(0, 188, 91, 0.5);
    --color-green-quarter: rgba(0, 188, 91, 0.25);

    --color-red-full: #9D080C;
    --color-red: #DC3136;
    --color-red-half: rgba(220, 49, 54, 0.5);

    /* --color-light-blue: #EEF6FF; */
    --color-white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(90deg, #00BC5B 0%, #0E3BA7 100%);

    /* Typography */
    --font-family-primary: 'Be Vietnam Pro', sans-serif;

    /* Font Sizes - Desktop */
    --fs-54: 54px;
    --fs-42: 42px;
    --fs-36: 36px;
    --fs-32: 32px;
    --fs-28: 28px;
    --fs-24: 24px;
    --fs-16: 16px;
    --fs-15: 15px;
    --fs-14: 14px;
    --fs-10: 10px;

    /* Spacing - Desktop */
    --section-padding: 52px;
    --heading-gap: 36px;
    --content-gap: 24px;
}

@media (max-width: 768px) {
    :root {
        /* Font Sizes - Mobile */
        --fs-54: 36px;
        --fs-42: 36px;
        --fs-36: 28px;
        --fs-32: 26px;
        --fs-28: 22px;
        --fs-24: 20px;
        --fs-16: 14px;
        --fs-15: 14px;
        --fs-14: 12px;
        --fs-10: 10px;

        /* Spacing - Mobile */
        --section-padding: 36px;
        --heading-gap: 36px;
        --content-gap: 16px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family-primary);
}

/* =========================================
   1. Header & Navbar Styles
   ========================================= */

.header {
    /* Subtle shadow */
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Ensure it stays on top */
    padding: 14px 0;
    border-bottom: 1px solid rgba(14, 59, 166, 0.25);
    background: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(12.5px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
    padding: 0px 52px 0px 52px
}

@media (max-width: 768px) {
    .navbar {
    padding: 0px 4px 0px 4px
}
}

.logo img {
    height: 40px;
    /* Adjust based on actual logo aspect ratio */
    width: auto;
    display: block;
}

/* Navigation Menu (Desktop) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    /* Space between links and actions */
}

.nav-list {
    display: flex;
    gap: 24px;
    /* Space between nav items */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: var(--fs-14);
    font-weight: normal;
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-blue);
}

/* Action Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Dropdown Support */
.nav-item {
    position: relative;
    padding: 10px 0;
}

/* Nav Chevron (SVG dropdown arrow) */
.nav-chevron {
    margin-left: 4px;
    vertical-align: middle;
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-item:hover .nav-chevron,
.nav-item.open .nav-chevron {
    opacity: 1;
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
    list-style: none;
    border: 1px solid #f0f0f0;
}

/* Hover Effect */
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    text-decoration: none;
    color: var(--color-black);
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-menu li a:hover {
    background-color: #f8f9fa;
    color: var(--color-blue);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: var(--fs-12);
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    text-decoration: none;
}

.btn-green {
    background: var(--color-green);
    color: var(--color-white);
}

.btn-green:hover {
    transform: translateY(-2px);
}

.btn-blue {
    background-color: var(--color-blue);
    color: var(--color-white);
    border: 1px solid var(--color-blue);
}

.btn-blue:hover {
    background-color: #0b2e85;
    transform: translateY(-2px);
}

.btn-link {
    background: none;
    border: none;
    color: var(--color-blue);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    cursor: pointer;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1002;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-black);
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

/* =========================================
   2. Responsive Styles (Mobile/Tablet)
   ========================================= */

@media (max-width: 991px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile Menu — Full-width slide-in */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        height: 100vh;
        text-align: left;
        transition: left 0.35s ease;
        box-shadow: none;
        padding: 80px 24px 40px;
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        margin-bottom: 24px;
        width: 100%;
    }

    .nav-item {
        padding: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-item .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 0;
        font-size: 16px;
        font-weight: 500;
    }

    .nav-chevron {
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    /* Disable hover-based dropdowns on mobile */
    .nav-item:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
    }

    /* Accordion-style dropdown on mobile (JS toggles .open) */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 8px 16px;
        min-width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: none;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
    }

    .nav-item.open .dropdown-menu {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        padding: 8px 0 8px 16px;
    }

    .nav-item.open .nav-chevron {
        transform: rotate(180deg);
        opacity: 1;
    }

    .dropdown-menu li a {
        padding: 10px 0;
        font-size: 15px;
        color: #555;
    }

    .dropdown-menu li a:hover {
        background: none;
        color: var(--color-blue);
    }

    /* Action buttons */
    .nav-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding-top: 16px;
        border-top: 1px solid #f0f0f0;
    }

    .nav-actions .btn {
        width: 100%;
    }
}


/* =========================================
   13. Enhanced Footer
   ========================================= */

.footer-enhanced {
    padding: var(--section-padding) 0;
    background-color: var(--color-light-blue);
    color: #333;
}

.footer-top {
    text-align: center;
}

.footer-tagline {
    font-size: var(--fs-16);
    font-weight: 500;
    color: var(--color-black);
    margin-top: 8px;
}

.footer-divider-long {
    height: 1px;
    background-color: #E5E7EB;
    width: 100%;
    margin-top: 30px;
}

.footer-heading {
    font-size: var(--fs-16);
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 24px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a,
.footer-col p {
    font-size: 12px;
    color: var(--color-grey);
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.8;
}

.footer-nav a:hover {
    color: var(--color-blue);
}

/* Footer Cards */
.footer-cards-row {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: var(--content-gap);
}

.footer-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 24px;
}

.footer-card-title {
    font-size: var(--fs-16);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-black);
}

/* Certifications */
.certs-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cert-item,
.award-text {
    background: #F3F4F6;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
}

.awards-flex {
    display: flex;
    gap: 10px;
}

/* App Buttons */
.btn-app-store,
.btn-play-store {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
}

.rating-box {
    background: var(--color-light-blue);
    border: 1px solid var(--color-light-blue);
    border-radius: 8px;
    padding: 10px;
    display: inline-block;
}

.rating-box strong {
    color: var(--color-green);
}

.star {
    color: #F59E0B;
}

.small-text {
    font-size: 11px;
    color: #6B7280;
    margin-top: 2px;
}

.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.linkedin {
    background-color: #0077B5;
}

.youtube {
    background-color: #FF0000;
}

/* Service stats */
.stat-label {
    font-size: 13px;
    color: #374151;
}

.stat-val {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}

.progress-bar-bg {
    height: 6px;
    background-color: #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 5px;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--color-green);
    border-radius: 10px;
}

/* Locations */
.footer-locations {
    background: var(--color-white);
    border-radius: 16px;
    padding: 24px;
}

.locations-title {
    font-size: var(--fs-16);
    font-weight: 700;
    background: var(--color-black);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-align: center;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: var(--color-white);
}

.loc-header {
    font-weight: 700;
    font-size: var(--fs-16);
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.flag {
    font-size: 18px;
}

.loc-address {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.6;
}

.copyright-text {
    font-size: 10px;
    color: var(--color-black);
    padding-top: 8px;
    display: inline-block;
    width: 100%;
}

.copyright-text a {
    text-decoration: none;
    color: var(--color-grey);
}

/* Responsive Footer */
@media (max-width: 991px) {

    .footer-cards-row,
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-card {
        text-align: center;
    }

    .certs-grid,
    .awards-flex {
        justify-content: center;
    }
}

/* Responsive Final Sections */
@media (max-width: 991px) {
    .updates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-banner {
        padding: 60px 20px;
    }

    .cta-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .updates-grid {
        grid-template-columns: 1fr;
    }
}