/* ===================================================================
   FILE: about.css
   PURPOSE: Styles for the About Us page of One Roof Egypt.
   =================================================================== */

/* ===================================
   1. ABOUT HERO SECTION
   =================================== */
.about-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('Resources/imageg.webp') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 6rem 1rem;
}

.about-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-hero p {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: #ffd700;
    font-weight: 500;
}

/* ===================================
   2. ABOUT CONTENT SECTION
   =================================== */
.about-content {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.about-text h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #d5b82c;
    display: inline-block;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 80ch; /* Limits line length for readability */
}

/* ===================================
   3. WHY CHOOSE US SECTION
   =================================== */
.why-choose-us {
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.why-choose-us h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.feature-item {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.feature-item .fa {
    font-size: 3rem;
    color: #d5b82c;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.feature-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* ===================================
   4. CALL TO ACTION (CTA) SECTION
   =================================== */
.about-cta {
    text-align: center;
    background-color: #2c3e50;
    color: white;
    padding: 3rem 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.about-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.about-cta p {
    margin-bottom: 2rem;
    color: #bdc3c7;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.about-cta .button-primary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background-color: #d5b82c;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.about-cta .button-primary:hover {
    background-color: #cba91a;
    transform: translateY(-3px);
}