/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and General Layout */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #004085;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

header .logo p {
    font-size: 1.1rem;
}
.logo-container {
  display: flex;
  justify-content: center;
  flex: 1;
}.logo {
    text-align: center;
    left: 50%;
}
  
  .logo-img {
    height: 300px;
    width: auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #007BFF;
    color: white;
    padding: 0.5rem 1rem;
}

.nav-links li {
    display: inline;
}
  
  .nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
}
  
  .nav-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #002c57;
}

main {
    padding: 2rem;
    background-color: white;
    margin-top: 1rem;
}

h2 {
    font-size: 1.8rem;
    color: #004085;
    margin-bottom: 1rem;
}

section {
    margin-bottom: 2rem;
}

button {
    background-color: #004085;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #002c57;
}

.officers {
    text-align: center;
    padding: 2rem;
    background-color: #ffffff;
  }
  
  .officers h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #004085;
  }
  
  .officer-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .officer {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    width: 200px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .officer-img {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
  }
  
  .officer h3 {
    font-size: 1.25rem;
    margin: 0.5rem 0;
  }
  
  .officer p {
    font-size: 1rem;
    color: #666;
  }

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

.president-messages {
    text-align: center;
    padding: 2rem;
    background-color: #ffffff;
  }
  
  .president-messages h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #007BFF;
  }
  
  .messages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  
  .message {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .president-img {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
  }
  
  .message h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
  }
  
  .title {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
  }
  
  .text {
    font-size: 1rem;
    color: #333;
  }

/* About Us Section */
#about {
    padding: 2rem;
    background-color: #ffffff;
    margin-bottom: 6rem; /* Ensure spacing between About and Video section */
}

#about h2 {
    font-size: 2rem;
    color: #004085;
    margin-bottom: 1rem;
}

#about p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}


/* Video Section */
#video-section {
    text-align: center;
    padding: 2rem;
    background-color: white;  /* Set the background to white */
}

#video-section h2 {
    font-size: 2rem;
    margin-top: 3rem; /* Ensure spacing between About and Video section */
    margin-bottom: 1rem;
    background-color: white;  /* Set the background to white */
}
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Limit the max-width for larger screens */
    margin: 0 auto;
    padding-top: 56.25%; /* Maintain 16:9 aspect ratio */
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
  /* Members Section */
.members {
    text-align: center;
    padding: 2rem;
    background-color: #ffffff;
  }
  
  .members h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #007BFF;
  }
  
  .member-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .member {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    width: 200px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .member-img {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
  }
  
  .member h3 {
    font-size: 1.25rem;
    margin: 0.5rem 0;
  }

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    #about h2 {
        font-size: 1.8rem;
    }

    #video-section h2 {
        font-size: 1.8rem;
    }

    header .logo h1 {
        font-size: 1.5rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    main {
        padding: 1rem;
    }

    button {
        width: 100%;
        padding: 1rem;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        background-color: #007BFF;
        position: absolute;
        top: 60px;
        right: 0;
        padding: 1rem;
        border-radius: 0 0 5px 5px;
      }
    
      .nav-links.show {
        display: flex;
      }
    
      .nav-toggle {
        display: block;
      }
    .video-container {
        max-width: 100%; /* Make the video responsive */
    }

    .video-container iframe {
        height: auto; /* Ensure proper aspect ratio on smaller screens */
    }
   }

@media (max-width: 480px) {
    header .logo h1 {
        font-size: 1.2rem;
    }
  .logo {
    max-height: 80px; /* Reduce logo size on smaller screens */
  }

    #about h2 {
        font-size: 1.5rem;
    }

    #video-section h2 {
        font-size: 1.5rem;
    }    
nav ul {
        gap: 0.3rem;
    }

    button {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}
/* Styling for the image carousel */
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 80%;
    margin: auto;
}

.carousel {
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
}

.carousel img {
    width: 200px;
    margin-right: 10px;
}

.carousel-buttons {
    display: flex;
    justify-content: center;
    gap: 10px; /* Space between buttons */
}

.carousel-buttons button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.carousel-buttons button:hover {
    background-color: #0056b3;
}