body {
  overflow-x: hidden;
}

.navbar {
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: #333333b9 !important;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
  color: white !important;
  font-weight: bolder;
}

.navbar-nav .nav-link {
  color: white !important;
}

.navbar-nav .nav-link:hover {
    color: #2565ae !important;
  }
  
  .navbar-nav .nav-link.active {
    color: #3c99dc !important;
  }

.social-icons {
  margin-left: auto;
}


.social-icons a i {
    color: #3c99dc;
    font-size: 18px;
  }

.social-icons a i:hover {
  color: white;
}

.btn-primary {
  background-color: #2565ae;
  border-color: #2565ae;
}

.btn-primary:hover {
  background-color: #ffffff;
  border: 2px solid white;
  color: #2565ae;
}

.btn-primary:active {
    background-color: #ffffff !important;
    border: 2px solid white !important;
    color: #2565ae !important;
    box-shadow: none !important;
  }

.carousel-caption {
  position: absolute;
  top: 58%;
  transform: translateY(-50%);
  color: white;
  text-align: center;
}

.carousel-item {
  height: 650px; /* Adjust height as needed */
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
}

.chat-icon-container {
  position: fixed;
  bottom: 20px; /* Adjust as needed */
  right: 20px; /* Adjust as needed */
  z-index: 9999; /* Ensure it's above other content */
  background-color: #3c99dc; /* Change to your preferred color */
  color: #fff; /* Text color */
  width: 60px; /* Icon container width */
  height: 60px; /* Icon container height */
  border-radius: 50%; /* Rounded corners for circle shape */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s; /* Smooth transition for box shadow and transform */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.645); /* Add a shadow */
}

.chat-icon-container:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Increase shadow on hover */
  transform: translateY(-5px); /* Move icon slightly upwards on hover */
}

.chat-icon {
  font-size: 24px; /* Icon size */
}

#img {
  margin-top: -80px;
  max-width: 250%;
  width: 700px;
  margin-left: -200px;
}

.carousel-caption h1 {
  font-size: 70px;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  margin-top: -100px;
}
.navbar {
  background-color: rgba(255, 255, 255, 0.5); /* Transparent white */
}
.search-container {
  display: flex;
  align-items: center;
}

.search-container input[type="text"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.search-container button {
  background-color: #031d38;
  color: #fff;
  border: none;
  padding: 10px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  cursor: pointer;
}

.news.row {
    display: flex;
}

.text-left {
    flex-grow: 1; /* Pushes this element to the left */
}

.search-container {
    flex-grow: 1; /* Pushes this element to the right */
    display: flex;
    justify-content: flex-end;
}


.card-heading {
  background-color: #031d38;
  color: white;
  padding: 20px;
}
.card-content {
  color: #031d38;
  font-weight: 500;
}

.card-location {
  color: #031d38;
}

.footer {
  background-color: #031d38;
  padding: 50px 0;
  margin-top: 50px;
}

.footer h1 {
  color: rgb(202, 225, 202);
  padding: 30px;
}

.footer p {
  color: rgb(202, 225, 202);
  padding: 30px;
  justify-items: center;
  text-align: center;
}

.footer p:hover {
  color: white;
}
.animate__animated {
    animation-duration: 2s;
    animation-fill-mode: both;
  }
  
  .animate__fadeInLeft {
    animation-name: fadeInLeft;
  }
  
  .animate__fadeInRight {
    animation-name: fadeInRight;
  }
/* Custom animation */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media only screen and (min-width: 320px) and (max-width: 932px) {

  body {
    overflow-x: hidden;
}

.carousel-caption {
  position: absolute;
  top: 58%;
  transform: translateY(-50%);
  color: white;
  text-align: center;
}


.carousel-item {
  height: 600px; /* Adjust height as needed */
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
}

#img{
    max-width: 150%;
    margin-top: 50px;
    margin-left: 120px;
}

.carousel-caption h1 {
  font-size: 50px;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  margin-top: -480px;
}
.carousel-item #img2 {
  height: 120%; /* Maintain aspect ratio */
}
#h1{
  font-size: 50px;
}
.news.row {
  display: block; /* Change display to block */
}

#t,
.search-container {
  text-align: center !important;
  justify-content: center !important; /* Center align the content */
}
}
