/* ============================================================
   home.min.css  —  Seraphim Homepage Styles
   ============================================================ */
.tp-section-title {
        text-transform: capitalize;
    }

/* ---- UTILITY CLASSES ---- */
.mb-50 {
    margin-bottom: 50px !important;
}

.mb-60 {
    margin-bottom: 60px !important;
}

.mt-50 {
    margin-top: 50px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-40 {
    margin-top: 40px !important;
}


/* ============================================================
   ABOUT SECTION COUNTERS
   ============================================================ */
/*.counter-sectio.ab {*/
/*    display: flex;*/
/*    gap: 50px;*/
/*    margin-top: 50px;*/
/*    justify-content: flex-start;*/
/*}*/

.counter-number.ab {
    font-size: 48px;
    color: #fff;
    font-weight: 500;
}

.counter-label.ab {
    font-size: 14px;
    color: #BBBBBB;
}


/* ============================================================
   SERVICES ACCORDION
   ============================================================ */

.service-item {
    position: relative;
    border-bottom: 1px solid #e4e4e4;
    transition: background 0.3s;
}

/* Watermark number */
.service-item::after {
    content: attr(data-index);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    font-weight: 300;
    color: #f0f0f0;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    transition: color 0.3s;
}

.service-item.active::after {
    color: #eaeaea;
}

/* Header row */
.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 120px 28px 0;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.service-left {
    display: flex;
    align-items: center;
    gap: 22px;
}

.service-icon {
    width: 62px;
    height: 62px;
    background: #1d2a50;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.service-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.service-toggle {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d2a50;
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
}

.service-item.active .service-toggle {
    background: #1d2a50;
    color: #fff;
    border-color: #1d2a50;
}

.service-body {
    display: none;
    padding: 0 200px 80px 84px;
    position: static;
    animation: fadeSlideIn 0.35s ease;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-body p {
    color: #444;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 22px;
    max-width: 580px;
}

.service-features {
    display: flex;
    gap: 40px;
    margin-bottom: 28px;
}

.feature-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-col span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #1d2a50;
    font-weight: 500;
}

.feature-col span i.bi-diamond-fill {
    color: #f7bb03;
    font-size: 8px;
    flex-shrink: 0;
}




/* ============================================================
   AWARDS / STORY SECTION
   ============================================================ */
.our-story-section {
    background: #f7bb03;
}

.button-flex {
    align-items: center;
    gap: 10px;
    height: 30px;
    width: 130px;
    padding: 1px 13px;
    text-decoration: none;
    white-space: nowrap;
    z-index: 2;
    transition: background 0.25s, transform 0.2s;
}


/* ============================================================
   OUR LEADERSHIP
   ============================================================ */
.leadership-section {
    position: relative;
    overflow: hidden;
}

.leadership-main-title {
    font-size: 54px;
    font-weight: 500;
    color: #1d2a50;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.btn-meet-team {
    display: inline-block;
    background-color: #f7bb03;
    color: #1d2a50;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-meet-team:hover {
    background-color: #1d2a50;
    color: #fff;
    transform: translateY(-2px);
}

.leadership-desc {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    padding-top: 10px;
}

.leadership-cards-outer {
    position: relative;
    padding: 20px 0;
}

.leadership-decor.left {
    position: absolute;
    top: 86%;
    left: 3%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    width: 10%;
}



.leadership-decor.right {
    position: absolute;
    top: 40%;
    right: -1%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    width: 16%;
}


.leadership-container {
    width: 80%;
    margin: 0 auto;
}

.team-panel-wrapper {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.team-panel {
    display: flex;
    height: 480px;
}

.team-card {
    position: relative;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0;
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s ease;
}

.team-card:hover img {
    transform: scale(1.08);
}

.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    transition: opacity 0.4s;
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px;
    z-index: 2;
    transition: all 0.4s;
    text-align: center;
}

.team-card:hover .team-info {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.team-bio {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s 0.1s;
    pointer-events: none;
    text-align: center;
}

.team-card:hover .team-bio {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.team-info h5,
.team-bio h5 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 5px;
}

.team-info span,
.team-bio span {
    font-size: 13px;
    color: #ccc;
    display: block;
    margin-bottom: 15px;
}

.team-bio span {
    color: #f7bb03;
}

.team-bio p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-plus {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d2a50;
    font-size: 18px;
    margin: 0 auto;
    transition: all 0.3s;
}

.team-plus.active,
.team-card:hover .team-info .team-plus,
.team-card.is-active .team-info .team-plus {
    background: #f7bb03;
    border-color: #f7bb03;
    color: #1d2a50;
    transform: rotate(45deg);
}

.team-card+.team-card {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}


/* ============================================================
   SERAPHIM IN NEWS (BLOG)
   ============================================================ */
.news-featured {
    display: block;
    position: relative;
    overflow: hidden;
    height: 95%;
    min-height: 380px;
    text-decoration: none;
}

.news-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.news-featured:hover img {
    transform: scale(1.04);
}

.news-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 30, 60, 0.92) 0%, rgba(20, 30, 60, 0.1) 55%);
    z-index: 1;
}

.news-featured-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    z-index: 2;
}

.news-featured-body h3 {
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.35;
}

.news-featured-body p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 14px;
}

.news-list {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-item.ab {
    border-top: none !important;
    padding: 1px !important;
}

.news-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    text-decoration: none;
    transition: opacity 0.2s;
}

.news-item:first-child {
    border-top: 1px solid #ebebeb;
}
.news-item:first-child {
    border-top: none;
    padding-top: 0;
}

.news-item:hover {
    opacity: 0.8;
}

.news-thumb {
    width: 140px;
    height: 100px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.news-item:hover .news-thumb img {
    transform: scale(1.06);
}

.news-content h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1d2a50;
    margin: 0 0 6px;
    line-height: 1.4;
}

.news-content p {
    font-size: 12px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 3px;
}

.news-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #999;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-meta i {
    font-size: 11px;
}


/* ============================================================
   TESTIMONIALS — WHAT CLIENTS SAY
   ============================================================ */

/* Outer wrapper: constrains width, centres everything */
.testimonial-wrapper {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 0 60px;
    /* horizontal room for the big quote marks */
    position: relative;
}

/* ---- Decorative quote mark icons ---- */
.quote-mark {
    position: absolute;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f7bb03;
    opacity: 0.18;
    pointer-events: none;
}

.quote-mark svg {
    width: 100%;
    height: 100%;
}

.testimonial-wrapper .quote-left1 {
    top: -20px;
    left: -20px;
}

.testimonial-wrapper .quote-left2 {
    top: -20px;
    left: -90px;
}

.testimonial-wrapper .quote-right1 {
    top: -20px;
    right: -20px;
}

.testimonial-wrapper .quote-right2 {
    top: -20px;
    right: -90px;
}


/* ============================================================
   TESTIMONIAL ITEM
   Each .testimonial-item wraps BOTH the quote text and the
   author block — no separate containers, no absolute positioning.
   ============================================================ */
.testimonial-items {
    /* Stacking context so only one child shows at a time */
    position: relative;
    min-height: 50px;
    /* prevent layout jump during transition */
}

.testimonial-item {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
}

.testimonial-item.active {
    display: block;
    opacity: 1;
    animation: testiIn 0.45s ease forwards;
}

@keyframes testiIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quote text */
.testi-text {
    color: #161616;
    font-size: 15px;
    line-height: 1.8;

}

/* Author block — HIDDEN now because we moved it above the logos */
.testimonial-item .testi-author {
    display: none;
}


/* ============================================================
   TESTIMONIAL LOGO SLIDER (controller strip)
   ============================================================ */

/* The wrapper that holds prev arrow | track | next arrow */
.testi-logo-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-track-outer {
    flex: 1;
    overflow: hidden;
}

/* Individual logo item — click target */
.logo-item {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Author name above logo */
.logo-item-author {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    text-align: center;
    margin-bottom: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Author name styling */
.logo-item-author strong {
    font-size: 12px;
    line-height: 0.8;
    font-weight: 700;
    color: #1d2a50;
    display: block;
}

.logo-item-author span {
    font-size: 10px;
    line-height: 3.3;
    font-style: italic;
    color: #1d2a50;
}

/* ✅ SHOW ONLY ACTIVE */
.logo-item.logo-item--active .logo-item-author {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Logo card box */
.logo-box {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Active logo: lifted + highlighted border */
.logo-box--active {
    transform: translateY(-15px);
    border-color: #1d2a50;
    box-shadow: 0 10px 20px rgba(29, 42, 80, 0.12);
}

.logo-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Don't double-lift if already active */
.logo-box--active:hover {
    transform: translateY(-10px);
}

.logo-box img {
    max-height: 36px;
    max-width: 110px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.65;
    transition: filter 0.3s, opacity 0.3s;
}

.logo-box--active img,
.logo-box:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Arrow buttons */
.testi-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 14px;
    color: #1d2a50;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.testi-arrow:hover {
    background: #1d2a50;
    border-color: #1d2a50;
    color: #fff;
}


/* ============================================================
   CLIENT SECTION (logo strip in hero area)
   ============================================================ */
.client-count-text {
    color: #161616;
    margin-left: -90%;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
    .leadership-container {
        width: 100% !important;
        max-width: 100%;
        padding: 0 15px;
    }

    .team-panel {
        height: auto;
        display: block;
    }

    .team-card {
        flex: none !important;
        height: 460px;
        border-left: none !important;
        border-radius: 12px;
        margin-bottom: 0;
    }

    .news-featured {
        min-height: 280px;
    }

    

    .service-body {
        padding: 0 0 28px 0;
    }

    .service-header {
        padding: 20px 60px 20px 0;
    }

    .service-toggle {
        display: none !important;
    }

    .testimonial-wrapper {
        padding: 0 20px;
    }

    .testimonial-wrapper .quote-mark {
        width: 80px;
        height: 80px;
        opacity: 0.1;
    }

    .leadership-desc-responsive {
        width: 100% !important;
    }

    .leadership-decor {
        display: none;
    }
}

@media (max-width: 991px) {
    section.tp-hero-area.tp-hero-space.pt-240.pb-140.p-relative {
        padding-top: 150px !important;
        padding-bottom: 60px !important;
    }

    .tp-hero-title {
        font-size: 36px !important;
        line-height: 1.2 !important;
    }

    .tp-section-title {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 767px) {
    section.tp-hero-area.tp-hero-space.pt-240.pb-140.p-relative {
        padding-top: 120px !important;
        padding-bottom: 40px !important;
    }

    .tp-hero-title {
        font-size: 28px !important;
    }

    .tp-section-title {
        font-size: 28px !important;
    }

    .testimonial-section,
    .leadership-section,
    .news-section,
    .faq-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .client-count-text {
        margin-left: 0 !important;
        text-align: center;
    }

    .service-header {
        padding: 18px 50px 18px 0;
    }

    .service-item::after {
        font-size: 60px;
    }

    .service-features {
        flex-direction: column;
        gap: 8px;
    }

    .news-item {
        flex-direction: column;
    }

    .news-thumb {
        width: 100%;
        height: 160px;
    }

    .tp-about-box.pl-42 {
        padding-left: 0 !important;
    }

    

    .counter-item {
        text-align: center;
    }

    .counter-number.ab {
        font-size: 40px;
    }

    .counter-label.ab {
        font-size: 13px;
    }

    .testi-text {
        font-size: 14px;
    }

    .globalBtn.three.button-flex.d-block {
        display: flex !important;
        justify-content: center;
        width: 100%;
        max-width: 110px;
    }

    .our-story-section .tp-section-title {
        text-align: center;
    }
}

/* Leadership description alignment */
.leadership-desc-responsive {
    width: 70%;
    margin-left: auto;
    transition: width 0.3s ease;
}