
/* ----------------------- */
/*      MEDIA QUERIES      */
/* ----------------------- */

/* Responsive Design for Tablets (max-width: 992px) */
@media (max-width: 992px) {
    .lp-description,
    .lp-description-2 {
        flex-direction: column;
        text-align: center;
    }

    .lp-description > p,
    .lp-description-2 > p {
        text-align: center;
        padding: 10px 0;
    }

    .hero-section {
        flex-direction: column;
        align-items: left;
        padding: 3rem 1.5rem; /* Ensure sufficient padding */
    }
    .hero-left,
    .hero-right {
        max-width: 100%;
        text-align: left;
    }
    .hero-content h1 {
        position: relative;           /* Contain any absolutely positioned elements */
        padding: 10px;
        text-align: left;
        margin: 10px 0 70px 0;  /* Extra bottom margin ensures no overlap */
        line-height: 1.2;             /* Ensure adequate line-height */
        font-size: 1.2rem;
    }
    .hero-subtitle {
        margin-top: 20px;             /* Extra top margin for additional spacing */
        text-align: left;
    }
    .hero-description {
        font-size: 1rem;
        text-align: left;
        margin: 10px 0;
    }
}

/* Responsive Design for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    .lp-description,
    .lp-description-2 {
        flex-direction: column;
        max-width: 100%;
        text-align: center;
    }

    /* Widen section for better mobile layout */
    .lp-description-3 {
        width: 80%;
        padding: 40px;
    }

    .hero-section {
        flex-direction: column;
        align-items: center;
        padding: 3rem 1.5rem; /* Ensure sufficient padding */
    }
    .hero-left,
    .hero-right {
        max-width: 100%;
        text-align: center;
    }
    .hero-content h1 {
        position: relative;           /* Contain any absolutely positioned elements */
        padding: 10px;
        font-size: 2.0rem;
        text-align: center;
        margin: 10px 0 70px 0;  /* Extra bottom margin ensures no overlap */
        line-height: 1.2;             /* Ensure adequate line-height */
    }
    .hero-subtitle {
        margin-top: 20px;
    }
    .hero-description {
        font-size: 1rem;
        text-align: center;
        margin: 10px 0;
    }
}

/* Tablet and Below (max-width: 600px) */
@media (max-width: 600px) {
    .hero-section {
        flex-direction: column;
        align-items: center;
        padding: 3rem 1.5rem; /* Ensure sufficient padding */
    }
    .hero-left,
    .hero-right {
        max-width: 100%;
        text-align: center;
    }
    .hero-content h1 {
        position: relative;           /* Contain any absolutely positioned elements */
        padding: 10px;
        font-size: 2.0rem;
        text-align: center;
        margin: 10px 0 70px 0;  /* Extra bottom margin ensures no overlap */
        line-height: 1.2;             /* Ensure adequate line-height */
    }
    .hero-subtitle {
        margin-top: 20px;
    }
    .hero-description {
        font-size: 1rem;
        text-align: center;
        margin: 10px 0;
    }
}

/* Mobile and Below (max-width: 480px) */
@media (max-width: 480px) {
    /* Inherit the tablet adjustments for consistency */
    .hero-section {
        flex-direction: column;
        align-items: center;
        padding: 3rem 1.5rem;
    }
    .hero-left,
    .hero-right {
        max-width: 100%;
        text-align: center;
    }
    .hero-content h1 {
        position: relative;
        padding: 10px;
        font-size: 1.2rem;
        text-align: center;
        margin: 10px 0 70px 0;  /* Extra bottom margin ensures no overlap */
        line-height: 1.2;
    }
    .hero-subtitle {
        margin-top: 20px;
    }
    .hero-description {
        font-size: 1rem;
        text-align: center;
        margin: 10px 0;
    }
}