/* General styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Navbar styles */
.navbar {
  position: fixed;
  width: 100%;
  padding: 0.5em 1em;
  z-index: 1000;
  background-color: #333;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2em;
  transition: all 0.3s ease-in-out;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 0.5em 1em;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  background: #ff6347;
  color: white;
  border-radius: 4px;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
}

.hamburger .bar {
  background-color: white;
  height: 4px;
  width: 100%;
  border-radius: 5px;
}

.nav-links.show {
  display: flex;
  background-color: #333;
  flex-direction: column;
  align-items: flex-start;
  gap: 1em;
  padding: 1em;
}

/* Contact Section */
.contact-section {
  padding: 100px 2em;
  background-color: #f7f7f7;
}

.contact-info h2 {
  font-size: 2.5em;
  margin-bottom: 1em;
  color: #333;
}

.contact-details p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #555;
}

.contact-details a {
  color: #ff6347;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Image Container */
.image-container {
  text-align: center;
  margin-top: 2em;
}

.image-container img {
  width: 30%;
  border-radius: 10%;
  transition: box-shadow 0.3s ease-in-out;
}

.image-container img:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.caption {
  margin-top: 0.5em;
  font-weight: bold;
  color: #333;
}

/* Footer styles */
.footer {
  background-color: #222;
  color: white;
  padding: 1em;
  text-align: center;
}

.footer p {
  font-size: 0.9em;
  margin: 0;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 1024px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .image-container img {
    width: 50%;
  }
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .image-container img {
    width: 70%;
  }
}

@media screen and (max-width: 480px) {
  .contact-details p {
    font-size: 1em;
  }

  .image-container img {
    width: 90%;
  }

  .footer {
    padding: 0.5em;
  }
}
