/**
 * =========================================================================
 * STYLES FOR: About Us Page (Lean & Focused Version)
 * WEBSITE: repcave.com
 * =========================================================================
 */

/* ==========================================================================
   1. Design System & General Styling (Base for the page)
   ========================================================================== */

:root {
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --color-primary: #E53935;
    --color-primary-dark: #C62828;
    --color-text-dark: #2c3e50;
    --color-text-light: #5a6a7a;
    --color-bg-light: #FFFFFF;
    --color-bg-alt: #F9FAFB;
    --color-border: #EAECEF;
    --section-padding: 6rem 0;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* General Tags & Helpers */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-primary); font-weight: 700; line-height: 1.3; margin: 0; color: var(--color-text-dark); }
h1 span, h2 span { color: var(--color-primary); }
p { margin: 0; font-size: 1.1rem; line-height: 1.7; color: var(--color-text-light); }
.section-title { font-size: 2.8rem; text-align: center; margin-bottom: 1.25rem; }
.section-subtitle { text-align: center; margin-bottom: 3.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.full-width-background { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.button { display: inline-block; padding: 14px 32px; font-size: 1rem; text-decoration: none; border-radius: 8px; transition: all 0.3s ease; font-weight: 600; cursor: pointer; text-align: center; border: 2px solid transparent; }
.primary-button { background-color: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.primary-button:hover { background-color: var(--color-primary-dark); border-color: var(--color-primary-dark); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.secondary-button { background-color: #fff; color: var(--color-text-dark); border-color: var(--color-border); }
.secondary-button:hover { background-color: var(--color-text-dark); color: #fff; border-color: var(--color-text-dark); transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ==========================================================================
   2. Section-Specific Styles (Lean Version)
   ========================================================================== */

/* --- Hero Section --- */
.about-hero-section { background-color: var(--color-bg-alt); padding: var(--section-padding); text-align: center; }
.about-hero-section .hero-title { font-size: 3.8rem; margin-bottom: 1.5rem; }
.about-hero-section .hero-description { font-size: 1.25rem; max-width: 650px; margin-left: auto; margin-right: auto; margin-bottom: 2.5rem; }

/* --- Philosophy Section --- */
.about-philosophy-section { background-color: var(--color-bg-light); padding: var(--section-padding); }
.philosophy-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.philosophy-story-card h3 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.philosophy-story-card p { margin-bottom: 1.5rem; }
.philosophy-benefits-card { background-color: var(--color-bg-alt); border-radius: 12px; padding: 2rem; border: 1px solid var(--color-border); }
.benefit-item { display: flex; align-items: flex-start; gap: 1rem; }
.benefit-item:not(:last-child) { margin-bottom: 1.5rem; }
.benefit-icon { font-size: 1.5rem; color: var(--color-primary); margin-top: 5px; }
.benefit-item h4 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.benefit-item p { font-size: 0.95rem; line-height: 1.6; color: var(--color-text-light); }

/* --- Resources Section --- */
.about-resources-section { background-color: var(--color-bg-alt); padding: var(--section-padding); }
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.resource-card { background-color: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 2.5rem; text-align: center; box-shadow: var(--shadow-md); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.resource-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.resource-icon { font-size: 2.5rem; color: var(--color-primary); margin-bottom: 1.5rem; }
.resource-title { font-size: 1.5rem; margin-bottom: 1rem; }
.resource-description { font-size: 1rem; color: var(--color-text-light); margin-bottom: 2rem; flex-grow: 1; }
.resource-card .button { margin-top: auto; }
.resource-card--highlight { border-color: var(--color-primary); }

/* --- Final CTA / Newsletter Section --- */
.about-final-cta-section { background-color: var(--color-text-dark); padding: var(--section-padding); text-align: center; }
.about-final-cta-section .section-title, .about-final-cta-section .section-subtitle { color: #fff; }
.newsletter-form-wrapper { margin-top: 2rem; }
.newsletter-form { display: flex; max-width: 500px; margin: 0 auto; gap: 10px; }
.newsletter-input { flex-grow: 1; padding: 14px 20px; border-radius: 8px; border: 1px solid var(--color-border); font-size: 1rem; }
.newsletter-submit { white-space: nowrap; }

/* ==========================================================================
   3. Responsive Adjustments
   ========================================================================== */
@media (max-width: 992px) {
    .philosophy-grid, .resources-grid { grid-template-columns: 1fr; }
    .philosophy-benefits-card { margin-top: 2rem; }
}
@media (max-width: 768px) {
    :root { --section-padding: 4rem 0; }
    .section-title { font-size: 2.2rem; }
    .about-hero-section .hero-title { font-size: 2.8rem; }
}