/* =========================================
   EXTRACTED STYLES FROM INDEX.HTML
   ========================================= */

/* ROOT VARIABLES */
:root {
    --accent: #0ea5e9; /* light blue */
    --accent-dark: #0284c7; /* deep blue */
    --nav-blue: #001a66; /* navbar bg - deep navy */
    --muted: #64748b;
    --bg: #ffffff;
    --footer-bg:  #001a66;
    /* --footer-panel:  #02103a; */
    --link: #e6eef6;
    --divider: rgba(255,255,255,0.06);
}

/* =========================================
   NAVBAR STYLES
   ========================================= */

/* Fix for mobile footer spacing and borders */
@media (max-width: 991.98px) {
    /* Fix for nested columns in mobile view */
    .mega-footer .footer-top .row > [class*="col-"] > .row > [class*="col-"],
    .mega-footer .footer-top .row > [class*="col-"] > .row > [class*="col-"] .footer-list {
        padding-top: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    /* Add border to the parent column that contains nested columns */
    .mega-footer .footer-top .row > [class*="col-"].has-nested {
        position: relative;
        padding-bottom: 16px;
    }

    /* Add spacing between nested sections */
    .nested-section {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--divider);
    }

    /* Remove top border from first nested section */
    .nested-section:first-child {
        border-top: none;
        padding-top: 0;
        margin-top: 0;
    }

    /* Ensure nested section headings match the style */
    .nested-section .footer-heading {
        padding: 12px 0;
    }

    /* Fix spacing for nested lists */
    .nested-section .footer-list {
        margin-left: 0;
        padding-left: 0;
    }
    /* Add consistent spacing between footer sections */
    .mega-footer .footer-top .col-lg-3.col-md-6 {
        padding-top: 12px;
        padding-bottom: 0; /* Remove bottom padding to prevent double borders */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Add single border to each section */
    }
    
    /* Remove default list item borders */
    .footer-list li {
        border-bottom: none !important;
    }
    
    /* Add spacing between list items */
    .footer-list li:not(:last-child) {
        margin-bottom: 8px;
    }
    
    /* Add padding to the list instead of individual items */
    .footer-list {
        padding: 12px 0;
    }
    
    /* Remove the specific border from Reality Capture section */
    #list-reality {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    /* Ensure consistent spacing for Our Experience section */
    .our-experience {
        margin-top: 12px;
    }
    
    /* Make sure the toggle buttons have consistent spacing */
    .footer-toggle.footer-heading {
        padding: 12px 0;
        margin: 0;
        border: none;
    }
}

/* NAV MAIN */
.navbar {
    background: transparent !important;
    box-shadow: none;
    padding: 0.6rem 1rem;
    transition: all 0.4s ease-in-out;
    height: 75px;
}

.navbar.navbar-scrolled {
    background: var(--nav-blue) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    height: 75px;
}

.navbar-brand img {
    height: 55px;
    display: block;
    transition: height 0.3s ease;
}

/* desktop links white, no heavy hover background; underline on hover */
.nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 18px 14px !important;
    transition: color 0.18s ease;
    text-decoration: none;
    white-space: nowrap;
    font-size: 18px;
}
/* remove background hover on desktop; show subtle underline */
@media (min-width: 992px) {
    .nav-link:hover,
    .nav-link:focus {
        color: #fff !important;
        text-decoration: underline;
        text-underline-offset: 4px;
    }
}
/* demo CTA button (desktop) */
.btn-demo {
    /* background: linear-gradient(
        135deg,
        var(--accent) 0%,
        var(--accent-dark) 100%
    ); */
    
    background:  #e53d42 !important;;
    color: #fff;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 24px;
    border: 0;
    display: inline-block;
}
.btn-demo:focus {
    outline: none;
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.18);
}

/* Desktop Mega Menu (smooth open/close, and stays open while user interacts) */
.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15, 20, 25, 0.08);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    z-index: 1000;
    border-top: 4px solid rgba(14, 165, 233, 0.07);
    max-height: 78vh;
    overflow: auto;
}
/* make a small invisible 'bridge' to prevent flicker when moving pointer from link to menu */
.mega-menu::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 18px;
}
.position-static:hover > .mega-menu,
.position-static:focus-within > .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding: 30px 0;
}

.mega-title {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
    text-transform: uppercase;
}
.mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mega-list li {
    padding: 6px 0;
    width: 270px;
    border-bottom: 1px solid #f3f5f6;
}
.mega-list a {
    color: #22303a;
    text-decoration: none;
    font-weight: 400;
    display: block;
    padding: 6px 0;
    font-size: 14px;
    transition: color 0.18s, padding-left 0.18s;
}
.mega-list a:hover {
    color: var(--accent);
    padding-left: 8px;
}

/* Desktop-specific: hide mobile blocks */
@media (min-width: 992px) {
    .offcanvas-mobile,
    .offcanvas-backdrop {
        display: none !important;
    }
    .navbar {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .navbar-brand img {
        height: 55px; /* Adjusted logo size for 75px header */
    }
    .nav-link {
        padding: 24px 14px !important;
    }
    .mega-menu {
        top: 100%;
    }
}
/* ---------- Mobile/menu chevron alignment (top + inner levels) ---------- */
/* Use CSS Grid so label takes remaining width and chevron stays in fixed column */
.mobile-menu-link,
.mobile-submenu .mobile-menu-link,
.submenu-body .mobile-menu-link,
.submenu-section > .mobile-menu-link {
    display: grid;
    grid-template-columns: 1fr 32px; /* text | chevron */
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    text-decoration: none;
    color: #1f2937;
    font-weight: 700;
    background: #fff;
    font-size: 14px;
}

/* Make the text truncate if too long (keeps chevrons aligned) */
.mobile-menu-link .label,
.mobile-submenu .mobile-menu-link .label,
.submenu-body .mobile-menu-link .label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Chevron fixed column — always right aligned */
.chev {
    width: 32px;         /* fixed width -> creates the column */
    justify-self: end;   /* force chevron to the right edge of that column */
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    transition: transform 0.22s ease, color 0.22s ease;
}

/* Slight visual feedback on hover/tap */
.mobile-menu-link:hover,
.mobile-submenu .mobile-menu-link:hover,
.submenu-body .mobile-menu-link:hover {
    background: #fbfdff;
    color: var(--accent);
}
.mobile-menu-link:hover .chev,
.mobile-submenu .mobile-menu-link:hover .chev {
    color: var(--accent);
    transform: translateX(3px);
}

/* Slight padding tweak for deeper nested panels so alignment stays consistent */
.mobile-submenu .submenu-body .mobile-menu-link {
    padding-left: 14px;
    padding-right: 14px;
}

/* Ensure submenu header/back button doesn't get affected */
.submenu-header,
.submenu-back { /* keep existing styles but ensure layout not broken */
    display: flex;
    align-items: center;
}

/* MOBILE / TABLET — Offcanvas style (right slide) */
@media (max-width: 991.98px) {
    /* hide desktop nav bar content */
    .collapse.navbar-collapse {
        display: none !important;
    }

    /* Mobile navbar height */
    .navbar {
        height: 60px;
    }

    /* Mobile toggle button with circle border */
    #mobileNavToggle {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid white !important;
        background: transparent !important;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        padding: 0;
    }

    #mobileNavToggle:hover {
        border-color: var(--accent-dark);
        transform: scale(1.1);
    }

    #mobileNavToggle img {
        width: 20px;
        height: 20px;
        transition: filter 0.3s ease;
    }

    /* backdrop */
    .offcanvas-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1050;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.28s;
    }
    .offcanvas-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

    /* offcanvas */
    .offcanvas-mobile {
        position: fixed;
        top: 0;
        right: 0;
        width: 86%;
        max-width: 420px;
        height: 100vh;
        background: #fff;
        z-index: 1100;
        transform: translateX(110%);
        transition: transform 0.32s ease;
        box-shadow: -20px 0 60px rgba(20, 20, 20, 0.15);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .offcanvas-mobile.open {
        transform: translateX(0);
    }

    /* reduce internal padding slightly (requested) */
    .offcanvas-header {
        padding: 14px 14px;
        border-bottom: 2px solid #f1f3f4;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .offcanvas-body {
        padding: 8px 6px;
        overflow-y: auto;
        flex: 1;
    }

    .mobile-menu-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .mobile-menu-item {
        border-bottom: 1px solid #f1f3f4;
    }
    .mobile-menu-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        color: #1f2937;
        text-decoration: none;
        font-weight: 700;
        background: #fff;
    }
    .mobile-menu-link:hover {
        background: #fbfdff;
        color: var(--accent);
    }
    .mobile-menu-link .label {
        flex: 1;
    }

    .chev {
        color: var(--muted);
        font-size: 0.92rem;
        transition: transform 0.22s ease;
    }

    /* mobile submenu panels slide from right (hierarchical) */
    .mobile-submenu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 420px;
        height: 100vh;
        background: #fff;
        z-index: 1110;
        transition: right 0.28s ease;
        display: flex;
        flex-direction: column;
        overflow: auto;
    }
    .mobile-submenu[aria-hidden="false"] {
        right: 0;
    }

    .submenu-header {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 12px;
        border-bottom: 2px solid #f1f3f4;
        background: #fff;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    .submenu-back {
        background: none;
        border: 0;
        color: var(--accent);
        font-weight: 700;
        display: flex;
        gap: 8px;
        align-items: center;
        cursor: pointer;
    }
    .submenu-body {
        padding: 8px 12px;
        flex: 1;
    }
    .submenu-body a{
        border-bottom: 1px solid #f1f3f4;
    }
    .submenu-section {
        margin-bottom: 14px;
    }
    .submenu-title {
        color: var(--accent);
        font-weight: 800;
        font-size: 0.85rem;
        text-transform: uppercase;
        margin-bottom: 8px;
    }
    .mobile-submenu a {
        display: block;
        padding: 10px 12px;
        color: #22303a;
        text-decoration: none;
        font-weight: 700;
        border-radius: 6px;
        margin-bottom: 6px;
        background: #fff;
        font-size: 14px;
    }
    .mobile-submenu a:hover {
        background: var(--accent);
        color: #fff;
        transform: translateX(4px);
    }

    /* CTA at bottom */
    .offcanvas-cta {
        padding: 10px;
        border-top: 2px solid #f1f3f4;
        flex-shrink: 0;
    }

    .offcanvas-cta .btn-demo {
        background-color: #D73F3F !important;
        color: #fff !important;
        font-weight: 700;
        font-size: 16px !important;
        padding: 12px 24px !important;
        border: 0 !important;
        border-radius: 8px !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        transition: all 0.3s ease !important;
    }

    .offcanvas-cta .btn-demo:hover {
        background-color: #C03737 !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(192, 55, 55, 0.3);
    }

    .btn-offcanvas {
        width: 100%;
        padding: 12px;
        font-weight: 800;
        background: var(--accent);
        color: #fff;
        border-radius: 28px;
        border: 0;
        display: block;
        text-align: center;
        text-decoration: none;
    }
    .btn-offcanvas:hover {
        background: var(--accent-dark);
    }
}

/* small tweaks for tablet */
@media (min-width: 576px) and (max-width: 991.98px) {
    .offcanvas-mobile {
        max-width: 420px;
        width: 72%;
    }
}

/* page demo */
main {
    max-width: 1200px;
    margin: 28px auto;
    padding: 0 16px;
}


/* ===================== FOOTER STYLE ===================== */

.btn-reset { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; width:100%; }
.btn-reset:focus { outline: none; box-shadow: none; }

.mega-footer {
    background: linear-gradient(180deg, var(--footer-panel) 0%, var(--footer-bg) 100%);
    color: var(--link);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    padding-top: 48px;
    padding-bottom: 0; /* bottom handled by .footer-bottom */
}

.mega-footer .footer-top { max-width: 1400px; margin: 0 auto; padding-bottom: 5px !important; }

/* heading with left accent */
.footer-heading {
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom: 12px;
    font-weight:800;
    font-size:1.02rem;
    color:var(--link);
}
.footer-heading::before {
    content:"";
    width:6px; height:28px; background:var(--accent); display:inline-block; border-radius:2px;
}

.footer-list{ list-style:none; padding:0; margin:0; transition: max-height .28s ease; overflow:hidden; }
.footer-list li{ padding: 10px 0;width: 220px; border-bottom: 1px solid var(--divider); font-size:0.95rem; color:var(--link); }
.footer-list li:last-child{ border-bottom:none; }
.footer-list a{ color:var(--link); text-decoration:none; }
.footer-list a:hover { color:var(--link); text-decoration:underline; }

.muted-desc { color: var(--link); font-size:.95rem; line-height:1.45; }

.social-link {
    display:inline-flex; align-items:center; justify-content:center;
    width:36px; height:36px; border-radius:50%;
    background:#fff; color:#333; text-decoration:none; font-size:14px;
}
.social-link + .social-link { margin-left:6px; }

/* footer bottom */
.footer-bottom { background:#0b0b0b; border-top: 1px solid var(--divider); color: rgba(255,255,255,0.65); }

/* Desktop: show lists fully */
@media(min-width:992px){
    .footer-list { max-height: 999px; overflow:visible; }
    .toggle-icon { display:none !important; }
}

/* Mobile: collapse lists by default (closed) */
@media (max-width: 991.98px) {
    /* Fix for nested columns in mobile view */
    .mega-footer .footer-top .row > [class*="col-"] > .row > [class*="col-"],
    .mega-footer .footer-top .row > [class*="col-"] > .row > [class*="col-"] .footer-list {
        padding-top: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    /* Add border to the parent column that contains nested columns */
    .mega-footer .footer-top .row > [class*="col-"].has-nested {
        position: relative;
        padding-bottom: 16px;
    }

    /* Add spacing between nested sections */
    .nested-section {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--divider);
    }

    /* Remove top border from first nested section */
    .nested-section:first-child {
        border-top: none;
        padding-top: 0;
        margin-top: 0;
    }

    /* Ensure nested section headings match the style */
    .nested-section .footer-heading {
        padding: 12px 0;
    }

    /* Fix spacing for nested lists */
    .nested-section .footer-list {
        margin-left: 0;
        padding-left: 18px;
    }
    /* Ensure the footer column containers have consistent vertical spacing */
    .mega-footer .footer-top .row > [class*="col-"] {
        padding-top: 16px;
        padding-bottom: 10px;
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    /* Make button a 2-column flex layout: left = accent+title, right = fixed chevron */
    .footer-toggle.footer-heading {
        display: flex;
        align-items: center;
        justify-content: space-between; /* ensures title at left and chevron at right */
        width: 100%;
        gap: 12px;
        background: transparent;
        padding: 12px 16px;
        border: 0;
        color: var(--link);
        text-align: left;
    }

    /* left group so accent bar stays inside flow and title truncates properly */
    .footer-heading-left {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0; /* allow truncation */
        flex: 1 1 auto;
    }

    /* small left accent placed as a normal inline element (no absolute) */
    .footer-heading-accent {
        width: 6px;
        height: 22px;
        background: var(--accent);
        border-radius: 2px;
        flex: 0 0 auto;
        margin-left: 0;
    }

    /* the text - allow truncation so chevron stays in same column */
    .footer-heading-title {
        display: block;
        font-weight: 800;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 1rem;
        color: var(--link);
        line-height: 1;
    }

    /* chevron fixed column — exact same width for every heading */
    .toggle-icon {
        flex: 0 0 36px;       /* fixed column width */
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        color: var(--link);
        transition: transform .28s ease;
        transform-origin: center;
    }

    /* rotate when expanded (your JS toggles aria-expanded) */
    .footer-toggle[aria-expanded="true"] .toggle-icon {
        transform: rotate(180deg);
    }

    /* lists collapsed by default, open via .footer-list.open class (your JS uses that) */
    .footer-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height .32s ease, padding .28s ease;
        padding-left: 16px;
        margin: 0;
    }
    .footer-list.open {
        max-height: 1200px; /* large enough to show all items */
        padding-bottom: 12px;
    }

    /* ensure list items have even spacing */
    .footer-list li {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.04);
        color: var(--link);
        font-size: 0.95rem;
    }

    /* reduce differences between sections (remove extra margins) */
    .mega-footer .row .footer-heading,
    .mega-footer .row .footer-list {
        margin: 0;
    }

    /* remove previous absolute pseudo which caused misalignment */
    .footer-heading::before { display: none; }
    
    /* Ensure contact info icons and text stay on same line on mobile */
    .contact-info .d-flex {
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
    
    .contact-info .d-flex.align-items-start {
        align-items: flex-start !important;
    }
    
    .contact-info .d-flex i {
        flex-shrink: 0 !important;
        margin-right: 12px !important;
    }
    
    .contact-info .d-flex span {
        flex: 1 !important;
        word-wrap: break-word !important;
    }
}

/* small visual polish */
.footer-list li + li { margin-top:0; }

/* Mobile Blog Swiper */
@media (max-width: 767.98px) {
    .blog-section .row {
        overflow: hidden;
        position: relative;
    }
    
    .blog-swiper-container {
        position: relative;
        overflow: hidden;
        padding: 0 15px;
        width: 100%;
    }
    
    .blog-swiper-wrapper {
        display: flex;
        transition: transform 0.3s ease;
        will-change: transform;
        gap: 15px;
    }
    
    .blog-swiper-slide {
        flex: 0 0 100%;
        min-width: 0;
        scroll-snap-align: start;
    }
    
    /* Smaller screens - still show one card at a time */
    @media (max-width: 480px) {
        .blog-swiper-slide {
            flex: 0 0 100%;
        }
    }
    
    /* Larger tablets - still show one card at a time */
    @media (min-width: 576px) and (max-width: 767.98px) {
        .blog-swiper-slide {
            flex: 0 0 100%;
        }
    }
    
    /* Swiper Pagination */
    .blog-swiper-pagination {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
        padding: 0 15px;
    }
    
    .blog-swiper-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .blog-swiper-dot.active {
        background: var(--accent);
        transform: scale(1.2);
    }
    
    /* Touch indicators */
    .blog-swiper-container {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    
    .blog-swiper-container::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    /* Hide navigation arrows */
    .blog-swiper-nav {
        display: none !important;
    }
}

/* Social Media Styles */
.social-media-row {
    background:  var(--footer-bg);
}

.social-links {
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #001a65 !important;
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background-color: var(--accent) !important;
    color: #fff !important;
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}



/* =========================================
   BLOG SECTION STYLES
   ========================================= */

.blog-section {
    background: #f8f9fa;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-image {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 250px;
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.blog-date {
    color: var(--accent);
    font-weight: 600;
}

.blog-read-time {
    color: var(--muted);
    font-size: 13px;
}

.blog-title {
    line-height: 1.3;
}

.blog-title a {
    color: #22303a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-title a:hover {
    color: var(--accent);
}

.blog-link {
    color: var(--accent);
        color: var(--accent-dark);
        transform: translateX(3px);
    }

/* =========================================
   BLOG SECTION RESPONSIVE STYLES
   ========================================= */

/* Tablet Carousel Styles (768px - 991px) - Auto-sliding carousel */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    /* Enable carousel on tablets */
    .blog-swiper-container {
        position: relative;
        overflow: hidden;
        padding: 0 15px;
        width: 100%;
    }
    
    .blog-swiper-wrapper {
        display: flex;
        transition: transform 0.5s ease;
        will-change: transform;
        gap: 20px;
    }
    
    .blog-swiper-slide {
        flex: 0 0 100%;
        min-width: 0;
        scroll-snap-align: start;
    }
    
    .blog-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .blog-image,
    .blog-image img {
        height: 220px;
    }
    
    .blog-content {
        padding: 25px;
    }
    
    .blog-title {
        font-size: 20px !important;
        line-height: 1.4;
    }
    
    /* Swiper Pagination for tablets */
    .blog-swiper-pagination {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 30px;
        padding: 0 15px;
    }
    
    .blog-swiper-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .blog-swiper-dot.active {
        background: var(--accent);
        transform: scale(1.3);
    }
    
    /* Touch and mouse support */
    .blog-swiper-container {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        cursor: grab;
    }
    
    .blog-swiper-container:active {
        cursor: grabbing;
    }
    
    .blog-swiper-container::-webkit-scrollbar {
        display: none;
    }
}

/* Desktop Styles (992px - 1199px) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .blog-card {
        max-width: 100%;
        margin: 0;
    }
    
    .blog-image,
    .blog-image img {
        height: 230px;
    }
    
    .blog-content {
        padding: 28px;
    }
    
    .blog-title {
        font-size: 21px !important;
    }
}

/* Large Desktop (1200px+) */
@media only screen and (min-width: 1200px) {
    .blog-card {
        max-width: 100%;
        margin: 0;
    }
    
    .blog-image,
    .blog-image img {
        height: 250px;
    }
}

/* Mobile Optimizations */
@media only screen and (max-width: 767px) {
    .blog-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .blog-image,
    .blog-image img {
        height: 200px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-title {
        font-size: 18px !important;
        line-height: 1.4;
    }
    
    .blog-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* Small Mobile (< 576px) */
@media only screen and (max-width: 575px) {
    .blog-section {
        padding: 60px 0;
    }
    
    .blog-image,
    .blog-image img {
        height: 180px;
    }
    
    .blog-content {
        padding: 18px;
    }
    
    .blog-title {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }
    
    .blog-date {
        font-size: 12px !important;
    }
    
    .blog-read-time {
        font-size: 11px !important;
    }
}

/* Social Media Links in Footer */
.social-links-footer {
    padding: 15px 0 0 0;
    position: relative;
}

.social-links-footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--link) !important;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    top: -250px;
    right: 0;
}

.social-links-footer .social-link:nth-child(1) {
    right: -360px;
}

.social-links-footer .social-link:nth-child(2) {
    right: -300px;
}

.social-links-footer .social-link:nth-child(3) {
    right: -240px;
}

.social-links-footer .social-link:hover {
    background: var(--accent);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .blog-section .col-md-6 {
        margin-bottom: 30px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-title {
        font-size: 18px;
    }
    
    /* Mobile positioning for side buttons */
    .side-schedule-btn {
        top: auto !important;
        bottom: 20px !important; /* Safe distance from bottom */
        left: 0 !important;
        right: auto !important;
        transform: none !important;
        padding: 10px 24px !important;
        font-size: 13px !important;
        font-family: 'Barlow', sans-serif !important;
        
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        z-index: 2147483647 !important;
        
        background-color: #d32f2f !important;
        color: #fff !important;
        border-radius: 0 50px 50px 0 !important;
        border: 2px solid #fff !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
        white-space: nowrap !important;
    }
    
    .side-quote-btn {
        top: 60% !important;
        bottom: auto !important;
        left: auto !important;
        right: 0 !important;
        transform: translateY(-50%) !important;
        writing-mode: vertical-rl !important;
        text-orientation: mixed !important;
        
        width: auto !important;
        height: auto !important;
        padding: 25px 10px !important; /* Increased width from 20px 8px to 25px 10px */
        
        display: flex !important;
        visibility: visible !important;
        position: fixed !important;
        z-index: 2147483647 !important;
        
        border-radius: 35px !important;
        box-shadow: -4px 0 12px rgba(0,0,0,0.15) !important;
        border: 0 !important;
        
        font-size: 13px !important;
        font-family: 'Barlow', sans-serif;
        letter-spacing: 1px !important;
        white-space: nowrap !important;
        text-transform: uppercase;
    }
    
    /* Hide side buttons when mobile menu is open - only hide quote button */
    .offcanvas-backdrop.show ~ .side-quote-btn,
    .offcanvas-mobile.open ~ .side-quote-btn,
    .offcanvas-mobile.open ~ .side-schedule-btn {
        display: none !important;
    }

    /* Scroll-based visibility for Get a Quote on mobile */
    .side-quote-btn {
        display: none !important; /* Hide by default on mobile */
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
    }

    /* Show when scrolled below hero AND NOT menu open */
    body.scrolled-below-hero:not(.offcanvas-open) .side-quote-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    /* Hide Get a Quote button when quote modal is open on mobile */
    .quote-modal-overlay.active ~ .side-quote-btn,
    .quote-modal-overlay.active + * .side-quote-btn,
    .quote-modal-overlay.active ~ * .side-quote-btn {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Keep schedule button always visible on mobile */
    .offcanvas-backdrop.show ~ .side-schedule-btn,
    .offcanvas-mobile.open ~ .side-schedule-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Additional mobile styles for very small screens */
@media (max-width: 480px) {
    /* Small Screen Adjustments */
    .side-schedule-btn {
        bottom: 15px !important;
        font-size: 12px !important;
        padding: 8px 16px !important;
    }
    
    .side-quote-btn {
        font-size: 12px !important;
        padding: 14px 5px !important;
        right: 0 !important;
        left: auto !important;
        top: 60% !important;
    }
}

/* Ensure Schedule a Meeting button is visible by default */
.side-schedule-btn {
    display: block !important;
    visibility: visible !important;
}

/* =========================================
   NEW: GET A QUOTE (DARK THEME & SIDE BTN)
   ========================================= */

/* Responsive Contact Info - Phone & Email */
.nav-item.position-static.d-none.d-lg-block {
    display: none !important;
}

@media (min-width: 992px) {
    .nav-item.position-static.d-none.d-lg-block {
        display: block !important;
    }
    
    .nav-item.position-static.d-none.d-lg-block .nav-link {
        color: #fff !important;
        font-weight: 500 !important;
        padding: 8px 16px !important;
        border-radius: 4px !important;
        transition: all 0.3s ease !important;
        background-color: transparent !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    .nav-item.position-static.d-none.d-lg-block .nav-link:hover {
        background-color: transparent !important;
        border: none !important;
    }
}

/* Mobile menu contact info styling */
.submenu-section .submenu-item[href^="tel:"],
.submenu-section .submenu-item[href^="mailto:"] {
    display: flex !important;
    align-items: center !important;
    padding: 12px 16px !important;
    text-decoration: none !important;
    color: #1f2937 !important;
    font-weight: 700 !important;
    font-size: inherit !important;
    background: #fff !important;
    border-bottom: 1px solid #f1f3f4 !important;
}



/* Remove Contact title from mobile menu */
.submenu-section .submenu-title:has(+ a[href^="tel:"], + a[href^="mailto:"]) {
    display: none !important;
}



/* Make Get in Touch circular image smaller for all devices */
.author-box .image.b_radius_50,
.author-box.d-flex.align-items-center.mb_10 .image.mb_20.mr_25 .b_radius_50 {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 50% !important;
    /* max-width: 50px !important;
    max-height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important; */
}

.author-box .image.b_radius_50 img,
.author-box.d-flex.align-items-center.mb_10 .image.mb_20.mr_25 .b_radius_50 img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

/* Remove hover effect from Get Touch With Us form submit button */
.form-alt .btn-1:hover {
    color: #fff !important;
    background-color: #d53217 !important;
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
}

.form-alt .btn-1:hover i {
    color: #fff !important;
}

.form-alt .btn-1:hover span {
    width: 0% !important;
    height: 0% !important;
    background-color: transparent !important;
    opacity: 0 !important;
}

/* Override the blue background color from original btn-1 hover */
.form-alt .btn-1:hover,
.form-alt .btn-1:focus,
.form-alt .btn-1:active {
    background-color: #d53217 !important;
    border-color: #d53217 !important;
}

/* Make Get Touch form submit button have same border radius as Schedule a Meeting button */
.form-alt .btn-1 {
    border-radius: 35px !important;
}



/* Ensure contact info is accessible on tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .nav-item.position-static.d-none.d-lg-block {
        display: block !important;
    }
    
    .nav-item.position-static.d-none.d-lg-block .nav-link {
        font-size: 13px !important;
        padding: 6px 12px !important;
        color: #ffffff !important;
        background-color: var(--theme-color, #fd4a36) !important;
        border: 1px solid var(--theme-color, #fd4a36) !important;
    }
}

/* Mobile Solutions Carousel - Enhanced Touch Support */
.mobile-solutions-carousel {
    touch-action: pan-y !important;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mobile-solutions-carousel .swiper-wrapper {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.mobile-solutions-carousel .swiper-slide {
    touch-action: pan-y !important;
}

.mobile-solutions-carousel .mobile-feature-card {
    touch-action: manipulation !important;
    pointer-events: auto !important;
}

/* Ensure pagination bullets are clickable on mobile */
.mobile-solutions-pagination {
    touch-action: manipulation !important;
    pointer-events: auto !important;
}

.mobile-solutions-pagination .swiper-pagination-bullet {
    touch-action: manipulation !important;
    cursor: pointer !important;
}

/* Side Button (Vertical) - QUOTE */
.side-quote-btn {
    position: fixed;
    top: 50%; /* Adjusted to lower half */
    right: 0;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background-color: #e53935; /* Vivid Red */
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Barlow', sans-serif; /* Match website font */
    padding: 35px 12px; /* Increased width from 24px 10px to 30px 12px */
    border: 0;
    border-radius: 35px;
    z-index: 10000;
    cursor: pointer;
    box-shadow: -4px 0 12px rgba(0,0,0,0.15);
    /* text-transform: uppercase; */
    letter-spacing: 1.5px;
    transition: all 0.2s ease;
    /* Hide by default on desktop */
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.side-quote-btn:hover {
    background-color: #d32f2f;
    transform: translateY(-50%) translateX(-4px);
    box-shadow: -6px 0 16px rgba(0,0,0,0.25);
}

/* Desktop: Hide Get a Quote button by default, show when scrolled below hero */
@media (min-width: 992px) {
    .side-quote-btn {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    body.scrolled-below-hero:not(.offcanvas-open) .side-quote-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: fixed !important;
        z-index: 2147483647 !important;
    }
}

/* Schedule Button - Bottom Left Fixed */
.side-schedule-btn {
    position: fixed;
    bottom: 2px;
    left: 15px;
    top: auto; /* Reset top */
    transform: none; /* Reset transform */
    writing-mode: horizontal-tb; /* Horizontal text */
    text-orientation: mixed;
    background-color: #d32f2f; /* Red to match image */
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 28px;
    border: 0;
    border-radius: 50px; /* Pill shape */
    z-index: 10000;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-transform: capitalize; /* "Schedule a Meeting" */
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-family: 'Barlow', sans-serif; /* Ensure consistent font */
}
.side-schedule-btn:hover {
    background-color: #b71c1c;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* Scoped Quote Modal Styles */
.quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75); /* Darker backdrop */
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}
.quote-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Content Card */
.quote-modal-container {
    background: #ffffff !important;
    width: 95%;
    max-width: 600px;
    border-radius: 12px;
    padding: 40px 50px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
}

/* Close Button */
.quote-modal-close-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
    z-index: 999;
}
.quote-modal-close-icon:hover {
    color: #fff;
}

/* Form Styles */
.quote-form-group {
    margin-bottom: 16px;
}
   
/* Enhanced Get a Quote Form Design */
.quote-modal-container {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important; /* Gradient background */
    width: 85%;
    max-width: 400px;
    border-radius: 16px;
    padding: 70px 30px 30px !important;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

/* Enhanced Form Header */
.quote-modal-container h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
    background: linear-gradient(45deg, #fff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Add subtitle */
.quote-modal-container .form-subtitle {
    color: #94a3b8;
    font-size: 14px;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Enhanced Form Groups */
.quote-form-group {
    margin-bottom: 20px;
    position: relative;
}

/* Phone Input Group */
.phone-input-group {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

/* Enhanced Input Fields */
.quote-modal-overlay .quote-input,
.quote-modal-overlay .quote-select,
.quote-modal-overlay .quote-textarea,
.quote-form-dark .quote-input,
.quote-form-dark .quote-select,
.quote-form-dark .quote-textarea {
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    font-size: 16px !important;
    color: #374151 !important;
    transition: all 0.3s ease !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Enhanced Select Dropdown */
.quote-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 20px !important;
    padding-right: 50px !important;
    cursor: pointer !important;
}

/* Ensure dropdown arrow is visible in all contexts */
.quote-modal-overlay .quote-select,
.quote-form-dark .quote-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 20px !important;
}

/* Enhanced Focus States */
.quote-modal-overlay .quote-input:focus,
.quote-modal-overlay .quote-select:focus,
.quote-modal-overlay .quote-textarea:focus,
.quote-form-dark .quote-input:focus,
.quote-form-dark .quote-select:focus,
.quote-form-dark .quote-textarea:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* Enhanced Placeholder */
.quote-modal-overlay .quote-input::placeholder,
.quote-modal-overlay .quote-textarea::placeholder,
.quote-form-dark .quote-input::placeholder,
.quote-form-dark .quote-textarea::placeholder {
    color: #9ca3af !important;
    font-style: normal;
    opacity: 1;
}

/* Enhanced Submit Button */
.submit-btn-quote {
    width: 100%;
    background: #3b82f6 !important;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.submit-btn-quote:hover {
    background: #2563eb !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .quote-modal-container {
        width: 95%;
        padding: 30px 25px;
        margin: 20px;
        max-width: none;
    }
    
    .quote-modal-container h3 {
        font-size: 20px;
    }
    
    .quote-modal-overlay .quote-input,
    .quote-modal-overlay .quote-select,
    .quote-modal-overlay .quote-textarea,
    .quote-form-dark .quote-input,
    .quote-form-dark .quote-select,
    .quote-form-dark .quote-textarea {
        padding: 14px 12px !important;
        font-size: 14px !important;
        min-height: 48px !important;
    }
    
    .submit-btn-quote {
        padding:16px 24px;
        font-size: 14px;
    }
    
    .phone-group-wrapper {
        flex-direction: row;
        gap: 8px;
        align-items: stretch;
    }
    
    .flag-container {
        min-width: auto;
        width: 100%;
        justify-content: flex-start;
        padding: 8px 10px !important;
        display: flex;
        align-items: center;
        background: rgba(30, 41, 59, 0.8) !important;
        border: 2px solid rgba(51, 65, 85, 0.6) !important;
        border-radius: 10px !important;
        color: #fff;
        font-size: 12px !important;
        font-weight: 600 !important;
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 40px;
    }
    
    .flag-container span {
        color: #fff !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-shrink: 0;
        white-space: nowrap;
        min-width: 30px;
        line-height: 1.2;
    }
    
    .flag-icon {
        width: 16px;
        margin-right: 5px;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-shrink: 0;
        object-fit: contain;
        vertical-align: middle;
    }
}

.quote-input:focus, 
.quote-select:focus, 
.quote-textarea:focus {
    outline: none;
    border-color: #3b82f6; /* Blue 500 */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.quote-input::placeholder, 
.quote-textarea::placeholder {
    color: #94a3b8; /* Slate 400 */
}

/* Flag/Phone Input Wrapper */
.phone-group-wrapper {
    display: flex;
    gap: 10px;
}
.flag-container {
    display: flex;
    align-items: center;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 0 10px;
    color: #fff;
    min-width: 90px;
    justify-content: space-between;
}
.flag-icon {
    width: 20px;
    margin-right: 5px;
}

.submit-btn-quote {
    width: 100%;
    background: #ef4444; /* vivid red like image 2 */
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}
.submit-btn-quote:hover {
    background: #dc2626;
}

/* Powered by label */
.powered-by-label {
    text-align: center;
    color: #334155; /* Very dark/subtle */
    font-size: 12px;
    margin-top: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* =========================================
   FOOTER SOCIAL ICONS STYLES
   ========================================= */

.social-icons-footer .social-icon-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--footer-panel) !important;
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icons-footer .social-icon-footer:hover {
    background-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icons-footer h5 {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Feature Card Styling */
.mobile-feature-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px 20px;
    margin: 10px 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Resize Explore Projects Cards (Desktop & Mobile) */
/* Using specific selector to target the second #ex_projects section if possible, or strictly the image blocks */
#ex_projects .project-1-block {
    max-width: 80%; /* Reduced from 90% */
    margin: 0 auto;
}

/* Fix Bullet Overlap in Explore Projects */
section#ex_projects .swiper-container {
    padding-bottom: 50px; /* Add space for bullets */
}

/* Deep nesting centering */
.mobile-feature-card .project-1-image,
.mobile-feature-card .project-1-image > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}

.mobile-feature-card i {
    margin: 0 auto 20px !important;
    display: inline-block !important;
}

.mobile-feature-card .link {
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
}

/* =========================================
   NUCLEAR FIX: FORCE MOBILE VISIBILITY
   ========================================= */
@media (max-width: 991.98px) {
    /* Ultra-Specific Selector */
    html body .side-schedule-btn,
    html .page-wrapper .side-schedule-btn,
    .side-schedule-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        z-index: 2147483647 !important; /* Max safe integer */
        
        bottom: 5px !important; /* Raised significantly to avoid browser UI */
        left: 15px !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        
        background-color: #d32f2f !important;
        color: #fff !important;
        padding: 10px 24px !important;
        border-radius: 35px !important;
        border: none !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
        
        font-family: 'Barlow', sans-serif !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        pointer-events: auto !important;
        width: auto !important;
        height: auto !important;
        writing-mode: horizontal-tb !important;
    }

    /* Hide by default on mobile */
    .side-quote-btn {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Show only when scrolled below hero AND menu is NOT open */
    body.scrolled-below-hero:not(.offcanvas-open) .side-quote-btn,
    html body.scrolled-below-hero:not(.offcanvas-open) .side-quote-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: fixed !important;
        z-index: 2147483647 !important;
        
        top: 50% !important;
        right: 0 !important;
        left: auto !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        
        writing-mode: vertical-rl !important;
        text-orientation: mixed !important;
        
        background-color: #e53935 !important;
        color: #fff !important;
        padding: 32px 6px !important;
        width: auto !important;
        height: auto !important;
        border-radius: 35px !important;
        border: none !important;
        box-shadow: -4px 0 15px rgba(0,0,0,0.3) !important;
        
        font-family: 'Barlow', sans-serif !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        pointer-events: auto !important;
    }

    /* Ensure button is hidden when menu is open via a helper class on body if needed, 
       but the :not(.offcanvas-open) above should handle it if we add that class to body */
    body.offcanvas-open .side-quote-btn,
    body.offcanvas-open .side-schedule-btn {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

/* =========================================
   COUNTRY CODE DROPDOWN STYLES
   ========================================= */
.phone-number-input {
    flex: 1;
    min-width: 0;
}

.phone-input-group {
    display: flex;
    gap: 12px;
    align-items: stretch;
    position: relative;
}

.phone-input-group .country-code-dropdown {
    flex-shrink: 0;
    min-width: 120px;
}

.country-code-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 52px !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.country-code-selected:hover,
.country-code-selected.active {
    border-color: #3b82f6 !important;
    background: #ffffff !important;
}

.selected-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.selected-info .flag-icon {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.selected-info .country-code {
    font-size: 14px;
    font-weight: 600;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.country-code-selected.active .dropdown-arrow {
    transform: rotate(180deg);
}

.country-code-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 250px;
    max-height: 300px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 10001;
    display: none;
    padding: 8px 0;
}

.country-code-options.show {
    display: block;
    animation: fadeInDown 0.2s ease-out;
}

.country-code-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.country-code-option:hover {
    background: rgba(59, 130, 246, 0.1);
}

.country-code-option.selected {
    background: rgba(59, 130, 246, 0.2);
    border-left: 3px solid #3b82f6;
}

.country-code-option .flag-icon {
    width: 24px;
    height: auto;
    flex-shrink: 0;
}

.country-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 12px;
}

.country-name {
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
    flex: 1;
}

.country-info .country-code {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

/* Custom Scrollbar for dropdown */
.country-code-options::-webkit-scrollbar {
    width: 6px;
}

.country-code-options::-webkit-scrollbar-track {
    background: #0f172a;
    border-radius: 10px;
}

.country-code-options::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

.country-code-options::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure mobile responsiveness for the dropdown */
@media (max-width: 768px) {
    .country-code-options {
        width: 220px;
    }
    
    .country-code-selected {
        padding: 10px 12px;
    }
}

/* View All Projects Button Styling */
.btn-1.btn-alt {
    background-color: #ffffff !important;
    color: #001a65 !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.btn-1.btn-alt:hover {
    background-color: #001a65 !important;
    color: #ffffff !important;
    border: none !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Know More button orange hover - strict override */
.building-site-content .btn-1.btn-alt:hover,
.building-site-content .btn-1.btn-alt:focus,
.building-site-content .btn-1.btn-alt:active {
    background-color: #d53217 !important;
    color: #ffffff !important;
    border: none !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(213, 50, 23, 0.3) !important;
}

/* Override any span hover effects */
.building-site-content .btn-1.btn-alt:hover span,
.building-site-content .btn-1.btn-alt:focus span,
.building-site-content .btn-1.btn-alt:active span {
    background-color: transparent !important;
    width: 0% !important;
    height: 0% !important;
    opacity: 0 !important;
}
