/**
 * ABOUT PAGE CSS - Rehomes Style
 * Real Estate Website - About/Introduction Page
 */

/* ==========================================================================
   ABOUT HERO SECTION
   ========================================================================== */
.about-hero-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0d2840 100%);
    overflow: hidden;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-dot.png') repeat;
    opacity: 0.05;
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    padding: 10px 20px;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
}

.about-hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 50%;
}

.about-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--fw-normal);
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-hero-title .highlight {
    color: var(--color-secondary);
}

.about-hero-desc {
    font-size: var(--fs-lg);
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 500px;
}

.about-hero-image {
    position: relative;
}

.about-hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.about-hero-stats {
    position: absolute;
    bottom: -30px;
    left: 30px;
    background: var(--color-white);
    padding: 25px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   ABOUT INTRO SECTION
   ========================================================================== */
.about-intro-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-intro-content {
    padding-right: 40px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-sm);
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-badge::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--color-secondary);
}

.about-intro-title {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-normal);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-intro-title .highlight {
    color: var(--color-secondary);
}

.about-intro-text {
    font-size: var(--fs-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-intro-image {
    position: relative;
}

.about-intro-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .exp-number {
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    font-weight: var(--fw-bold);
    line-height: 1;
    display: block;
}

.experience-badge .exp-text {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.about-services-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.service-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    height: 100%;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--color-white);
    border-color: var(--color-secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--color-secondary);
}

.service-title {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: var(--fw-medium);
    color: var(--color-primary);
    margin-bottom: 15px;
}

.service-desc {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.about-why-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0d2840 100%);
    position: relative;
}

.about-why-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/about-pattern.png') no-repeat right center;
    opacity: 0.1;
}

.why-content {
    position: relative;
    z-index: 2;
}

.why-title {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-normal);
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 30px;
}

.why-title .highlight {
    color: var(--color-secondary);
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
}

.why-item-icon {
    width: 30px;
    height: 30px;
    background: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-white);
    font-size: 14px;
}

.why-item-text {
    font-size: var(--fs-base);
    line-height: 1.6;
}

.why-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.why-stat-item {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
}

.why-stat-number {
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    font-weight: var(--fw-bold);
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 10px;
}

.why-stat-label {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.8);
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */
.about-team-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.team-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    height: 280px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-name {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: var(--fw-medium);
    color: var(--color-primary);
    margin-bottom: 5px;
}

.team-role {
    font-size: var(--fs-sm);
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--bg-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.team-social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */
.about-process-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.process-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    transition: all var(--transition-base);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.process-image {
    height: 200px;
    overflow: hidden;
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.process-card:hover .process-image img {
    transform: scale(1.1);
}

.process-content {
    padding: 25px;
}

.process-step {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    line-height: 40px;
    text-align: center;
    margin-bottom: 15px;
}

.process-title {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: var(--fw-medium);
    color: var(--color-primary);
    margin-bottom: 10px;
}

.process-desc {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.about-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #a08060 100%);
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-normal);
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: var(--fs-lg);
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: var(--color-white);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-cta-primary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    border-radius: var(--radius-sm);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-cta-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px) {
   
    .about-hero-section {
        padding: 60px 0;
    }

    .about-hero-stats {
        position: static;
        margin-top: 30px;
        justify-content: center;
    }

    .about-intro-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .experience-badge {
        right: 20px;
        bottom: -15px;
        padding: 20px;
    }

    .why-stats {
        margin-top: 30px;
    }
}

@media (max-width: 767.98px) {
    .about-hero-section,
    .about-intro-section,
    .about-services-section,
    .about-why-section,
    .about-team-section,
    .about-process-section,
    .about-cta-section {
        padding: 50px 0;
    }

    .about-hero-title,
    .about-intro-title,
    .why-title,
    .cta-title {
        font-size: var(--fs-2xl);
    }

    .about-hero-stats {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }

    .why-stats {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .service-card {
        padding: 25px 20px;
    }

    .team-image {
        height: 220px;
    }
}
