/* ==========================
   Custom Color Variables
   ========================== */
:root {
    --color-deep-blue: #1E3A8A;
    --color-dark-blue: #0A2463;
    --color-orange: #F97316;
    --color-cyan: #06B6D4;
    --color-black: #0F172A;
    --color-dark: #020617;
}

/* ==========================
   Global Styles
   ========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ==========================
   Utility Classes
   ========================== */
.bg-dark-blue {
    background-color: var(--color-dark-blue) !important;
}

.bg-orange {
    background-color: var(--color-orange) !important;
}

.bg-cyan {
    background-color: var(--color-cyan) !important;
}

.text-dark-blue {
    color: var(--color-dark-blue) !important;
}

.text-orange {
    color: var(--color-orange) !important;
}

.text-cyan {
    color: var(--color-cyan) !important;
}

.btn-orange {
    background-color: var(--color-orange);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background-color: #ea580c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.btn-cyan {
    background-color: var(--color-cyan);
    color: white;
    border: none;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-cyan:hover {
    background-color: #0891b2;
    color: white;
    transform: translateY(-2px);
}

/* ==========================
   Top Banner
   ========================== */
.top-banner {
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-deep-blue) 100%);
    color: white;
    font-size: 14px;
}

.top-banner a {
    font-weight: 600;
    transition: color 0.3s;
}

.top-banner a:hover {
    color: var(--color-orange) !important;
}

/* ==========================
   Navigation
   ========================== */
.navbar {
    --bs-navbar-padding-y: 0;
    --bs-navbar-brand-padding-y: 0;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1;
}

.navbar-brand .brand-title-img {
    display: block;
    height: 46px;
    width: auto;
    max-width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.navbar .btn-orange {
    padding: 8px 18px;
    font-size: 14px;
    line-height: 1.2;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    margin: 0 15px;
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-orange);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-orange) !important;
}

.vf-nav-link {
    font-size: 15px;
    white-space: nowrap;
}

.services-menu {
    position: relative;
}

.services-caret {
    font-size: 11px;
    margin-left: 6px;
}

.services-mega-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-20%);
    width: min(920px, calc(100vw - 48px));
    background: linear-gradient(160deg, #0c2f7f 0%, #091f54 60%, #07173d 100%);
    border: 1px solid rgba(6, 182, 212, 0.35);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(2, 6, 23, 0.5);
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 1055;
}

.services-menu:hover .services-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    top: calc(100% + 4px);
}

.services-mega-header {
    padding: 6px 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.services-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 14px 8px;
}

.services-group {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
}

.services-group h6 {
    color: var(--color-cyan);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.services-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 240px;
    overflow: auto;
}

.services-group ul li + li {
    margin-top: 7px;
}

.services-group a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.35;
    transition: all 0.2s ease;
    display: inline-block;
}

.services-group a:hover {
    color: var(--color-orange);
    transform: translateX(4px);
}

.services-mega-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 8px 4px;
    display: flex;
    justify-content: flex-end;
}

.header-cta-wrap {
    margin-left: 12px;
}

.mobile-header-flags {
    display: none;
    gap: 6px;
}

.header-cta-wrap > a {
    white-space: nowrap;
}

/* Bootstrap navbar collapse must stay visible on desktop. */
@media (min-width: 992px) {
    .navbar .navbar-collapse {
        display: flex !important;
        visibility: visible !important;
    }

    .navbar .navbar-collapse .nav-link,
    .navbar .navbar-collapse .btn,
    .navbar .navbar-collapse a {
        visibility: visible !important;
    }
}

@media (min-width: 993px) and (max-width: 1250px) {
    .navbar .container-fluid {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .navbar .navbar-nav {
        gap: 0 !important;
    }

    .vf-nav-link {
        font-size: 13px;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .services-caret {
        display: none;
    }

    .header-cta-wrap {
        gap: 10px !important;
        margin-left: 6px;
    }

    .header-cta-wrap .country-flags {
        display: none !important;
    }

    .header-cta-wrap .fw-bold {
        font-size: 14px;
    }

    .header-cta-wrap .btn {
        padding: 10px 14px;
        font-size: 14px;
    }
}

.country-flag-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 24px;
    padding: 0px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    /* border-radius: 999px; */
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.country-flag {
    width: 100%;
    height: 100%;
    margin: 0;
    display: block;
    object-fit: cover;
    /* border-radius: 999px; */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.country-flag-link.active {
    border-color: rgba(249, 115, 22, 0.9);
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.18);
    background: rgba(249, 115, 22, 0.12);
}

.country-flag-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
}

.country-flag:hover {
    transform: scale(1.06);
}

/* ==========================
   Hero Section
   ========================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-black) 100%);
    background-image: url('https://images.unsplash.com/photo-1766608422198-5be9ac0aac9e');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(10, 36, 99, 0.95) 0%, 
        rgba(15, 23, 42, 0.9) 50%,
        rgba(10, 36, 99, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--color-cyan);
}

/* ==========================
   Why Choose Section
   ========================== */
.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-content h5 {
    color: var(--color-dark-blue);
    margin-bottom: 8px;
}

/* ==========================
   Service Cards
   ========================== */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s ease;
    height: 100%;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--color-cyan);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.3);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-link {
    color: var(--color-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.service-link:hover {
    color: var(--color-orange);
    padding-left: 10px;
}

/* ==========================
   Industry Cards
   ========================== */
.industry-card {
    position: relative;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 36, 99, 0.95) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 30px;
    color: white;
    transition: all 0.4s ease;
}

.industry-card:hover img {
    transform: scale(1.1);
}

.industry-card:hover .industry-overlay {
    background: linear-gradient(to top, rgba(10, 36, 99, 0.98) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.industry-icon {
    width: 70px;
    height: 70px;
    background: var(--color-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.industry-card:hover .industry-icon {
    background: var(--color-cyan);
    transform: scale(1.1);
}

.industry-icon i {
    font-size: 1.8rem;
    color: white;
}

/* ==========================
   FAQ Section
   ========================== */
.faq-help-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-cyan);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-top: 30px;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
}

.accordion-button {
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 25px;
    border: none;
    transition: all 0.3s;
}

.accordion-button:not(.collapsed) {
    background: rgba(6, 182, 212, 0.2);
    color: var(--color-cyan);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-collapse.collapsing,
.accordion-collapse.collapse.show {
    visibility: visible !important;
}

.accordion-body {
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
    padding: 25px;
    line-height: 1.8;
}

/* ==========================
   Our Branches A-Z
   ========================== */
.branch-cms .alphabetical-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.branch-cms .alphabetical-nav ul .alphabet-filter-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: -1px;
    margin-top: -1px;
    border: 1px solid #b9c2d1;
    background: #fff;
    color: #8f99ad;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    opacity: 1;
    transition: all 0.2s ease;
}

.branch-cms .alphabetical-nav ul .alphabet-filter-item:first-child {
    width: 52px;
}

.branch-cms .alphabetical-nav ul .alphabet-filter-item:hover,
.branch-cms .alphabetical-nav ul .alphabet-filter-item.active {
    border-color: var(--color-orange);
    color: var(--color-orange);
    background: rgba(249, 115, 22, 0.08);
    z-index: 2;
}

.branch-cms .alphabetical-list {
    margin: 72px auto 0;
}

.branch-cms .alphabetical-list .alphabet-child-list {
    border-bottom: 1px solid #d5d9e2;
    margin-bottom: 34px;
}

.branch-cms .alphabetical-list .alphabet-child-list:last-child {
    border-bottom: 0;
}

.branch-cms .alphabetical-list .branch-letter-title {
    font-size: 36px;
    line-height: 1;
    font-weight: 700;
    color: var(--color-orange);
    margin: 0 0 16px;
}

.branch-cms .alphabetical-list .main-column-section {
    padding: 0;
    margin: 0;
}

.branch-cms .alphabetical-list .common-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 42px;
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.branch-cms .alphabetical-list .common-row li {
    min-height: 24px;
}

.branch-cms .alphabetical-list .branch-city-link {
    color: var(--color-dark-blue);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 500;
}

.branch-cms .alphabetical-list .branch-city-link:hover {
    color: var(--color-cyan);
}

.branch-cms .alphabetical-list .branch-city-empty {
    color: transparent;
}

@media (max-width: 1199px) {
    .branch-cms .alphabetical-list {
        margin-top: 56px;
    }

    .branch-cms .alphabetical-list .common-row {
        gap: 24px 24px;
    }
}

@media (max-width: 767px) {
    .branch-cms .alphabetical-list {
        margin-top: 40px;
    }

    .branch-cms .alphabetical-list .common-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 20px;
    }

    .branch-cms .alphabetical-nav ul .alphabet-filter-item {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .branch-cms .alphabetical-nav ul .alphabet-filter-item:first-child {
        width: 46px;
    }

    .branch-cms .alphabetical-list .branch-letter-title {
        font-size: 30px;
    }
}

/* ==========================
   Reviews Section
   ========================== */
.review-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
    min-height: 250px;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.review-text {
    color: #333;
    font-style: italic;
    margin: 15px 0;
    line-height: 1.6;
}

.review-author {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

#reviewsCarousel {
    overflow: visible;
}

#reviewsCarousel .carousel-control-prev,
#reviewsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--color-orange);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s;
    z-index: 2;
}

#reviewsCarousel .carousel-control-prev {
    left: -65px;
}

#reviewsCarousel .carousel-control-next {
    right: -65px;
}

#reviewsCarousel .carousel-control-prev:hover,
#reviewsCarousel .carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 1200px) {
    #reviewsCarousel .carousel-control-prev {
        left: -40px;
    }

    #reviewsCarousel .carousel-control-next {
        right: -40px;
    }
}

@media (max-width: 992px) {
    #reviewsCarousel .carousel-control-prev {
        left: 8px;
    }

    #reviewsCarousel .carousel-control-next {
        right: 8px;
    }
}

/* ==========================
   Client Logos Section
   ========================== */
.client-logo-box {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s;
}

.client-logo-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* ==========================
   Footer
   ========================== */
.footer {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-blue) 100%);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--color-orange);
    padding-left: 5px;
}

/* ==========================
   Scroll to Top Button
   ========================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-orange);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(249, 115, 22, 0.4);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--color-cyan);
    transform: translateY(-5px);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ==========================
   Responsive Design
   ========================== */
@media (max-width: 992px) {
    .navbar .container-fluid {
        flex-wrap: nowrap;
    }

    .mobile-header-flags {
        display: inline-flex;
        align-items: center;
    }

    .mobile-header-flags .country-flag {
        width: 22px;
        height: 22px;
        margin: 0;
    }

    .mobile-header-flags .country-flag-link {
        padding: 1px;
    }

    .services-mega-menu {
        display: none !important;
    }

    .services-caret {
        display: none;
    }

    .header-cta-wrap {
        display: none !important;
    }

    .navbar .navbar-collapse {
        display: none;
        visibility: hidden;
        width: 100%;
        background: var(--color-dark-blue);
        padding: 12px 0;
        margin-top: 8px;
    }

    .navbar .navbar-collapse.show,
    .navbar .navbar-collapse.collapse.show {
        display: block;
        visibility: visible !important;
    }

    .navbar .navbar-collapse.collapsing {
        display: block;
        visibility: visible !important;
    }

    .navbar .navbar-nav {
        width: 100%;
        align-items: flex-start;
    }

    .navbar .navbar-nav .nav-link {
        margin: 0;
        padding: 10px 0;
    }

    .mobile-menu-utility {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        margin-top: 12px;
        padding-top: 14px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .mobile-menu-flags .country-flag {
        width: 24px;
        height: 24px;
    }

    .mobile-menu-flags {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .mobile-menu-phone {
        display: inline-flex;
        align-items: center;
        font-size: 15px;
    }

    .mobile-menu-payment {
        min-width: 150px;
    }

    .navbar .navbar-collapse .d-flex.align-items-center.gap-3 {
        width: 100%;
        flex-direction: row;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-top: 10px;
    }

    .navbar .navbar-collapse .text-white {
        color: #fff !important;
    }

    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }

    .services-mega-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .industry-card {
        height: 300px;
    }
    
    .review-card {
        min-height: auto;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 12px;
    }
    
    .btn-orange {
        padding: 10px 20px;
        font-size: 14px;
    }
}