/* Global Styles */
html,
body {
  overflow-x: hidden; /* Prevent horizontal scroll */
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ebebeb; /* Off-white background */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: #0d004f;
  color: white;
  padding: 1rem;
  text-align: center;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

nav a:hover {
  background-color: #383fa1;
}

main {
  flex: 1;
  padding: 5rem 2rem 2rem;
  text-align: left; /* Center text for index.html and contact.html */
}

.centered-container {
  display: flex;
  justify-content: center;
  min-height: 80vh;
  text-align: center; /* Center text for index.html and contact.html */
}

.centered-content {
  max-width: 600px;
}

img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 1rem auto;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  background-color: #0d004f;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  background-color: #0d004f;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #383fa1;
}

form {
  display: flex;
  flex-direction: column;
  width: 80%; /* Make text boxes smaller */
  margin: 0 auto; /* Add margins on both sides */
  text-align: left; /* Align text to the left */
}

label {
  margin-top: 1rem;
  margin-left: 10%; /* Add margin to the left */
}

input,
textarea {
  padding: 0.5rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  width: 80%; /* Adjust width */
  margin-left: 10%; /* Add margin to the left */
}

button {
  margin-top: 1.5rem;
  padding: 0.7rem;
  background-color: #0d004f;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 50%; /* Make the send email button smaller */
  margin: 1rem auto; /* Center the button */
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #383fa1;
}

main {
  margin-top: 4rem; /* Add margin below the nav bar */
}

footer {
  background-color: #0d004f;
  color: white;
  text-align: center;
  padding: 1rem;
  position: relative;
  width: 100%; /* Full width */
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .content {
  margin: 0 40px; /* Add margin to the text content */
}

footer .social-icons {
  display: flex;
  gap: 10px;
  margin-right: 40px; /* Add margin to the right for social icons */
}

footer .social-icons img {
  width: 30px;
  height: 30px;
}

/* Carousel Styles */
.carousel {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.carousel-content {
  display: flex;
  overflow: hidden;
}

.carousel-slide {
  min-width: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-buttons {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.carousel-button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  margin: 0 5px;
}

.carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}
