/* General Styles */
.about-section {
    margin-top: 3rem;
    font-family: 'Poppins', sans-serif;
    position: relative;
    background-color: white;
    padding: 2rem;
    overflow: hidden;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 130vh;
    /*background-image: url('../images/treeimage.png');*/
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}

.about-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #003366;
}

.about-intro, .about-description, .about-summary {
    font-size: 1rem;
    color: rgb(0, 0, 0);
    line-height: 1.6;
    font-weight: 500;
}

.about-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgb(0, 0, 0);
    margin-top: 1.5rem;
}

.about-list {
    list-style-type: disc;
    margin-left: 1.5rem;
    color: rgb(0, 0, 0);
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 500;
}

.lead {
    font-size: 1.2rem;
    color: rgb(0, 0, 0);
}

/* ✅ Responsive Design for All Screens */

/* 🎯 Extra Large Screens (Above 2400px) */
@media (min-width: 2400px) {
    .about-title {
        font-size: 3rem;
    }

    .about-intro, .about-description, .about-summary {
        font-size: 1.4rem;
    }

    .about-subtitle {
        font-size: 2rem;
    }

    .about-list {
        font-size: 1.4rem;
    }
}

/* 🎯 Large Screens (1920px - 2399px) */
@media (max-width: 2399px) {
    .about-title {
        font-size: 2.5rem;
    }

    .about-intro, .about-description, .about-summary {
        font-size: 1.2rem;
    }

    .about-subtitle {
        font-size: 1.8rem;
    }

    .about-list {
        font-size: 1.2rem;
    }
}

/* 🎯 Medium-Large Screens (1600px - 1919px) */
@media (max-width: 1919px) {
    .about-title {
        font-size: 2.2rem;
    }

    .about-intro, .about-description, .about-summary {
        font-size: 1.1rem;
    }

    .about-subtitle {
        font-size: 1.6rem;
    }

    .about-list {
        font-size: 1.1rem;
    }
}

/* 🎯 Standard Desktop (1200px - 1599px) */
@media (max-width: 1599px) {
    .about-title {
        font-size: 2rem;
    }

    .about-intro, .about-description, .about-summary {
        font-size: 1rem;
    }

    .about-subtitle {
        font-size: 1.4rem;
    }

    .about-list {
        font-size: 1rem;
    }
}

/* 🎯 Laptops & Small Desktops (992px - 1199px) */
@media (max-width: 1199px) {
    .about-title {
        font-size: 1.8rem;
    }

    .about-intro, .about-description, .about-summary {
        font-size: 0.95rem;
    }

    .about-subtitle {
        font-size: 1.3rem;
    }

    .about-list {
        font-size: 0.95rem;
    }
}

/* 🎯 Tablets (768px - 991px) */
@media (max-width: 991px) {
    .about-title {
        font-size: 1.7rem;
    }

    .about-intro, .about-description, .about-summary {
        font-size: 0.92rem;
    }

    .about-subtitle {
        font-size: 1.25rem;
    }

    .about-list {
        font-size: 0.92rem;
    }

    .container {
        padding: 0 20px;
    }
}

/* 🎯 Small Tablets & Large Phones (576px - 767px) */
@media (max-width: 767px) {
    .about-title {
        font-size: 1.6rem;
    }

    .about-intro, .about-description, .about-summary {
        font-size: 0.9rem;
    }

    .about-subtitle {
        font-size: 1.2rem;
    }

    .about-list {
        font-size: 0.9rem;
        margin-left: 1rem;
    }

    .about-section::after {
        width: 40%;
        height: 70%;
    }

    .container {
        padding: 0 15px;
    }
}

/* 🎯 Large Phones (480px - 575px) */
@media (max-width: 575px) {
    .about-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .about-intro, .about-description, .about-summary {
        font-size: 0.85rem;
        text-align: justify;
    }

    .about-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .about-list {
        font-size: 0.85rem;
        margin-left: 0.5rem;
    }

    .about-section::after {
        width: 40%;
        height: 60%;
        background-size: contain;
    }

    .lead {
        font-size: 1rem;
        text-align: justify;
    }
}

/* 🎯 Small Phones (320px - 479px) */
@media (max-width: 479px) {
    .about-title {
        font-size: 1.4rem;
        text-align: center;
    }

    .about-intro, .about-description, .about-summary {
        font-size: 0.8rem;
        text-align: justify;
    }

    .about-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .about-list {
        font-size: 0.8rem;
        margin-left: 0.25rem;
    }

    .about-section::after {
        width: 40%;
        height: 50%;
        background-size: contain;
    }

    .lead {
        font-size: 0.9rem;
        text-align: justify;
    }
}

/* 🎯 Very Small Devices (Below 320px) */
@media (max-width: 320px) {
    .about-title {
        font-size: 1.2rem;
        text-align: center;
    }

    .about-intro, .about-description, .about-summary {
        font-size: 0.75rem;
        text-align: justify;
    }

    .about-subtitle {
        font-size: 0.9rem;
        text-align: center;
    }

    .about-list {
        font-size: 0.75rem;
        margin-left: 0.25rem;
    }

    .about-section::after {
        width: 40%;
        height: 50%;
        background-size: contain;
    }

    .lead {
        font-size: 0.85rem;
        text-align: justify;
    }
}
