/* ==========================================================
   ONEWINSOME TEAM PAGE
   assets/css/team.css
   COMPLETE & UNIFIED PREMIUM BUILD
========================================================== */

/* ==========================================================
   GLOBAL STYLES & SETUP
========================================================== */

.onewinsome-team-page {
    background: #ffffff;
    color: #021924;
}

.onewinsome-team-page .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.onewinsome-team-page section {
    position: relative;
    padding: 100px 0;
}

.onewinsome-team-page h1,
.onewinsome-team-page h2,
.onewinsome-team-page h3 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    color: #021924;
}

.onewinsome-team-page p {
    margin: 0 0 20px;
    line-height: 1.8;
    color: #5f6d75;
    font-size: 17px;
}

/* Reusable Components */
.section-heading {
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    margin-bottom: 15px;
    color: #22d66f;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-heading h2 {
    font-size: 46px;
    max-width: 700px;
}

/* Global Shared Transitions */
.team-card,
.value-card,
.why-item,
.team-message-content,
.team-cta-content {
    transition: all 0.35s ease;
}

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

.team-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.team-btn-primary {
    background: #22d66f;
    color: #021924;
}

.team-btn-primary:hover {
    background: #1dc561;
    transform: translateY(-3px);
}

.team-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    background: transparent;
}

.team-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

/* ==========================================================
   SECTION 1 – PREMIUM HERO
========================================================== */

.team-hero {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 0 140px;
    background: linear-gradient(135deg, #021924 0%, #062838 45%, #0a3b46 100%);
    color: #ffffff;
}

.team-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(34, 214, 111, 0.10), transparent 40%);
    pointer-events: none;
}

.team-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.team-hero-subtitle {
    display: inline-block;
    margin-bottom: 20px;
    color: #22d66f;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.team-hero-title {
    color: #ffffff !important;
    font-size: 64px;
    line-height: 1.1;
    letter-spacing: -2px;
    max-width: 1250px;
    margin: 0 auto 25px;
}

.team-hero-description {
    max-width: 720px;
    margin: 0 auto 40px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 19px;
    line-height: 1.8;
}

.team-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==========================================================
   SECTION 2 – INTRODUCTION
========================================================== */

.team-introduction {
    background: #ffffff;
}

.team-intro-content {
    max-width: 900px;
}

.team-intro-content p {
    font-size: 19px;
}

/* ==========================================================
   SECTION 3 – LEADERSHIP MESSAGE
========================================================== */

.team-message {
    background: #f7f8f8;
}

.team-message-content {
    background: #ffffff;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    max-width: 950px;
    border-left: 6px solid #22d66f;
    position: relative;
}

.team-message-content::before {
    content: "“";
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 100px;
    color: rgba(34, 214, 111, 0.10);
    line-height: 1;
}

.team-message-content p {
    font-size: 18px;
}

.team-signature {
    margin-top: 40px !important;
    color: #021924 !important;
    font-size: 20px;
}

/* ==========================================================
   SECTION 4 – TEAM MEMBERS
========================================================== */

.team-members {
    background: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(2, 25, 36, 0.04);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.10);
}

.team-card h3 {
    font-size: 30px;
    margin-bottom: 15px;
}

.team-role {
    display: inline-block;
    background: #e9fff1;
    color: #1aa857;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.team-card p {
    font-size: 15px;
}

.team-card ul {
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.team-card li {
    padding: 8px 0;
    color: #5f6d75;
    word-break: break-word;
}

/* Fallback Grid Alignment for 5 cards */
.team-card:nth-child(4) { grid-column: 1 / 2; }
.team-card:nth-child(5) { grid-column: 2 / 3; }

/* ==========================================================
   SECTION 5 – OUR VALUES
========================================================== */

.team-values {
    background: #f7f8f8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.value-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 28px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(2, 25, 36, 0.04);
    text-align: center;
    min-height: 280px;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.10);
    border-color: #22d66f;
}

.value-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.value-card p {
    margin: 0;
    font-size: 15px;
}

/* ==========================================================
   SECTION 6 – WHY CHOOSE ONE WINSOME
========================================================== */

.team-why-us {
    background: linear-gradient(135deg, #021924 0%, #0d2d3b 100%);
}

.team-why-us .section-subtitle,
.team-why-us .section-heading h2 {
    color: #ffffff;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.why-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    padding: 28px 32px;
    border-radius: 24px;
    font-size: 17px;
    line-height: 1.7;
    backdrop-filter: blur(6px);
    min-height: 110px;
    display: flex;
    align-items: center;
}

.why-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.10);
}

/* ==========================================================
   SECTION 7 – FINAL CTA
========================================================== */

.team-cta {
    background: #ffffff;
    padding-bottom: 140px;
}

.team-cta-content {
    background: linear-gradient(135deg, #021924 0%, #0d2d3b 100%);
    border-radius: 36px;
    padding: 80px 60px;
    text-align: center;
    max-width: 1200px;
    margin: auto;
    box-shadow: 0 25px 60px rgba(2, 25, 36, 0.25);
}

.team-cta-content .section-subtitle {
    color: #22d66f;
}

.team-cta-content h2 {
    color: #ffffff;
    font-size: 52px;
    margin-bottom: 30px;
}

.team-cta-content p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 820px;
    margin: 0 auto 20px;
    font-size: 18px;
}

.team-cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==========================================================
   RESPONSIVE LAYOUTS (TABLET & MOBILE)
========================================================== */

/* Tablet & Smaller Desktops */
@media (max-width: 1024px) {
    .onewinsome-team-page section {
        padding: 80px 0;
    }

    .team-hero-title {
        font-size: 52px;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-card:nth-child(4),
    .team-card:nth-child(5) {
        grid-column: auto;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .team-message-content,
    .team-cta-content {
        padding: 50px 40px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .onewinsome-team-page section {
        padding: 70px 0;
    }

    .onewinsome-team-page .container {
        padding: 0 20px;
    }

    .team-hero {
        min-height: auto;
        padding: 120px 0 90px;
    }

    .team-hero-title {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .team-hero-description {
        font-size: 17px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        padding: 30px;
    }

    .team-card h3 {
        font-size: 24px;
    }

    .team-message-content {
        padding: 35px 30px;
    }

    .team-cta-content {
        padding: 50px 30px;
    }

    .team-cta-content h2 {
        font-size: 36px;
    }

    .team-hero-buttons,
    .team-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .team-btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Small Smartphone Devices */
@media (max-width: 480px) {
    .team-hero-title {
        font-size: 36px;
    }

    .team-hero-description {
        font-size: 16px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .team-message-content,
    .team-card,
    .value-card,
    .team-cta-content {
        padding: 25px;
    }

    .team-cta-content h2 {
        font-size: 30px;
    }

    .team-card h3 {
        font-size: 22px;
    }

    .team-role {
        font-size: 12px;
    }
}

/* ==========================================================
   END OF TEAM PAGE CSS
========================================================== */