/* CSS Variables for Dynamic Theming */
:root {
    --button-color: #4361ee;
    --header-color: #4361ee;
    --footer-color: #212529;
    --banner-color: #4895ef;
    --button-color-hover: #2a4bd8;
}

/* Global Font Family */
body, h1, h2, h3, h4, h5, h6, .navbar, .btn, .form-control, .form-select, .nav-link, .card, .footer, .custom-wide-container, .section-title, .section-subtitle, .accordion-button, .accordion-body, .list-unstyled, .lead, .fw-bold, .fw-semibold, .fw-medium, .fw-regular, .fw-light, .fw-normal, .fw-500, .fw-600, .fw-700, .fw-800, .fw-900 {
    font-family: 'Inter', sans-serif !important;
}

/* Button Styles */
.btn-gradient {
    background: var(--button-color);
    color: white;
    border: none;
}

.btn-gradient:hover {
    background: var(--button-color-hover);
    color: white;
}

.bg-gradient-dark {
    background-color: var(--footer-color);
}

.navbar {
    background-color: var(--header-color) !important;
}

.banner {
    background-color: var(--banner-color);
}

/* Service Card Styles */
.service-card-new {
    background-color: #f8f9fa;
    border: none;
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.service-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}

.service-icon-new {
    width: 60px;
    height: 60px;
    background-color: var(--button-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.arrow-icon-new {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.2rem;
    color: var(--button-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease-in-out;
}

.service-card-new:hover .arrow-icon-new {
    opacity: 1;
    transform: translateX(0);
}

/* Service Card V2 Styles */
.service-card-v2 {
    position: relative;
    overflow: hidden;
    color: white;
    width: 520px;
    height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
    border-radius: 25px;
}

.service-card-v2:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
}

.service-card-v2:hover {
    transform: translateY(-10px);
}

.service-card-v2 .card-content {
    position: relative;
    z-index: 2;
    background-color: #fff;
    padding: 1.5rem;
    color: var(--footer-color);
    transition: background-color 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
    border-radius: 20px;
}

.service-card-v2:hover .card-content {
    background-color: #fff;
}

.service-card-v2 .card-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background-color: var(--button-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-v2 .card-icon img {
    width: 60%;
    height: 60%;
    filter: brightness(0) invert(1);
}

.service-card-v2 .arrow-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--button-color);
    font-size: 1.4rem;
    z-index: 2;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-card-v2:hover .arrow-icon {
    transform: scale(1.1);
    background-color: var(--button-color);
}

.service-card-v2 .card-content h5 {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Plumbing Problems CTA */
.plumbing-problems-cta {
    background-color: var(--button-color);
    border-radius: 40px;
    width: 110vw;
    max-width: 1600px;
    height: 400px;
    margin: 4rem auto 0 auto;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, calc(100% - 60px) 0, 100% 60px, 100% 100%, 60px 100%, 0 calc(100% - 60px));
    margin-bottom: -200px;
}

.plumbing-problems-cta h2,
.plumbing-problems-cta p {
    color: #fff;
}

.plumbing-problems-cta .btn {
    border-radius: 12px !important;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 1.25rem;
    padding: 0.9rem 2.5rem !important;
    transition: background 0.2s, color 0.2s;
}

.plumbing-problems-cta .btn:hover {
    background: #fff;
    color: var(--button-color);
    border-color: #fff;
}

@media (max-width: 991px) {
    .plumbing-problems-cta {
        height: auto;
        min-height: 320px;
        padding: 2rem 1rem;
    }
}

@media (max-width: 600px) {
    .plumbing-problems-cta {
        border-radius: 18px;
        width: 98vw;
        min-width: unset;
        padding: 1rem 0.5rem;
    }
}

/* Services Section */
.services-section-updated {
    background-color: #fff;
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.services-section-updated::before {
    display: none;
}

/* Why Choose Us Section */
.new-why-choose-us-section {
    background: var(--footer-color) url('assets/images/city-skyline-bg.png') center bottom/contain no-repeat;
    position: relative;
    padding-top: 300px;
    padding-bottom: 5rem;
    z-index: 1;
}

.new-why-choose-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(20, 40, 50, 0.1);
}

.why-choose-card-new {
    background-color: #fff;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--footer-color);
    border: none;
    overflow: visible;
    position: relative;
    padding-top: 64px;
    min-height: 320px;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
}

.why-choose-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.why-choose-icon-new {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #eaf2ff;
    color: var(--button-color);
    position: absolute;
    top: -48px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 16px rgba(30,144,255,0.10);
    z-index: 2;
}

.why-choose-icon-new img {
    width: 60%;
    height: 60%;
    filter: brightness(0) invert(1);
}

.why-choose-icon-new i {
    font-size: 2.5rem;
}

/* Testimonials Section */
.new-testimonial-section {
    background-color: var(--footer-color);
    position: relative;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    transform: none;
    overflow-x: hidden;
}

.new-testimonial-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 37, 64, 0.85);
    z-index: 1;
}

.new-testimonial-section .custom-wide-container,
.new-testimonial-section .testimonial-cards-row {
    position: relative;
    z-index: 2;
}

.testimonial-card-new {
    background-color: #fff;
    padding: 2.8rem 2.8rem;
    clip-path: polygon(
        0 16px, 16px 0, calc(100% - 56px) 0, 100% 56px,
        100% calc(100% - 16px), calc(100% - 16px) 100%,
        56px 100%, 0 calc(100% - 56px)
    );
    border-radius: 24px 0 24px 0/24px 0 24px 0;
    box-shadow: 0 6px 32px rgba(10,37,64,0.10);
    position: relative;
    z-index: 1;
    min-height: 320px;
    height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-width: 400px;
    max-width: unset;
    margin-left: -25px;
    margin-right: -25px;
}

.testimonial-card-new p.mb-0 {
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
    margin-bottom: 0;
    font-weight: 400;
    font-family: 'Proxima Soft', sans-serif;
}

.testimonial-card-new h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-weight: 600;
    font-family: 'Proxima Soft', sans-serif;
}

.testimonial-card-new p:not(.mb-0) {
    font-size: 1.4rem;
    color: #6b7280;
    line-height: 1.3;
    font-weight: 400;
    font-family: 'Proxima Soft', sans-serif;
}

.testimonial-arrow-between {
    width: 70px;
    height: 70px;
    background: var(--button-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.25);
    z-index: 10;
    flex-shrink: 0;
    margin-left: -30px;
    margin-right: -30px;
    margin-top: -35px;
}

.testimonial-arrow-between.left i {
    transform: rotateZ(-45deg);
}

.testimonial-arrow-between.right i {
    transform: rotateZ(45deg);
}

@media (max-width: 1400px) {
    .testimonial-card-new {
        min-width: 320px;
        height: 300px;
        padding: 2.2rem 1.2rem;
    }
    .testimonial-arrow-between {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
}

@media (max-width: 1200px) {
    .testimonial-card-new {
        min-width: 260px;
        height: 260px;
        padding: 2rem 1.2rem;
    }
}

@media (max-width: 991px) {
    .testimonial-arrow-between {
        left: 100%;
        top: 100%;
        transform: translate(-50%, 0) scale(0.8);
    }
    .testimonial-card-new {
        min-width: 100%;
        height: auto;
    }
}

/* Contact Section */
.new-contact-section {
    background-color: #f8f9fa;
}

.contact-info-box {
    background-color: var(--button-color);
    color: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    height: 100%;
}

.contact-info-box h3 {
    font-weight: 700;
}

.contact-info-box p {
    color: rgba(255,255,255,0.85);
}

.contact-info-box .contact-item {
    font-size: 1.1rem;
}

.contact-form-box {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.07);
    height: 100%;
}

/* Footer */
.new-footer {
    background-color: var(--footer-color);
    color: rgba(255,255,255,0.7);
}

.new-footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.new-footer a:hover {
    color: #fff;
}

.new-footer .footer-title {
    color: #fff;
    font-weight: 600;
}

.new-footer .social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}

.new-footer .social-icon:hover {
    background-color: var(--button-color);
}

/* States Section */
.states-section .card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(67, 97, 238, 0.2);
    border: none;
    transition: transform 0.18s, box-shadow 0.18s;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.states-section .card:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 12px 36px rgba(67, 97, 238, 0.3);
    background: #f4faff;
}

.states-section .card-body {
    padding: 1.2rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.states-section .card .section-state-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--footer-color);
    text-decoration: none;
    transition: color 0.2s;
}

.states-section .card .section-state-link:hover {
    color: var(--button-color);
}

.states-section .row {
    row-gap: 32px;
}

/* Custom Wide Container */
.custom-wide-container {
    max-width: 1700px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
    width: 100%;
}

/* Main Navbar */
.main-navbar {
    min-height: 72px;
    font-family: 'Epilogue', sans-serif;
    z-index: 1002;
}

.main-navbar .navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    font-size: 1.08rem;
    letter-spacing: 0.5px;
    padding: 0.7rem 1.1rem;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s;
}

.main-navbar .navbar-nav .nav-link.active, 
.main-navbar .navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.10);
    color: var(--button-color) !important;
}

.main-navbar .navbar-brand span {
    color: #fff;
}

.main-navbar .phone-box {
    border: 1.5px solid #fff;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 12px;
    padding: 7px 18px;
    font-weight: 600;
    font-size: 1.08rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.main-navbar .phone-box:hover {
    background: #fff;
    color: var(--button-color);
}

.main-navbar .login-link {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.main-navbar .login-link:hover {
    color: var(--button-color);
}

@media (max-width: 991px) {
    .main-navbar .navbar-nav {
        gap: 0 !important;
    }
    .main-navbar .navbar-right-group {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Quote Form */
.quote-form-card-modern {
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(67, 97, 238, 0.2);
    padding: 2.8rem 2.2rem 2.2rem 2.2rem;
    margin-top: 0;
    margin-bottom: 0;
    max-width: 500px;
    min-width: 320px;
    width: 100%;
    font-family: 'Inter', 'Epilogue', 'Urbanist', sans-serif;
}

.form-control-modern, 
.form-select.form-control-modern {
    border-radius: 1.2rem !important;
    border: 2px solid #eaf2ff !important;
    font-size: 1.08rem;
    padding: 0.85rem 1.2rem 0.85rem 2.7rem !important;
    background: #f8fafd !important;
    box-shadow: none !important;
    min-height: 48px;
    font-family: 'Inter', 'Epilogue', 'Urbanist', sans-serif;
}

.form-control-modern:focus, 
.form-select.form-control-modern:focus {
    border-color: var(--button-color) !important;
    background: #fff !important;
    box-shadow: 0 0 0 0.15rem rgba(67, 97, 238, 0.2) !important;
}

.form-icon-modern {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.15rem;
    pointer-events: none;
    z-index: 2;
}

.quote-btn-modern {
    background: var(--button-color) !important;
    border: none !important;
    font-weight: 600;
    border-radius: 5px !important;
    font-size: 1.25rem;
    padding: 1.1rem 0 !important;
    box-shadow: 0 2px 12px rgba(67, 97, 238, 0.2);
    transition: background 0.2s, color 0.2s;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    color: #fff !important;
}

.quote-btn-modern:hover {
    background: var(--button-color-hover) !important;
    color: #fff !important;
}

/* Cut Corner Card */
.cut-corner-card {
    clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
    position: relative;
}

.cut-corner-card:before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 40px; height: 40px;
    background: #fff;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 2;
}

.cut-corner-card:after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 40px;
    background: #fff;
    clip-path: polygon(0 100%, 0 0, 100% 100%);
    z-index: 2;
}

/* Hero Section */
.hero-section .btn-primary {
    background: var(--button-color) !important;
    color: #fff !important;
    border: none !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.2);
    min-width: 160px;
    min-height: 48px;
    padding: 0.7rem 2.2rem;
}

.hero-section .btn-primary:hover {
    background: var(--footer-color) !important;
    color: #fff !important;
}

.hero-section .btn-outline-light {
    background: transparent !important;
    color: #222 !important;
    border: 2px solid #bfc9d8 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 10px !important;
    min-width: 160px;
    min-height: 48px;
    padding: 0.7rem 2.2rem;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-section .btn-outline-light span {
    font-size: 1.3em;
    margin-left: 0.5em;
}

.hero-section .btn-outline-light:hover {
    background: #f4f8ff !important;
    color: var(--button-color) !important;
    border-color: var(--button-color) !important;
}

/* Hero Background */
.hero-bg-wrapper {
    min-height: 600px;
    width: 100%;
    position: relative;
    background-color: #eaf2ff;
    overflow: hidden;
}

.hero-section, 
.top-bar-custom, 
.main-navbar {
    position: relative;
    z-index: 2;
    background: transparent !important;
}

@media (max-width: 991px) {
    .hero-bg-wrapper {
        min-height: 400px;
    }
    .hero-section {
        padding-bottom: 30px;
    }
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(10,37,64,0.7) 60%, rgba(67, 97, 238, 0.8) 100%);
    z-index: 1;
}

.hero-section > .custom-wide-container,
.hero-section > .container,
.hero-section > .row,
.hero-section > .col-lg-7,
.hero-section > .col-lg-5 {
    position: relative;
    z-index: 2;
}

/* Button Styles */
.btn-get-quote-cut {
    background: var(--button-color) !important;
    border: none !important;
    font-weight: 600;
    border-radius: 5px !important;
    font-size: 1.25rem;
    padding: 1.1rem 2.5rem !important;
    box-shadow: 0 2px 12px rgba(67, 97, 238, 0.2);
    transition: background 0.2s, color 0.2s;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    color: #fff !important;
}

.btn-get-quote-cut:hover {
    background: var(--button-color-hover) !important;
    color: #fff !important;
}

.btn-go-cut {
    background: var(--button-color) !important;
    border: none !important;
    font-weight: 600;
    border-radius: 5px !important;
    font-size: 1.25rem;
    padding: 1.1rem 2.5rem !important;
    box-shadow: 0 2px 12px rgba(67, 97, 238, 0.2);
    transition: background 0.2s, color 0.2s;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    color: #fff !important;
}

.btn-go-cut:hover {
    background: var(--button-color-hover) !important;
    color: #fff !important;
}

/* Search Filter Section */
.search-filter-section .form-select, 
.search-filter-section .form-control {
    background: #f4faff !important;
    border: 2px solid var(--button-color) !important;
    border-radius: 1.2rem !important;
    font-size: 1.1rem;
    color: #222;
    box-shadow: none !important;
    padding: 0.85rem 1.2rem;
    transition: border-color 0.2s, background 0.2s;
}

.search-filter-section .form-select:focus, 
.search-filter-section .form-control:focus {
    border-color: var(--footer-color) !important;
    background: #fff !important;
    box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.2) !important;
}

.popular-city-badge-cut {
    background: var(--button-color) !important;
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.2);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border-radius: 0 !important;
    padding: 0.7rem 1.5rem;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    display: inline-block;
    letter-spacing: 0.5px;
}

.popular-city-badge-cut:hover {
    background: var(--button-color-hover) !important;
    color: #fff !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 18px rgba(67, 97, 238, 0.3);
}

/* About Section */
.about-image-wrapper {
    overflow: visible;
    border-radius: 0;
    min-height: 400px;
    position: relative;
}

.about-bg-img {
    border-radius: 0;
    pointer-events: none;
    width: 650px !important;
    height: 500px !important;
    max-width: 100%;
    max-height: 100%;
}

.about-foreground-img {
    border-radius: 0;
    background: #fff;
    box-shadow: 0 8px 32px rgba(67, 97, 238, 0.3);
}

@media (max-width: 700px) {
    .about-image-wrapper { 
        min-height: 200px; 
    }
    .about-bg-img { 
        width: 320px !important; 
        height: 140px !important; 
    }
    .about-foreground-img { 
        width: 180px !important; 
        height: 80px !important; 
        top: 30px !important; 
        left: 20px !important; 
    }
}

@media (max-width: 991px) {
    .about-image-wrapper { 
        margin-left: 0 !important; 
    }
}

.about-foreground-border {
    pointer-events: none;
    position: absolute;
    box-shadow: 0 0 0 0 #fff;
}

/* Testimonial Avatar */
.testimonial-avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    object-fit: cover;
    background: #eee;
    position: relative;
    transition: box-shadow 0.2s;
}

.testimonial-avatar-img:hover {
    box-shadow: 0 4px 16px rgba(67, 97, 238, 0.3);
    z-index: 20 !important;
}

.about-quote-btn {
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.2);
    letter-spacing: 0.01em;
    transition: background 0.2s, box-shadow 0.2s;
}

.about-quote-btn:hover {
    background: var(--footer-color) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(67, 97, 238, 0.3);
}

/* Hero Section Additional Styles */
.hero-section {
    min-height: 600px;
    position: relative;
    font-family: 'Inter', 'Epilogue', 'Urbanist', sans-serif;
    overflow: hidden;
}

.hero-inner-container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 32px;
    padding-right: 32px;
}

.quote-form-card {
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(30,144,255,0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    margin-top: 0;
    margin-bottom: 0;
}

.quote-form-card input.form-control,
.quote-form-card select.form-control,
.quote-form-card textarea.form-control {
    border-radius: 1.2rem;
    border: 2px solid #eaf2ff;
    font-size: 1.08rem;
    padding: 0.85rem 1.2rem;
}

.quote-form-card input.form-control:focus {
    border-color: #1e90ff;
    box-shadow: 0 0 0 0.15rem rgba(30,144,255,0.10);
}

.quote-form-card button.btn-primary {
    background: linear-gradient(90deg, #1e90ff 60%, #0a2540 100%);
    border: none;
    font-weight: 600;
    border-radius: 2rem;
    font-size: 1.15rem;
    padding: 0.85rem 0;
}

@media (max-width: 991px) {
    .hero-section {
        padding-top: 80px;
        padding-bottom: 30px;
    }
    .quote-form-card {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 400px;
        padding-top: 60px;
        padding-bottom: 10px;
    }
    .quote-form-card {
        padding: 1.5rem 0.5rem 1.5rem 0.5rem;
    }
}

/* Search Filter Card */
.search-filter-card {
    border: none;
    box-shadow: 0 8px 32px rgba(30,144,255,0.10) !important;
    transition: box-shadow 0.3s;
}

.search-filter-card:hover {
    box-shadow: 0 16px 48px rgba(30,144,255,0.13) !important;
}

.form-select, .form-control {
    border: 2px solid #1e90ff;
    padding: 0.85rem 1.2rem;
    border-radius: 1.5rem;
    font-size: 1.1rem;
}

.form-select:focus, .form-control:focus {
    border-color: #0a2540;
    box-shadow: 0 0 0 0.2rem rgba(30,144,255,0.15);
}

.popular-searches .badge {
    color: #fff !important;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    box-shadow: 0 2px 8px rgba(30,144,255,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}

.popular-searches .badge:hover {
    background: #0a2540 !important;
    color: #fff !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 18px rgba(30,144,255,0.18);
}

/* Testimonial Cards Row */
.testimonial-cards-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 90vw;
    max-width: 1800px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* FAQs Section */
.faqs-section {
    background-color: var(--faq-background-color, #f8f9fa);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--faq-subtitle-color, #495057);
    max-width: 700px;
    margin: 0 auto;
}

.accordion-item {
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    clip-path: polygon(
        0 8px, 8px 0, calc(100% - 32px) 0, 100% 32px,
        100% calc(100% - 8px), calc(100% - 8px) 100%,
        32px 100%, 0 calc(100% - 32px)
    );
    border-radius: 12px 0 12px 0/12px 0 12px 0;
    border: none;
}

.accordion-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.75rem 2rem 1.75rem 2rem;
    background-color: var(--faq-button-color, var(--button-color));
    color: #fff;
    border: none;
    border-radius: 0;
    text-align: left;
    min-height: 70px;
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--faq-button-hover-color, var(--button-color-hover));
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.4);
    border-color: rgba(67, 97, 238, 0.4);
}

.accordion-button::after {
    background-size: 1.25rem;
    transition: all 0.3s ease;
}

.accordion-body {
    padding: 1.25rem 2rem 1.25rem 2rem;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }
    
    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
}

/* Social Icons and Scroll to Top */
.social-icon:hover {
    background: #007bff !important;
}

.scroll-to-top:hover {
    background: #0056b3 !important;
}

/* ========================================
   CRITICAL RESPONSIVE IMPROVEMENTS
   ======================================== */

/* Mobile-First Responsive Grid */
@media (max-width: 767px) {
    .row > [class*="col-"] {
        margin-bottom: 1rem;
    }
    
    .d-flex {
        flex-direction: column;
    }
    
    .d-flex.gap-3 > * {
        margin-bottom: 0.75rem;
    }
    
    .d-flex.gap-4 > * {
        margin-bottom: 1rem;
    }
}

/* Responsive Typography */
@media (max-width: 767px) {
    .display-3 {
        font-size: 2.5rem !important;
    }
    
    .display-4 {
        font-size: 2rem !important;
    }
    
    .display-5 {
        font-size: 1.8rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
    }
}

/* Responsive Spacing */
@media (max-width: 767px) {
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
}

/* Responsive Images */
@media (max-width: 767px) {
    .hero-bg-img {
        object-position: center center;
    }
    
    .about-image-wrapper img {
        max-width: 100%;
        height: auto;
    }
}

/* Touch-Friendly Buttons */
@media (max-width: 767px) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .btn-lg {
        min-height: 48px;
        padding: 0.75rem 1.5rem;
    }
}

/* Responsive Forms */
@media (max-width: 767px) {
    .form-control, .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-control-modern {
        font-size: 16px !important;
    }
}

/ *   C r i t i c a l   R e s p o n s i v e   I m p r o v e m e n t s   * / 
 
 @ m e d i a   ( m a x - w i d t h :   7 6 7 p x )   {   . r o w   >   [ c l a s s * = ' c o l - ' ]   {   m a r g i n - b o t t o m :   1 r e m ;   }   . d - f l e x   {   f l e x - d i r e c t i o n :   c o l u m n ;   }   . d i s p l a y - 3   {   f o n t - s i z e :   2 . 5 r e m   ! i m p o r t a n t ;   }   . d i s p l a y - 4   {   f o n t - s i z e :   2 r e m   ! i m p o r t a n t ;   }   . p y - 5   {   p a d d i n g - t o p :   2 r e m   ! i m p o r t a n t ;   p a d d i n g - b o t t o m :   2 r e m   ! i m p o r t a n t ;   }   } 
 
 / *   M o b i l e   R e s p o n s i v e   U t i l i t i e s   * / 
 
 @ m e d i a   ( m a x - w i d t h :   7 6 7 p x )   {   . r o w   >   [ c l a s s * = ' c o l - ' ]   {   m a r g i n - b o t t o m :   1 r e m ;   }   } 
 
 / *   M o b i l e - F i r s t   R e s p o n s i v e   U t i l i t i e s   * / 
 
 . d - x s - n o n e   {   d i s p l a y :   n o n e   ! i m p o r t a n t ;   }   . d - x s - b l o c k   {   d i s p l a y :   b l o c k   ! i m p o r t a n t ;   }   . d - x s - f l e x   {   d i s p l a y :   f l e x   ! i m p o r t a n t ;   }   . t e x t - x s - c e n t e r   {   t e x t - a l i g n :   c e n t e r   ! i m p o r t a n t ;   }   . t e x t - x s - l e f t   {   t e x t - a l i g n :   l e f t   ! i m p o r t a n t ;   }   . t e x t - x s - r i g h t   {   t e x t - a l i g n :   r i g h t   ! i m p o r t a n t ;   } 
 
 