/* ============================================
   OUR TEAM PAGE - DEDICATED STYLES
   Dental Wellness Bathinda
   ============================================ */

/* ====== TEAM HERO SECTION ====== */
.team-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    overflow: hidden;
    margin-top: 110px;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/dental_team_page_background.png') center/cover no-repeat;
    opacity: 0.3;
}

.team-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.team-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px 25px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.team-hero-badge i {
    color: var(--accent-gold);
    font-size: 18px;
}

.team-hero-badge span {
    color: var(--accent-gold);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.team-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.team-hero h1 span {
    color: var(--accent-gold);
}

.team-hero-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ====== FLOATING PARTICLES ====== */
.team-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.team-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 20s infinite ease-in-out;
}

.team-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.team-particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 2s; }
.team-particle:nth-child(3) { left: 35%; top: 30%; animation-delay: 4s; }
.team-particle:nth-child(4) { left: 50%; top: 70%; animation-delay: 1s; }
.team-particle:nth-child(5) { left: 65%; top: 25%; animation-delay: 3s; }
.team-particle:nth-child(6) { left: 80%; top: 55%; animation-delay: 5s; }
.team-particle:nth-child(7) { left: 90%; top: 35%; animation-delay: 2.5s; }
.team-particle:nth-child(8) { left: 15%; top: 80%; animation-delay: 4.5s; }

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    25% { transform: translateY(-30px) translateX(10px); opacity: 0.6; }
    50% { transform: translateY(-15px) translateX(-10px); opacity: 0.4; }
    75% { transform: translateY(-40px) translateX(5px); opacity: 0.5; }
}

/* ====== TEAM INTRO SECTION ====== */
.team-intro {
    padding: 80px 0;
    background: var(--bg-cream);
    position: relative;
}

.team-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.team-intro-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.team-intro-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent);
    z-index: 1;
}

.team-intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.team-intro-image:hover img {
    transform: scale(1.05);
}

.team-intro-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: 20px;
}

.team-intro-content h2 span {
    color: var(--accent-gold);
}

.team-intro-content p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.team-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.team-value-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.team-value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-value-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-gold), #B8860B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.team-value-icon i {
    color: var(--white);
    font-size: 20px;
}

.team-value-text h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.team-value-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* ====== DOCTORS SECTION ====== */
.team-doctors {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
}

.team-doctors::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(92, 80, 48, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.team-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.team-section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text-dark);
    margin-bottom: 15px;
}

.team-section-header h2 span {
    color: var(--accent-gold);
}

.team-section-header p {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.7;
}

.team-doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-doctor-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.team-doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-gold);
}

.team-doctor-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.team-doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-doctor-card:hover .team-doctor-image img {
    transform: scale(1.08);
}

.team-doctor-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 25px 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.team-doctor-card:hover .team-doctor-overlay {
    transform: translateY(0);
}

.team-doctor-social {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.team-doctor-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.team-doctor-social a:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
}

.team-doctor-info {
    padding: 30px;
    text-align: center;
}

.team-doctor-info h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.team-doctor-specialty {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold), #B8860B);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-doctor-qualifications {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    font-weight: 600;
}

.team-doctor-about {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.team-doctor-experience {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
}

.team-doctor-experience i {
    color: var(--accent-gold);
}

/* ====== WHY CHOOSE US ====== */
.team-why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
}

.team-why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/dental_team_page_background.png') center/cover no-repeat;
    opacity: 0.1;
}

.team-why-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.team-why-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--white);
    margin-bottom: 15px;
}

.team-why-header h2 span {
    color: var(--accent-gold);
}

.team-why-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

.team-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.team-feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.team-feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.team-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-gold), #B8860B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.team-feature-icon i {
    font-size: 32px;
    color: var(--white);
}

.team-feature-card h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 12px;
}

.team-feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
}

/* ====== TEAM STATS ====== */
.team-stats {
    padding: 80px 0;
    background: var(--bg-cream);
}

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

.team-stat-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-stat-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
}

.team-stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 10px;
}

.team-stat-label {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

/* ====== CTA SECTION ====== */
.team-cta {
    padding: 80px 0;
    background: var(--bg-white);
    text-align: center;
}

.team-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.team-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: 20px;
}

.team-cta h2 span {
    color: var(--accent-gold);
}

.team-cta p {
    color: var(--text-light);
    font-size: 17px;
    margin-bottom: 30px;
}

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

/* ====== RESPONSIVE STYLES ====== */
@media (max-width: 991px) {
    .team-hero {
        margin-top: 90px;
        padding: 80px 0 60px;
    }

    .team-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-intro-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .team-doctors-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

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

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

@media (max-width: 767px) {
    .team-hero {
        padding: 60px 0 50px;
    }

    .team-hero h1 {
        font-size: 2rem;
    }

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

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

    .team-doctor-image {
        height: 280px;
    }

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

    .team-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .team-stat-number {
        font-size: 36px;
    }

    .team-cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .team-cta-btns .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .team-hero {
        margin-top: 80px;
    }

    .team-hero-badge {
        padding: 8px 18px;
    }

    .team-hero-badge span {
        font-size: 12px;
    }

    .team-doctor-info {
        padding: 20px;
    }

    .team-doctor-info h3 {
        font-size: 18px;
    }

    .team-stat-item {
        padding: 25px 15px;
    }

    .team-stat-number {
        font-size: 32px;
    }

    .team-stat-label {
        font-size: 14px;
    }
}
