* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--primary-bg);
  color: var(--text-color);
  font-size: 1.8rem;
}

/*!------------------------------------ Common Code ---------------------------------------  */
:root {
  /* --primary-bg: #F4F1DE; */
  --primary-bg: #fffffff4;
  /* --primary-bg: #3A3A3A; */
  /* Beige - Background */
  --secondary-accent: #3A5A40;
  /* Forest Green - Navbar */
  --text-color: #3A3A3A;
  /* --text-color: #fffffff4; */
  /* Dark Gray-Blue - Text */
  --btn-cta: #E76F51;
  /* Warm Orange - Buttons */
  --hover-color: #6A994E;
  /* Fresh Green - Hover */
  --body-bg: #EAE7DC;
  /* Light Beige - Body Background */
  --footer-bg: #1a1a1a;
}

button {
  width: 100%;
  padding: 1rem 2rem;
  background-color: var(--btn-cta);
  color: var(--primary-bg);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: 800;
  transition: background-color .3s;
  -webkit-transition: background-color .3s;
  -moz-transition: background-color .3s;
  -ms-transition: background-color .3s;
  -o-transition: background-color .3s;
  &:hover {
    background-color: var(--hover-color);
    
  }

  ;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: color .3s;
  -webkit-transition: color .3s;
  -moz-transition: color .3s;
  -ms-transition: color .3s;
  -o-transition: color .3s;

  &:hover {
    color: var(--hover-color);
  }

}

hr {
  /* border: 1px solid var(--text-color); */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 100%;
  margin: 2rem auto;
}

/* !---------------------------------------NAV BAR--------------------------------------------- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: var(--primary-bg);
  box-shadow: 0 2px 5px rgba(74, 72, 72, 0.4);
  align-items: center;
}

.nav-bar img {
  width: 10rem;
  height: 10rem;

  &:hover {
    transform: rotate(360deg);
    transition: transform .8s ease-in-out;
    -webkit-transition: transform .8s ease-in-out;
    -moz-transition: transform .8s ease-in-out;
    -ms-transition: transform .8s ease-in-out;
    -o-transition: transform .8s ease-in-out;
  }
}

.nav-bar .nav-links ul {
  display: flex;
  gap: 6rem;
  ;
  justify-content: space-between;
  align-items: center;
  list-style: none;

}

.nav-bar .nav-links ul li {
  list-style: none;
  position: relative;

  &:hover {
    transform: translateY(-5px);

  }


  & a {
    font-family: "Prompt", serif, sans-serif;
    font-weight: 600;
    font-style: normal;
    transition: color .5s;
    -webkit-transition: color .5s;
    -moz-transition: color .5s;
    -ms-transition: color .5s;
    -o-transition: color .5s;
  }

}

/* !--------------------------------------------------drop down---------------------------------------------------------------- */

.nav-bar .nav-links .dropdown {
  display: none;
}

.nav-bar .nav-links ul li:hover .dropdown {
  display: block;
  position: absolute;
  left: 0;
  top: 100%;
  background-color: var(--primary-bg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav-bar .nav-links ul li:hover .dropdown ul {
  display: block;
  margin: 1rem;
}

.nav-bar .nav-links ul li:hover .dropdown ul li {
  width: 15rem;
  padding: 1rem;
}

.fa-solid {
  gap: 1rem;
}

.dropdown-3 {
  display: none;
}

.dropdown ul li:hover .dropdown-3 {
  display: block;
  position: absolute;
  top: 0;
  left: 15rem;
  background-color: var(--primary-bg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* !---------------------------------------HERO-Section--------------------------------------------- */

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.8rem 0;
  width: 80%;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;

  & span {
    color: var(--hover-color);
  }
}

.hero-section p {
  font-size: 2rem;
  margin-bottom: 2rem;

  & span {
    color: var(--btn-cta);
  }
}

.hero-section button {
  width: 20rem;
  margin-top: 1rem;
}

.hero-section .hero-slider {
  margin-top: 1rem;
  width: 100%;
  height: 55rem;
  border-radius: 1rem;
  cursor: no-drop;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: changeBackground 20s infinite ease-in-out;
  -webkit-animation: changeBackground 20s infinite ease-in-out;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
}

@keyframes changeBackground {
  0% {
    background-image: url('/assets/images/slider3.webp');
  }

  33% {
    background-image: url('/assets/images/slider4.webp');
  }

  66% {
    background-image: url('/assets/images/slider2.webp');
  }

  100% {
    background-image: url('/assets/images/slider1.webp');
  }
}


/* !---------------------------------------Trips-Section--------------------------------------------- */

.Trips-Section {
  padding: 1.8rem 0;
  width: 80%;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.Trips-Section h1 {
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;

  & span {
    color: var(--hover-color);
  }
}

.Trips-Section p {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;

  & span {
    color: var(--btn-cta);
  }
}

.Trips-Section button {
  margin-top: 2rem;
  width: 20rem;
  margin: auto;
}

.Trips-Section .trip-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.Trips-Section .trip-cards .trip-card img{
  width: 100%;
  max-width: 30rem;
  padding: 1rem;
  border-radius: 10px;
  transition: transform .3s;
  -webkit-transition: transform .3s;
  -moz-transition: transform .3s;
  -ms-transition: transform .3s;
  -o-transition: transform .3s;

  &:hover {
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);

  }


}


.Trips-Section .trip-cards .trip-card button {
  margin-top: 1rem;
}

/* ! ------------------------------Why Choose Us Section ----------------------------------  */

.why-choose-us {
  padding: 1.8rem 0;
  width: 80%;
  max-width: 1200px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  & .btn {
    margin-top: 2rem;
  }
}

.why-choose-us h1 {
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;

  & #span1 {
    color: var(--btn-cta);
  }

  & span {
    color: var(--hover-color);
  }
}

.why-choose-us p {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;

  & span {
    color: var(--btn-cta);
  }
}


.why-choose-us .features-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  margin-top: 2rem;

}

.why-choose-us .features-container .feature-box {
  width: 100%;
  max-width: 30rem;
  padding: 1rem;
  cursor: no-drop;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  transition: transform .3s;
  -webkit-transition: transform .3s;
  -moz-transition: transform .3s;
  -ms-transition: transform .3s;
  -o-transition: transform .3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

  &:hover {
    transform: translateY(-7px);
    -webkit-transform: translateY(-7px);
    -moz-transform: translateY(-7px);
    -ms-transform: translateY(-7px);
    -o-transform: translateY(-7px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 1);
  }

}

.feature-box h3 {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 1em;
  color: #666;
}

.feature-box i {
  font-size: 2em;
  color: var(--btn-cta);
  margin-bottom: 1rem;
}


/* ! -----------------------------footer----------------------------------------- */


/* Footer Styles */
footer {
  background-color: var(--footer-bg);
  color: var(--body-bg);
  padding: 40px 0;
  font-family: Arial, sans-serif;

}

.footer-container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  row-gap: 4rem;

  & a {
    color: royalblue;

    &:hover {
      color: var(--hover-color);
      text-decoration: underline;
}
  }

}

/* Footer Sections */
.footer-section h3 {
  color: var(--btn-cta);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

/* .footer-section a {
  color: #bbb;
  text-decoration: none;
  transition: 0.3s;
  &:hover {
    color: var(--hover-color);
  }
} */

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: #bbb;
  text-decoration: none;
  transition: 0.3s;

  &:hover {
    color: var(--hover-color);
  }
}



/* Logo & Social Icons */
.footer-brand {
  text-align: center;
}

.footer-logo {
  width: 120px;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 1.4rem;
  color: var(--primary-bg);
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;

}

.social-icons a .fa-brands {
  width: 2rem;
  height: 2rem;
  color: #fff;
  transition: 0.3s;
}

.social-icons a:hover .fa-brands {
  transform: scale(1.5);
  -webkit-transform: scale(1.5);
  -moz-transform: scale(1.5);
  -ms-transform: scale(1.5);
  -o-transform: scale(1.5);
  color: var(--hover-color);
}

/* Contact-info */
.contact-info {
  display: flex;
  flex-direction: column;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  flex-direction: column;
}

.newsletter-form input {
  padding: 10px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  margin-bottom: 10px;
}

.newsletter-form button {
  background-color: var(--btn-cta);
  color: #000;
  border: none;
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.3s;
}

.newsletter-form button:hover {
  background-color: var(--hover-color);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  margin-top: 3rem;
  align-self: end;

  & a {
    color: royalblue;

    &:hover {
      color: var(--hover-color);
    }
  }
}

.footer-bottom p {
  font-size: 14px;
  color: #bbb;
}

.footer-bottom ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.footer-bottom ul li a {
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
}

.footer-bottom ul li a:hover {
  color: var(--hover-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}