/* About Page Styles - Matching Home Page Identity */

/* --- Variables (matching home.css) --- */
:root {
    --bg-light: #ffffff;
    --bg-light-accent: #f8f9fa;
    --primary-accent: #0052d4; /* Professional Blue */
    --secondary-accent: #65c7f7; /* Lighter Sky Blue */
    --text-dark: #212529;
    --text-muted: #6c757d;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 82, 212, 0.15);
}

/* --- General & Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* General styles for the about page */
.about-page {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.about-page section { padding: 100px 0; }

.about-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-page h1, .about-page h2, .about-page h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.about-page h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-animation 5s ease infinite;
}

/* Hero Section - Matching home page style */
.about-hero {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 82, 212, 0.9), rgba(101, 199, 247, 0.8)), 
                url('../images/about-hero-bg.jpg') no-repeat center center/cover;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(25deg, rgba(0, 82, 212, 0.6), rgba(5, 15, 25, 0.8));
    z-index: 1;
}

.about-hero .container { position: relative; z-index: 2; }

.about-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.about-hero .tagline {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Our Story Section */
.our-story { background: var(--bg-light); }

.our-story .story-content { display: flex; align-items: center; gap: 80px; }

.our-story .story-text { flex: 1; animation: fadeInUp 0.8s ease-out; }

.our-story .story-text h2 { text-align: left; margin-bottom: 40px; }

.our-story .story-text p { margin-bottom: 24px; font-size: 1.125rem; line-height: 1.8; color: var(--text-muted); }

.our-story .story-image { flex: 1; animation: fadeInUp 0.8s ease-out 0.2s both; }

.our-story .story-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 82, 212, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.our-story .story-image img:hover { transform: translateY(-10px); box-shadow: 0 30px 80px rgba(0, 82, 212, 0.25); }

/* Our Values Section */
.our-values { background: var(--bg-light-accent); }

.our-values .values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; text-align: center; }

.our-values .value-card {
    background: var(--bg-light);
    padding: 50px 30px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.our-values .value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.our-values .value-card:hover { transform: translateY(-15px); box-shadow: 0 25px 50px rgba(0, 82, 212, 0.15); border-color: var(--primary-accent); }

.our-values .value-card:hover::before { transform: scaleX(1); }

.our-values .value-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 25px; display: inline-block; transition: transform 0.4s ease;
}

.our-values .value-card:hover .value-icon { transform: scale(1.15) rotateY(360deg); }

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

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

/* Meet the Team Section */
.meet-the-team { background: var(--bg-light); }

.meet-the-team .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }

.meet-the-team .team-member { text-align: center; }

.meet-the-team .team-member img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.meet-the-team .team-member h3 { font-size: 1.4rem; margin-bottom: 5px; }

.meet-the-team .team-member p { color: #777; font-style: italic; }

/* Scroll Animations */
.our-story, .our-values, .meet-the-team, .value-card, .team-member { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }

.is-visible { opacity: 1; transform: translateY(0); }

.value-card, .team-member { transition-delay: 0s; }

/* CTA Section (match home) */
.cta-section { background: linear-gradient(135deg, var(--primary-accent) 0%, var(--secondary-accent) 100%); text-align: center; }
.cta-content h2 { font-size: 2.5rem; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 15px; color: #fff; }
.cta-content p { font-size: 1.2rem; color: var(--bg-light); margin-bottom: 30px; }
.cta-btn { background: #fff; color: var(--primary-accent); padding: 15px 35px; border-radius: 50px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 10px; }
.cta-btn:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }

/* Responsive Styles */
@media (max-width: 992px) { .our-story .story-content { flex-direction: column; } }

@media (max-width: 768px) {
    .about-hero h1 { font-size: 2.8rem; }
    .about-hero .tagline { font-size: 1.2rem; }
    .about-page h2 { font-size: 2rem; }
    .about-page section { padding: 60px 0; }
}
