﻿
.tp-testimonial-content p {
    font-size: 17px;
    text-align: justify;
}

.tp-section-subtitle {
    font-style: normal;
}

@media screen and (max-width: 768px) {
    .tp-hero-title {
        font-size: 14px;
        /* padding: 0px 0; */
        /*padding-bottom: 32px;*/
        letter-spacing: 1px;
        line-height: 28px;
    }

    .tp-hero-bg {
        background-size: contain;
    }

    .tp-hero-item {
        padding-top: 130px;
        padding-bottom: 55px;
    }

    .tp-service-wrap {
        border-radius: 14px;
        padding: 15px 32px 1px 20px;
        margin-bottom: 38px;
        position: relative;
        z-index: 1;
    }

    .tp-service-item {
        padding-top: 29px;
    }

    .tp-btn {
        padding: 8px 34px;
        margin-bottom: 30px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (max-width: 767px) {
    .tp-video-wrap {
        padding-top: 40px;
        padding-bottom: 120px;
        justify-content: center;
    }
}

@media(max-width:768px) {
    section.testimonial-area.tp-testimonial-bg.fix.p-relative {
        background-size: contain !important;
    }
}

.tp-testimonial-wrapper {
    margin-left: 50px;
    margin-right: -88px;
    margin-bottom: 134px;
    padding: 73px 88px 30px 58px;
    position: relative;
    z-index: 1;
    border-radius: 0px 0px 20px 20px;
    background: #FEFDFC;
}

.tp-about-list-title {
    font-size: 16px;
    margin-bottom: 0;
    line-height: 1;
    font-weight: 600;
}

p.school-info {
    text-align: justify;
}



.logo-slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-slider {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo-track {
    display: flex;
    animation: scroll 20s linear infinite;
    width: max-content;
}

.logo-item {
    flex: 0 0 auto;
    width: 180px;
    height: 100px;
    margin-right: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #6b6d7138;
    border-radius: 3px;
}

    .logo-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 10px;
        box-sizing: border-box;
    }

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .logo-item {
        width: 120px;
        height: 80px;
        margin-right: 20px;
    }

    .tp-hero-title {
        color: var(--tp-common-white);
        font-size: 24px !important;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 0 !important;
        margin-bottom: 67px;
    }
}

.tp-hero-title {
    color: var(--tp-common-white);
    font-size: 70px;
    /* font-size: 100px; */
    font-weight: 600;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 27px;
}

@media(max-width:1024px) {
    .tp-service-title {
        font-size: 17px;
        line-height: 1.3;
        margin-bottom: 3px;
    }
}

/*<%--==================logo ====================--%>*/
.logo-carousel-unique {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.logo-track-unique {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.6s ease;
    gap: 40px !important;
}

.logo-item-unique {
    flex: 0 0 auto;
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1; /* Removed dimming */
    filter: none; /* Removed grayscale */
    transition: all 0.4s ease;
}

    .logo-item-unique img {
        max-width: 100%;
        max-height: 100px;
        transition: transform 0.4s ease;
    }

    .logo-item-unique.active-unique {
        transform: scale(1.2);
        border: 2px solid #d1a550;
        border-radius: 20px;
        background: white;
        box-shadow: 0 0 15px rgb(209 165 80 / 38%);
        padding: 10px;
    }

.carousel-btn-unique {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: #b22b2f;
    color: white;
    border: none;
    font-size: 24px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

    .carousel-btn-unique:hover {
        background: #b22b2f;
    }

.carousel-prev-unique {
    left: 20px;
}

.carousel-next-unique {
    right: 20px;
}

.tp-testimonial-avatar img {
    border: 1px solid #6b6d71;
}

@media (max-width: 768px) {
    .logo-carousel-unique {
        padding: 40px 0;
        position: relative;
    }

    .logo-track-unique {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        flex-wrap: nowrap;
        overflow: visible;
        width: 100%;
    }

    .logo-item-unique {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .logo-item-unique img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .logo-item-unique.active-unique {
            transform: scale(1.1);
            padding: 6px;
            border: 2px solid #d1a550;
            border-radius: 12px;
            box-shadow: 0 0 8px rgba(209, 165, 80, 0.3);
            background: #fff;
        }

    /* Show buttons close together at bottom right */
    .carousel-btn-unique {
        display: block;
        position: absolute;
        bottom: 10px;
        top: auto;
        transform: none;
        width: 40px;
        height: 40px;
        font-size: 20px;
        border-radius: 50%;
        z-index: 10;
    }

    .carousel-prev-unique {
        right: 55px; /* adjust to move closer to next */
    }

    .carousel-next-unique {
        right: 10px;
    }

    /* Hide scrollbar */
    .logo-track-unique::-webkit-scrollbar {
        display: none;
    }

    .logo-track-unique {
        scrollbar-width: none;
    }
}

/* Container that holds the entire slider */
.uni-slider-container {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    max-width: 100%;
    padding-bottom: 60px;
}

/* Track that slides left/right */
.uni-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* Each individual slide */
.uni-slide {
    flex: 0 0 16.66%; /* 6 slides per view */
    box-sizing: border-box;
    padding: 5px; /* Reduced gap between slides */
}

/* Content inside the slide (image wrapper) */
.uni-slide-content {
    border-radius: 10px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

    /* Ensures images fit within slides */
    .uni-slide-content img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 10px;
        display: block;
    }

/* Navigation button container */
.uni-slider-nav {
    position: absolute;
    bottom: 4px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

    /* Button styling */
    .uni-slider-nav button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: none;
        background-color: #fff;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
        font-size: 20px;
        cursor: pointer;
        transition: background 0.2s ease, transform 0.2s ease;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        /* Hover effect */
        .uni-slider-nav button:hover {
            background-color: #eaeaea;
            transform: scale(1.1);
        }

/* Responsive Design */

@media (max-width: 1200px) {
    .uni-slide {
        flex: 0 0 20%; /* 5 slides */
    }
}

@media (max-width: 992px) {
    .uni-slide {
        flex: 0 0 33.33%; /* 3 slides */
    }
}

@media (max-width: 768px) {
    .uni-slide {
        flex: 0 0 33.33%; /* 2 slides */
    }

    .uni-slide-content {
        height: 160px;
    }

    .uni-slider-nav {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .uni-slide {
        flex: 0 0 33.33%; /* 2 slides */
        padding: 4px;
    }

    .uni-slide-content {
        height: 140px;
    }

    .uni-slider-nav {
        right: 10px;
    }

        .uni-slider-nav button {
            width: 36px;
            height: 36px;
            font-size: 18px;
        }
}

@media (max-width: 500px) {
    .uni-slide {
        flex: 0 0 33.33%; /* Still 2 slides */
        padding: 4px;
    }

    .uni-slide-content {
        height: 120px;
    }

    .uni-slider-nav {
        right: 10px;
    }

        .uni-slider-nav button {
            width: 32px;
            height: 32px;
            font-size: 16px;
        }
}





.uni-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.uni-img-main {
    width: 90%; /* Main/original image size */
    height: auto;
    transition: filter 0.3s ease;
    z-index: 1;
    position: relative;
    display: block;
    margin: 0 auto;
}

/* Darken original image on hover */
.uni-img-wrapper:hover .uni-img-main {
    filter: brightness(50%);
}

/* Popup duplicate image (significantly smaller and centered) */
.uni-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%; /* Smaller than .uni-img-main */
    height: auto;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
    z-index: 2;
    pointer-events: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Show popup on hover */
.uni-img-wrapper:hover .uni-popup {
    transform: translate(-50%, -50%) scale(1);
}

.logo-track-unique {
    grid-gap: 4px;
}

section.event-area.grey-bg {
    padding-top: 85px;
    padding-bottom: 200px;
}


/*stop requeters*/

.rec_mainbox {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.rec_listing {
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c7b8b8;
    background-color: #FFF;
    padding: 6px;
    transition-duration: 0.5s;
    border-radius: 8px;
    height: 82px;
    width: 150px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .rec_listing img {
        max-width: 100%;
        width: 100%;
        height: 100%;
        object-fit: contain;
        
    }
    .rec_listing:hover {
        transform: scale(2);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

        .aButton {
            transition: 2.0s ease all;
            -moz-transition: 1.0s ease all;
            -webkit-transition: 1.0s ease all;
            box-sizing: border-box;
            -webkit-box-sizing: border-box;
        }

    .aButton:hover {
        transition: 2.0s ease all;
        -moz-transition: 1.0s ease all;
        -webkit-transition: 1.0s ease all;
        /*background-color: #ffd700;*/
        color: #696969;
    }

.rotateY {
    cursor: pointer;
}

    .rotateY:hover {
        transform: rotateY(360deg);
        -moz-transform: rotateY(360deg);
        -webkit-transform: rotateY(360deg);
        transform-origin: center;
        -moz-transform-origin: center;
        -webkit-transform-origin: center;
        transition: transform 2.0s ease all;
        -moz-transition: -moz-transform 1.0s ease all;
        -webkit-transition: -webkit-transform 1.0s ease all;
    }

/*stop requeters end*/

@media(max-width:600px) {
    p.event-pra {
        text-align: justify;
        padding: 0 15px 0 15px;
    }

    .school-name {
        padding: 20px;
    }

    .card-container {
        padding: 20px 0 0 20px;
    }

    .tp-footer-main.grey-bg.pt-80.pb-55 {
        padding: 25px;
    }

    .tp-testimonial-wrapper {
        margin-left: 10px;
        margin-right: 0;
        margin-bottom: 75px;
        padding: 73px 88px 30px 58px;
        position: relative;
        border-radius: 0px 0px 20px 20px;
        background: #FEFDFC;
    }
}


@media(max-width:768px) {
    section.event-area.grey-bg {
        padding-top: 60px;
        padding-bottom: 50px;
    }

    .tp-section-title {
        font-size: 30px;
        line-height: 1.07;
        padding-left: 20px;
    }

    .tp-section-2-title {
        font-size: 30px;
        text-align: center;
    }

    .tp-section-subtitle {
        padding-left: 20px;
    }
}

@media only screen and (min-width: 1440px) and (max-width: 1542px) {
    .tp-testimonial-wrapper {
        padding-left: 109px;
    }
}
