@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Montserrat", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.service-p,
.service-bss-card h3,
.statistic-left h1,
.services-title h2 {
    overflow: hidden;
    scrollbar-width: none; /* Firefox */
}

.service-p::-webkit-scrollbar,
.service-bss-card h3::-webkit-scrollbar,
.statistic-left h1::-webkit-scrollbar,
.services-title h2::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}


/* Service Title Desing */
.service-div {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    max-width: 740px;
    margin: auto;
}

.service-div img {
    margin: 90px 0 30px;
}

.service-div h2 {
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: 0;
    line-height: 1.5em;
    margin-bottom: 1.25rem;
    width: 80%;
}

.service-div p {
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: .25px;
    line-height: 1.5556em;
    text-align: center;
    color: #666;
    width: 100%;
}

/* Service Business Desing */
.service-business-lines {
    padding: 50px 0 120px 0;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-business-lines .service-bss-title {
    display: flex;
    flex-direction: column;
    cursor: default;
}

.service-business-lines .service-bss-title p {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 1px;
}

.service-business-lines .service-bss-title h2 {
    font-size: 40px;
    font-weight: 600;
}

.service-business-lines .service-bss-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
}

.service-business-lines .service-bss-grid .service-bss-card {
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-business-lines .service-bss-grid .service-bss-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.service-business-lines .service-bss-grid .service-bss-card .service-bss-card-opacity {
    position: absolute;
    background-color: #00000030;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: end;
    padding: 20px;
}

.service-business-lines .service-bss-grid .service-bss-card h3 {
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    color: #fff;
}

.service-business-lines .service-bss-grid .service-bss-card:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/* Responsive Desing */
/* Service Title - Responsive Desing */
@media screen and (max-width: 340px) {
    .service-div img {
        margin: 80px 0 20px 0;
    }

    .service-div h2 {
        font-weight: 600;
        font-size: 1rem;
        line-height: 1.4em;
        margin-bottom: 1rem;
        width: 80%;
    }

    .service-div p {
        font-size: 12px;
        line-height: 16px;
        width: 80%;
    }
}

@media (min-width: 340px) and (max-width: 920px) {
    .service-div img {
        margin: 80px 0 20px;
    }

    .service-div h2 {
        font-weight: 600;
        font-size: 1.5rem;
        letter-spacing: 0;
        line-height: 1.4em;
        margin-bottom: 1rem;
        width: 80%;
    }

    .service-div p {
        font-weight: 400;
        font-size: 15px;
        letter-spacing: .25px;
        line-height: 1.5556em;
        text-align: center;
        color: #666;
        width: 90%;
    }
}

/* Service Business - Responsive Desing */
@media screen and (max-width: 420px) {
    .service-business-lines {
        padding: 100px 0 80px 0;
        width: 94%;
        gap: 30px;
    }

    .service-business-lines .service-bss-title p {
        font-size: 10px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .service-business-lines .service-bss-title h2 {
        font-size: 24px;
        line-height: 28px;
        font-weight: 600;
    }

    .service-business-lines .service-bss-grid {
        width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .service-business-lines .service-bss-grid .service-bss-card img {
        width: 100%;
        height: 320px;
        object-fit: cover;
    }

    .service-business-lines .service-bss-grid .service-bss-card:hover {
        transform: scale(1.02);
    }
}

@media (min-width: 420px) and (max-width: 888px) {
    .service-business-lines {
        padding: 120px 0 100px 0;
        width: 94%;
        gap: 50px;
    }

    .service-business-lines .service-bss-title p {
        font-size: 12px;
        font-weight: 600;
    }

    .service-business-lines .service-bss-title h2 {
        font-size: 30px;
        font-weight: 600;
    }

    .service-business-lines .service-bss-grid {
        width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .service-business-lines .service-bss-grid .service-bss-card:hover {
        transform: scale(1.03);
    }
}


/* Services Section */
.base-services-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.services-title {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
}

.services-title h2 {
    font-size: 2rem;
    font-weight: 400;
}

.services-list {
    width: 100%;
}

.service-wrapper {
    margin-bottom: -5px;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 1px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-wrapper.active .service-item {
    /*background-color: #c82127;*/
    color: black;
    border-radius: 8px 8px 0 0;
}

.service-icon {
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c82127;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 16px;
    flex-shrink: 0;
  
}


.service-wrapper.active .service-icon {
    background-color: #c82127;
}

.service-name {
    flex-grow: 1;

}

.service-p {
    font-weight: 500;
    position: relative;
    display: inline-block;
    margin-top: 11px;
}

.service-name .service-p::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #c82127;
    transition: width 0.6s ease-in-out;
}

.service-name:hover .service-p::before {
    width: 100%;
}


.arrow-icon {
    font-size: 10px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.service-wrapper.active .arrow-icon {
    transform: rotate(180deg);
}

.service-description {
    display: none;
    padding: 15px 20px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 8px 8px;
    animation: fadeIn 0.3s ease;
}

.service-wrapper.active .service-description {
    display: block;
}

.service-description p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}




@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .services-title h2 {
        font-size: 2rem;
    }

    .service-item {
        padding: 10px 12px;
    }

    .service-icon {
        width: 12px;
        height: 12px;
        font-size: 14px;
    }

    .service-description {
        padding: 12px 15px;
    }

    .service-description p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .services-title h2 {
        font-size: 2rem;
    }

    .service-item {
        padding: 12px;
    }

    .service-icon {
        width: 12px;
        height: 12px;
        font-size: 14px;
    }
}