:root {
  --main-color: #3048A0;
  --accent-color: #FF0000;
  --text-color: #000;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

.contact-header {
  background-color: var(--main-color);
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

/* Navbar */
.navbar {
  background-color: var(--main-color);
  position: sticky;
  top: 0;
  z-index: 1020;
  padding: 0.5rem 1rem;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-size: 1.25rem;
  color: #fff !important;
  white-space: nowrap;
  padding-left: 0.5rem;
}

.navbar-toggler {
  margin-left: auto;
}

.nav-link {
  color: #fff !important;
}

/* Carousel */
.carousel {
  margin-top: 0px;
  overflow: hidden;
}

.carousel-item {
  position: relative;
  height: 400px;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Caption Box */
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem 3rem;
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.carousel-caption h1 {
  font-size: 2.2rem;
  color: #fff;
}

.carousel-caption p {
  font-size: 1.2rem;
  color: #fff;
}

.carousel-indicators {
  bottom: 1rem;
  left: 2%;
  right: 2%;
  justify-content: center;
}

.carousel-indicators [data-bs-target] {
  background-color: var(--accent-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

/* Buttons */
.btn-primary {
  background-color: var(--main-color);
  border: none;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #203080;
}

.btn-outline-light:hover {
  background-color: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

/* Cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.card-title {
  color: var(--main-color);
  font-weight: 600;
}





/* Footer */
footer {
  background-color: var(--main-color);
  border-top: 4px solid var(--accent-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  color: #fff;
}

footer h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  color: var(--accent-color);
}

/* Mobile Adjustments */
@media (max-width: 576px) {
  .navbar-brand {
    font-size: 0.8rem;
  }

  .carousel-item {
    height: 400px;
  }

.carousel-caption {
  top: 80px;
  bottom: 80px;
  left: 0;
  right: 0;
  transform: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
  animation: fadeIn 1s ease forwards;
}

  .carousel-caption h1 {
    font-size: 1.5rem;
    text-align: center;
	  margin-bottom: 20px;
  }

  .carousel-caption p {
    display: none;
  }

  .carousel-caption .btn {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    float: none;
	    animation: fadeIn 1s ease forwards;
  animation-delay: 0.3s;

  }

  .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .carousel-indicators {
    bottom: 0.5rem;
    left: 5%;
    right: 5%;
  }
}
