/* 
  Pro Rapid Building Group - About Us Styles
*/

/* --- About Hero Section --- */
.about-hero {
    position: relative;
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    margin-top: 130px; /* Offset for fixed header */
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.7) 40%, rgba(17,17,17,0.2) 100%);
}

.about-hero-content {
    max-width: 600px;
    padding-top: 40px;
}

.about-hero-content .hero-title {
    font-size: 5.5rem;
    margin-bottom: 25px;
}

.about-hero-text {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
}

/* --- Our Story Section --- */
.our-story {
    display: flex;
    background-color: #f5f5f5;
    align-items: stretch;
}

.our-story-content-wrapper {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    padding: 100px 40px 100px 20px;
}

.our-story-text {
    width: 100%;
    max-width: 580px;
}

.our-story-text .section-subtitle {
    display: inline-block;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.our-story-text .section-title {
    color: #111;
}

.story-text {
    color: #444;
    font-size: 1.05rem;
    font-weight: 500;
}

.story-text p {
    margin-bottom: 20px;
}

.our-story-image {
    width: 50%;
}

.our-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- About Stats Section --- */
.about-stats {
    background-color: #111;
    padding: 80px 0;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.about-stat-item {
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.about-stat-item:last-child {
    border-right: none;
}

.about-stat-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.about-stat-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
}

.about-stat-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text);
    letter-spacing: 1px;
}

/* --- Our Values Section --- */
.our-values {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.our-values .container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.values-header {
    flex: 0 0 35%;
}

.values-header .section-title {
    font-size: 3.5rem;
    margin-bottom: 0;
}

.values-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.value-item {
    text-align: center;
}

.value-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.value-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.value-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* --- Experience Section --- */
.experience-trust {
    display: flex;
    background-color: #111;
}

.experience-trust-content {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding: 100px 60px 100px 40px;
}

.experience-trust-text {
    max-width: 600px;
}

.experience-trust-text p {
    color: var(--text);
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 20px;
}

.experience-trust-image {
    flex: 1;
}

.experience-trust-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

/* --- CTA Banner --- */
.cta-banner {
    background-color: var(--primary);
    padding: 60px 0;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-icon {
    flex-shrink: 0;
}

.cta-text {
    flex: 1;
    color: var(--white);
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.cta-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-action {
    flex-shrink: 0;
}

.cta-action .btn-outline {
    border-width: 2px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1199px) {
    .our-story-content-wrapper {
        padding: 80px 40px;
    }
    .experience-trust-content {
        padding: 80px 40px;
    }
}

@media (max-width: 991px) {
    .about-hero-content .hero-title {
        font-size: 4.5rem;
    }
    .our-story {
        flex-direction: column;
    }
    .our-story-content-wrapper {
        width: 100%;
        padding: 60px 40px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .our-story-image {
        width: 100%;
        height: 400px;
    }
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .about-stat-item:nth-child(2) {
        border-right: none;
    }
    .our-values .container {
        flex-direction: column;
        text-align: center;
    }
    .values-header .section-title {
        margin-bottom: 30px;
    }
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .experience-trust {
        flex-direction: column;
    }
    .experience-trust-content {
        padding: 60px 40px;
        justify-content: center;
        align-items: center;
        text-align: center;
        order: -1;
    }
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .about-hero-content .hero-title {
        font-size: 3.5rem;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
    .about-stat-item {
        border-right: none;
        padding: 0;
    }
    .values-header .section-title {
        font-size: 2.8rem;
    }
    .experience-trust-text h2.section-title {
        font-size: 2.8rem;
    }
    .about-stat-num {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .about-hero-content .hero-title {
        font-size: 3rem;
    }
    .our-story-content-wrapper {
        padding: 50px 20px;
    }
    .experience-trust-content {
        padding: 50px 20px;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .values-header .section-title {
        font-size: 2.5rem;
    }
    .cta-text h2 {
        font-size: 2rem;
    }
    .about-stat-num {
        font-size: 2.5rem;
    }
}
