/* Premium Team Page CSS */
.team-page {
    font-family: 'Cerebri Sans', sans-serif;
    color: #1e293b;
    line-height: 1.8;
    background-color: #f8fafc;
}

.text-gradient {
    background: linear-gradient(135deg, #086ad8 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.bg-dark-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #ffffff;
}

.sec-pad {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Hero Section */
.team-hero {
    background: radial-gradient(circle at 10% 20%, rgba(8, 106, 216, 0.05) 0%, rgba(124, 58, 237, 0.05) 90.2%);
    padding: 80px 0;
    text-align: center;
}

.team-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.team-hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    color: #475569;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(8, 106, 216, 0.15);
    border-color: #086ad8;
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: #086ad8;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #086ad8 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Expertise Cards */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.expertise-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 35px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.expertise-card:hover {
    transform: translateY(-8px);
    border-color: #086ad8;
    box-shadow: 0 20px 40px rgba(8, 106, 216, 0.08);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 25px;
    background: rgba(8, 106, 216, 0.08);
    color: #086ad8;
    transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon {
    background: linear-gradient(135deg, #086ad8 0%, #7c3aed 100%);
    color: #ffffff;
}

.expertise-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0f172a;
}

.expertise-card p {
    font-size: 15px;
    color: #475569;
    margin: 0;
}

/* Culture block */
.culture-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.culture-content {
    flex: 1;
}

.culture-image-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.culture-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.culture-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.culture-img-wrapper:hover img {
    transform: scale(1.08);
}

/* Tech Stack Section */
.tech-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.tech-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tech-tab-btn {
    background: #f1f5f9;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tech-tab-btn.active, .tech-tab-btn:hover {
    background: linear-gradient(135deg, #086ad8 0%, #7c3aed 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(8, 106, 216, 0.25);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.tech-item {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 10px;
    text-align: center;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tech-item:hover {
    border-color: #086ad8;
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(8, 106, 216, 0.06);
}

.tech-item i {
    font-size: 32px;
    color: #64748b;
    transition: color 0.25s ease;
}

.tech-item:hover i {
    color: #086ad8;
}

.tech-item span {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

/* Core Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(8, 106, 216, 0.3);
    transform: translateY(-5px);
}

.value-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(8, 106, 216, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 15px;
}

.value-card h5 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* Team Showcase Section */
.team-section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
}

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

.team-showcase-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    padding: 30px 20px;
}

.team-showcase-card:hover {
    transform: translateY(-6px);
    border-color: #086ad8;
    box-shadow: 0 15px 30px rgba(8, 106, 216, 0.1);
}

.team-photo-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f1f5f9;
    transition: all 0.3s ease;
}

.team-showcase-card:hover .team-photo-wrapper {
    border-color: #086ad8;
    transform: scale(1.05);
}

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

.team-showcase-card h5 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.team-showcase-card p.role {
    font-size: 14px;
    font-weight: 600;
    color: #086ad8;
    margin-bottom: 12px;
}

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

.team-socials a {
    color: #94a3b8;
    font-size: 15px;
    transition: color 0.25s ease;
}

.team-socials a:hover {
    color: #086ad8;
}

/* Testimonials */
.testimonial-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 25px;
    left: 30px;
    font-size: 40px;
    color: rgba(8, 106, 216, 0.05);
}

/* Certifications */
.certs-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.cert-logo {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    font-weight: bold;
    font-size: 20px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cert-logo:hover {
    opacity: 1;
    color: #086ad8;
}

/* CTA */
.btn-premium {
    background: linear-gradient(135deg, #086ad8 0%, #7c3aed 100%);
    color: #ffffff !important;
    border: none;
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 4px 14px rgba(8, 106, 216, 0.35);
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 15px;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 106, 216, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .team-grid-showcase {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .culture-row {
        flex-direction: column;
    }
    .team-grid-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .expertise-grid, .tech-grid, .team-grid-showcase, .stats-grid, .values-grid {
        grid-template-columns: 1fr;
    }
    .team-hero h1 {
        font-size: 32px;
    }
}
