.installer-profile-container {
    background-color: #f8f9fa;
    margin-bottom: 24px;
    padding: 24px 32px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    position: relative;
    cursor: pointer;
}

.installer-profile-container:hover {
    background-color: #f2f2f2;
}

.installer-profile-container .card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.installer-profile-container .btn-quote {
    position: relative;
    z-index: 2;
}

.container .row.no-margin-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    --bs-gutter-x: 0 !important;
    /* background-color: #f8f9fa; */
    border-radius: 12px;
}

.banner-search-input {
    width: auto;
    height: 50px;
    border-radius: 7px 0px 0px 7px;
}

.banner-search-button {
    border-radius: 7px;
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .banner-search-button {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .banner-search-button {
        font-size: 12px;
    }
}


.search-container {
    position: relative;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.keyword-tag {
    color: #828282;
    background-color: #E6E6E6;
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 16px;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
}

.keyword-tag .close {
    margin-left: 6px;
    font-size: 14px;
    cursor: pointer;
}

.filter-section-outer {
    border: 1px solid #E3E3E3;
}

.filter-section {
    border-bottom: 1px solid #757575;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.filter-header {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.custom-checkbox {
    margin-bottom: 10px;
}

.custom-checkbox .form-check-input {
    border-color: #ced4da;
}

.custom-checkbox .form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.service-card {
    border: none;
    background-color: #fff;
    margin-bottom: 0;
    padding: 2.5rem 0;
}



.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.service-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e9e9e9;
}

.service-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.star-rating {
    color: #ffc107;
    font-size: 14px;
}

.review-count {
    color: #6c757d;
    font-size: 14px;
    margin-left: 5px;
}

.badge-verified {
    background-color: #6D9852;
    color: white;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-right: 8px;
}

.badge-top-installer {
    background-color: #6D9852;
    color: white;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

/* Ensure badge container displays horizontally */
.badge-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.badge-container .badge-verified,
.badge-container .badge-top-installer {
    display: inline-flex !important;
    flex-direction: row !important;
}

/* Additional specificity to override any conflicts */
.installer-profile-container .badge-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}

.installer-profile-container .badge-container .badge-verified,
.installer-profile-container .badge-container .badge-top-installer {
    display: inline-flex !important;
    flex-direction: row !important;
    float: none !important;
    clear: none !important;
}

/* Quote Modal Styles */
.quote-modal .modal-title {
    color: #012152 !important;
    font-weight: bold !important;
}

.quote-modal .btn-close {
    background-color: #6c757d;
    opacity: 0.7;
}

.quote-modal .btn-close:hover {
    opacity: 1;
}

.quote-modal .btn-primary {
    background-color: #012152;
    border-color: #012152;
    padding: 12px 24px;
    font-weight: 500;
}

.quote-modal .btn-primary:hover {
    background-color: #001a3a;
    border-color: #001a3a;
}

.quote-modal .btn-outline-primary {
    color: #012152;
    border-color: #012152;
    background-color: white;
    padding: 12px 24px;
    font-weight: 500;
}

.quote-modal .btn-outline-primary:hover {
    background-color: #012152;
    border-color: #012152;
    color: white;
}

.service-description {
    color: #555;
    font-size: 14px;
    margin-bottom: 10px;
}

.read-more {
    color: #6c757d;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.read-more:hover {
    color: #0d6efd;
}

/* .read-more::after {
    content: "\ea4e";
    font-family: remixicon;
    font-size: 1rem;
} */

.provider-name {
    color: #6c757d;
    font-size: 14px;
}

.service-date {
    color: #6c757d;
    font-size: 14px;
}

.btn-quote {
    background-color: #0a2463;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-quote:hover {
    background-color: #0a2463;
    color: white;
    opacity: 0.9;
}


.btn-quote:hover {
    border: 1px solid #0a2463;
}

.location-info {
    color: #6c757d;
    font-size: 14px;
}

.dropdown-toggle {
    background-color: white;
    border: 1px solid #ced4da;
    color: #495057;
    width: 100%;
    text-align: left;
    position: relative;
}

.dropdown-toggle::after {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.form-select {
    background-color: white;
    border: 1px solid #ced4da;
    color: #495057;
}

.quote-btn-container {
    display: flex;
    justify-content: flex-end;
}

.service-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.service-quote {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-description-paragraph {
    width: 80%;
}

.location-icon {
    font-size: 20px
}

.service-meta-section-sm {
    border: 1px solid #DBDBDB;
}

.form-control-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #888;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-left: 40px;
    font-size: 20px;
    font-weight: 300;
}

.get-quote-button {
    background-color: #377FFE;
    color: #fff;
    font-weight: 500;
}

.search-manually-button {
    background-color: #012152;
    color: #fff;
    font-weight: 500;
}

.banner-form-inner {
    box-shadow: 0px 0px 10px 0px #000000;
    width: 80%;
    margin: auto;
    top: 70%;
    left: 10%;
    background: #fff;
    border-radius: 5px;
    padding: 30px 20px;
}

@media (max-width: 767.98px) {
    .service-quote {
        margin-top: 15px;
    }
}

@media (max-width: 575.98px) {
    .service-card-row {
        background-color: #f3f2f2;
    }
}


.stars i {
    font-size: 1rem;
    margin-right: 2px;
  }

.gallery-container{
    margin-top: 10px;
}

/* Reduce spacing between CTA and Learn More section */
#quote-form {
    margin-bottom: 0 !important;
    padding-bottom: 2rem !important;
}

.blogSwiper {
    margin-top: 0 !important;
    padding-top: 2rem !important;
}

/* Reduce excessive spacing after main content */
main {
    margin-bottom: 0;
}

/* Areas We Serve Tabbed Interface Styles */
.areas-we-serve-section {
    background-color: #e3f2fd;
    padding: 40px 0;
    margin-top: 40px;
}

.areas-we-serve-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e0e7ff;
}

.areas-we-serve-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.areas-we-serve-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    gap: 16px;
    padding: 20px;
}

.areas-we-serve-tab {
    padding: 20px 24px;
    background-color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #1e40af;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.areas-we-serve-tab:hover {
    background-color: #f1f5f9;
    color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.areas-we-serve-tab.active {
    background-color: #1e40af;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30, 64, 175, 0.3);
}

.areas-we-serve-tab::after {
    content: "▼";
    font-size: 12px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.areas-we-serve-tab.active::after {
    transform: rotate(180deg);
}

/* Services Section Styling */
.services-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.services-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 3rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.services-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.services-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1e40af, #1d4ed8);
    border-radius: 16px 16px 0 0;
}

.services-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.services-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.services-card:hover img {
    transform: scale(1.05);
}

.services-card h3 {
    color: #1e40af;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.services-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.services-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-card ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 24px;
}

.services-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.2rem;
    width: 16px;
    text-align: center;
}

.services-card ul li a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.services-card ul li a:hover {
    color: #3b82f6;
    text-decoration: underline;
    transform: translateX(4px);
}

.services-card ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

.services-card ul li a:hover::after {
    width: 100%;
}

.areas-we-serve-content {
    background-color: white;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.areas-we-serve-content.expanded {
    max-height: 800px !important;
    padding: 32px !important;
}


.areas-we-serve-tab-content {
    display: none;
}

.areas-we-serve-tab-content.active {
    display: block;
}

.areas-we-serve-tab-content h3 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
}

.areas-we-serve-tab-content h4 {
    color: #374151;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.areas-we-serve-tab-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 16px;
}

.areas-we-serve-tab-content ul {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.areas-we-serve-tab-content li {
    margin-bottom: 0.5rem;
}

/* FAQ Section Enhanced Styling */
#faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

#faq-accordion .border {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: white;
}

#faq-accordion .border:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

#faq-accordion .btn-link {
    color: #1e40af !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 20px 24px !important;
    border: none !important;
    background: none !important;
    text-align: left !important;
    width: 100% !important;
    position: relative;
    transition: all 0.3s ease;
}

#faq-accordion .btn-link:hover {
    color: #1d4ed8 !important;
    background-color: #f8fafc !important;
}

#faq-accordion .btn-link:focus {
    box-shadow: none !important;
    outline: none !important;
}

#faq-accordion .btn-link::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: bold;
    color: #6b7280;
    transition: transform 0.3s ease;
}

#faq-accordion .btn-link[aria-expanded="true"]::after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

#faq-accordion .collapse {
    border-top: 1px solid #e2e8f0;
}

#faq-accordion .collapse .px-3 {
    padding: 20px 24px !important;
    color: #4b5563;
    line-height: 1.6;
    font-size: 15px;
    background-color: #f8fafc;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* FAQ Section Title */
.faq-title {
    color: #1e40af;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

/* Responsive adjustments for FAQ */
@media (max-width: 768px) {
    #faq-accordion .btn-link {
        font-size: 15px !important;
        padding: 16px 20px !important;
    }
    
    #faq-accordion .btn-link::after {
        right: 20px;
        font-size: 18px;
    }
    
    #faq-accordion .collapse .px-3 {
        padding: 16px 20px !important;
        font-size: 14px;
    }
    
    .faq-title {
        font-size: 1.875rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .areas-we-serve-section {
        padding: 20px 0;
        margin-top: 20px;
    }
    
    .areas-we-serve-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .areas-we-serve-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }
    
    .areas-we-serve-tab {
        padding: 16px 12px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        text-align: center;
        justify-content: center;
        font-size: 14px;
        min-height: 60px;
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 4px;
    }
    
    .areas-we-serve-tab::after {
        content: "▼";
        font-size: 10px;
        margin-left: 0;
        margin-top: 2px;
    }
    
    .areas-we-serve-tab.active {
        background-color: #1e40af;
        color: white;
        border-color: #1e40af;
        transform: none;
        box-shadow: 0 2px 4px rgba(30, 64, 175, 0.3);
    }
    
    .areas-we-serve-tab.active::after {
        transform: rotate(180deg);
    }
    
    .areas-we-serve-content {
        padding: 20px;
    }
    
    .areas-we-serve-tab-content h3 {
        font-size: 1.25rem;
    }
    
    .areas-we-serve-tab-content h4 {
        font-size: 1.125rem;
    }
    
    .areas-we-serve-tab-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .areas-we-serve-title {
        font-size: 1.75rem;
    }
    
    .areas-we-serve-tabs {
        gap: 8px;
        padding: 12px;
    }
    
    .areas-we-serve-tab {
        padding: 12px 8px;
        font-size: 13px;
        min-height: 55px;
    }
    
    .areas-we-serve-tab::after {
        font-size: 9px;
    }
    
    .areas-we-serve-content {
        padding: 16px;
    }
}