/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Container */
.containerrr {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
}

/* About Section */
.about-section {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
}

/* About Image */
.about-image {
    flex: 1;
    min-width: 300px;
    margin-right: 20px;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* About Content */
.about-content {
    flex: 2;
    max-width: 600px;
}

.about-content h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.about-content p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Responsive Design */

/* For desktop and large screens (1025px and above) */
@media (min-width: 1025px) {
    .containerrr {
        width: 80%; /* Slightly reduced width for large screens */
    }

    .about-section {
        padding: 30px; /* Adjust padding for larger screens */
    }

    .about-content h2 {
        font-size: 2.5em;
    }

    .about-content p {
        font-size: 1.2em;
    }

    .about-image img {
        height: auto; /* Maintain natural image size */
    }
}

/* For laptops and tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .containerrr {
        width: 85%; /* Container width reduced for tablet */
    }

    .about-section {
        padding: 25px; /* Slight padding change */
    }

    .about-content h2 {
        font-size: 2.2em;
    }

    .about-content p {
        font-size: 1.1em;
    }

    .about-image img {
        height: 300px; /* Adjust image size for tablets */
    }
}

/* For mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    .containerrr {
        width: 90%; /* Reduced container width */
    }

    .about-section {
        flex-direction: column; /* Stack image and content vertically */
        padding: 15px; /* Reduce padding for smaller screens */
        text-align: center; /* Center content */
    }

    .about-image {
        margin-right: 0;
        margin-bottom: 20px; /* Space between image and content */
        justify-content: center; /* Center the image */
    }

    .about-content {
        flex: 1;
        max-width: 100%;
    }

    .about-content h2 {
        font-size: 1.8em;
    }

    .about-content p {
        font-size: 1em;
    }

    .about-image img {
        height: 250px; /* Adjust image size for mobile */
    }
}

/* For very small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .containerrr {
        padding: 10px; /* Adjust container padding */
    }

    .about-section {
        padding: 10px; /* Reduced padding */
    }

    .about-content h2 {
        font-size: 1.5em; /* Further reduce heading size */
    }

    .about-content p {
        font-size: 0.95em; /* Further reduce text size */
    }

    .about-image img {
        height: 200px; /* Further reduce image height */
    }
}

/* For extra small mobile devices (max-width: 400px) */
@media (max-width: 400px) {
    .containerrr {
        padding: 5px; /* Tighten padding for very small screens */
    }

    .about-section {
        padding: 8px; /* Tighten padding for very small screens */
    }

    .about-content h2 {
        font-size: 1.3em; /* Very small heading */
    }

    .about-content p {
        font-size: 0.85em; /* Smallest text size */
    }

    .about-image img {
        height: 180px; /* Very small image */
    }
}
