/*
|--------------------------------------------------------------------------
| about.css
|--------------------------------------------------------------------------
|
| Dedicated styles for the monolithic "About Us" page, based on the Technical Specification.
|
*/

/* General Layout & Typography (Based on TZ Analysis 2.1 & 2.2) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
section {
    padding: 80px 0;
    overflow: hidden; /* To handle potential AOS animations */
}
.bg-light {
    background: #F5F5F5; /* Light-grey background */
}
.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #343A40;
}
.text-left {
    text-align: left;
}
p, li {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
}

/* Global Button Styles (Based on TZ Analysis 2.3) */
.btn-primary {
    background-color: #0066FF;
    color: white;
    border: 1px solid #0066FF;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s, border-color 0.3s;
    display: inline-block;
    font-weight: 600;
}
.btn-primary:hover {
    background-color: #0052CC;
    border-color: #0052CC;
}
.btn-secondary {
    background-color: transparent;
    color: #B8D4FD;
    border: 1px solid #B8D4FD;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
    font-weight: 600;
    margin-left: 15px;
}
.btn-secondary:hover {
    background-color: #0066FF;
    color: white;
}

/* --------------------------------------------------------------------------
| 1. Hero Section
| -------------------------------------------------------------------------- */
.about-hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    /* Placeholder for background image */
    background-image: url('/images/hero_bg.jpg');
}
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay */
    z-index: 1;
}
.about-hero .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
}
.about-hero .hero-title {
    font-size: 48px; /* H1 size as per TZ */
    font-weight: bold;
    margin-bottom: 16px;
}
.about-hero .hero-subtitle {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 300;
    color: #d5cece;
}
.about-hero .hero-description {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #d5cece;
}

/* --------------------------------------------------------------------------
| 2. Statistics Section
| -------------------------------------------------------------------------- */
.statistics-section {
    padding: 80px 0;
    background: #F8F9FA; /* Light background as per TZ */
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}
.stat-card {
    text-align: center;
}
.stat-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: #0066FF;
}
.stat-value {
    font-size: 48px; /* Large and bold as per TZ */
    font-weight: 700;
    color: #0066FF;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 16px;
    color: #6C757D;
}

/* --------------------------------------------------------------------------
| 3. About Story
| -------------------------------------------------------------------------- */
.story-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.story-text ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}
.story-text ul li {
    margin-bottom: 8px;
}
.story-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------------------
| 4. Core Values
| -------------------------------------------------------------------------- */
.values-section {
    padding: 80px 0;
    background: #1A1D29; /* Dark background as per TZ */
    color: white;
}
.values-section .section-title {
    color: white;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}
.value-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s;
}
.value-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
}
.value-card h3 {
    color: #0066FF;
    margin-top: 16px;
    margin-bottom: 10px;
    font-size: 20px;
}
.value-card p {
    font-size: 15px;
    color: #CCCCCC;
}

/* --------------------------------------------------------------------------
| 5. Global Presence
| -------------------------------------------------------------------------- */
.presence-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}
.presence-map img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.presence-info h3 {
    color: #0066FF;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
}
.presence-info p {
    margin-bottom: 10px;
}
.presence-info ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}
.presence-info ul li {
    margin-bottom: 5px;
    color: #343A40;
}

/* --------------------------------------------------------------------------
| 6. Services Overview
| -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}
.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.service-card h3 {
    font-size: 18px;
    color: #0066FF;
    margin-bottom: 10px;
}
.service-link {
    color: #0066FF;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
}

/* --------------------------------------------------------------------------
| 7. Why Choose REALIVO
| -------------------------------------------------------------------------- */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.why-choose-item h3 {
    font-size: 18px;
    color: #343A40;
    margin-bottom: 5px;
}
.why-choose-item p {
    color: #6C757D;
}

/* --------------------------------------------------------------------------
| 8. Team Section
| -------------------------------------------------------------------------- */
.team-section {
    background: #F8F9FA;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
}
.team-member-card {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.team-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #0066FF;
}
.team-title {
    color: #0066FF;
    font-weight: 600;
    margin-bottom: 5px;
}
.team-bio {
    font-size: 14px;
    color: #6C757D;
    margin-bottom: 15px;
}
.linkedin-link {
    color: #0066FF;
    text-decoration: none;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
| 9. Compliance & Transparency
| -------------------------------------------------------------------------- */
.compliance-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.compliance-content ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
    display: inline-block;
}
.compliance-content ul li {
    margin-bottom: 8px;
    color: #495057;
}
.disclaimer {
    font-style: italic;
    font-size: 14px;
    color: #6C757D;
    margin-bottom: 20px;
}
.compliance-links a {
    color: #0066FF;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
| 10. CTA — Contact (Final Call-to-Action)
| -------------------------------------------------------------------------- */
.cta-section {
    padding: 100px 0;
    background: #0066FF; /* Primary color background */
    color: white;
    text-align: center;
}
.cta-section h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 16px;
}
.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
}
.btn-cta {
    background-color: white;
    color: #0066FF;
    border-color: white;
    font-size: 18px;
    padding: 15px 40px;
}
.btn-cta:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

/* --------------------------------------------------------------------------
| Responsive Adjustments
| -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .story-content-grid, .presence-content-grid {
        grid-template-columns: 1fr; /* Stack columns on tablet */
    }
    .story-image {
        order: -1; /* Move image above text on mobile */
    }
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    .about-hero .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: auto;
        margin-top: 40px;
    }
    .about-hero .hero-title {
        font-size: 32px;
    }
    .about-hero .hero-subtitle {
        font-size: 20px;
        color: #d5cece;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
    .values-grid, .services-grid, .team-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    .section-title {
        font-size: 28px;
    }
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr; /* 1 column on small mobile */
    }
    .about-hero .hero-title {
        font-size: 28px;
    }
    .stat-value {
        font-size: 40px;
    }
}
