body {
    font-family: 'Garamond', 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    text-align: center; /* Center text in the body */
}

header {
    background-color: #ffffff;
    color: #333;
    display: flex;
    justify-content: center; /* Center header contents */
    align-items: center; /* Align items in the center */
    padding: 0.5rem 1.5rem;
}

.header-left {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center header left contents */
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
    color: #333;
}

header .bio p {
    font-size: 0.9rem;
    margin: 0;
    color: #333;
}

.welcome {
    align-self: center; /* Center the welcome text */
    margin: 0;
    color: #333;
}

.container {
    display: flex; /* Use flexbox to arrange children in a row */
    justify-content: center; /* Center the images */
    gap: 10px; /* Add a small gap between images */
    max-width: 100%;
    margin-top:  100px;
    margin-bottom: 200px;
    padding: 20px;
}

.container img {
    width: 700px; /* Set a fixed width for consistency */
    height: auto; /* Maintain aspect ratio */
    margin: 0; /* Remove margin to bring images closer together */
}

.container-large {
    display: flex; /* Use flexbox to arrange children in a row */
    justify-content: center; /* Center the images */
    gap: 15px; /* Adjust gap if needed */
    max-width: 100%; /* Ensure it doesn't exceed the container width */
    margin: 20px auto; /* Center and add margin around */
    padding: 20px; /* Add padding */
}

.container-large img {
    height: 300px; /* Set a fixed height for all images */
    width: auto; /* Width adjusts automatically to maintain aspect ratio */
    object-fit: cover; /* Ensure the image covers the space without distortion */
}


.container-medium {
    display: flex; /* Use flexbox to arrange children in a row */
    justify-content: center; /* Center the images */
    gap: 15px; /* Adjust gap if needed */
    max-width: 100%; /* Ensure it doesn't exceed the container width */
    margin: 20px auto; /* Center and add margin around */
    padding: 20px; /* Add padding */
}

.container-medium img {
    width: 400px; /* Set a different width for this container */
    height: auto; /* Maintain aspect ratio */
}

.slider {
    height: 500px; /* Increase the height to fit enlarged images */
    overflow-x: scroll; /* Enable horizontal scrolling */
    overflow-y: hidden; /* Prevent vertical scrolling */
    white-space: nowrap; /* Prevent line breaks */
    margin: 60px 0; /* Increased margin to create more space from the header */
    scroll-behavior: smooth; /* Smooth scrolling behavior */
    padding-bottom: 40px;
    padding-top: 40px; /* Ensure no clipping at the bottom */
    position: relative; /* Ensure absolute elements are positioned correctly */
}

/* Hide the scrollbar */
.slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar in Chrome, Safari, and other Webkit browsers */
}

.slider {
    -ms-overflow-style: none; /* Hide scrollbar in IE and Edge */
    scrollbar-width: none; /* Hide scrollbar in Firefox */
}

.slider-content {
    display: inline-flex; /* Keep images in a single horizontal row */
    overflow: visible; /* Allow images to overflow */
}

.slider img {
    width: 300px;
    height: auto;
    margin-right: 40px; /* Increased space between images */
    transition: transform 0.3s ease, margin-right 0.3s ease; /* Smooth transformation */
    position: relative; /* Ensure stacking context is consistent */
}

.slider img:hover {
    transform: scale(1.4); /* Enlarge image by 40% on hover */
    z-index: 2; /* Ensure hovered image is on top */
    margin-right: 40px; /* Maintain increased space between images on hover */
}

.contact p, footer p {
    font-size: 0.8rem;
}

footer {
    text-align: center; /* Center text in the footer */
    padding: 20px;
    color: #333;
}

.additional-content {
    margin: 20px 0; /* Space above and below */
    padding: 15px;
    text-align: center; /* Center text in additional content */
}

.additional-content h2 {
    font-size: 1.5rem;
    color: #333;
}

.additional-content p {
    font-size: 1rem;
    color: #333;
}

.additional-images {
    display: flex; /* Arrange images in a row */
    gap: 10px; /* Space between images */
    justify-content: center; /* Center additional images */
    margin-top: 10px; /* Space above the image row */
}

.additional-images img {
    width: 500px; /* Set a fixed width for consistency */
    height: auto; /* Maintain aspect ratio */
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 100%; /* Set max width to 100% */
    max-height: 100%; /* Set max height to 100% */
    width: auto; /* Allow width to adjust automatically */
    height: auto; /* Allow height to adjust automatically */
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Additional style to remove hover effect when an image is clicked */
.no-hover {
    transform: none !important; /* Remove hover transform effect */
    margin-right: 10px !important; /* Revert to normal margin */
    z-index: 1 !important; /* Reset z-index */
}

.text-section {
    max-width: 600px; /* Set a max width for the text section */
    margin: 20px auto; /* Center the section with automatic left and right margins */
    padding: 20px; /* Add some padding */
    text-align: center; /* Center the text */
    color: #333; /* Text color */
    
}

.text-section h2 {
    font-size: 1.8rem; /* Set a size for the heading */
    margin-bottom: 10px; /* Space below the heading */
}

.text-section p {
    font-size: 1rem; /* Set a size for the paragraph text */
}
