ul {
  padding: 0;
}

#navbar {
  overflow-x: hidden;
}

nav ul li a {
  transition: color 0.3s;
}

nav ul li a::after {
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: orangered;
}

nav ul li #languageSelect:focus {
  outline: none;
}

.tab-links {
  cursor: pointer;
  transition: background 0.3s;
}

.tab-contents {
  transition: opacity 0.3s ease-in-out;
}

.carousel-nav button {
  cursor: pointer;
}

.carousel-nav button:focus {
  outline: none;
}

.portfolio-carousel {
  transition: transform 0.5s ease;
}

.portfolio-carousel-item:hover img {
  transform: scale(1.05);
  border-color: #aaa;
}

.portfolio-carousel-item .card {
  transition: opacity 0.3s ease;
}

.portfolio-carousel-item.active .card {
  opacity: 1;
}

.portfolio-carousel-item .card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.portfolio-carousel-item .card-content p {
  font-size: 1rem;
}

.portfolio-carousel-item .card-content a {
  display: inline-block;
  margin-top: 10px;
  color: #333;
  transition: color 0.3s;
}

.portfolio-carousel-item .card-content a:hover {
  color: #ffffff;
}

.portfolio-carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 5px;
  border: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  overflow: auto;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  margin-top: 40px;
  transition: transform 0.3s ease-in-out;
}

#caption {
  text-align: center;
  margin-top: 20px;
}

#caption h3 {
  font-family: "Ubuntu", sans-serif;
  font-size: 1.25rem;
  color: #ffffff;
}

.close {
  color: #ffffff;
  font-size: 2rem;
  position: absolute;
  right: 15px;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

#contact {
  padding: 40px;
  background: linear-gradient(to bottom, #b7b7a4, #a5a58d);
  /*color: #ffffff;*/
}

.contact-left,
.contact-right {
  flex: 1;
  min-width: 300px;
}

.contact-left p i {
  margin-right: 5px;
  font-size: 1.25rem;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.social-icons a {
  color: inherit;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.social-icons a:hover,
.fa-envelope:hover,
.fa-phone:hover {
  transform: scale(1.25);
}
.contact-right {
  background: #ffffff;
  padding: 20px;
  border-radius: 5px;
  color: #333;
}

.contact-right h3,
.contact-left h3 {
  margin: 0 0 10px;
  text-align: left;
  font-size: 2rem;
  color: #000000;
}

.contact-left h3 {
  margin-top: 20px;
}

.contact-right form input,
.contact-right form textarea,
.contact-left .btn2,
.contact-right form button {
  font-family: "Baloo 2", sans-serif;
  width: calc(100% - 40px);
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
}

.contact-right form button,
.contact-left .btn2 {
  background: #333;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  width: auto;
  font-size: 1rem;
}

.contact-right form button:hover,
.contact-left .btn2:hover {
  background: #f0a500;
}

.contact-right form input[type="text"],
.contact-right form input[type="email"],
.contact-right form input[type="tel"],
.contact-right form input[type="text"],
.contact-right form textarea {
  font-family: "Mukta", sans-serif;
  width: 100%;
  margin-bottom: 15px;
  border: 2px solid #000000;
  font-size: 1rem;
  color: #333;
}

.contact-right form textarea {
  resize: vertical;
  max-height: 150px;
}

.contact-right form input[type="text"]::placeholder,
.contact-right form input[type="email"]::placeholder,
.contact-right form input[type="tel"]::placeholder,
.contact-right form input[type="text"]::placeholder,
.contact-right form textarea::placeholder {
  color: #888;
}

.form-row {
  display: flex;
  gap: 15px;
}

.footer {
  background: linear-gradient(to bottom, #a5a58d, #6b705c);
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
  position: relative;
  width: 100%;
  bottom: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer p {
  margin: 0;
}

.notification {
  font-size: 1rem;
  font-family: "Lato", sans-serif;
  color: #000;
  border-radius: 8px;
  padding: 10px 20px;
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  max-width: 90vw;
  box-sizing: border-box;
}

.notification-show {
  opacity: 1;
}

.notification-success {
  background: linear-gradient(to right, #00b09b, #96c93d);
}

.notification-error {
  background: linear-gradient(to right, #ff5f6d, #ffc371);
}

.map-container iframe {
  width: 75%;
  height: 100%;
  border-radius: 5px;
}

.map-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
  width: 100%;
  overflow: hidden;
  background: #a5a58d;
  padding-bottom: 40px;
}

@media only screen and (max-width: 767px) {
  #contact {
    padding: 25px;
  }

  .nav-link {
    scroll-margin-top: 5000px;
  }

  nav .fa-solid.fa-bars {
    cursor: pointer;
  }

  #sidemenu {
    transition: right 0.5s ease;
  }

  nav ul .fa-solid {
    cursor: pointer;
  }

  .navbar-text h1 span {
    font-size: 1.75rem;
  }

  .about-col-2 h3 {
    font-size: 1.25rem;
  }

  .about-col-2 h4 p {
    font-size: 1rem;
  }

  .tab-contents .active-tab p {
    font-size: 1rem;
  }

  .sub-titles {
    font-size: 1.25rem;
  }

  .portfolio-carousel-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .fas {
    font-size: 1.5rem;
  }

  .contact-left,
  .contact-right {
    width: 100%;
    margin: 20px 0;
  }

  .contact-right h3,
  .contact-left h3 {
    font-size: 1.25rem;
  }

  .contact-right {
    box-sizing: border-box;
  }

  .contact-right form {
    width: 100%;
    max-width: 500px;
  }

  .contact-right form button,
  .contact-left .btn2 {
    font-size: 1rem;
    margin-top: 0;
  }

  .contact-left p i,
  .social-icons a {
    font-size: 1.2rem;
  }

  .contact-right form textarea {
    max-height: 100px;
  }

  .form-row {
    display: initial;
  }

  .footer p {
    font-size: 0.9rem;
  }

  .notification {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    right: auto;
    padding: 5px 10px;
    font-size: 1rem;
    max-width: 95vw;
    box-sizing: border-box;
  }
  
    .map-container {
    height: 350px;
    padding-bottom: 0;
  }

  .map-container iframe {
    height: 325px;
    width: 100%;
    padding: 0 25px 25px;
  }
}
