/* Global Styles */
body, html {
    height: 100%;
    margin: 0;
    font: 400 15px / 1.8 "Lato", sans-serif;
    color: #777;
    box-sizing: border-box;
}

/* Navbar Styles */
.navbar {
    list-style-type: none;
    padding: 20px;
    margin: 0;
    background-color: #333;
    display: flex;
    justify-content: center;
    font-size: 1.2rem;
}

.navbar li {
    margin: 0 10px;
}

.navbar a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #FFD700;
}

/* Content Container */
.content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

./* Content Container */
.content-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
    flex-wrap: wrap; /* Allow content to wrap on smaller screens */
}

/* Text Section */
.text-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
    gap: 20px;
    flex-basis: 48%;
}

/* Image Section */
.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-basis: 48%;
    max-width: 100%;
}

.responsive-image {
    width: 100%; /* Image takes full width of the container */
    height: auto; /* Maintains aspect ratio */
    object-fit: cover; /* Ensure image covers container without distortion */
    max-width: 600px; /* Limit max width to prevent images from becoming too large */
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Adds subtle shadow for depth */
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column; /* Stack text and image sections */
    }

    .text-section, .image-section {
        flex-basis: 100%; /* Each section takes full width */
        margin-right: 0; /* Remove right margin */
        padding: 15px; /* Reduce padding */
    }

    .responsive-image {
        max-width: 100%; /* Make image fill container on smaller screens */
    }
}

/* Adjustments for Very Small Screens */
@media (max-width: 480px) {
    .navbar {
        font-size: 1rem;
        padding: 15px;
    }

    .content {
        padding: 10px;
    }

    h1 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1.4rem;
    }
}

