body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #eef2f3;
    color: #444;
    margin: 0;
    scroll-behavior: smooth; /* Smooth scrolling */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #28a745;
    color: white;
    padding: 20px 30px;
    border-bottom: 5px solid #218838;
    position: sticky; /* Sticky header */
    top: 0;
    z-index: 1000; /* Ensure it stays on top */
}

h1 {
    font-size: 2.5em;
    margin: 0;
}

h3 {
    font-size: 1.2em;
    margin: 0;
}

nav {
    display: flex;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2); /* Hover effect */
}

section {
    margin: 40px 20px;
}

h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #28a745;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    height: 3px;
    width: 50px;
    background: #218838;
    margin-top: 5px;
}

.content {
    text-align: center;
}

.zigzag {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slide-container {
    display: flex;
    align-items: center;
    width: 100%;
    border: 2px solid #28a745;
    border-radius: 10px;
    background-color: #f9f9f9;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0; /* Space between slides */
}

.image-container {
    max-width: 45%; /* Set max width for images */
    overflow: hidden; /* Hide overflow for rounded corners */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    margin: 0 20px; /* Space between image and text */
}

.image-container img {
    width: 100%; /* Make image fill the container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove bottom whitespace */
}

.info {
    max-width: 45%; /* Set max width for info text */
    text-align: left; /* Align text to the left */
}

.info h3 {
    color: #28a745; /* Title color */
    margin-bottom: 10px;
}

.info p {
    color: #444; /* Paragraph color */
}

/* Zigzag effect */
.left {
    flex-direction: row; /* Image on the left */
}

.right {
    flex-direction: row-reverse; /* Image on the right */
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .image-container,
    .info {
        max-width: 100%; /* Use full width on smaller screens */
        margin: 10px 0; /* Remove margin on smaller screens */
    }

    .slide-container {
        flex-direction: column; /* Stack image and info vertically on small screens */
        align-items: center; /* Center items */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em; /* Adjust heading size for smaller screens */
    }

    h2 {
        font-size: 1.5em; /* Adjust section title size */
    }
}

footer {
    background: #28a745; /* Match with header color */
    color: white; /* Text color */
    padding: 20px; /* Padding around footer */
    text-align: center; /* Center the content */
    position: relative; /* For decorative elements */
}

.members {
    font-size: 1.2em; /* Increase font size for members' names */
}

.members h2 {
    margin-bottom: 10px; /* Space below the heading */
    text-decoration: underline; /* Underline effect for the heading */
}

.members ul {
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
}

.members li {
    margin: 5px 0; /* Space between names */
    position: relative; /* For decorative line */
}

.members li::before {
    content: ''; /* Empty content for the line */
    position: absolute; /* Position it absolutely */
    left: -20px; /* Position it left of the text */
    top: 50%; /* Center vertically */
    height: 1px; /* Height of the line */
    width: 15px; /* Length of the line */
    background: white; /* Line color */
    transform: translateY(-50%); /* Center the line vertically */
}
