/* ============================================
   TIER 1: GLOBAL UI/UX ENHANCEMENTS
   ============================================ */

/* 1.3 Typography & Color System */
:root {
    --primary-color: #004685;
    --secondary-color: #29afe3;
    --text-color: #333333;
    --heading-color: #000000;
    --bg-light: #f4f7fa;
    --white: #ffffff;
    --body-bg: #ffffff;
    --border-color: #eeeeee;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Martel', serif;
}

[data-theme="dark"] {
    --primary-color: #29afe3;
    /* Lighter blue for dark mode contrast */
    --secondary-color: #004685;
    /* Darker blue for accents */
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --bg-light: #1a1a1a;
    --white: #252525;
    /* Card backgrounds */
    --body-bg: #121212;
    --border-color: #333333;
}

body {
    background-color: var(--body-bg);
    transition: background-color 0.3s ease, color 0.3s ease;
}


/* Dark Mode Specific Overrides */
[data-theme="dark"] .site-header .main-bar {
    background: #1e1e1e !important;
    border-bottom: 1px solid #333;
}

[data-theme="dark"] .logo-header img {
    filter: brightness(0) invert(1);
    /* Make logo white */
}

/* Global Backgrounds */
[data-theme="dark"] .bg-gray {
    background-color: #1a1a1a !important;
}

[data-theme="dark"] .bg-white {
    background-color: #121212 !important;
}

/* Card & Box Overrides */
[data-theme="dark"] .wt-box,
[data-theme="dark"] .blog-post .wt-post-info,
[data-theme="dark"] .wt-icon-box-wraper,
[data-theme="dark"] .pricingtable-wrapper,
[data-theme="dark"] .service-box-style-1,
[data-theme="dark"] .about-section-two,
[data-theme="dark"] .project-detail-containt .bg-white {
    background-color: #1e1e1e !important;
    border-color: #333 !important;
}

/* Typography Overrides */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .wt-title,
[data-theme="dark"] .counter,
[data-theme="dark"] strong,
[data-theme="dark"] b {
    color: var(--heading-color) !important;
}

[data-theme="dark"] p,
[data-theme="dark"] li,
[data-theme="dark"] span,
[data-theme="dark"] .wt-small-separator {
    color: var(--text-color);
}

[data-theme="dark"] .text-black {
    color: var(--heading-color) !important;
}

/* Form Elements */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select,
[data-theme="dark"] .form-control {
    background-color: #252525 !important;
    border-color: #444 !important;
    color: #fff !important;
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus {
    border-color: var(--primary-color) !important;
}

/* Tables */
[data-theme="dark"] .table {
    color: var(--text-color);
}

[data-theme="dark"] .table-bordered,
[data-theme="dark"] .table-bordered td,
[data-theme="dark"] .table-bordered th {
    border-color: #333 !important;
}

[data-theme="dark"] .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Accordions & Tabs */
[data-theme="dark"] .wt-accordion .panel {
    background-color: #1e1e1e;
    border-color: #333;
}

[data-theme="dark"] .wt-accordion .acod-head .acod-title a {
    background-color: #252525;
    color: #fff;
}

/* Footer & Dark Sections */
[data-theme="dark"] .site-footer {
    background-color: #0d0d0d !important;
    /* Very dark for footer */
}

[data-theme="dark"] .footer-bottom {
    background-color: #000 !important;
    border-top: 1px solid #222;
}

/* Separators */
[data-theme="dark"] .wt-separator-outer .wt-separator {
    border-color: #444;
}

/* Specific Component Fixes */
[data-theme="dark"] .owl-prev,
[data-theme="dark"] .owl-next {
    background: #333 !important;
    color: #fff !important;
}

[data-theme="dark"] .pagination>li>a {
    background-color: #1e1e1e;
    border-color: #333;
    color: #fff;
}

[data-theme="dark"] .pagination>.active>a {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}



body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
}

/* 1.1 Navigation Enhancement - Sticky Header with Shrink Effect */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease-in-out;
}

.sticky-header.is-fixed {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #fff !important;
}

.sticky-header.is-fixed .main-bar {
    padding: 10px 0;
    transition: padding 0.3s ease-in-out;
}

.sticky-header.is-fixed .logo-header img {
    height: 40px;
    transition: height 0.3s ease-in-out;
}

/* Nav Hover Underline Animation */
.header-nav .nav>li>a {
    position: relative;
    transition: color 0.3s ease-in-out;
}

.header-nav .nav>li>a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.header-nav .nav>li>a:hover::after,
.header-nav .nav>li.active>a::after {
    width: 100%;
}

/* Smooth Dropdown Transitions */
.header-nav .sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
    border-top: 3px solid var(--secondary-color);
}

.header-nav .nav>li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Mobile Menu Slide-in Effect */
@media (max-width: 991px) {
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 300px;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        z-index: 1000;
    }

    .header-nav.show {
        right: 0;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 999;
    }

    .mobile-menu-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile Responsiveness Improvements */
    .section-full {
        padding-top: 50px !important;
        padding-bottom: 30px !important;
    }

    h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    .wt-bnr-inr-entry h2 {
        font-size: 32px !important;
    }
}

@media (max-width: 767px) {
    .quick-contact-widget {
        bottom: 15px;
        left: 15px;
    }

    .site-footer .widget {
        margin-bottom: 30px;
    }
}

/* Dark Mode Footer Specifics */
[data-theme="dark"] .site-footer .widget-title {
    color: #ffffff !important;
}

/* ============================================
   MOBILE RESPONSIVENESS ENHANCEMENTS
   ============================================ */

@media (max-width: 767px) {

    /* Global Mobile Padding */
    .section-full {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* Heading Sizes */
    h1 {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 26px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }

    /* Hero Section Text */
    .tp-caption {
        font-size: 24px !important;
        line-height: 30px !important;
        white-space: normal !important;
        width: 90% !important;
        left: 5% !important;
        text-align: center !important;
    }

    /* Client Carousel Centering */
    .home-client-carousel-2 .item {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .ow-client-logo {
        width: 100%;
        text-align: center;
    }

    /* Footer Widget Stacking */
    .site-footer .widget {
        margin-bottom: 30px;
    }

    .footer-top .row>div {
        margin-bottom: 20px;
    }

    /* Image Responsiveness */
    img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 575px) {

    /* Smaller Mobile Adjustments */
    .wt-header-left,
    .wt-header-center,
    .wt-header-right {
        display: block;
        width: 100%;
        text-align: center;
    }

    .logo-header {
        float: none;
        display: inline-block;
        margin-bottom: 10px;
    }

    .site-footer {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

[data-theme="dark"] .site-footer a {
    color: #bbbbbb !important;
}

[data-theme="dark"] .site-footer a:hover {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .site-footer p,
[data-theme="dark"] .site-footer li {
    color: #aaaaaa !important;
}

[data-theme="dark"] .site-footer .widget_address li {
    color: #aaaaaa !important;
}

[data-theme="dark"] .header-nav {
    background-color: #1e1e1e;
}

[data-theme="dark"] .header-nav .nav>li>a {
    color: #e0e0e0;
}


/* 1.4 Global Button & Link Animations */
.site-button,
.btn,
a {
    transition: all 0.3s ease-in-out;
}

.site-button:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(41, 175, 227, 0.3);
}

.site-button-link {
    position: relative;
    display: inline-block;
}

.site-button-link::after {
    content: '→';
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s ease-in-out;
}

.site-button-link:hover::after {
    transform: translateX(5px);
}

/* 1.2 Footer Redesign */
.site-footer {
    position: relative;
    background: var(--primary-color);
    color: var(--white);
    overflow: hidden;
}

/* Animated Wave Background */
.site-footer .overlay-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: bottom;
    animation: waveMove 20s linear infinite;
}

@keyframes waveMove {
    0% {
        background-position-x: 0;
    }

    100% {
        background-position-x: 1000px;
    }
}

.site-footer .container {
    position: relative;
    z-index: 1;
}



.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Performance Optimization */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* ============================================
   TIER 2: HOMEPAGE ENHANCEMENTS
   ============================================ */

/* 2.1.1 Hero Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator .mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    display: block;
    position: relative;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

/* 2.1.2 Fade In Up Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 2.1.3 Product Card Hover Effects */
.hover-zoom-card {
    overflow: hidden;
    transition: all 0.3s ease;
}

.hover-zoom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hover-zoom-card img {
    transition: transform 0.5s ease;
}

.hover-zoom-card:hover img {
    transform: scale(1.05);
}

/* 2.1.5 Testimonial Pulse */
.testimonial-quote-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* 2.1.6 Blog Card Hover */
.blog-post:hover .wt-post-media img {
    transform: scale(1.1);
}

.blog-post .wt-post-media {
    overflow: hidden;
}

.blog-post .wt-post-media img {
    transition: transform 0.5s ease;
}

/* ============================================
   TIER 3: NEW SECTIONS
   ============================================ */

/* 3.1 Statistics Counter */
.wt-icon-box-wraper.center.text-white .icon-cell {
    transition: all 0.3s ease;
}

.wt-icon-box-wraper.center.text-white:hover .icon-cell {
    transform: scale(1.1) rotate(5deg);
}

.wt-icon-box-wraper .counter {
    font-family: var(--font-secondary);
}

/* 3.2 Client Logo Carousel */
.home-client-carousel-2 .item img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.home-client-carousel-2 .item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}


/* ============================================
   TIER 2.2.2: SERVICES PAGE ENHANCEMENTS
   ============================================ */

/* Service Card Hover Effects */
.wt-icon-box-wraper {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.wt-icon-box-wraper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.wt-icon-box-wraper:hover .icon-cell {
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Tab Content Animation */
.tab-content .tab-pane {
    display: none;
    /* Default hidden */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.tab-content .tab-pane.active {
    display: block;
    /* Bootstrap handles this, but we ensure animation works */
    opacity: 1;
    transform: translateY(0);
    animation: fadeInTab 0.5s ease-out forwards;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tab Nav Item Hover */
.nav-tabs .nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-tabs .nav-link:hover::after,

/* ============================================
   TIER 2.2.3: CONTACT PAGE ENHANCEMENTS
   ============================================ */

/* Contact Form Input Animation */
.input-animate {
    position: relative;
    overflow: hidden;
}

.input-animate input,
.input-animate textarea {
    border: none;
    border-bottom: 2px solid #ddd;
    background: transparent;
    transition: all 0.3s ease;
}

.input-animate input:focus,
.input-animate textarea:focus {
    border-bottom-color: var(--primary-color);
    padding-left: 10px;
}

html:not([data-theme="dark"]) .input-animate label {
    transition: all 0.3s ease;
    color: #999;
}

.input-animate input:focus+label,
.input-animate textarea:focus+label,
.input-animate input:valid+label,
.input-animate textarea:valid+label {
    transform: translateY(-25px);
    font-size: 12px;
    color: var(--primary-color);
}

/* Map Section Pulse */
.google-map {
    position: relative;
    overflow: hidden;
}

.google-map::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(0, 70, 133, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: mapPulse 2s infinite;
    pointer-events: none;
}

@keyframes mapPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(5);
        opacity: 0;
    }
}

/* Contact Info Box Hover */
.contact-info-section .wt-icon-box-wraper {
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.contact-info-section .wt-icon-box-wraper:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/* ============================================
   TIER 2.2.4: CAREERS PAGE ENHANCEMENTS
   ============================================ */

/* Job Accordion Enhancements */
.wt-accordion .panel {
    border: 1px solid #eee;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wt-accordion .panel:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    border-color: var(--secondary-color);
}

.wt-accordion .acod-head .acod-title a {
    background-color: #fff;
    color: var(--primary-color);
    padding: 15px 20px;
    display: block;
    font-weight: 600;
    position: relative;
}

.wt-accordion .acod-head .acod-title a .indicator {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wt-accordion .acod-head .acod-title a:not(.collapsed) .indicator {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-50%) rotate(180deg);
}

/* Apply Button Animation */
.apply-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 70, 133, 0.3);
}


/* ============================================
   TIER 2.2.5: CASE STUDIES PAGE ENHANCEMENTS
   ============================================ */

/* Masonry Item Hover Effects */
.masonry-item .wt-box {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.masonry-item .wt-box img {
    transition: transform 0.5s ease;
    width: 100%;
    display: block;
}

.masonry-item:hover .wt-box img {
    transform: scale(1.1);
}

.masonry-item .work-hover-grid {
    position: relative;
    overflow: hidden;
}

.masonry-item .work-hover-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 70, 133, 0.8);
    /* Primary color overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.masonry-item:hover .work-hover-grid::before {
    opacity: 1;
}

.masonry-item .work-hover-discription {
    position: absolute;
    bottom: -50px;
    left: 20px;
    right: 20px;
    z-index: 2;
    transition: all 0.4s ease;
    opacity: 0;
}

.masonry-item:hover .work-hover-discription {
    bottom: 20px;
    opacity: 1;
}

.masonry-item .work-hover-discription h4 {
    color: #fff;
    margin-bottom: 5px;
}


/* ============================================
   TIER 2.2.6: RESOURCES PAGE ENHANCEMENTS
   ============================================ */

/* Resource Card Hover Effects */
.resource-card-hover {
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.resource-card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.resource-card-hover:hover .icon-cell {
    color: var(--secondary-color);
    transform: scale(1.1);
    display: inline-block;
    transition: all 0.3s ease;
}

.resource-card-hover .site-button-link {
    position: relative;
    padding-right: 20px;
    transition: all 0.3s ease;
}

.resource-card-hover:hover .site-button-link {
    padding-right: 30px;
    color: var(--secondary-color);
}

.resource-card-hover .site-button-link::after {
    content: '\f105';
    font-family: 'FontAwesome';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.resource-card-hover:hover .site-button-link::after {
    right: 5px;
}





/* ============================================
   QUICK CONTACT WIDGET
   ============================================ */
.quick-contact-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 15px;
}

.quick-contact-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 70, 133, 0.4);
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quick-contact-toggle:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.quick-contact-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-contact-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.qc-item {
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.qc-item:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateX(5px);
}

/* Tooltip for QC Items */
.qc-item::after {
    content: attr(title);
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.qc-item:hover::after {
    opacity: 1;
    visibility: visible;
    left: 65px;
}

/* Specific Colors */
.qc-item.whatsapp {
    color: #25D366;
}

.qc-item.whatsapp:hover {
    background: #25D366;
    color: #fff;
}

.qc-item.phone {
    color: #004685;
}

.qc-item.phone:hover {
    background: #004685;
    color: #fff;
}

.qc-item.email {
    color: #EA4335;
}

/* ============================================
   DARK MODE TOGGLE
   ============================================ */
.dark-mode-toggle-header {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode-toggle-header:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.dark-mode-toggle-header i {
    transition: transform 0.5s ease;
}

[data-theme="dark"] .dark-mode-toggle-header i {
    transform: rotate(180deg);
    content: '\f186';
    /* Moon icon */
}

/* Override for specific elements in Dark Mode */
[data-theme="dark"] .bg-gray {
    background-color: #1a1a1a !important;
}

[data-theme="dark"] .bg-white {
    background-color: #1e1e1e !important;
}

[data-theme="dark"] .text-black {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .wt-separator .sep-line-one {
    color: var(--primary-color);
}


/* ============================================
   LIGHTBOX ZOOM BUTTON
   ============================================ */
.zoom-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    background: rgba(0, 70, 133, 0.9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.work-hover-grid:hover .zoom-btn {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.zoom-btn:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* 1.4 Global Border Radius & Brand Colors */
:root {
    --border-radius-base: 5px;
}

/* Global Border Radius Enforcement */
.site-button,
.btn,
.form-control,
.wt-box,
.wt-icon-box-wraper,
.service-box-style-1,
.pricingtable-wrapper,
.blog-post,
.ow-img-entry img,
.wt-media img,
.wt-thum-bx img,
.img-responsive,
.modal-content,
.panel,
.alert {
    border-radius: var(--border-radius-base) !important;
}

/* Button Color Enforcements */
.site-button {
    background-color: var(--primary-color);
    color: #fff;
}

.site-button:hover,
.site-button:active,
.site-button:focus {
    background-color: var(--secondary-color) !important;
    color: #fff !important;
}

.site-button.white {
    background-color: #fff;
    color: var(--primary-color);
}

.site-button.white:hover {
    background-color: var(--secondary-color) !important;
    color: #fff !important;
}

.site-button.outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.site-button.outline:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

/* Text Selection Color */
::selection {
    background: var(--secondary-color);
    color: #fff;
}

::-moz-selection {
    background: var(--secondary-color);
    color: #fff;
}

/* Scroll to Top Button */
button.scroltop {
    background-color: var(--primary-color) !important;
    border-radius: var(--border-radius-base) !important;
}

button.scroltop:hover {
    background-color: var(--secondary-color) !important;
}

/* Pagination */
.pagination>li>a {
    border-radius: var(--border-radius-base) !important;
    color: var(--primary-color);
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination>li>a:hover,
.pagination>li>span:hover,
.pagination>li>a:focus,
.pagination>li>span:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

/* Owl Carousel Dots */
.owl-theme .owl-dots .owl-dot span {
    background: var(--primary-color) !important;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--secondary-color) !important;
}

/* Icon Box Hover */
.wt-icon-box-wraper:hover {
    border-color: var(--secondary-color) !important;
}

.wt-icon-box-wraper:hover .icon-content .wt-tilte {
    color: var(--primary-color);
}

/* Link Hover Colors */
a:hover,
a:focus,
a:active {
    color: var(--secondary-color);
    text-decoration: none;
}

.site-text-primary {
    color: var(--primary-color) !important;
}

.site-bg-primary {
    background-color: var(--primary-color) !important;
}

.site-text-secondary {
    color: var(--secondary-color) !important;
}

.site-bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* ============================================
   URGENT OVERRIDES: LIGHT MODE HEADER & CONTACT
   ============================================ */

/* 1. Header Dropdown - Light Mode */
.header-nav .nav>li .sub-menu,
.nav-dark.header-nav .nav>li .sub-menu,
.nav-dark .nav>li .sub-menu {
    background-color: #004685 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.header-nav .nav>li .sub-menu>li>a,
.nav-dark.header-nav .nav>li .sub-menu>li>a,
.nav-dark .nav>li .sub-menu>li>a,
.nav-dark.header-nav .nav>li .sub-menu li a {
    color: #ffffff !important;
    background-color: transparent !important;
}

/* Hover state */
.header-nav .nav>li .sub-menu>li>a:hover,
.nav-dark.header-nav .nav>li .sub-menu>li>a:hover,
.nav-dark .nav>li .sub-menu>li>a:hover,
.nav-dark.header-nav .nav>li .sub-menu li a:hover {
    background-color: #29afe3 !important;
    color: #ffffff !important;
}

/* 2. Contact Slide-out Panel - Light Mode */
.contact-slide-hide,
.contact-nav,
.contact-nav-form {
    background-color: #ffffff !important;
}

.contact-nav h4,
.contact-nav h5,
.contact-nav .section-head h4,
.contact-nav-form h4 {
    color: #1a1a2e !important;
}

/* Labels must be dark vs white bg */
html:not([data-theme="dark"]) .contact-nav label,
html:not([data-theme="dark"]) .contact-nav-form label,
html:not([data-theme="dark"]) .contact-nav .input-animate label,
html:not([data-theme="dark"]) .input-animate label {
    color: #333333 !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

html:not([data-theme="dark"]) .contact-nav p,
html:not([data-theme="dark"]) .contact-nav .icon-content p {
    color: #333333 !important;
}

/* Input fields */
.contact-nav input,
.contact-nav textarea,
.contact-nav-form input,
.contact-nav-form textarea,
.input-animate input,
.input-animate textarea {
    background-color: #ffffff !important;
    color: #1a1a2e !important;
    border-bottom: 2px solid #29afe3 !important;
}

.contact_close {
    color: #1a1a2e !important;
}

/* Ensure these don't break dark mode */
html[data-theme="dark"] .contact-nav label,
html[data-theme="dark"] .contact-nav-form label,
html[data-theme="dark"] .input-animate label {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .contact-nav input,
[data-theme="dark"] .contact-nav textarea {
    background-color: #252525 !important;
    color: #ffffff !important;
    border-color: #444 !important;
}

/* Ensure breadcrumbs remain white on dark banners in dark mode */
[data-theme="dark"] .wt-breadcrumb li,
[data-theme="dark"] .wt-breadcrumb li a {
    color: #ffffff !important;
}

[data-theme="dark"] .wt-breadcrumb li a:hover {
    color: var(--secondary-color) !important;
}