/* HERO SECTION (About) */
.hero-about {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* move content toward top */
    overflow: hidden;
    text-align: center;
    padding: 6rem 2rem 2rem; /* increase top padding */
    background-color: black;
}


/* Fullscreen background video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* ensures video fills entire space */
    z-index: 0;
}

/* Dark transparent layer for contrast */
.hero-dark-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Adjust opacity as needed */
    z-index: 1;
}

/* Content container on top of video */
.about-overlay-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: white;
    margin-top: 2rem; /* optional fine-tune spacing */
}

/* Title underline */
.white-underline {
    width: 6rem;
    height: 0.4rem;
    background-color: white;
    border: none;
    margin: 1rem auto 2rem auto;
}

/* Centered image (before-after photo) */
.about-overlay-image img {
    max-width: 50%;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Text block with dark background only for readability */
.about-overlay-text {
    background: rgba(0, 0, 0, 0.65);
    
    padding: 2rem;
    
    margin-top: 2rem; /* more gap above paragraphs */
    max-width: 700px; /* narrower for better readability */
    width: 100%;
}

.about-overlay-text p {
    font-size: 1.6rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-overlay-image img {
        max-width: 90%;
    }

    .about-overlay-text {
        padding: 1.5rem 1rem;
    }

    .about-overlay-text p {
        font-size: 1.5rem;
    }

    .white-underline {
        margin-bottom: 1.5rem;
    }
}
.hero-about {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    text-align: center;
    padding: 6rem 2rem 2rem;
    background-color: black;
}

/* Overlay wrapper now scrolls internally if needed */
.about-overlay-wrapper {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto; /* scroll inside the overlay if content too long */
    padding: 2rem;
    box-sizing: border-box;
}

/* White underline */
.white-underline {
    width: 6rem;
    height: 0.4rem;
    background-color: white;
    border: none;
    margin-bottom: 2rem;
}

/* Image stays responsive */
.about-overlay-image img {
    width: 50%;
    max-width: 650px;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Text stays inside the hero area and adapts to width */
.about-overlay-text {
    background: rgba(0, 0, 0, 0.65);
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
}

.about-overlay-text p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .about-overlay-wrapper {
        padding: 2rem 1rem;
    }

    .about-overlay-image img {
        max-width: 90%;
    }

    .about-overlay-text {
        padding: 1.5rem 1rem;
    }

    .about-overlay-text p {
        font-size: 1.5rem;
    }

    .white-underline {
        margin-bottom: 1.5rem;
    }
}
.hero-about {
    padding: 3rem 2rem 2rem;
}

.about-overlay-wrapper h1 {
    margin-top: 0;
}

.white-underline {
    margin-top: 1rem;
    margin-bottom: 2rem;
}
@media (max-width: 768px) {
    .hero-about {
        height: 160vh; /* Make video area taller only on mobile */
        padding-top: 3rem;
    }

    .about-overlay-image img {
        width: 95%; /* Make image bigger on mobile */
        max-width: none;
    }

    .about-overlay-text {
        padding: 2rem 1.2rem;
    }

    .about-overlay-text p {
        font-size: 1.6rem;
    }
}
