/* About Us Page Specific Styles */

/* 1. Hero Section */
.about-hero {
    padding: 120px 0 80px;
    display: flex;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.badge-modern svg {
    width: 16px;
    height: 16px;
}

.about-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.about-hero .lead-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
}

/* 2. Philosophy / Values Grid */
.values-section {
    padding: 80px 20px;
    background: transparent;
}

.section-header {
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.values-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.value-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 48px 40px;
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Stagger the middle card */
.values-grid .value-card:nth-child(2) {
    transform: translateY(30px);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--primary-grediant);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.value-icon svg {
    width: 32px;
    height: 32px;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.value-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.bg-light-blue { background: var(--bg-light-blue); }
.bg-light-purple { background: rgba(168, 85, 247, 0.1); }
.bg-light-green { background: rgba(34, 197, 94, 0.1); }
.text-blue { color: var(--bg-blue); }
.text-purple { color: #a855f7; }
.text-green { color: #22c55e; }


/* 3. Stats Section */
.stats-section {
    padding: 140px 20px;
    background: transparent;
    position: relative;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 40px;
    padding: 80px 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

/* Decorative glow behind stats */
.stats-grid::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(34,197,94,0.15) 0%, rgba(14,165,233,0.15) 100%);
    filter: blur(60px);
    z-index: -1;
    border-radius: 50%;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* 4. Meet The Team Section */
.team-section {
    padding: 100px 20px;
    background: transparent;
}

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

.team-card {
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
    transition: all 0.4s ease;
    position: relative;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.team-img-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.team-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-img-wrapper::after {
    opacity: 1;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.team-info {
    padding: 32px 24px;
    text-align: center;
    position: relative;
    background: var(--white);
    z-index: 2;
}

.team-social {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(-90px); /* Slides up over the image */
}

.team-social a {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary-grediant);
    border-color: transparent;
    transform: scale(1.1);
}

.team-social svg {
    width: 20px;
    height: 20px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .values-grid, .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.8rem;
    }
    
    .values-grid, .team-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        gap: 64px;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
}
