/********** Template CSS **********/
:root {
  --primary: #FFC107; /* A slightly brighter, more modern yellow */
  --secondary: #6C757D; /* Standard Bootstrap secondary, good for text */
  --light: #F8F9FA; /* Lighter background for cleaner look */
  --dark: #212529; /* Darker, more standard dark for text/backgrounds */
}

.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.my-6 {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

/* WhatsApp Button Styles */
.whatsapp-btn {
  background-color: #25d366; /* WhatsApp green color */
  color: white;
  position: fixed; /* Keeps the button fixed on the screen */
  bottom: 20px; /* Distance from the bottom */
  right: 20px; /* Distance from the right */
  border-radius: 50%; /* Circular button */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Softer, more diffused shadow */
  transition: background-color 0.3s, transform 0.2s ease-in-out; /* Smooth transition for hover effect and subtle scale */
  z-index: 1;
}

.book-now-btn {
  background-color: var(--primary); /* Use primary color from root */
  color: white;
  position: fixed;
  bottom: 20px;
  right: 80px; /* Positioned to the left of the WhatsApp button */
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Softer, more diffused shadow */
  transition: background-color 0.3s, transform 0.2s ease-in-out; /* Smooth transition for hover effect and subtle scale */
  z-index: 1;
}

.book-now-btn:hover {
  background-color: #d6b53f; /* Darker primary color on hover */
  transform: scale(1.05); /* Subtle zoom effect on hover */
}

.whatsapp-btn:hover {
  background-color: #128c7e; /* Darker green on hover */
  transform: scale(1.05); /* Subtle zoom effect on hover */
}

/*! custom css */
.bg-custom {
  background-color: #152a49;
}

small {
  font-size: 0.9rem; /* Slightly smaller for a cleaner look */
  line-height: 1.5; /* Improved readability */
}

@media (max-width: 576px) {
  small {
    font-size: 0.875rem; /* Smaller text for small screens */
  }
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .navbar-brand,
.navbar a.btn {
  height: 80px;
}

.navbar .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: var(--dark);
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border: 10px solid var(--primary);
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

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

.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #999999;
}

/*** Facts ***/
@media (min-width: 991.98px) {
  .facts {
    position: relative;
    margin-top: -75px;
    z-index: 1;
  }
}

/*** Courses ***/
.courses {
  background: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

.courses-item .courses-overlay {
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  opacity: 0;
  transition: 0.5s;
}

.courses-item:hover .courses-overlay {
  height: 100%;
  opacity: 1;
}

/*** Team ***/
.team-items {
  margin: -0.75rem;
}

.team-item {
  padding: 0.75rem;
}

.team-item::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background: #ffffff;
  transition: 0.5s;
  z-index: -1;
}

.team-item:hover::after {
  height: 100%;
  background: var(--primary);
}

.team-item .team-social {
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  overflow: hidden;
  opacity: 0;
  transition: 0.5s;
}

.team-item:hover .team-social {
  height: 100%;
  opacity: 1;
}

/*** Testimonial ***/
.testimonial-carousel .owl-dots {
  height: 40px;
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 20px;
  height: 20px;
  background: transparent;
  border: 2px solid var(--primary);
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  width: 40px;
  height: 40px;
  background: var(--primary);
}

.testimonial-carousel .owl-item img {
  width: 100%;
  height: 50vh; /* Adjusted height for larger images */
  object-fit: cover; /* Ensures the image covers the area without distortion */
  border-radius: 0.5rem; /* Matches soft corner styling */
  object-position: center;
}

/*** Footer ***/
.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--light);
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--light);
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.copyright {
  background: #092139;
}

.copyright a {
  color: var(--primary);
}

.copyright a:hover {
  color: var(--light);
}

/* custom */

.pricing {
  text-align: center;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Lighter, more modern shadow */
  min-height: 500px; /* Ensures consistent card height */
  transition: transform 0.3s ease-in-out; /* Add transition for hover effect */
}

.card:hover {
  transform: translateY(-5px); /* Subtle lift effect on hover */
}

.card h3 {
  margin: 0;
  font-size: 1.5em;
  min-height: 50px; /* Consistent height for headers */
}

.card p {
  margin: 10px 0;
  color: #666;
  min-height: 40px; /* Consistent height for subtexts */
}

.price {
  font-size: 2.5em;
  display: flex;
  align-items: baseline;
  margin: 20px 0;
}

.hst {
  font-size: 0.6em;
  margin-left: 5px;
  color: #666;
}

ul {
  list-style: none;
  padding: 0;
  text-align: left;
  flex-grow: 1;
  margin-bottom: 20px;
  width: 100%; /* Ensure list takes full width of card */
}

li {
  margin: 10px 0; /* More vertical spacing for list items */
  color: #333;
  min-height: 25px; /* Consistent height for list items */
  font-size: 0.95em; /* Slightly larger font for readability */
}

.choose-btn {
  background-color: var(--primary); /* Use primary color */
  color: #fff;
  border: none;
  padding: 12px 25px; /* Slightly more padding */
  border-radius: 50px; /* More rounded corners for a modern look */
  font-size: 1.1em; /* Slightly larger font */
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s ease-in-out; /* Add transform for hover */
  margin-top: auto; /* Pushes the button to the bottom */
  width: 100%;
  text-align: center;
  font-weight: 600; /* Make text bolder */
  letter-spacing: 0.5px; /* Add slight letter spacing */
}

.choose-btn:hover {
  background-color: #d6b53f; /* Darker primary color on hover */
  transform: translateY(-3px); /* Subtle lift effect on hover */
}

.custom-container {
  width: 80%;
  max-width: 100%; /* To prevent it from exceeding the full screen width */
  margin: 0 auto;  /* To center the container */
}

@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }
}
@media (min-width: 992px) {
  .footer .col-lg-3 {
    display: flex;
    align-items: center;
  }
}
