:root {
    --vs-secondary-color: #1f2a6b !important;
    --section-space: 40px !important;
    --title-font: "Nunito Sans", sans-serif !important;
    --bs-gutter-x: 70px !important;
}

/* font */

.sec-title2,
.sec-title,
h2 {
    font-family: "Playfair Display", serif !important;
}

h2 {
    font-size: 42px !important;
}

/* font end */

.justify {
    text-align: justify;
}

.d-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.d-flex-col {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.blue {
    color: #004fc8;
}

body {
    overflow-x: hidden;
}

.header-lower4::after {
    position: fixed !important;
}


/* space */
.container {
    max-width: 1200px !important;
}

/* logo */
.header-logo2 a img {
    width: 400px !important;
}

/* nav */
.will-sticky .sticky-active {
    position: absolute !important;
}

.menu-style4>ul>li::before {
    content: none !important;
}

.menu-style4>ul>li {
    margin: 0px 10px !important;
}


@media(min-width:1000px) and (max-width:1300px) {
    .menu-style4>ul>li {
        margin: 0px 5px !important;
    }
}

.social-links4 li {
    padding-right: 2px !important;
    margin-right: 2px !important;
}

.header-links.style3 i,
.header-links.style2 i {
    width: var(--icon-size, 30px);
    height: var(--icon-size, 30px);
    line-height: calc(var(--icon-size, 30px) - 2px);
    font-size: var(--icon-font-size, 16px);
    text-align: center;
    border: 1px solid #fff !important;
    border-radius: 50% !important;
}

.header-links.v4 ul li i {
    background-color: transparent !important;
    color: #fff !important;
}


.container-style4 {
    max-width: 1500px !important;

}

/* hero */

.banner-slide4 {
    background: none !important;
}


/* vision mission */

.service-style7 .service-body {
    margin: 0px 0px 40px 0px !important;
}


.service-style7.color1 .service-body::before {
    background-color: #6dbb00 !important;
}

.service-style7 .service-text,
.layout4 h3 {
    color: #fff !important;
}


@media(max-width:767px) {
    body {
        overflow-x: hidden !important;
    }

    .service-style7 .service-body {
        margin: 0px 0px 0px 0px !important;
    }
}

.service-layout8 {
    margin-top: -50px !important;
}

.service-layout8 {
    margin-top: 70px !important;
}

/* REMOVE interfering layer */
.service-style7 .service-body::before {
    display: none !important;
}


/* Fix card */
.service-style7 {
    border-radius: 15px;
    overflow: hidden;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    background-size: cover;
    background-position: center;
    transition: 0.4s ease;
}

/* Default colors */
.color1 {
    background: #7ac70c;
}

.color2 {
    background: #2d63c8;
}

.color3 {
    background: #e91e63;
}

/* Hover image (clean replace) */
.color1:hover {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../img/kalai-image/home/vision-1-img.jpg') center/cover no-repeat !important;
}

.color2:hover {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../img/kalai-image/home/mission-1-img.jpg') center/cover no-repeat !important;
}

.color3:hover {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../img/kalai-image/home/value-1-img.jpg') center/cover no-repeat !important;
}

/* Content */
.service-body {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

/* Text hover */
.service-style7:hover .service-title,
.service-style7:hover .service-text {
    color: #fff !important;
}

/* Smooth effect */
.service-style7:hover {
    transform: translateY(-6px);
}




/* facilities */
.title-area-four h2 {
    color: #004fc8 !important;
}

.feature-content5 h6 {
    margin: 0px 0px 0px 0px !important;
}

.feature-content5 h6 a {
    color: #000 !important;
    font-family: "Playfair Display", serif !important;
}

.feature-img5 img {
    height: 250px !important;
    width: 250px !important;
}

.slick-slide img {
    border-radius: none !important;
}


/* Card base */
.feature-box5 {
    transition: all 0.3s ease;
    border-radius: 20px;
}

/* Lift effect */
.feature-box5:hover {
    transform: translateY(-12px);
}

/* Image smooth zoom (optional but looks 🔥) */
.feature-img5 img {
    transition: 0.4s ease;
}

.feature-box5:hover .feature-img5 img {
    transform: scale(1.05);
}

/* Title slight animation */
.feature-content5 h6 {
    transition: 0.3s ease;
}

.feature-box5:hover .feature-content5 h6 {
    color: #ffcc00;
    /* change if needed */
}




/* why choose */
/* Initial state */
.activity-img img {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

/* When visible */
.activity-img.show img {
    opacity: 1;
    transform: scale(1);
}

/* Hover zoom effect */
.activity-img img:hover {
    transform: scale(1.08);
}

.activity-img-re img {
    border-radius: 100px !important;
}


/* activities */
/* Make card interactive */
.team-card3 {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Image zoom effect */
.team-img3 img {
    transition: 0.4s ease;
    padding-top: 40px !important;
}

/* Overlay effect using pseudo */
.team-card3::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 221, 221, 0.5);
    opacity: 0;
    transition: 0.4s ease;
    border-radius: 20px;
}

/* Keep text above overlay */
.team-content3 {
    position: relative;
    z-index: 2;
    transition: 0.4s ease;
}

/* Hide extra text */
.extra-text {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease;
}

/* HOVER (desktop) */
.team-card3:hover img {
    transform: scale(1.1);
}

.team-card3:hover::after {
    opacity: 1;
}

.team-card3:hover .extra-text {
    opacity: 1;
    max-height: 100px;
    margin-top: 10px;
    color: #414040;
}

.team-card3:hover .team-content3 {
    color: #fff;
}

/* CLICK (mobile) */
.team-card3.active::after {
    opacity: 1;
}

.team-card3.active img {
    transform: scale(1.1);
}

.team-card3.active .extra-text {
    opacity: 1;
    max-height: 100px;
    margin-top: 10px;
    color: #fff;
}

.team-card3.active .team-content3 {
    color: #fff;
}

.title-area-four.active{
    margin-bottom: 50px !important;
}

/* activity-new */
.team-img3 {
    width: 270px !important;

}

.team-img3 img {
    border-radius: 50px 0px 50px 0px !important;
}

.team-card3::before {
    height: 405px !important;
}

.team-content3 .name {
    font-size: 22px !important;
}

.team-content3 {
    padding: 24px 0px 16px !important;
}

.team-content3 .name a {
    color: crimson !important;
}

.slick-track>[class*=col] {
    padding-right: 0px !important;
}

/* gallery */
.gallery-style1 .gallery-img:after,
.gallery-style1 .gallery-img:before {
    background-color: #0050c859 !important;
}

/* footer */

.footer-img p a img {
    width: 50px !important;
}

.footer-img img {
    width: 260px !important;
}

.widget-area {
    padding-top: 50px !important;
    padding-bottom: 0px !important;
}

.copyright-wrap {
    padding: 5px 0px !important;
    background-color: #d4b062 !important;
    border-top: 1px solid #fff !important;
}

.copyright-text {
    color: #fff !important;
}


.footer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-info i {
    min-width: 42px;
    margin-top: 5px;
}

.footer-info a {
    display: block;
}

.footer-widget .widget_title {
    margin-bottom: 15px !important;
    margin-left: 30px !important;
}


@media(max-width:767px) {

    /* body */

    :root {
        --bs-gutter-x: 30px !important;
    }

    body {
        overflow-x: hidden !important;
    }

    .re-justify {
        text-align: justify;
    }

    .row {
        margin-right: 0px !important;
    }

    /* nav start */
    .container-style4 {
        padding: 5px 0px 5px 30px !important;
    }

    .vs-menu-toggle {
        margin-right: 10px !important;
    }

    .header-logo2 {
        padding: 8px 0px !important;
        width: 300px !important;
    }

    /* nav end */
    /* hero start */
    .slides img {
        height: 500px !important;
    }

    .row:not([class*=gx-]) {
        --bs-gutter-x: 0px !important;
    }

    .vs-hero-wrapper4 {
        height: 45vh !important;
    }

    /* hero end */
    /* vision */
    /* .service-style7 .service-body {
        margin: -47px 0px 70px 0px !important;
    } */

    .space-extra-bottom {
        padding-bottom: 0px !important;
    }

    .space-top {
        padding-top: 30px !important;
    }

    /* vision end */


    /* about */
    .re-font-mobile {
        font-size: 28px !important;
    }

    /* facilities start */
    .slick-track>[class*=col] {
        padding-right: 40px !important;
        padding-left: 40px !important;
    }

    .space {
        padding-bottom: 30px !important;
    }

    .feature-img5 img {
        height: 360px !important;
        width: 330px !important;
    }

    /* facilities end */
    /* why choose start */
    .title-area-four.active h2 {
        line-height: 40px !important;
    }

    .container-style4 {
        padding: 0px 20px 0px 20px !important;
    }

    /* why choose end */
    .activity-box {
        padding-left: 0px !important;
    }

    .title-area-four.active{
        margin-bottom: 40px !important;
    }

    /* activities start */
    .slick-track>[class*=col] {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    /* footer */
    .re-padding {
        padding-bottom: 30px !important;
    }
}