/* ######################################################### header ################################################## */


.about-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../img/about_header.png') center center / cover no-repeat;
    height: 500px;
    /* Adjust height here */
}

@media (max-width: 576px) {
    .about-section {
        height: auto;
        padding: 3rem 1rem;
    }

    .heading-text {
        font-size: 1.8rem !important;
    }

    .paragraph-text {
        font-size: 1rem !important;
        font-weight: 300;
    }

    .about-section {
        height: auto;
        padding: 2rem 1rem;
    }
}


/* ######################################################### who we are ################################################## */

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #444;
}

.section-desc {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #444;
}

.info-card {
    border: 2px solid #444;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    max-width: 500px;
    /* Added max width */
    margin: 0 auto;
    /* Center card */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.info-title {
    color: #1a1aff;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    /* Increased font size */
    text-align: center;
}

.info-text {
    font-size: 1.2rem;
    /* Slightly increased */
    line-height: 1.4;
    text-align: center;
    color: #444;
}

/* Center dots below carousel */
.carousel-indicators [data-bs-target] {
    background-color: #1a1aff;
}

@media (max-width: 576px) {

    .section-title {
        font-size: 1.8rem;
        font-weight: 700;
    }

    .section-desc {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .info-title {
        font-size: 1.2rem;
    }

    .info-text {
        font-size: 1rem;
    }

    .info-card {
        padding: 1.25rem;
    }
}


/* ######################################################### our value  ################################################## */

.custom-rounded {
    height: 150px;
    object-fit: cover;
    width: 100%;
}

.custom-rounded-1 {
    border-radius: 35px 0 0 0;
}

.custom-rounded-2 {
    border-radius: 0 35px 0 0;
}

.custom-rounded-3 {
    border-radius: 0 0 0 35px;
}

.custom-rounded-4 {
    border-radius: 0 0 35px 0;
}

.values-text h2 {
    font-size: 2.5rem;
    color: #444;
}

.values-text p {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #444;
}

.values-text li {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: #444;
}

@media (max-width: 768px) {
    .custom-rounded {
        height: 130px;
    }

    .values-text h2 {
        font-size: 1.9rem;
    }

    .values-text p {
        font-size: 1.102rem;
    }

    .values-text li {
        font-size: 1.025rem;
    }
}




/* ######################################################### Why Clients Trust Section ################################################## */


.client-trust {
    font-size: 2.2rem;
}

.client-trust-sub {
    font-size: 1.2rem;
}


/* Trust Box Styling */
.trust-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.trust-box p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}



/* Responsive tweaks for smaller screens */
@media (max-width: 768px) {

    .client-trust {
        font-size: 1.7rem;
    }

    .client-trust-sub {
        font-size: 1.2rem;
    }

    .trust-title {
        font-size: 1.5rem;
    }

    .trust-desc {
        font-size: 1.1rem;
    }

}


/* ######################################################### Why Clients Trust Section ################################################## */

.client-section {
    padding: 35px 10px;
    text-align: center;
}

.client-title {
    font-weight: bold;
    font-size: 1.8rem;
}

.client-subtitle {
    color: #555;
    margin-bottom: 30px;
}

.carousel-inner {
    max-width: 100%;
    margin: 0 auto;
}

.client-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.client-img {
    border-radius: 15px;
    width: 100%;
    max-width: 550px;
    height: 350px;
    object-fit: cover;
}

.client-text {
    text-align: left;
    margin-top: 20px;
}

.client-text h5 {
    color: #1a237e;
    font-size: 1.8rem;
    font-weight: 600;
}

.client-text p {
    font-size: 1.2rem;
}

.period-box {
    border: 1px solid #1a237e;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    padding: 10px 10px;
    width: 300px;
    margin-top: 15px;
}

.carousel-control-prev {
    left: -110px;
}

.carousel-control-next {
    right: -110px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(100%);
}

@media (min-width: 768px) {
    .client-card {
        flex-direction: row;
        gap: 80px;
        text-align: left;
    }

    .client-text {
        margin-top: 0;
    }

    .client-img {
        height: 300px;
    }


}

/* For mobile devices */
@media (max-width: 576px) {
    .client-img {
        height: 200px;
        width: 300px;
    }

    .client-text h5 {
        font-size: 1.3rem;
    }

    .client-text p {
        font-size: 1rem;
    }
}



/* ######################################################### image slider ################################################## */


/* image slider */

.slider-container {
    max-width: 1200px;
    overflow: hidden;
    margin: auto;
    position: relative;
}

.slider {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.slider img {
    height: 250px;
    object-fit: cover;
    /* border-radius: 10px; */
    margin: 0 5px;
}

/* Navigation buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .slider img {
        width: 24%;
    }
}

/* Show 4 images */

@media (max-width: 991px) and (min-width: 768px) {
    .slider img {
        width: 32%;
    }
}

/* Show 3 images */

@media (max-width: 767px) {
    .slider img {
        width: 48%;
    }
}

/* Show 2 images */

@media (max-width: 575px) {
    .slider img {
        width: 90%;
    }
}