/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary: #0F224A;      /* Royal Navy Blue (Logo Match) */
    --secondary: #EE6521;    /* Warm Energetic Orange (Logo Match) */
    --primary-dark: #081433; /* Deep Dark Navy */
    --background: #FFFFFF;
    --light-bg: #F8FAFC;
    --text: #1E293B;
    --border: #E2E8F0;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 6px rgba(15, 34, 74, 0.05);
    --shadow-md: 0 10px 30px rgba(15, 34, 74, 0.1);
    --shadow-lg: 0 15px 35px rgba(15, 34, 74, 0.16);
}

/* Strict Mobile & Desktop Horizontal Overflow & Scrollbar Fixes */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Hide horizontal scrollbars site-wide */
::-webkit-scrollbar {
    height: 0px !important;
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #1f2937 !important; /* Extremely high contrast dark grey */
    background-color: var(--background);
    font-size: 16px; /* Sized up from 15px for readability */
    line-height: 1.8; /* Increased line spacing */
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden !important;
}

img, video, iframe, object {
    max-width: 100% !important;
}

.container, .container-fluid {
    max-width: 100%;
    overflow-x: hidden !important;
}

/* Fix Bootstrap row margin overflow on mobile */
@media (max-width: 767.98px) {
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    #heroCarousel, .carousel-inner, .carousel-item {
        max-width: 100% !important;
        overflow: hidden !important;
    }
}

p, .desc p, .text-muted {
    color: #374151 !important; /* Force all standard paragraphs and descriptions to be highly legible charcoal */
    font-weight: 500; /* Slightly heavier font weight for better ink density */
}

h1, h2, h3, h4, h5, h6, .btn, .site-title, .widget-title {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important; /* Bolder titles */
    color: var(--primary) !important;
}

.text-muted-dark {
    color: #4b5563 !important;
}

/* Primary and Secondary Color overrides */
.main-color, .text-primary, .box-title a:hover, .service-title a:hover {
    color: var(--primary) !important;
}

.text-secondary, .highlight {
    color: var(--secondary) !important;
}

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

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

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

/* Button overrides - Premium styling */
.btn-primary, .fh-btn, .search-submit, .subscribe input[type="submit"] {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: var(--white) !important;
    font-weight: 500 !important;
    border-radius: 30px !important;
    padding: 12px 30px !important;
    transition: all 0.3s ease-in-out !important;
    box-shadow: 0 4px 15px rgba(238, 101, 33, 0.25);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.btn-primary:hover, .fh-btn:hover, .search-submit:hover, .subscribe input[type="submit"]:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 15px rgba(15, 34, 74, 0.3);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    background: transparent !important;
    border-radius: 30px !important;
    padding: 10px 28px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.btn-outline:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* White outline button for high-contrast visibility on dark backgrounds */
.btn-outline-white {
    border: 2px solid var(--white) !important;
    color: var(--white) !important;
    background: transparent !important;
    border-radius: 30px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-outline-white:hover {
    background: var(--white) !important;
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.25);
}

/* Floating Widgets for conversion */
.floating-actions {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-action-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-action-btn:hover {
    transform: scale(1.1) translateY(-3px);
}

.floating-call {
    background-color: var(--secondary);
}

.floating-whatsapp {
    background-color: #25D366;
}

/* Scroll To Top override */
.backtotop {
    background-color: var(--primary) !important;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    line-height: 45px;
    box-shadow: 0 4px 15px rgba(20, 43, 122, 0.2);
}

.backtotop:hover {
    background-color: var(--secondary) !important;
}



/* Header & Top Bar styling */
#topbar {
    background-color: var(--primary) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.3px;
}

#topbar a {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.2s ease;
}

#topbar a:hover {
    color: var(--secondary) !important;
}

#topbar .topbar-office li i {
    color: var(--secondary) !important;
    margin-right: 8px;
    font-size: 14px;
}

/* Premium Header Navigation Styling */
.site-header {
    background-color: var(--white) !important;
    border-bottom: 3px solid var(--primary); /* Stronger Navy Blue bottom border for extreme visibility */
    box-shadow: 0 8px 30px rgba(20, 43, 122, 0.08); /* More prominent drop shadow */
    transition: all 0.3s ease-in-out;
    position: relative;
    padding: 12px 0 !important; /* Slightly increased height */
    z-index: 1040;
}

.site-header.sticky-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: rgba(255, 255, 255, 0.99) !important;
    box-shadow: 0 10px 35px rgba(20, 43, 122, 0.15); /* Strong shadow on scroll */
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--secondary); /* Switches to red bottom border on scroll */
    padding: 8px 0 !important;
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Nav Item Link Styling */
.site-header .nav-link {
    color: var(--primary) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600; /* Bolder links for legibility */
    font-size: 15px;
    padding: 10px 14px !important;
    white-space: nowrap !important; /* Prevents About Us from wrapping on 2 lines */
    position: relative;
    transition: all 0.3s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--secondary) !important;
}

/* Hover dynamic slide bar below links on desktop */
@media (min-width: 992px) {
    .site-header .nav-link::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 14px;
        width: 0;
        height: 3px;
        background-color: var(--secondary);
        border-radius: 2px;
        transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .site-header .nav-link:hover::after,
    .site-header .nav-link.active::after {
        width: calc(100% - 28px);
    }
}

/* Navbar CTA Quote Button */
.nav-cta-btn {
    background-color: var(--secondary) !important;
    border: 2px solid var(--secondary) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 22px !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 14px rgba(238, 101, 33, 0.3) !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.nav-cta-btn:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 34, 74, 0.35) !important;
}

.site-header .nav-item .nav-link.active {
    color: var(--secondary) !important;
    font-weight: 700;
}

/* Hide default Bootstrap caret arrow next to chevron */
.site-header .dropdown-toggle::after {
    display: none !important;
}

/* Overflow fixes for site-header so floating dropdown never creates scrollbar */
.site-header,
.site-header .container,
.site-header .navbar,
.site-header .navbar-collapse {
    overflow: visible !important;
}

/* Premium Floating Dropdown Menu Customization */
.site-header .dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 12px 35px rgba(15, 34, 74, 0.16);
    padding: 10px;
    margin-top: 8px;
    border-top: 4px solid var(--secondary);
}

/* Desktop Floating Dropdown Flyout Panel */
@media (min-width: 992px) {
    .site-header .nav-item.dropdown {
        position: relative !important;
    }

    .site-header .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: auto !important;
        right: 0 !important;
        min-width: 290px !important;
        max-width: 380px !important;
        background: #ffffff !important;
        z-index: 1060 !important;
        display: none;
        box-sizing: border-box !important;
    }

    .site-header .nav-item.dropdown:hover > .dropdown-menu,
    .site-header .nav-item.dropdown > .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        animation: dropdownFlyIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
}

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

.site-header .dropdown-item {
    color: var(--primary) !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease-in-out;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    white-space: normal !important;
    word-break: break-word;
    box-sizing: border-box !important;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
    background-color: var(--light-bg) !important;
    color: var(--secondary) !important;
    transform: translateX(4px);
}

.site-header .dropdown-item i {
    font-size: 14px;
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary) !important;
    flex-shrink: 0 !important;
}

/* Hero Section Text Visibility & High Contrast Overrides */
.carousel-item h1,
.carousel-item h2,
#heroCarousel h1,
#heroCarousel h2 {
    color: #ffffff !important;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9) !important;
    font-size: 48px;
    font-weight: 800 !important;
    line-height: 1.25;
}

#heroCarousel h1 span.bg-secondary,
#heroCarousel h2 span.bg-secondary,
.carousel-item h1 span.bg-secondary,
.carousel-item h2 span.bg-secondary {
    background-color: var(--secondary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(238, 101, 33, 0.4) !important;
    text-shadow: none !important;
}

.carousel-item p,
.carousel-item p.lead,
#heroCarousel p.lead {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
    font-size: 19px !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
}

.carousel-item .badge,
#heroCarousel .badge {
    background-color: var(--secondary) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35) !important;
    font-size: 13px !important;
}

/* Premium Card Designs */
.premium-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--secondary);
    transition: all 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.premium-card:hover::before {
    height: 100%;
}

.premium-card .card-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.premium-card:hover .card-icon {
    transform: scale(1.1);
}

/* Redesigned 4 Statistics Counter Cards */
.statistics-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    position: relative;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 24px 15px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.stat-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--secondary);
    box-shadow: 0 12px 30px rgba(238, 101, 33, 0.25);
}

.stat-card .stat-icon {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.15) rotate(5deg);
}

.counter-value {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-top: 4px;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0;
    width: 100%;
}

.counter-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    width: 100%;
}

/* Mobile Form & Input Controls Styling */
.estimate-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 35px;
    box-shadow: var(--shadow-md);
}

.form-control, select.form-control {
    height: 50px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 10px 16px;
    font-size: 15px;
    color: #1e293b;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

textarea.form-control {
    height: auto;
    min-height: 120px;
}

.form-control:focus {
    background-color: #ffffff;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(238, 101, 33, 0.15);
    outline: none;
}

.form-label {
    margin-bottom: 6px;
    color: #0f224a;
    font-size: 14px;
}

/* Why Choose Us Icons Grid */
.icon-box-classic {
    text-align: center;
    padding: 25px;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.icon-box-classic:hover {
    background-color: var(--light-bg);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.icon-box-classic i {
    width: 65px;
    height: 65px;
    line-height: 65px;
    background: rgba(20, 43, 122, 0.08);
    color: var(--primary);
    border-radius: 50%;
    font-size: 24px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.icon-box-classic:hover i {
    background: var(--secondary);
    color: var(--white);
}

/* Modern Work Process Workflow Section */
.process-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 30px 22px;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(15, 34, 74, 0.05);
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, #FF8A48 100%);
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(15, 34, 74, 0.12);
    border-color: rgba(238, 101, 33, 0.3);
}

.process-card .step-badge {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--secondary);
    box-shadow: 0 3px 8px rgba(15, 34, 74, 0.2);
}

.process-card .process-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: rgba(238, 101, 33, 0.1);
    color: var(--secondary);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.process-card:hover .process-icon {
    background: var(--secondary);
    color: var(--white);
    transform: scale(1.08) rotate(-3deg);
}

.process-card h3, .process-card h4 {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    margin-bottom: 10px;
}

.process-card p {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #4b5563 !important;
    margin-bottom: 0;
}

/* Custom High-Contrast Progress Bar Styling */
.custom-progress-wrapper {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(15, 34, 74, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.custom-progress-wrapper:hover {
    box-shadow: 0 12px 30px rgba(15, 34, 74, 0.12);
    border-color: rgba(15, 34, 74, 0.2);
    transform: translateY(-4px);
}

.custom-progress-bar-bg {
    height: 12px;
    background-color: #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.custom-progress-fill-orange {
    height: 100%;
    background: linear-gradient(90deg, #EE6521 0%, #FF8A48 100%);
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(238, 101, 33, 0.4);
}

.custom-progress-fill-navy {
    height: 100%;
    background: linear-gradient(90deg, #0F224A 0%, #25478C 100%);
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(15, 34, 74, 0.3);
}

/* Fixed High-Contrast Email & Contact Icon Circle */
.contact-icon-circle {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background-color: var(--primary) !important;
    color: var(--white) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(15, 34, 74, 0.2);
    flex-shrink: 0 !important;
    transition: all 0.3s ease;
}

.contact-icon-circle i {
    color: #ffffff !important;
}

.contact-icon-circle:hover {
    background-color: var(--secondary) !important;
    transform: scale(1.08);
}

/* Form Styles */
.form-control, select.form-control {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 15px;
    height: auto;
    box-shadow: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(20, 43, 122, 0.1);
}

.estimate-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--secondary);
}

/* Banner breadcrumbs */
.page-header-banner {
    background: linear-gradient(rgba(20, 43, 122, 0.85), rgba(20, 43, 122, 0.85)), url('../images/main-slider/slide1.jpg') no-repeat center center;
    background-size: cover;
    padding: 100px 0 80px 0;
    color: var(--white);
    text-align: center;
}

.page-header-banner h1 {
    color: var(--white) !important; /* Force solid white color to override global header styling */
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.breadcrumbs {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumbs span {
    color: var(--secondary);
    font-weight: bold;
}

/* Accordion for FAQ */
.faq-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: 8px !important;
    margin-bottom: 15px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-button {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--primary);
    background-color: var(--white);
    padding: 18px 25px;
    font-size: 16px;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--light-bg);
    color: var(--secondary);
    box-shadow: none;
}

.faq-accordion .accordion-body {
    padding: 20px 25px;
    font-size: 15px;
    color: #555;
    background-color: var(--white);
}

/* Footer redesign for maximum visibility */
.site-footer-redesign {
    background-color: #0c1840;
    color: #ffffff !important; /* Force solid white text */
    padding: 80px 0 0 0;
    font-size: 15px; /* Sized up from 14px */
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overflow: hidden !important;
}

.site-footer-redesign .text-white-50 {
    color: #f3f4f6 !important; /* Make secondary text very light and highly legible instead of faded 50% */
}

.site-footer-redesign h4 {
    color: var(--white) !important;
    margin-bottom: 25px;
    font-size: 19px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer-redesign h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--secondary);
}

.site-footer-redesign a {
    color: #e5e7eb !important; /* Bright silver links */
    text-decoration: none;
    transition: all 0.2s ease;
}

.site-footer-redesign a:hover {
    color: var(--secondary) !important; /* Red color on hover */
    padding-left: 5px;
}

.footer-bottom {
    background-color: #08102d;
    padding: 20px 0;
    color: #e5e7eb !important; /* Bright silver footer copyright text */
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overflow: hidden !important;
}

.site-footer-redesign .row,
.footer-bottom .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.footer-bottom a {
    color: #ffffff !important;
}

.hover-red {
    transition: color 0.2s ease !important;
}

.hover-red:hover {
    color: var(--secondary) !important;
}

/* Responsive adjustments for Hero Section Carousel on Mobile devices */
@media (max-width: 767.98px) {
    #heroCarousel .carousel-item {
        height: auto !important;
        min-height: 520px !important;
        padding: 100px 0 60px 0 !important;
        background-image: linear-gradient(180deg, rgba(10, 20, 60, 0.95) 0%, rgba(10, 20, 60, 0.85) 100%), url('../images/main-slider/slide1.jpg') !important; /* Force solid dark vertical gradient on mobile */
    }
    
    #heroCarousel .carousel-item:nth-child(2) {
        background-image: linear-gradient(180deg, rgba(10, 20, 60, 0.95) 0%, rgba(10, 20, 60, 0.85) 100%), url('../images/main-slider/slide2.jpg') !important;
    }

    #heroCarousel h1, 
    #heroCarousel h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
    
    #heroCarousel h1 span, 
    #heroCarousel h2 span {
        font-size: 26px !important;
        display: block !important;
        margin-top: 10px !important;
        text-align: center !important;
    }

    #heroCarousel p.lead {
        font-size: 15px !important;
        text-align: center !important;
        line-height: 1.6 !important;
    }

    #heroCarousel .badge {
        font-size: 11px !important;
        display: block !important;
        width: max-content;
        margin: 0 auto 15px auto !important;
    }

    #heroCarousel .d-flex {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    #heroCarousel .btn {
        width: 100% !important;
        max-width: 280px;
        padding: 12px 20px !important;
    }

    /* Statistics Section Mobile Overrides */
    .statistics-section {
        padding: 40px 0 !important;
    }
    
    .statistics-section .col-6 {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    /* Subtle 2x2 border grid on mobile to separate the 4 counters */
    .statistics-section .row > .col-6:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .statistics-section .row > .col-6:nth-child(1),
    .statistics-section .row > .col-6:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .counter-value {
        font-size: 32px !important;
        margin-bottom: 2px !important;
    }

    .counter-title {
        font-size: 12px !important;
        letter-spacing: 0.5px !important;
    }
}

/* Header Brand & Footer Logo Responsive Controls */
.site-header .navbar-brand {
    padding-left: 8px;
    padding-right: 16px;
    display: inline-flex;
    align-items: center;
}

.site-logo-img {
    max-height: 56px;
    height: auto;
    max-width: 260px;
    width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    padding-left: 4px;
    padding-right: 4px;
}

.footer-logo-img {
    max-height: 70px;
    height: auto;
    max-width: 260px;
    width: 100%;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    object-fit: contain;
}

/* Custom Navbar Toggler styling */
.custom-nav-toggler {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    box-shadow: 0 4px 10px rgba(20, 43, 122, 0.25) !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
}

.custom-nav-toggler:hover,
.custom-nav-toggler:focus {
    background-color: var(--secondary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(238, 101, 33, 0.35) !important;
}

/* Mobile Header & Navbar Responsiveness (< 991.98px) */
@media (max-width: 991.98px) {
    .site-logo-img {
        max-height: 44px !important;
        max-width: 195px !important;
    }

    .site-header {
        padding: 6px 0 !important;
    }

    .site-header .navbar-collapse {
        background-color: #ffffff;
        padding: 16px 20px;
        border-radius: 14px;
        margin-top: 10px;
        box-shadow: 0 12px 35px rgba(20, 43, 122, 0.18);
        border: 1px solid var(--border);
        animation: navbarSlideIn 0.3s ease-out;
    }

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

    .site-header .nav-item {
        margin-bottom: 2px;
    }

    .site-header .nav-link {
        padding: 11px 14px !important;
        font-size: 15px;
        font-weight: 600;
        white-space: nowrap !important;
        border-bottom: 1px solid #f3f4f6;
        border-radius: 6px;
        color: var(--primary) !important;
    }

    .site-header .nav-link:hover,
    .site-header .nav-link.active {
        background-color: var(--light-bg);
        color: var(--secondary) !important;
        padding-left: 18px !important;
    }

    .site-header .nav-link::after {
        display: none !important;
    }

    .site-header .dropdown-menu {
        display: none;
        position: static !important;
        float: none !important;
        width: 100% !important;
        transform: none !important;
        border-top: none !important;
        box-shadow: none !important;
        background-color: #f8f9fc !important;
        padding: 6px 12px !important;
        margin-top: 6px !important;
        border-radius: 10px !important;
        border: 1px solid #e5e7eb !important;
        animation: none !important;
    }

    .site-header .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .site-header .dropdown-item {
        font-size: 14px;
        padding: 8px 14px;
        border-radius: 6px;
    }

    .site-header .dropdown-item:hover {
        background-color: #ffffff !important;
        color: var(--secondary) !important;
    }

    .floating-actions {
        bottom: 20px;
        left: 15px;
        gap: 10px;
    }

    .floating-action-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

@media (max-width: 575.98px) {
    .site-logo-img {
        max-height: 40px !important;
        max-width: 170px !important;
    }

    .mobile-topbar {
        padding: 6px 12px !important;
    }

    .site-footer-redesign {
        padding: 40px 0 0 0 !important;
    }

    .site-footer-redesign h4 {
        margin-bottom: 14px !important;
        font-size: 16px !important;
    }

    .footer-logo-img {
        max-height: 55px !important;
        max-width: 210px !important;
    }

    .footer-bottom {
        padding: 15px 0 !important;
        font-size: 12.5px !important;
    }

    .footer-bottom .col-md-6 {
        text-align: center !important;
    }

    .estimate-card {
        padding: 22px 16px !important;
        border-radius: 12px !important;
    }

    .form-control, select.form-control {
        height: 46px !important;
        font-size: 14px !important;
        padding: 8px 12px !important;
    }

    textarea.form-control {
        min-height: 100px !important;
    }
}



