﻿

.basma-team-management {
    position: relative;
    padding: 105px 20px;
    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(176, 138, 69, 0.08),
            transparent 30%
        ),
        #f8faf8;
    overflow: hidden;
}

.team-management-container {
    max-width: 1180px;
    margin: auto;
}


/* ==========================================
   HEADING
========================================== */

.tm-heading {
    max-width: 760px;
    margin: 0 auto 65px;
    text-align: center;
}

.tm-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #b08a45;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.tm-heading h2 {
    margin: 0;
    color: #173f35;
    font-size: clamp(35px, 5vw, 52px);
    line-height: 1.2;
}

.tm-heading h2 strong {
    display: block;
    color: #b08a45;
}

.tm-divider {
    width: 65px;
    height: 3px;
    margin: 22px auto;
    background: #b08a45;
    border-radius: 20px;
}

.tm-heading p {
    margin: 0;
    color: #68756f;
    font-size: 15px;
    line-height: 1.8;
}


/* ==========================================
   INTRODUCTION
========================================== */

.tm-intro {
    display: grid;
    grid-template-columns: 230px 1fr;
    align-items: center;
    gap: 40px;
    padding: 38px 45px;
    margin-bottom: 65px;
    background: #173f35;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(23,63,53,0.13);
}

.tm-intro-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 30px;
    border-right: 1px solid rgba(255,255,255,0.16);
}

.tm-round-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 53px;
    height: 53px;
    flex-shrink: 0;
    border: 1px solid rgba(224,193,127,0.55);
    border-radius: 50%;
    color: #e0c17f;
    font-size: 20px;
}

.tm-intro-label span {
    color: #e0c17f;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 1.5px;
}

.tm-intro-content h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 27px;
}

.tm-intro-content h3 strong {
    color: #e0c17f;
}

.tm-intro-content p {
    margin: 0;
    color: rgba(255,255,255,0.74);
    font-size: 13px;
    line-height: 1.8;
}

.tm-intro-content p strong {
    color: #ffffff;
}


/* ==========================================
   MAIN CONTENT
========================================== */

.tm-main {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 75px;
    align-items: start;
}


/* ==========================================
   CONTENT
========================================== */

.tm-content {
    padding-top: 8px;
}

.tm-small-title {
    color: #b08a45;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.tm-content h3 {
    margin: 10px 0 22px;
    color: #173f35;
    font-size: 35px;
    line-height: 1.25;
}

.tm-content h3 strong {
    color: #b08a45;
}

.tm-content p {
    margin: 0 0 18px;
    color: #68756f;
    font-size: 14px;
    line-height: 1.9;
}

.tm-content p strong {
    color: #31594e;
}


/* ==========================================
   PRINCIPLES
========================================== */

.tm-principles {
    display: grid;
    gap: 13px;
}

.tm-principle {
    position: relative;
    display: grid;
    grid-template-columns: 28px 48px 1fr;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid rgba(176,138,69,0.14);
    border-radius: 13px;
    transition: 0.3s ease;
}

.tm-principle:hover {
    transform: translateX(6px);
    border-color: rgba(176,138,69,0.32);
    box-shadow: 0 12px 30px rgba(23,63,53,0.08);
}

.tm-principle-number {
    color: #b08a45;
    font-size: 10px;
    font-weight: 700;
}

.tm-principle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f1eadf;
    color: #b08a45;
    font-size: 18px;
}

.tm-principle h4 {
    margin: 0 0 4px;
    color: #173f35;
    font-size: 15px;
}

.tm-principle p {
    margin: 0;
    color: #7a8580;
    font-size: 11px;
    line-height: 1.6;
}


/* ==========================================
   CULTURE BANNER
========================================== */

.tm-culture {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 45px;
    align-items: center;
    margin-top: 75px;
    padding: 35px 40px;
    background:
        linear-gradient(
            135deg,
            #173f35,
            #24594c
        );
    border-radius: 17px;
}

.tm-culture-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.tm-culture-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    border: 1px solid rgba(224,193,127,0.5);
    border-radius: 50%;
    color: #e0c17f;
    font-size: 20px;
}

.tm-culture-left span {
    color: #e0c17f;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.tm-culture-left h3 {
    margin: 6px 0 0;
    color: #ffffff;
    font-size: 21px;
}

.tm-culture-right {
    padding-left: 35px;
    border-left: 1px solid rgba(255,255,255,0.15);
}

.tm-culture-right p {
    margin: 0;
    color: rgba(255,255,255,0.70);
    font-size: 12px;
    line-height: 1.8;
}

.tm-culture-right strong {
    color: #ffffff;
}


/* ==========================================
   BOTTOM VALUES
========================================== */

.tm-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 25px;
    border: 1px solid rgba(176,138,69,0.15);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
}

.tm-value {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 23px 25px;
    border-right: 1px solid rgba(176,138,69,0.12);
}

.tm-value:last-child {
    border-right: none;
}

.tm-value strong {
    color: #b08a45;
    font-size: 13px;
}

.tm-value span {
    color: #173f35;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 950px) {

    .tm-main {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .tm-content {
        max-width: 800px;
    }

    .tm-culture {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .tm-culture-right {
        padding-left: 0;
        padding-top: 20px;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    .tm-values {
        grid-template-columns: repeat(2, 1fr);
    }

    .tm-value:nth-child(2) {
        border-right: none;
    }

    .tm-value:nth-child(-n+2) {
        border-bottom: 1px solid rgba(176,138,69,0.12);
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

    .basma-team-management {
        padding: 70px 18px;
    }

    .tm-heading {
        margin-bottom: 45px;
    }

    .tm-heading h2 {
        font-size: 34px;
    }

    .tm-heading p {
        font-size: 14px;
    }

    .tm-intro {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 25px;
        margin-bottom: 45px;
    }

    .tm-intro-label {
        padding: 0 0 18px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.16);
    }

    .tm-intro-content h3 {
        font-size: 23px;
    }

    .tm-content h3 {
        font-size: 29px;
    }

    .tm-content p {
        font-size: 13px;
        line-height: 1.8;
    }

    .tm-principle {
        grid-template-columns: 25px 45px 1fr;
        gap: 12px;
        padding: 17px;
    }

    .tm-principle-icon {
        width: 45px;
        height: 45px;
    }

    .tm-culture {
        margin-top: 50px;
        padding: 28px 23px;
    }

    .tm-culture-left h3 {
        font-size: 18px;
    }

    .tm-values {
        grid-template-columns: 1fr;
    }

    .tm-value,
    .tm-value:nth-child(2) {
        border-right: none;
        border-bottom: 1px solid rgba(176,138,69,0.12);
    }

    .tm-value:last-child {
        border-bottom: none;
    }

}

/* ============================================
   Basma Al Mustaqbal - TEAM MANAGEMENT
   Fully Scoped CSS
============================================ */

.basma-team-section {
    width: 100%;
    padding: 90px 20px;
    background: #f7f8fa;
    box-sizing: border-box;
}

.basma-team-section *,
.basma-team-section *::before,
.basma-team-section *::after {
    box-sizing: border-box;
}


/* =========================
   CONTAINER
========================= */

.basma-team-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.basma-team-header {
    max-width: 780px;
    margin: 0 auto 55px;
    text-align: center;
}

.basma-team-subtitle {
    display: inline-block;
    margin-bottom: 12px;
    color: #b58a45;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.basma-team-header h2 {
    margin: 0 0 18px;
    color: #202b38;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
}

.basma-team-header p {
    margin: 0;
    color: #6d747c;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================
   TEAM GRID
========================= */

.basma-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* =========================
   TEAM CARD
========================= */

.basma-team-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    transition: all 0.35s ease;
}

.basma-team-card:hover {
    transform: translateY(-8px);
    border-color: #b58a45;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
}


/* =========================
   TEAM IMAGE
========================= */

.basma-team-image {
    position: relative;
    width: 100%;
    height: 330px;
    overflow: hidden;
    background: #eeeeee;
}

.basma-team-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.basma-team-card:hover .basma-team-image img {
    transform: scale(1.06);
}


/* =========================
   IMAGE OVERLAY
========================= */

.basma-team-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 25px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.70),
        transparent 55%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
}

.basma-team-card:hover .basma-team-overlay {
    opacity: 1;
}


/* =========================
   SOCIAL / CONTACT ICONS
========================= */

.basma-team-social {
    display: flex;
    gap: 10px;
}

.basma-team-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #b58a45;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.basma-team-social a:hover {
    background: #ffffff;
    color: #b58a45;
    transform: translateY(-3px);
}


/* =========================
   TEAM CONTENT
========================= */

.basma-team-content {
    padding: 25px 25px 28px;
    text-align: center;
}

.basma-team-content h3 {
    margin: 0 0 7px;
    color: #202b38;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;
}


/* =========================
   DESIGNATION
========================= */

.basma-team-designation {
    display: block;
    margin-bottom: 20px;
    color: #b58a45;
    font-size: 13px;
    font-weight: 600;
}


/* =========================
   CONTACT DETAILS
========================= */

.basma-team-contact {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-top: 18px;
    border-top: 1px solid #eeeeee;
}

.basma-team-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #68727b;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.3s ease;
}

.basma-team-contact a i {
    width: 18px;
    color: #b58a45;
    font-size: 13px;
}

.basma-team-contact a:hover {
    color: #b58a45;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .basma-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .basma-team-section {
        padding: 60px 15px;
    }

    .basma-team-header {
        margin-bottom: 35px;
    }

    .basma-team-header h2 {
        font-size: 30px;
    }

    .basma-team-header p {
        font-size: 14px;
    }

    .basma-team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .basma-team-image {
        height: 350px;
    }

    .basma-team-content {
        padding: 22px 20px 25px;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 380px) {

    .basma-team-image {
        height: 300px;
    }

    .basma-team-content h3 {
        font-size: 19px;
    }

}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 420px) {

    .tm-heading h2 {
        font-size: 30px;
    }

    .tm-intro-content h3 {
        font-size: 21px;
    }

    .tm-content h3 {
        font-size: 26px;
    }

    .tm-content p {
        font-size: 12.5px;
    }

    .tm-principle h4 {
        font-size: 14px;
    }

    .tm-principle p {
        font-size: 10.5px;
    }

}
