/* ========Carousel Items Start========= */
/* Smooth transition */
.carousel-item {
    transition: transform 1s ease-in-out;
    /* smooth sliding */
}

/* Modern Gray Controls */
.custom-control {
    width: 50px;
    height: 50px;
    background-color: rgba(108, 117, 125, 0.7);
    /* gray with transparency */
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: background 0.3s ease, transform 0.3s ease;
}

.custom-control:hover {
    background-color: rgba(243, 57, 50, 0.9);
    /* darker gray on hover */
    transform: translateY(-50%) scale(1.1);
    /* slight zoom */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) grayscale(100%);
    /* makes arrow white */
    width: 20px;
    height: 20px;
}

/* Modern Gray Indicators */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #6c757d;
    /* gray */
    opacity: 0.6;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #343a40;
    /* darker gray when active */
    opacity: 1;
    transform: scale(1.2);
}

/* ========Carousel Items End========= */

/* ========About as Start========= */
.about-section {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;

}

/* Decorative shape */
.about-section::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.1);
    z-index: 0;
}

/* Image hover effect */
.about-image img {
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    margin-left: 22px;
    max-width: 90%;
}

.about-image:hover img {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* About Us subtitle (red text + black underline) */
.about-subtitle {
    color: red;
    font-weight: bold;
    display: inline-block;
    border-bottom: 2px solid #000;
    /* black underline */
    padding-bottom: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
}


.text-muted {
    --bs-text-opacity: 1;
    color: rgba(37, 38, 39, 0.75) !important;
}

.small {
    --bs-text-opacity: 1;
    color: rgb(248 249 250) !important;
    font-size: .888em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-content {
        text-align: center;
    }

    .about-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .title-underline {
        margin-left: auto;
        margin-right: auto;
    }
}

/* General Section */
.feature-style,
.service-section {
    position: relative;
    z-index: 1;
}

.service-section .bg-layer {
    background: url('../assets/images/background/service-bg.jpg') no-repeat center center/cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
}

/* Section Title */
.sec-title h2 {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    text-align: center;
}

.sec-title h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #b71527;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Feature Card */
.feature-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}
.feature-style{
    background-color: #e8e8f3;
}

.feature-card:hover {
    background: #b71527;
    color: #fff;
    transform: translateY(-5px);
}

.feature-card h4 a {
    color: #d62828;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.feature-card p {
    color: #333;
    transition: color 0.3s;
}

.feature-card:hover h4 a,
.feature-card:hover p {
    color: #fff;
}

/* Icon Box */
.icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #aa1123;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.icon-box img {
    max-width: 60%;
    filter: brightness(0) invert(1);
}

.feature-card:hover .icon-box {
    transform: scale(1.1) rotateY(180deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .feature-card {
        padding: 20px 15px;
    }

    .icon-box {
        width: 60px;
        height: 60px;
    }

    .icon-box img {
        max-width: 45%;
    }

    .feature-card h4 {
        font-size: 18px;
    }

    .feature-card p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 15px 10px;
    }

    .icon-box {
        width: 50px;
        height: 50px;
    }

    .icon-box img {
        max-width: 40%;
    }

    .feature-card h4 {
        font-size: 16px;
    }

    .feature-card p {
        font-size: 13px;
    }
}


/* ========About as end========= */

/*====== co-partner section start =====*/
.carousel-section {
    background: #e8e8f3;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
}

.carousel-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.carousel-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #b71527;
    margin: 10px auto 0;
    border-radius: 2px;
}

.brand .item {
    text-align: center;
}

.brand .item img {
    max-height: auto;
    width: auto;
    margin: 0 auto;
    display: block;
    transition: transform 0.4s ease;
}

.brand .item img:hover {
    transform: scale(1.08);
}

/*====== co-partner section end =====*/

