/* navbar style */
@keyframes slideIn {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.navbar {
  background-color: white;
  padding: 10px 20px;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
  font-size: 1.1rem;
  font-weight: bold;
  color: #2f2959;
}

.navbar-nav .nav-link:hover {
  color: #ffcb05;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #ffcb05;
  animation: slideIn 0.5s ease forwards;
}

.navbar-nav .nav-item {
  margin-left: 20px;
}

.nav-link.active {
  position: relative;
  color: #ffcb05 !important;
}

.logo {
  width: 250px;
  height: auto;
}

/* call-to-action banner style */
.cta-banner {
  background-color: #2f2959;
  color: white;
  padding: 50px 0;
  background-image: url("img/banner-bg.jpg");
  background-size: cover;
  background-position: center;
}

.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.cta-banner p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-banner .btn-primary {
  background-color: #fdfdfd;
  color: #2f2959;
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.cta-banner .btn-primary:hover {
  background-color: #002147;
  color: white;
}

/* testimonial style */
.testimonials-section {
  background-color: #f5f5f5;
  padding: 50px 0;
}

.testimonials-section h2 {
  font-size: 2rem;
  color: #002147;
  margin-bottom: 40px;
  font-weight: bold;
}

.blockquote {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-style: italic;
}

.blockquote-footer {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #444;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #002147;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: #ffcb05;
}

/* facts style */
.rental-facts {
  background-color: #f5f5f5;
  padding: 50px 0;
  border-bottom: #002147 2px solid;
}

.rental-facts h2 {
  font-size: 2rem;
  color: #002147;
  margin-bottom: 40px;
  font-weight: bold;
}

.rental-facts .col-md-4 {
  margin-bottom: 30px;
}

.rental-facts i {
  color: #ffcb05;
  margin-bottom: 15px;
}

.rental-facts h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #002147;
}

.rental-facts p {
  font-size: 1rem;
  color: #666;
}

/* Rental Section style */
.rental-section {
  background-color: #f5f5f5;
}

/* card style */
.card-container {
  perspective: 1000px;
  cursor: pointer;
  margin-bottom: 30px;
}

.card-flip {
  width: 100%;
  height: 400px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.flipped .card-flip {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.card-front {
  background-color: white;
}

.card-back {
  background-color: #2f2959;
  color: white;
  transform: rotateY(180deg);
}

.flip-indicator {
  font-size: 0.9rem;
  color: #888;
  margin-top: 10px;
  font-style: italic;
}

.card-body {
  padding: 15px;
  text-align: center;
}

.card-title {
  color: #ffcb05;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Styling for the table */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.table td {
  padding: 0.75rem;
  font-size: 1rem;
  color: #333;
  text-align: left;
}

.table td:first-child {
  border-right: 2px solid #ddd;
  font-weight: bold;
  width: 50%;
}

.table td:nth-child(2) {
  text-align: right;
  width: 50%;
}

.table tr {
  border-bottom: 1px solid #ddd;
}

@media (max-width: 768px) {
  .table td {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  #carCarousel .carousel-control-prev,
  #carCarousel .carousel-control-next {
    display: none;
  }

  #carCarousel .carousel-item {
    display: block;
    margin-bottom: 20px;
  }

  #carCarousel .col-md-4 {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }

  .card-container {
    margin-bottom: 20px;
  }
}

/* Button styling */
.btn-primary {
  background-color: #ffcb05;
  color: #002147;
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
}

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

/* Responsive Layout */
@media (max-width: 768px) {
  .col-md-4 {
    width: 100%;
  }

  .package-card {
    margin-bottom: 20px;
  }
}

/* Package Details Section */
.package-details {
  background-color: #ffffff;
  padding: 50px 0;
}

.package-card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 350px;
}

.card-img-top {
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 0.25rem;
  transition: transform 0.3s ease;
}

.package-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.card-title {
  color: #2f2959;
  font-weight: bold;
  transition: color 0.3s ease;
}

.package-card:hover .card-title {
  color: rgb(255, 165, 0);
}

.card-text {
  transition: color 0.3s ease;
}

.package-card:hover .card-text {
  color: rgb(80, 80, 80);
}

.card-body {
  color: #606060;
  background-color: #ffffff8b;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Footer Styling */
.footer {
  background-color: transparent;
  color: #002147;
  padding: 40px 0;
  border-top: #2f2959 2px solid;
  font-family: "Nunito", sans-serif;
}

.footer-logo {
  width: 180px;
  height: auto;
}

.footer-about-text {
  color: #002147;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1.2rem;
  color: #002147;
  margin-bottom: 20px;
  font-weight: bold;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links li a,
.footer-contact li a {
  color: #002147;
  text-decoration: none;
  font-size: 1rem;
}

.footer-links li a:hover,
.footer-contact li a:hover {
  font-weight: bold;
  color: #ffcb05;
}

.footer-social a {
  color: #002147;
  margin-right: 15px;
  font-size: 1.5rem;
  transition: color 0.3s ease-in-out;
}

.footer-social a:hover {
  color: #ffcb05;
}

.footer-divider {
  border-color: #002147;
  margin: 20px 0;
}

.text-center p {
  color: #ffcb05;
  font-size: 1rem;
  margin: 10px;
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 20px;
  }

  .footer-title {
    font-size: 1.1rem;
  }

  .footer-logo {
    width: 140px;
  }

  .footer-social a {
    font-size: 1.3rem;
    margin-right: 10px;
  }
}