/* =========================
   Header / Logo
   ========================= */

.site-logo img {
    max-height: 100px;
    width: auto;
}

.site-logo img {
    transition: max-height 0.3s ease;
}

@media (max-width: 768px) {
    .site-logo img {
        max-height: 60px;
    }
}

/* =====================================================
   HERO / BANNER SECTION (FIXED & STABLE)
   ===================================================== */

/* Banner wrapper */
.banner__section {
    position: relative;
    width: 100%;
    height: 750px;
    /* Target height */
    max-height: 750px;
    overflow: hidden;
    /* 🔑 prevents bleed */
    background: #000;
    /* fallback */
}

/* Swiper must obey banner height */
.banner__section .swiper {
    height: 100%;
}

.banner__section .swiper-wrapper {
    height: 100%;
}

.banner__section .swiper-slide {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/* Background image layer */
.banner__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    z-index: 1;
}

/* Dark overlay (no gaps, no bleed) */
.banner__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
}

/* Content above image */
.banner__content {
    position: relative;
    z-index: 3;
    padding-top: 120px;
}

/* =====================================================
   BANNER TEXT GRADIENT (WHITE → GREEN)
   ===================================================== */

.banner__section h1,
.banner__section h2,
.banner__section h3,
.banner__section h4,
.banner__section h5,
.banner__section h6 {
    background: linear-gradient(90deg, #ffffff 0%, #23AD75 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Improve contrast */
.banner__section h1,
.banner__section h2 {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Paragraph text */
.banner__section p {
    color: #ffffff;
    max-width: 520px;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.banner__button {
    margin-top: 30px;
}

.banner__button .cmn--btn {
    margin-right: 15px;
}

/* =====================================================
   ARROWS
   ===================================================== */

.arry__button {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
}

.arry__button button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin: 8px 0;
    transition: background 0.3s ease;
}

.arry__button button:hover {
    background: #23AD75;
}

/* =====================================================
   HARD STOP: NEXT SECTION BLEED
   ===================================================== */

.banner__section+section {
    margin-top: 0 !important;
}

section {
    position: relative;
    overflow-x: hidden;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1200px) {
    .banner__section {
        height: 650px;
    }
}

@media (max-width: 992px) {
    .banner__section {
        height: 600px;
    }

    .banner__content {
        padding-top: 90px;
    }
}

@media (max-width: 768px) {
    .banner__section {
        height: 500px;
    }

    .banner__content {
        padding-top: 70px;
    }

    .banner__section h1,
    .banner__section h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .banner__section {
        height: 450px;
    }

    .banner__section h1,
    .banner__section h2 {
        font-size: 26px;
    }
}


/* =====================================================
   BANNER TEXT GRADIENT (WHITE → GREEN)
   ===================================================== */

.banner__section h1,
.banner__section h2,
.banner__section h3,
.banner__section h4,
.banner__section h5,
.banner__section h6 {
    background: linear-gradient(90deg, #ffffff 0%, #23AD75 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Optional shadow for contrast */
.banner__section h1,
.banner__section h2 {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Paragraph styling */
.banner__section p {
    color: #ffffff;
    max-width: 520px;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.banner__button {
    margin-top: 30px;
}

.banner__button .cmn--btn {
    margin-right: 15px;
}

/* =====================================================
   ARROWS
   ===================================================== */

.arry__button {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.arry__button button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin: 8px 0;
    transition: background 0.3s ease;
}

.arry__button button:hover {
    background: #23AD75;
}

.heading-gradient-green-black {
    background: linear-gradient(90deg, #23AD75 0%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* =====================================================
   TESTIMONIAL THUMBNAIL IMAGE
   ===================================================== */
.testi__thumb img {
    max-width: 50px;
    max-height: 50px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Team images – force uniform circular avatars */
.team__thumb {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    overflow: hidden;
    flex-shrink: 0;
}

.team__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team__items {
    position: relative;
}

.team-name {
    font-size: 1rem;
    line-height: 1.3;
    min-height: 2.6em;
    /* space for up to 2 lines */
    text-align: center;
}

.team-role-badge {
    display: inline-block;
    max-width: 100%;
    padding: 4px 10px;
    font-size: 0.85rem;
    background: #f5f5f5;
    color: #333;
    border-radius: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Highlight Sign In menu item */
.nav-signin>a {
    background: #ffffff;
    color: #23ad75 !important;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Hover effect */
.nav-signin>a:hover {
    background: #1e8f61;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.partners__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: center;
}

/* Small tablets */
@media (min-width: 576px) {
    .partners__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets */
@media (min-width: 768px) {
    .partners__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop */
@media (min-width: 992px) {
    .partners__grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .partners__grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.partner__item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner__item img {
    max-height: 70px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner__item img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 992px) {
    .banner__content {
        padding-top: 90px;
    }
}

@media (max-width: 768px) {
    .banner__section {
        min-height: 500px;
    }

    .banner__content {
        padding-top: 70px;
    }

    .banner__section h1,
    .banner__section h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .banner__section {
        min-height: 450px;
    }

    .banner__section h1,
    .banner__section h2 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .team__thumb {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .team__thumb {
        width: 120px;
        height: 120px;
    }
}