/* Shared Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fdfdf0;
    font-family: 'Poppins', sans-serif;
    color: #1c1b5e;
}

/* Header Bar Styles */
.header-bar {
    z-index: 1050;
    border-bottom: 1px solid #eaeaea;
    height: 80px;
    background-color: #e3e3ef;
    padding: 10px;
    border-radius: 50px;
    margin: 10px auto;
    width: 90%;
}

.header-spacer {
    height: 80px;
    margin-bottom: 10px;
}

.repair-btn {
    background-color: #282974;
    color: #FFEB3B;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.repair-btn:hover {
    background-color: #2c2f76;
    color: #fff;
}

/* Page Title */
.faq-title, .page-title {
    font-size: 90px;
    font-weight: 800;
    text-align: center;
    text-shadow: 2px 2px #ccc;
}

/* Common Tab Styles */
.faq-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.faq-tabs .nav-link {
    border: 1px solid #1c1b5e;
    border-radius: 50px;
    padding: 10px 25px;
    color: #1c1b5e;
}

.faq-tabs .nav-link.active {
    background-color: #1c1b5e;
    color: #fff;
}

.tab-content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

/* Carousel Styles */
.carousel-inner {
    padding: 4px;
}

.carousel-indicators [data-bs-target] {
    background-color: transparent !important;
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 10px;
    height: 10px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: var(--bs-carousel-indicator-active-bg);
    background-clip: padding-box;
    border: 2px solid #282974;
    opacity: .5;
    transition: opacity .6s ease;
    border-radius: 50%;
}

.carousel-indicators button.active {
    background-color: #282974 !important;
}

.carousel-indicators button {
    background-color: transparent !important;
}

.carousel-indicators {
    margin-bottom: -2rem;
}

/* Blog Card Styles */
.blog-card {
    display: flex;
    background-color: #fffff0;
    border-radius: 12px;
    padding: 20px;
    gap: 20px;
    align-items: center;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.blog-card:hover {
    cursor: pointer;
}

.blog-image img {
    width: 280px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.blog-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #aaa;
    padding-bottom: 5px;
    font-size: 14px;
    color: #2c2f76;
    font-style: italic;
}

.blog-title {
    font-size: 20px;
    font-weight: bold;
    color: #2c2f76;
    margin: 0;
}

.blog-desc {
    color: #333;
    font-size: 16px;
    margin: 0;
}

.read-more {
    align-self: flex-end;
    text-decoration: none;
    font-weight: 500;
    color: #2c2f76;
    margin-top: auto;
    transition: color 0.3s ease;
    background: #fffff0;
    padding: 12px 60px;
    border-radius: 34px;
    font-size: 14px;
    text-transform: none;
    text-decoration: none;
    font-weight: 500 !important;
}

.read-more:hover {
    color: #fff;
    background-color: #282974;
}

/* Accordion Styles */
.accordion {
    background-color: #a3abb9;
    border-radius: 15px;
    margin-bottom: 20px;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

.accordion h3 {
    font-size: 18px;
    font-weight: bold;
    color: #1f1f75;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 15px;
    background-color: #fffdeb;
}

.accordion-content {
    display: none;
    padding-top: 15px;
    color: #fffff0;
    background: #a3abb9;
    border-radius: 10px;
    margin-top: 10px;
    padding: 30px 20px;
}

.accordion.active .accordion-content {
    display: block;
}

.accordion .icon {
    font-size: 24px;
    user-select: none;
}

/* Common Text Styles */
.faq-description {
    text-align: center;
    font-size: 18px;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.faq-description a {
    font-weight: 700;
    font-style: italic;
    text-decoration: underline;
}

.law-box {
    background-color: #282974;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    color: #fff;
}

.faq-list {
    list-style-type: disc;
    padding-left: 20px;
    color: #fff;
}

.faq-list li {
    margin-bottom: 10px;
    font-size: 15.5px;
    line-height: 1.6;
}

.text-success {
    color: #282974 !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .faq-title, .page-title {
        font-size: 50px !important;
    }
    
    .header-bar {
        width: 100% !important;
        height: 60px !important;
    }
    
    .hello-maintenance-logo {
        max-height: 22px !important;
    }
    
    .repair-btn {
        font-size: 13px !important;
        padding: 8px 12px !important;
        font-weight: 500 !important;
    }
    
    .blog-card {
        padding: 10px !important;
        flex-direction: column;
    }
    
    .blog-image img {
        width: 100% !important;
        height: 140px !important;
    }
    
    .read-more {
        padding: 5px 17px !important;
        font-size: 10px !important;
    }
    
    .accordion h3 {
        font-size: 11px !important;
        padding: 8px !important;
    }
    
    .accordion-content {
        padding: 4px !important;
        font-size: 10px !important;
    }
}

@media (max-width: 480px) {
    .hello-maintenance-logo {
        max-height: 17px !important;
    }
    
    .repair-btn {
        font-size: 11px !important;
    }
}



/* maintenance popu css */
.first-main-content {
    width: 750px !important;
    border-radius: 22px;
    background-color: #fffff0;
}
.show {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    display: flex !important;
}
.agency-form input {
    width: 80%;
    border-radius: 6px;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(0, 0, 0);
    border-image: initial;
    margin: 8px auto;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 10px -2px;
    background-color: rgba(255, 252, 229, 0.35);
    outline: none;
}
.agency-btn {
    font-size: 14px;
    font-weight: 700;
    line-height: 1em;
    background-color: rgb(39, 41, 116);
    color: rgb(243, 127, 10) !important;
    position: absolute !important;
    margin-left: -120px !important;
    margin-top: 12px !important;
    border-radius: 6px;
    padding: 12px 26px;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    transition: 0.3s;
}

@media only screen and (max-width: 767px) {
    .first-main-content {
        width: auto !important;
    }
}