* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Verdana pro", sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Ensure body takes the full viewport height */
    margin: 0;
    background-color: var(--white);
    font-optical-sizing: auto;

}

main {
    flex: 1;
    /* Makes the main content expand to fill available space */
}



:root {
    --logo-color: #f79836;
    --primary-color: #a8cf45;
    --primary-color-dark: #0e844d;
    --text-dark: #333333;
    --white: #ffffff;
    --button: #0b3d26;

}

.title {
    font-size: 2.5rem;
    margin: 20px;
    color: var(--button);
    text-align: center;
}

/* General container with max-width */
.about {
    max-width: 1200px;
    margin: 0 auto;
    /* Centers the container horizontally */
    padding: 0 1rem;
    /* Adds padding for smaller screens */
    
}

/* Row Styling */
.about .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    flex-direction: row;
    /* Ensures image on left, content on right in web view */
}

/* Image Styling */
.about .row .image {
    flex: 1 1 45%;
    /* Take half of the container width */
    text-align: center;
    /* Center-align for smaller screens */
}

.about .row .image img {
    width: 100%;
    height: 60vh;
    border-radius: 0.5rem;
    object-fit: cover;
}

/* Content Styling */
.about .row .content {
    flex: 1 1 50%;
    /* Take half of the container width */
}

.about .row .content h3 {
    font-size: 1.7rem;
    color: var(--primary-color-dark);
    line-height: 1.5;
}

.about .row .content p {
    font-size: 16px;
    line-height: 1.4;
    color: var(--text-dark);
    padding: 1rem 0;
}

/* Responsive Styling */

/* For large screens (Desktops) */
@media (min-width: 1025px) {
    .about .row {
        flex-direction: row;
        /* Image left, content right */
    }
}
@media  (max-width: 1024px) {
    .about .icons-container {
        grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)) !important;
        gap: 12px !important;
    }
}

/* For tablets and smaller screens */
@media (min-width: 481px) and (max-width: 1024px) {
    .about .row {
        flex-direction: column;
        /* Stack image and content vertically */
        text-align: center;
    }

    .about .row .image,
    .about .row .content {
        flex: 1 1 100%;
        /* Full width for both image and content */
    }
}

/* For mobile screens */
@media (max-width: 480px) {
    .about .row {
        flex-direction: column;
        /* Stack image and content vertically */
        text-align: center;
    }

    .about .row .image,
    .about .row .content {
        flex: 1 1 100%;
        /* Full width for both image and content */
    }

    .title {
        font-size: 2rem;
    }
    .about .row .image img {
        height: 35vh;
        object-fit: cover;
    }

    .about .row .content p {
        font-size: 1.2rem;
    }
    .about .row .content h3 {
    font-size: 24px;
}
}



.about .icons-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(16rem, 1fr))[auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.about .icons-container .icons {
    padding: 1rem 1rem;
    border-radius: .5rem;
    border: 0.2rem solid var(--text-dark);
    text-align: center;
    cursor: pointer;
}

.about .icons-container .icons:hover {
    background: var(--primary-color);
}

.about .icons-container .icons:hover img {
    -webkit-filter: invert(1);
    filter: invert(1);
}

.about .icons-container .icons:hover h3 {
    color: var(--white);
}

.about .icons-container .icons img {
    height: 7rem;
    margin-bottom: 1rem;
}

.about .icons-container .icons h3 {
    font-size: 1.7rem;
    color: var(--text-dark);
}




.container {
    line-height: 1.4;
    color: var(--text-dark);
    font-size: 1.2rem;
    
}

.about-content h2 {
    color: var(--primary-color-dark);
    /* Dark teal */
    font-size: 1.7rem;
    margin-top: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    font-size: 16px;
}

.about-points h3 {
    color: var(--primary-color-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.about-points p {
    margin-bottom: 1.5rem;
        margin-left: 30px;

}

/* Call to Action Section */
.call-to-action {
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: 2rem;
}

.call-to-action h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.call-to-action p {
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-header h1 {
        font-size: 2rem;
    }

    .about-content h2 {
        font-size: 24px;
    }

    .about-points h3 {
        font-size: 1.3rem;
    }

    .call-to-action h2 {
        font-size: 1.5rem;
    }
     .about .icons-container {
        grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)) !important;
        gap: 12px !important;
    }
}