/* --- ABOUT PAGE STYLES --- */

/* 🔥 MOBILE SCROLL FIX: All main sections must hide overflow 🔥 */
.about-hero, 
.story-section, 
.stats-section, 
.values-section, 
.team-section, 
.cta-section {
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* 1. HERO SECTION */
.about-hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top center, rgba(59, 130, 246, 0.15), transparent 60%), var(--bg-dark);
    text-align: center;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.sub-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-white);
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 2. STORY SECTION */
.story-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
}

.story-img {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.story-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.exp-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.exp-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.story-text {
    flex: 1;
}

.story-text h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: white;
}

.story-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.signature-block {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.signature {
    font-family: 'Cursive', sans-serif; /* Fallback styling */
    font-size: 1.5rem;
    color: var(--text-gray);
    opacity: 0.6;
    font-style: italic;
}

/* 3. STATS SECTION */
.stats-section {
    padding: 60px 0;
    background: var(--bg-dark);
    border-top: 10px; 
    border-bottom: 10px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 4. VALUES SECTION */
.sec-header.centered {
    text-align: center;
    margin-bottom: 60px;
}
.sec-header.centered p {
    margin: 10px auto 0;
}

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

.value-card {
    background: rgba(30, 41, 59, 0.4); /* Glass Effect */
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.value-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary);
}

.v-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.value-card h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

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

/* 5. TEAM SECTION */
.team-section {
    padding: 50px 0;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

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

.team-img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.social-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: 0.4s;
}

.team-card:hover .social-overlay { opacity: 1; }
.team-card:hover img { transform: scale(1.1); }

.social-overlay a {
    width: 40px; height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.team-info h4 { color: white; margin-bottom: 5px; font-size: 1.2rem; }
.team-info span { color: var(--primary); font-size: 0.9rem; }


/* 6. CTA BOX */
.cta-box {
    background: var(--accent-gradient);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    color: white;
    margin-top: 50px;
}

.cta-box h2 { font-size: 2.2rem; margin-bottom: 15px; }
.cta-box p { margin-bottom: 30px; opacity: 0.9; }
.cta-box .btn { background: white; color: var(--primary); }
.cta-box .btn:hover { background: #f8fafc; transform: translateY(-3px); }


/* RESPONSIVE */
@media (max-width: 991px) {
    .about-hero { padding-top: 140px; }
    .about-hero h1 { font-size: 2.5rem; }
    
    .story-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .story-img { width: 100%; }
    
    .cta-box { padding: 40px 20px; }
    .cta-box h2 { font-size: 1.8rem; }
}


/* --- DUAL COLOR TEXT FIX --- */
.highlight {
    color: var(--primary); /* Blue Color */
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* Highlight Underline */
.highlight::after {
    content: ''; 
    position: absolute; 
    bottom: 5px; 
    left: 0; 
    width: 100%; 
    height: 8px;
    background: rgba(59, 130, 246, 0.2); 
    z-index: -1;
}

/* Gradient Text for Main Hero Title */
.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.sec-header.centered h2 {
    color: white;
}