/* Team Page Specific Styles */

.page-team {
    background: #fff;
}

/* ── Carousel Section ───────────────────────────────────── */
.team-carousel-sec {
    padding: 0px 0;
    background: #fdfdfd;
}

.team-carousel .item {
    padding: 10px;
}

.team-quote-box {
    background: #009FE3; 
    color: #fff;
    padding: 20px;
    height: 180px; /* Reduced height to match reference */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 4px;
    position: relative;
}

.quote-inner i {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    opacity: 0.7;
}

.quote-inner p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

.team-slider-img {
    height: 180px; /* Reduced height to match reference */
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.team-slider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Owl dots & Nav styling */
.team-carousel {
    position: relative;
    padding: 0 30px;
}

.team-carousel .owl-nav {
    display: block !important;
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    pointer-events: none;
    transform: translateY(-50%);
}

.team-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    background: transparent !important;
    color: #333 !important;
    font-size: 36px !important;
    transition: color 0.3s ease;
}

.team-carousel .owl-nav button.owl-prev {
    left: -15px;
}

.team-carousel .owl-nav button.owl-next {
    right: -15px;
}

.team-carousel .owl-nav button:hover {
    color: #009FE3 !important;
}

.team-carousel .owl-dots {
    margin-top: 25px !important;
    text-align: center;
}

.team-carousel .owl-dot span {
    background: #ccc !important;
}

.team-carousel .owl-dot.active span {
    background: #009FE3 !important;
}

/* ── Members List ──────────────────────────────────────── */
.team-members-sec {
    padding: 40px 0;
}

.member-row {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px dashed #eee;
}

.member-row:last-child {
    border-bottom: none;
}

.member-photo-wrap {
    display: flex;
    justify-content: center;
}

.member-img-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--color-primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.member-info {
    padding-left: 30px;
}

.member-name {
    font-family: 'Bubblegum Sans', cursive;
    color: var(--color-primary-dark);
    font-size: 32px;
    margin: 0 0 5px;
}

.member-role {
    display: block;
    font-family: 'Dosis', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #b58b10;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.member-bio p {
    font-size: 17px;
    line-height: 1.8;
    color: #666;
}

/* ── Inside Look Section ────────────────────────────────── */
.team-inside-look {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.inside-look-content {
    max-width: 900px;
    margin: 0 auto;
}

.inside-look-content h2 {
    color: #2693df;
    font-family: 'Bubblegum Sans', cursive;
    font-size: 36px;
    margin-bottom: 25px;
}

.inside-look-content p {
    font-size: 20px;
    line-height: 1.6;
    color: #888;
}

/* Responsive */
@media (max-width: 767px) {
    .team-quote-box, .team-slider-img {
        height: 200px;
    }
    .member-info {
        padding-left: 0;
        margin-top: 25px;
        text-align: center;
    }
    .inside-look-content h2 {
        font-size: 28px;
    }
    .inside-look-content p {
        font-size: 17px;
    }
}
