/* Custom CSS to reduce text sizes on index page */

/* Reduce main section title sizes */
.wpo-section-title h2 {
    font-size: 24px !important;
    line-height: 32px !important;
}

/* Specifically target the main heading that appears multiple times */
.wpo-get-quate-section .left-content .wpo-section-title h2 {
    font-size: 28px !important;
    line-height: 36px !important;
}

.wpo-section-title h3 {
    font-size: 28px !important;
    line-height: 36px !important;
}

/* Override the duplicate rule - keep the smaller size */

.wpo-get-quate-section .left-content .wpo-section-title h3 {
    font-size: 24px !important;
    line-height: 32px !important;
}

/* Reduce about section content */
.wpo-about-section .about-content .title h3 {
    font-size: 24px !important;
    line-height: 32px !important;
}

.wpo-about-section .about-content .sub-content span {
    font-size: 14px !important;
    line-height: 22px !important;
}

.wpo-about-section .about-content h4 {
    font-size: 16px !important;
    line-height: 24px !important;
}

.wpo-about-section .about-content ul li {
    font-size: 14px !important;
    line-height: 20px !important;
    padding-left: 30px !important;
}

.wpo-about-section .about-content ul li::before {
    top: 2px !important;
    transform: none !important;
}

/* Reduce service section titles */
.wpo-service-section .wpo-section-title h3 {
    font-size: 28px !important;
    line-height: 36px !important;
}

/* Reduce quote form content */
.quote-form .title h3 {
    font-size: 18px !important;
    line-height: 24px !important;
    margin-bottom: 15px !important;
}

.quote-form label {
    font-size: 12px !important;
    margin-bottom: 5px !important;
}

.quote-form .form-control {
    font-size: 13px !important;
    padding: 8px 12px !important;
    height: 38px !important;
}

.quote-form .item {
    margin-bottom: 12px !important;
}

.quote-form .row {
    margin-bottom: 0 !important;
}

.quote-form {
    padding: 20px !important;
}

/* Reduce vehicle selection dropdowns */
.vehicle-row {
    margin-bottom: 10px !important;
}

.vehicle-row .form-control {
    height: 36px !important;
    font-size: 12px !important;
    padding: 6px 10px !important;
}

/* Reduce button sizes */
.quote-form .theme-btn {
    padding: 10px 20px !important;
    font-size: 13px !important;
}

.quote-form #add-vehicle {
    font-size: 11px !important;
    padding: 5px 10px !important;
    margin-top: 5px !important;
    margin-bottom: 10px !important;
}

/* Reduce get-item and quate-item text */
.get-item li h3,
.quate-item li h3 {
    font-size: 16px !important;
    line-height: 22px !important;
}

/* Reduce paragraph text */
.quat p {
    font-size: 14px !important;
    line-height: 22px !important;
}

/* Reduce button text */
.theme-btn {
    font-size: 13px !important;
    padding: 10px 20px !important;
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
    .wpo-section-title h3 {
        font-size: 24px !important;
        line-height: 32px !important;
    }
    
    .wpo-get-quate-section .left-content .wpo-section-title h2 {
        font-size: 36px !important;
        line-height: 44px !important;
    }
    
    .wpo-get-quate-section .left-content .wpo-section-title h3 {
        font-size: 20px !important;
        line-height: 28px !important;
    }
}

@media (max-width: 767px) {
    .wpo-section-title h3 {
        font-size: 22px !important;
        line-height: 30px !important;
    }
    
    .wpo-get-quate-section .left-content .wpo-section-title h2 {
        font-size: 32px !important;
        line-height: 40px !important;
    }
    
    .wpo-get-quate-section .left-content .wpo-section-title h3 {
        font-size: 18px !important;
        line-height: 26px !important;
    }
    
    .wpo-about-section .about-content .title h3 {
        font-size: 20px !important;
        line-height: 28px !important;
    }
}

@media (max-width: 399px) {
    .wpo-get-quate-section .left-content .wpo-section-title h3 {
        font-size: 16px !important;
        line-height: 24px !important;
    }
}

/* Contact page office info cards styling */
.office-info .row {
    margin-left: -5px !important;
    margin-right: -5px !important;
}

.office-info .row .col {
    padding-left: 5px !important;
    padding-right: 5px !important;
    display: flex !important;
    align-items: stretch !important;
    flex: 1 !important;
    max-width: 25% !important;
}

.office-info-item {
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
    min-height: 120px !important;
}

.office-info-item .office-info-text h2 {
    font-size: 16px !important;
    margin-bottom: 8px !important;
}

.office-info-item .office-info-text p {
    font-size: 13px !important;
    line-height: 18px !important;
    margin-bottom: 0 !important;
}

/* Remove active/pink styling */
.office-info-item.active {
    background-color: inherit !important;
    border-color: inherit !important;
}

.office-info-item.active .office-info-text h2,
.office-info-item.active .office-info-text p {
    color: inherit !important;
}
