.service-popup{
    background:white;
    border-radius:20px;
    padding:20px;
}
.service-container{
    max-width:1400px;
}
.section-card{
    background:#ffffff;
    border:1px solid #e6edf7;
    border-radius:18px;
   padding:25px;
    box-shadow:
    0 5px 20px rgba(0,0,0,.04);
}
.section-card h3{
    font-size:22px;
    font-weight:700;
    color:#0d6efd;
    display:flex;
    align-items:center;
    gap:10px;
}
.timeline{
position:relative;
margin-top:25px;
}
.timeline-item{
display:flex;
gap:20px;
margin-bottom:25px;
position:relative;
}
.circle{
width:40px;
height:40px;
background:#0d6efd;
color:white;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-weight:bold;
z-index:2;
}
.timeline-item:not(:last-child)
.circle:after{
content:"";
position:absolute;
left:19px;
top:40px;
height:55px;
border-left:2px dashed #bcd2ff;
}
.timeline-content{
display:flex;
gap:15px;
}
.timeline-icon{
width:50px;
height:50px;
border-radius:12px;
border:1px solid #cfe0ff;
display:flex;
align-items:center;
justify-content:center;
color:#0d6efd;
font-size:25px;
}
.timeline-text h5{
margin:0;
color:#123d8c;
font-size:17px;
}
.timeline-text p{
font-size:14px;
color:#555;
}
.equipment-card{
    background:#fff;
    border-radius:18px;
    padding:25px 15px;
    text-align:center;
    box-shadow:0 8px 18px rgba(0,0,0,.06);
    transition:.35s;
    height:100%;
}
.equipment-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(13,110,253,.15);
}
.equipment-card img{
    width:75px;
    height:75px;
    object-fit:contain;
    margin-bottom:15px;
}
.equipment-card h6{
    font-weight:600;
    font-size:16px;
    margin:0;
    color:#333;
}
.success-card {
    background: #f8fffa;
    border-color: #d7f5df;
}
.danger-card {
    background: #fffafa;
    border-color: #ffdcdc;
}
.success-card h3 {
    color: #16a34a;
}
.success-card h3 i {
    color: #16a34a;
}
.danger-card h3 {
    color: #dc2626;
}
.danger-card h3 i {
    color: #dc2626;
}
.service-list {
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}
.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
}
.success-card .service-list li i {
    color: #16a34a;
    font-size: 18px;
    flex-shrink: 0;
}
.danger-card .service-list li i {
    color: #dc2626;
    font-size: 18px;
    flex-shrink: 0;
}
.request-section{
background:#f5faff;
border:1px solid #dceaff;
border-radius:18px;
padding:25px;
}
.request-title{
display:flex;
align-items:center;
gap:12px;
}
.request-title h4{
font-size:22px;
font-weight:700;
color:#123d8c;
}
.request-wrapper{
display:grid;
grid-template-columns:repeat(4,1fr);
margin-top:25px;
}
.request-item{
text-align:center;
position:relative;
padding:10px 20px;
}
.request-item:not(:last-child)::after{
content:"";
height:60px;
border-right:1px dashed #aac6ff;
position:absolute;
right:0;
top:20px;
}
.request-icon{
width:55px;
height:55px;
margin:auto;
border-radius:50%;
background:#eaf3ff;
color:#0d6efd;
display:flex;
align-items:center;
justify-content:center;
font-size:25px;
}
.request-item p{
font-size:14px;
margin-top:12px;
}
.review-section h3 .bi-star-fill{
    color:#ffc107;
}
.faq-section h3 .bi-question-circle{
    color:#0d6efd;
}
.review-card{

    background:#ffffff;
    border:1px solid #edf2ff;
    border-radius:12px;
    padding:15px;
    margin-bottom:12px;
}
.review-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.rating-star{
    color:#ffc107;
    font-weight:600;
}
.review-summary {
    display: flex;
    gap: 35px;
    padding: 20px 0;
    border-bottom: 1px solid #eeeeee;
}
.rating-overall {
    width: 150px;
    text-align: center;
    border-right: 1px solid #dddddd;
    padding-right: 25px;
}
.big-rating {
    font-size: 34px;
    font-weight: 700;
    color: #222;
}
.big-stars {
    color: #ffc107;
    font-size: 22px;
    letter-spacing: 2px;
}
.rating-text {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}
.rating-breakdown {
    flex: 1;
    max-width: 450px;
}
.rating-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.rating-number {
    width: 40px;
    font-size: 14px;
    font-weight: 600;
}
.rating-bar {
    flex: 1;
    height: 8px;
    background: #e5e5e5;
    border-radius: 20px;
    overflow: hidden;
}
.rating-bar-fill {
    height: 100%;
    background: #008f11;
    border-radius: 20px;
}
.fill-5 {
    width: 100%;
}
.fill-4 {
    width: 65%;
}
.fill-3 {
    width: 50%;
}
.fill-2 {
    width: 30%;
}
.fill-1 {
    width: 20%;
}
.rating-count {
    width: 35px;
    font-size: 13px;
    color: #777;
}
.review-filter {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 18px 0;
}
.review-filter-btn {
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 25px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s;
}
.review-filter-btn:hover {
    border-color: #00158f;
    color: #0d6efd;
}
.review-filter-btn.active {
    background: #0d6efd;
    color: #fff;
    border-color: #00158f;
}
.customer-review {
    padding: 18px 0;
    border-bottom: 1px solid #eeeeee;
}
.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.review-top strong {
    font-size: 15px;
    color: #222;
}
.review-stars {
    display: flex;
    align-items: center;
    gap: 1px;
    color: #ffc107;
    font-size: 18px;
}
.review-stars .empty-star {
    color: #d9d9d9;
}
.review-stars b {
    font-size: 14px;
    margin-left: 6px;
    color: #111;
}
.review-text {
    margin: 10px 0 6px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}
.review-date {
    color: #888;
    font-size: 12px;
}
.no-reviews {
    text-align: center;
    padding: 35px 10px;
    color: #888;
}
.no-reviews i {
    font-size: 30px;
    color: #008f11;
}
.accordion-item{
    border:1px solid #e5ecf7 !important;
    border-radius:10px !important;
    margin-bottom:10px;
    overflow:hidden;
}
.accordion-button{
    font-size:14px;
    color:#123d8c;
    background:#fff;
}
.accordion-button:not(.collapsed){
    background:#f4f8ff;
    color:#0d6efd;
}
.commit-card{
background:#f4f9ff;
border:1px solid #dbeaff;
border-radius:20px;
padding:30px;
text-align:center;
}
.commit-card img{
height:120px;
}
.commit-card ul{
display:flex;
justify-content:center;
gap:30px;
list-style:none;
padding:0;
}

@media (max-width: 768px) {

    /* =========================================
       SERVICE POPUP
       ========================================= */

    .service-popup {
        width: 100%;
        max-width: 100%;
        padding: 10px !important;
        border-radius: 18px 18px 0 0;

        /* Only ONE vertical scroll */
        overflow-x: hidden;
        overflow-y: auto;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .service-popup::-webkit-scrollbar {
        display: none;
    }


    /* =========================================
       SECTION CARD
       ========================================= */

    .section-card {
        width: 100%;
        padding: 14px !important;
        border-radius: 14px;
    }

    .section-card h3 {
        font-size: 18px;
        line-height: 1.3;
        gap: 7px;
        margin-bottom: 10px;
    }


    /* =========================================
       TIMELINE
       ========================================= */

    .timeline {
        margin-top: 12px;
    }

    .timeline-item {
        gap: 9px;
        margin-bottom: 16px;
    }

    .circle {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 13px;
    }

    .timeline-item:not(:last-child) .circle:after {
        left: 15px;
        top: 32px;
        height: 38px;
    }

    .timeline-content {
        display: flex;
        gap: 8px;
        min-width: 0;
    }

    .timeline-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 18px;
    }

    .timeline-text {
        min-width: 0;
    }

    .timeline-text h5 {
        font-size: 15px;
        line-height: 1.3;
        margin: 0 0 3px;
    }

    .timeline-text p {
        font-size: 13px;
        line-height: 1.4;
        margin: 0;
    }


    /* =========================================
       EQUIPMENT
       3 CARDS IN ONE ROW
       ========================================= */

    .equipment-card {
        height: auto !important;
        min-height: 0 !important;

        padding: 10px 5px !important;

        border-radius: 12px;

        box-shadow: 0 4px 12px rgba(0,0,0,.05);
    }

    .equipment-card:hover {
        transform: none;
    }

    .equipment-card img {
        width: 48px !important;
        height: 48px !important;

        object-fit: contain;

        margin-bottom: 6px;
    }

    .equipment-card h6 {
        font-size: 12px;
        line-height: 1.25;

        margin: 0;
    }

    /*
       Bootstrap row:
       3 cards = col-4
    */

    .equipment-card .row {
        margin-left: -4px;
        margin-right: -4px;
    }


    /* =========================================
       SUCCESS / DANGER
       ========================================= */

    .success-card,
    .danger-card {
        padding: 14px !important;
    }

    .success-card h3,
    .danger-card h3 {
        font-size: 17px;
    }

    .service-list {
        margin: 12px 0 0;
    }

    .service-list li {
        gap: 7px;
        margin-bottom: 8px;
        font-size: 13px;
        line-height: 1.4;
    }


    /* =========================================
       REQUEST FROM USER
       ICON + TEXT SIDE BY SIDE
       ========================================= */

    .request-section {
        padding: 14px !important;
        border-radius: 14px;
    }

    .request-title {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .request-title h4 {
        font-size: 18px;
        margin: 0;
    }

    .request-wrapper {
        display: flex;
        flex-direction: column;

        gap: 4px;

        margin-top: 12px;
    }

    .request-item {
        display: flex;
        align-items: center;

        text-align: left;

        position: relative;

        padding: 7px 0;

        gap: 12px;
    }

    .request-item:not(:last-child)::after {
        display: none;
    }

    .request-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;

        margin: 0;

        font-size: 19px;
    }

    .request-item p {
        margin: 0;

        font-size: 13px;
        line-height: 1.4;
    }


    /* =========================================
       REVIEW SUMMARY
       ========================================= */

    .review-summary {
        display: block;
        padding: 14px 0;
    }

    .rating-overall {
        width: 100%;

        border-right: none;
        border-bottom: 1px solid #ddd;

        padding: 0 0 12px;
        margin-bottom: 12px;
    }

    .rating-breakdown {
        width: 100%;
        max-width: 100%;
    }


    /* =========================================
       REVIEW FILTER
       HORIZONTAL SCROLL
       NO SCROLLBAR
       ========================================= */

    .review-filter {
        display: flex;

        width: 100%;

        gap: 7px;

        overflow-x: auto;
        overflow-y: hidden;

        padding: 12px 0;

        white-space: nowrap;

        scrollbar-width: none;
        -ms-overflow-style: none;

        -webkit-overflow-scrolling: touch;
    }

    .review-filter::-webkit-scrollbar {
        display: none;
    }

    .review-filter-btn {
        flex: 0 0 auto;

        padding: 7px 13px;

        font-size: 12px;

        white-space: nowrap;
    }


    /* =========================================
       REVIEWS
       HORIZONTAL SCROLL
       ========================================= */

    .customer-review {
        flex: 0 0 88%;

        width: 88%;

        padding: 14px;

        margin-right: 10px;

        border: 1px solid #eeeeee;
        border-radius: 12px;

        background: #fff;
    }

    /*
       Reviews wrapper:
       horizontal swipe
    */

    .customer-reviews,
    .reviews-list,
    .review-list {
        display: flex;

        width: 100%;

        gap: 10px;

        overflow-x: auto;
        overflow-y: hidden;

        padding-bottom: 5px;

        scrollbar-width: none;
        -ms-overflow-style: none;

        -webkit-overflow-scrolling: touch;
    }

    .customer-reviews::-webkit-scrollbar,
    .reviews-list::-webkit-scrollbar,
    .review-list::-webkit-scrollbar {
        display: none;
    }


    /* =========================================
       REVIEW TEXT
       ========================================= */

    .review-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;

        gap: 8px;
    }

    .review-top strong {
        font-size: 13px;
    }

    .review-stars {
        flex-shrink: 0;
        font-size: 15px;
    }

    .review-stars b {
        font-size: 12px;
        margin-left: 4px;
    }

    .review-text {
        font-size: 13px;
        line-height: 1.5;

        margin: 8px 0 5px;

        word-break: break-word;
    }

    .review-date {
        font-size: 11px;
    }


    /* =========================================
       FAQ
       ========================================= */

    .accordion-item {
        margin-bottom: 8px;
        border-radius: 8px !important;
    }

    .accordion-button {
        font-size: 13px;
        line-height: 1.4;
        padding: 11px;
    }

    .accordion-body {
        font-size: 13px;
        line-height: 1.5;
        padding: 11px;
    }


    /* =========================================
       COMMIT CARD
       ========================================= */

    .commit-card {
        padding: 16px 12px !important;
        border-radius: 15px;
    }

    .commit-card img {
        height: 85px;
        max-width: 100%;
        object-fit: contain;
    }

    .commit-card ul {
        display: block;
        margin: 12px 0 0;
        padding: 0;
    }

    .commit-card li {
        font-size: 13px;
        margin-bottom: 7px;
    }

}
/* =========================================
   MOBILE POPUP - FINAL SPACING & SCROLL FIX
   ========================================= */

@media (max-width: 768px) {

    /* =========================================
       STOP BACKGROUND PAGE SCROLL
       ========================================= */

    body:has(.offcanvas.show) {
        overflow: hidden !important;
    }

    html:has(.offcanvas.show) {
        overflow: hidden !important;
    }

    /* Bootstrap offcanvas backdrop */
    .offcanvas-backdrop {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
    }

    /* =========================================
       OFFCANVAS - BOTTOM DRAWER
       ========================================= */

    .offcanvas.offcanvas-bottom {
        top: auto !important;
        bottom: 0 !important;
        height: 80vh !important;
        max-height: 80vh !important;
        margin: 0 !important;
        border-radius: 18px 18px 0 0 !important;
        overflow: hidden !important;
    }

    /* Only ONE vertical scroll */
    .offcanvas-body {
        height: 100% !important;
        max-height: 100% !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;

        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .offcanvas-body::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
    }

    /* =========================================
       SERVICE POPUP
       ========================================= */

    .service-popup {
        width: 100% !important;
        margin: 0 !important;
        padding: 5px !important;
        overflow: visible !important;
    }

    /* Remove unwanted top gap */
    .service-popup > .row:first-child {
        margin-top: 0 !important;
    }

    .service-popup .row.mt-4 {
        margin-top: 8px !important;
    }

    /* =========================================
       OUR WORK PROCESS
       ========================================= */

    .service-popup .section-card.mt-4 {
        margin-top: 8px !important;
    }

    .service-popup .row:first-child .section-card {
        margin-top: 0 !important;
    }

    .service-popup .section-card h3 {
        font-size: 17px !important;
        margin-bottom: 12px !important;
    }

    /* =========================================
       REMOVE BOOTSTRAP COLUMN EXTRA SPACING
       ========================================= */

    .service-popup .col-12 {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    /* =========================================
       REVIEWS - HORIZONTAL SWIPE
       NO VISIBLE BOTTOM SCROLLBAR
       ========================================= */

    .reviews-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        scrollbar-width: none !important;
        -ms-overflow-style: none !important;

        padding-bottom: 4px !important;
    }

    .reviews-list::-webkit-scrollbar {
        display: none !important;
        height: 0 !important;
    }

    .reviews-list .review-card {
        flex: 0 0 85% !important;
        min-width: 85% !important;
        margin: 0 !important;
    }

    /* =========================================
       EQUIPMENT - 3 IMAGES PER SCREEN
       ========================================= */

    .service-popup .section-card .row {
        margin-left: -3px !important;
        margin-right: -3px !important;
    }

    .service-popup .equipment-card {
        width: 100% !important;
        margin: 0 !important;
    }

    .service-popup .equipment-card img {
        width: 100% !important;
        height: 75px !important;
        object-fit: contain !important;
    }

    .service-popup .equipment-card h6 {
        font-size: 11px !important;
        line-height: 1.2 !important;
        margin-top: 5px !important;
    }

    /* Bootstrap equipment columns = 3 per row */
    .service-popup .section-card .row > .col-6:has(.equipment-card) {
        width: 33.333333% !important;
        flex: 0 0 33.333333% !important;
        padding-left: 3px !important;
        padding-right: 3px !important;
        margin-bottom: 8px !important;
    }

    /* =========================================
       REQUEST FROM YOUR SIDE
       ========================================= */

    .request-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .request-item {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 8px 10px !important;
    }

    .request-icon {
        flex: 0 0 34px !important;
        width: 34px !important;
        height: 34px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .request-item p {
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

}
