h1,
h2 {
  padding-left: 5%;
}

a {
  text-decoration: none !important;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.nav-container {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

nav ul li {
  display: inline;
}

nav ul li a {
  text-decoration: none; /* This removes the underline */
  color: #000;
  font-size: 18px;
  position: relative;
}

nav ul li a::before {
  content: "•";
  margin-right: 5px;
}

.title-section {
  text-align: left;
  margin: 50px 0;
  padding-left: 10%;
  position: relative;
}

.title-section h1 {
  font-size: 48px;
  margin: 0;
}

.title-section h1 span {
  font-style: italic;
}

.title-section h1::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #000;
  top: 100%;
  left: 0;
  margin-top: 10px;
}

.projects-section {
  padding: 20px 10%;
}

.projects-section h2 {
  font-size: 36px;
}

body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #000;
  height: 100%;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #ddd;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-top: 1px solid #ddd;
  position: relative;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #ddd;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  color: #000;
  text-decoration: none; /* This removes the underline */
}

.footer-logo {
  font-size: 24px;
  font-weight: bold;
}

/*Carousel*/
#myCarousel,
#myCarousel-2 {
  width: 90%; /* Specify your desired width */
  height: 50%; /* Specify your desired height */
  margin: auto;
  margin-bottom: 10px;
}

.carousel-inner img {
  width: 100%; /* Ensures the image fills the entire width of the carousel container */
  height: 100%; /* Ensures the image fills the entire height of the carousel container */
  object-fit: cover; /* Ensures the image is proportionally scaled to cover the entire container */
  display: block; /* Ensures the image behaves as a block element */
  margin: auto; /* Centers the image horizontally within the container */
}

.carousel-control {
  opacity: 0%;
  align-content: center;
}

/* Form */
.container {
  max-width: 60%;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  margin-top: 5px;
}

textarea {
  height: 100px;
}

button {
  padding: 10px 20px;
  background-color: #d9d9d9;
  color: #000000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background-color: #adadad;
}

/* Compass */
.compass {
  text-align: justify;
  position: relative;
  overflow: hidden;
}

.compassitem:before,
.compassactive:after {
  content: "";
  width: 100%;
  border: 2px solid #d9d9d9;
  position: absolute;
  top: 1em;
  margin-top: -2px;
  z-index: -1;
  text-decoration: none;
}

.compass:after {
  content: "";
  display: inline-block;
  width: 100%;
}

.compassitem {
  width: 2em;
  height: 2em;
  text-align: center;
  line-height: 2em;
  border-radius: 50%;
  background: #d9d9d9;
  margin: 0 1em;
  display: inline-block;
  color: #000000;
}

.compassactive {
  width: 2em;
  height: 2em;
  text-align: center;
  line-height: 2em;
  border-radius: 50%;
  background: #000000;
  margin: 0 1em;
  display: inline-block;
  color: white;
}

/* Styles for compass links */
.compassitem a {
  text-decoration: none; /* Remove underline from links */
  color: #000000; /* Set your desired color for normal items */
}

.compassactive a {
  text-decoration: none; /* Remove underline from active link */
  color: white; /* Set your desired color for active item */
}

/* Hover effect for compass links */
.compassitem a:hover {
  text-decoration: underline; /* Optional: Add underline on hover */
}

@media (max-width: 768px) {
  /* Styles for tablets */
  .container {
    max-width: 80%;
  }
}

@media (max-width: 576px) {
  /* Styles for smartphones */
  .container {
    max-width: 90%;
  }
}
