body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

nav {
  background-color: #333;
  color: white;
  padding: 1rem;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
}

.menu-toggle {
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

#nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

#nav-links li a {
  color: white;
  text-decoration: none;
}

.content-section {
  padding: 2rem;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #nav-links {
    flex-direction: column;
    display: none;
  }

  #nav-links.active {
    display: flex;
  }
}

#home {
  background-image: url('images/background-image.jpg'); /* Adjust the path to your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white; /* Optional: ensures text is readable */
  padding: 60px 20px;
  text-align: center;
  min-height: 100vh; /* Ensures the section fills the screen */
}


footer {
  background-color: #1c1c1c;
  color: white;
  padding: 30px 20px 10px;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.footer-section {
  flex: 1 1 200px;
  margin-bottom: 20px;
}

.footer-section h3 {
  border-bottom: 1px solid #444;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 6px;
}

.footer-section ul li a {
  color: #00bfff;
  text-decoration: none;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}

.social-icons a {
  color: #00bfff;
  margin-right: 10px;
  font-size: 1.2rem;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid #444;
  position: relative;
}

.scroll-top-btn {
  position: absolute;
  right: 20px;
  top: 10px;
  background-color: #00bfff;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1rem;
}

.scroll-top-btn:hover {
  background-color: #0077b6;
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .scroll-top-btn {
    position: static;
    margin-top: 10px;
  }
}

/* Contact Section Styling */
#contact {
  background-color: #f4f4f4;
  padding: 50px 20px;
  text-align: center;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item a {
  color: #333;
  font-size: 16px;
  text-decoration: none;
}

.contact-item i {
  font-size: 24px;
  color: #007bff;
}

/* Contact Form */
form {
  margin-top: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  font-size: 16px;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

.form-group textarea {
  resize: vertical;
}

.submit-btn {
  background-color: #007bff;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.submit-btn:hover {
  background-color: #0056b3;
}

.submit-btn:active {
  background-color: #004085;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .contact-item {
    font-size: 18px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 14px;
  }
}

section {
  display: none;
}

#home {
  display: block; /* Display the home section by default */
}

/* Bio section */
.bio-details {
    display: flex;
    align-items: center;
    margin-top: 0px;
    background-color: #fff;
    padding: 0px;
    border-radius: 8px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
}

.bio-photo {
    width: 140px; /* Adjusted the size of the photo */
    height: 200px;
    border-radius: 50%; /* Circular photo */
    object-fit: cover; /* Ensures the image fits perfectly within the circle */
	object-position: top center; /* Aligns the image from the top to ensure the head stays visible */
    margin-right: 80px;
    border: 1px solid #007bff; /* Border color around the photo */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow for the photo */
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.bio-text p {
    margin-bottom: 15px; /* Increased space between the two <p> elements */
}

.bio-text a {
    color: #007bff;
    text-decoration: none;
}

.bio-text a:hover {
    text-decoration: underline;
}

/* Hover effect on the bio photo */
.bio-photo:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
    transition: transform 0.3s ease;
}

/* Mobile Responsiveness for Bio */
@media (max-width: 768px) {
    .bio-details {
        flex-direction: column;
        text-align: center;
    }

    .bio-photo {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .bio-text {
        text-align: center;
    }
}

/* Group Section */
#group {
    background-color: #f9f9f9;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#group h1 {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

#group p {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
}

#group .group-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

#group .member {
    width: 250px;
    text-align: center;
}

#group .member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#group .member p {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

#group .member strong {
    font-size: 1.1rem;
}


#links {
  padding: 2rem;
  font-family: "Segoe UI", sans-serif;
}

.link-category {
  margin-bottom: 2rem;
}

.link-category h2 {
  color: #1d3557;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.2rem;
}

.link-category a {
  color: #0077cc;
  text-decoration: none;
}

.link-category a:hover {
  text-decoration: underline;
}

/* Style for section headings */
.section-heading {
    color: #1d3557;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
	border-bottom: 1px solid #ccc;
    padding-bottom: 0.2rem;           /* Padding below the heading */
}

/* Global styling for all unordered lists */
ul {
    list-style-type: square; /* Sets the list item marker to square */
    padding-left: 1.2rem;     /* Adds left padding to create space before list items */
}
