/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

/* //////////////////// Header styles //////////////// */

header {
  position: relative;
  height: 100vh;
  /* Full viewport height */
  /* background-image: url('./assets/bannerbg.jpg'); */
  /* Replace with your image path */
  background-size: cover;
  background-position: center;
}

/* Banner styles */
.banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  /* Full height */
  color: white;
  text-align: center;
}

/* Navbar styles */
.navbar {
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  /* background: rgba(0, 0, 0, 0.5); */
  /* Semi-transparent background */
  position: fixed;
  top: 0;
  width: 100%;
}

.logo img {
  height: 50px;
  width: 60px;
  object-fit: contain;
  border-radius: 50%;
  background-position: center;
}

/* Burger menu */
.burger {
  display: none;
  /* Hidden by default */
  font-size: 24px;
  cursor: pointer;
  color: #080808;
}

/* Close icon */
.close {
  display: none;
  /* Hidden by default */
  font-size: 24px;
  color: #080808;
  cursor: pointer;
}

/* Navigation links */
.nav-links {
  display: flex;
  list-style: none;

}

.navlink-items {
  margin: 0 15px;
}

.navlink-items a {
  font-size: 20px;
  color: #080808;
  text-decoration: none;
  transition: color 0.3s;
}

.navlink-items a:hover {
  color: #ffd700;
  /* Change color on hover */
}

.book-now {
  padding: 10px 20px;
  background-color: #ffd700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.book-now:hover {
  background-color: #f5c20a;
}

/* ////////////////// Banner slider ///////////////////// */

.mainslider {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.slideHead {
  display: flex;
  height: 100%;
  width: 100%;
}

.slideHead img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  /* Add transition for smooth sliding */
}

.slide {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

.controls {
  position: absolute;
  width: 100%;
  top: 50%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
}

.controls button {
  cursor: pointer;
  /* font-size: 20px; */
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 10px 11px;
  border-radius: 50%;
}

.controls button:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .controls button {
    font-size: 8px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .controls button {
    font-size: 16px;
    padding: 6px;
  }
}

/* /////////////////////////// Center text of banner ///////////////////// */
.banner-details {
  user-select: none;
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 60vw;
  justify-content: center;
  align-items: center;
}

/* Banner title and description styles */
.banner-title {
  font-size: 4rem;
  font-weight: bold;
  margin: 20px;
  filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.9));
}

.banner-description {
  font-size: 1.5rem;
  max-width: 600px;
  letter-spacing: 3px;
  filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.9));
}

/* Responsive styles */
@media (max-width: 768px) {
  header {
    height: 70vh;
  }

  .burger {
    display: block;
    /* Show burger icon on mobile */
  }

  .nav-links {
    display: none;
    /* Hidden by default */
    z-index: 5;
    flex-direction: column;
    width: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    background-color: #fff;
    position: absolute;
    top: 66px;
    left: 0;
  }

  .nav-links.active {
    display: flex;
    /* Show links when active */
    align-items: center;
    gap: 15px;
    padding: 10px 0;
  }

  .close {
    display: none;
    /* Hidden by default */
  }

  .nav-links.active~.close {
    display: block;
    /* Show close icon when nav is active */
  }

  .navbar {
    flex-direction: row;
    align-items: center;
    row-gap: 15px;
  }

}

@media (max-width: 480px) {
  .banner-title {
    font-size: 2rem;
  }

  .banner-description {
    font-size: 1rem;
  }

  .book-now {
    width: 100%;
    /* Full width button */
  }
}

/* /////////////////////////// Form  of banner ///////////////////// */
/* General form styling */
.form-head {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(128, 128, 128, 0.1);
}

.detailform {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

/* Styling for form inputs and labels */
.forminput {
  display: flex;
  flex-direction: column;
  width: 15%;
  max-width: 300px;
  gap: 8px;
}

.forminput label {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
}

input[type="date"],
input[type="number"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s;
  background-color: #f9f9f9;
  color: #333;
}

/* Styling for hover and focus effects */
input[type="date"]:focus,
input[type="number"]:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
  outline: none;
}

input[type="date"]:hover,
input[type="number"]:hover {
  border-color: #555;
}

/* Button styling */
.book-now {
  padding: 12px 24px;
  font-size: 1rem;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}

.book-now:hover {
  background-color: #0056b3;
}

/* Responsive design for tablets and mobile */
@media (max-width: 768px) {
  .detailform {
    flex-direction: column;
    /* align-items: stretch; */
  }

  .forminput {
    width: 100%;
  }
}



/* //////////////////// Footer styles //////////////// */
.footer {
  height: fit-content;
  padding: 2rem;
  background: black;
  color: white;
}

.main-footer {
  display: flex;
  gap: 40px;
  justify-content: space-around;
  align-items: flex-start;
  /* Align items at the start */
  flex-wrap: wrap;
  /* Allow items to wrap on smaller screens */
}

.footer-partone {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Change 'start' to 'flex-start' */
  gap: 0.8rem;
  font-size: 14px;
}

.footer-subhead {
  font-size: 26px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-partone p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-partone span a:hover {
  color: rgb(231, 229, 229);
  text-decoration: underline;
}

.footer-parttwo {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Change 'start' to 'flex-start' */
  gap: 1.4rem;
}

.footer-parttwo p,
.footer-font {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 24px;
}

.footer-description {
  display: flex;
  align-items: start;
  gap: 10px;
}

.sub-footer {
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.7);
}


/* Responsive styles */
@media (max-width: 768px) {
  .main-footer {
    flex-direction: column-reverse;
    /* Stack items vertically */
    align-items: center;
    /* Center align for smaller screens */
    text-align: center;
    /* Center text */
    gap: 2rem;
  }

  .footer-partone,
  .footer-parttwo {
    align-items: center;
    /* Center align items */
    gap: 0.4rem;
    /* Adjust gap for better spacing */
  }

  .footer-subhead {
    font-size: 24px;
    /* Slightly smaller for mobile */
  }

  .footer-partone span {
    font-size: 12px;
    /* Smaller links */
  }

  .footer-parttwo span {
    font-size: 14px;
    /* Smaller phone numbers */
  }
}

@media (max-width: 480px) {
  .footer-subhead {
    font-size: 16px;
    /* Even smaller for very small screens */
  }

  .footer-partone span {
    font-size: 16px;
    /* Smaller links */
  }

  .footer-parttwo span {
    font-size: 16px;
    /* Smaller phone numbers */
  }
}

/* ////////////////// About Section first /////////////////// */

.flexImage {
  height: fit-content;
  padding: 2rem 4rem;
  width: 100%;
  background-color: rgba(128, 128, 128, 0.1);
}

.detail-image {
  height: fit-content;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.detail {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 20px;
  background-color: white;
  border-radius: 18px;
  padding: 2%;
}

.detail:hover {
  box-shadow: 3px 3px 15px rgba(128, 128, 128, 0.3);
}

.detail-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-title h3 {
  font-size: 3rem;
  text-align: justify;
}

.underline {
  height: 2px;
  width: 250px;
  background-color: #ffd700;
}

.detail p {
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 1px;
  text-align: justify;
}

.image {
  /* flex: 1.5; */
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  background-color: white;
  border-radius: 18px;
  padding: 2%;
}

.image>img {
  border-radius: 2%;
  width: 100%;
  height: 60vh;
}

.image>div>p {
  font-size: 2rem;
  text-align: center;
  padding-bottom: 5px;
}

.image:hover {
  box-shadow: 3px 3px 15px rgba(128, 128, 128, 0.3);
}

/* Responsive Styles */

/* Tablet and Mobile View (max-width: 768px) */
@media (max-width: 768px) {
  .flexImage {
    padding: 1rem;
  }

  .detail-title h3 {
    font-size: 2.5rem
  }

  .detail p {
    font-size: 1rem;
    /* Smaller font for readability */
  }

  .image>div>p {
    font-size: 1.5rem;
    /* Smaller title font */
  }

  .detail-image {
    flex-direction: column;
    /* Stack details and image vertically */
    height: auto;
    /* Allow dynamic height */
  }

  .image {
    height: auto;
  }

  .image>img {
    border-radius: 2%;
    width: 100%;
    height: 45vh;
  }
}

/* Mobile View (max-width: 480px) */
@media (max-width: 480px) {
  .detail-title h3 {
    font-size: 2rem;
  }

  .detail p {
    font-size: 0.9rem;
  }

  .image>div>p {
    font-size: 1.2rem;
  }
}

/* ////////////////// About Section second /////////////////// */
/* MemberCard Container */
.MemberCard {
  padding: 2rem;
  background-color: rgba(128, 128, 128, 0.1);
}

/* Cards Wrapper */
.cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Individual Card */
.card {
  flex: 1 1 calc(24% - 1rem);
  margin: 0.5rem;
  background-color: white;
  border-radius: 10px;
  text-align: center;
  padding: 10px 5px;
}

.card:hover {
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);
}

/* Image Styles */
.card img {
  object-fit: cover;
  width: 80%;
  height: 30vh;
  border-radius: 20px;
  margin-bottom: 1rem;
}

/* Member Name Styles */
.member-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: black;
}

.member-post {
  font-size: 1rem;
  color: gray;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .card {
    flex: 1 1 calc(48% - 1rem);
  }

}

@media (max-width: 480px) {
  .card {
    flex: 1 1 100%;
  }

}

/* ////////////// slider section /////////// */


.carousel {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  height: 100%;
  display: none;
  /* Hide items by default */
}

.carousel-item.active {
  display: block;
  /* Show active item */
}

.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}