/* About Page Styles */

/* Header / Banner */
.about-banner {
    width: 100%;
    height: 730px;
    /* Reference: 730px */
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.about-banner__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.about-banner__title {
    font-family: 'Poppins', sans-serif;
    font-size: 200px;
    /* Reference: 200px */
    font-weight: 400;
    color: #fff;
    text-transform: capitalize;
    letter-spacing: -2px;
    line-height: 1;
    margin: 0;
}

/* Common Section Styles */
.about-section {
    padding: 100px 0;
}

.about-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    /* Reference: 40px */
    font-weight: 500;
    /* Reference: 500 (Medium) */
    color: #333333;
    margin-bottom: 25px;
    line-height: 1.3;
    /* Reference: 1.3em */
}

.about-text {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    /* Reference: 18px */
    line-height: 1.7;
    /* Reference: 1.7em */
    color: #9b9b9b;
    /* Reference: #9b9b9b */
    font-weight: 300;
    /* Reference: 300 (Light) */
}

.about-text p {
    margin-bottom: 25px;
}

/* Rows & Columns */
.about-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-col-text,
.about-col-image {
    flex: 1;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
    object-fit: cover;
}

/* Quality Section Specifics */
.about-quality {
    background-color: #faf8f3;
    /* Reference Background */
    position: relative;
    padding: 100px 0;
}

/* Dual Image Layout */
.about-dual-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-wrapper {
    position: relative;
    width: auto;
    max-width: 100%;
}

.about-image-main {
    width: 518px;
    /* Precise pixel width from inspection */
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    position: relative;
    z-index: 1;
}

.about-image-secondary {
    position: absolute;
    width: 300px;
    /* Smaller as requested */
    height: auto;
    border-radius: 20px;
    bottom: -40px;
    right: -40px;
    z-index: 2;
    /* No border, no shadow as per reference clean look */
}

/* What We Do Section */
.about-what-we-do {
    padding-top: 100px;
    padding-bottom: 100px;
    background: #fff;
}

.about-what-we-do .about-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.what-we-do-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 40px 50px 50px;
    text-align: left;
    transition: all 0.3s ease;
}

.what-we-do-card:hover {
    border-color: #ddd;
}

.what-we-do-card__text {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #767676;
    line-height: 28.8px;
    position: relative;
    padding-top: 25px;
    /* Space for separator */
}

.what-we-do-card__text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 1px;
    background-color: #e8e8e8;
}

.what-we-do-card__text p {
    margin: 0;
}

/* Container Customization */
@media (min-width: 1500px) {
    .about-page .container {
        max-width: 1450px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .about-banner__title {
        font-size: 100px;
    }

    .about-row {
        flex-direction: column;
        gap: 60px;
    }

    .reverse-mobile {
        flex-direction: column-reverse;
        /* Text top, Image bottom */
    }

    .about-image-main {
        width: 100%;
        max-width: 500px;
    }

    .about-image-secondary {
        width: 200px;
        right: 0;
        bottom: -20px;
    }

    .what-we-do-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-banner {
        height: 400px;
    }

    .about-banner__title {
        font-size: 60px;
    }

    .what-we-do-grid {
        grid-template-columns: 1fr;
    }
}