/*==================================================
 Terra Edventure & Treks
 Bootstrap 5.3
==================================================*/

/*=========================
Google Font
=========================*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

/*=========================
Variables
=========================*/

:root {
  --primary: #2e8b57;
  --secondary: #1b4332;
  --accent: #f4a261;
  --light: #f8f9fa;
  --dark: #0f172a;
  --white: #ffffff;
  --gray: #6c757d;
}

/*=========================
Reset
=========================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;

  font-size: 16px;

  color: #333;

  background: #fff;

  line-height: 1.7;

  overflow-x: hidden;
}

a {
  text-decoration: none;

  transition: 0.4s;
}

img {
  max-width: 100%;

  display: block;
}

section {
  padding: 80px 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;

  color: var(--secondary);
}

p {
  color: #666;
}

/*=========================
Topbar
=========================*/

.topbar {
  background: var(--secondary);

  color: #fff;

  font-size: 14px;

  padding: 10px 0;
}

.topbar i {
  color: var(--accent);

  margin-right: 6px;
}

.topbar a {
  color: #fff;

  margin-left: 15px;

  font-size: 18px;
}

.topbar a:hover {
  color: var(--accent);
  color: #0f172a;
}

.topbar .btn {
  padding: 5px 18px;

  border-radius: 50px;

  font-size: 13px;
}

/*=========================
Navbar
=========================*/

.navbar {
  background: #ffffff;

  padding: 15px 0;

  transition: 0.4s;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

  z-index: 999;
}

.navbar-brand img {
  height: 65px;
}

.navbar-brand {
  color: var(--secondary) !important;

  font-weight: 700;
}

.navbar-nav .nav-link {
  color: var(--secondary) !important;

  font-weight: 600;

  margin-left: 20px;

  position: relative;

  transition: 0.3s;
}

.navbar-nav .nav-link::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -6px;

  width: 0;

  height: 3px;

  background: var(--primary);

  transition: 0.3s;

  border-radius: 5px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/*=========================
Buttons
=========================*/

.btn-success {
  background: var(--primary);

  border: none;

  border-radius: 40px;

  padding: 12px 28px;

  font-weight: 600;

  transition: 0.4s;
}

.btn-success:hover {
  background: var(--accent);

  transform: translateY(-3px);

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/*=========================
Hero Slider
=========================*/

.heroSwiper {
  width: 100%;

  height: 100vh;
}

.swiper-slide {
  background-size: cover;

  background-position: center;

  position: relative;
}

/* Royalty-free images */

.slide1 {
  background-image: url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1920&q=80");
}

.slide2 {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1920&q=80");
}

.slide3 {
  background-image: url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1920&q=80");
}

.overlay {
  position: absolute;

  width: 100%;

  height: 100%;

  background: rgba(0, 0, 0, 0.45);

  display: flex;

  align-items: center;
}

.overlay .container {
  color: #fff;
}

.overlay h1 {
  font-size: 70px;

  font-weight: 800;

  color: #fff;

  margin-bottom: 20px;

  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.overlay p {
  font-size: 22px;

  color: #fff;

  margin-bottom: 30px;

  max-width: 600px;
}

.swiper-pagination-bullet {
  width: 14px;

  height: 14px;

  background: #fff;

  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background: var(--accent);

  opacity: 1;
}

/*=========================
Hero Slider Navigation
=========================*/

.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev{

    width:60px;

    height:60px;

    border-radius:50%;

    background:rgba(255,255,255,.25);

    backdrop-filter:blur(10px);

    transition:.3s;

}

.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover{

    background:var(--primary);

}

.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after{

    color:#fff;

    font-size:24px;

    font-weight:bold;

}

.heroSwiper .swiper-button-next{

    right:30px;

}

.heroSwiper .swiper-button-prev{

    left:30px;

}

@media(max-width:768px){

.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev{

    width:45px;

    height:45px;

}

.heroSwiper .swiper-button-next{

    right:10px;

}

.heroSwiper .swiper-button-prev{

    left:10px;

}

.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after{

    font-size:18px;

}

}

.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev{

    box-shadow:0 10px 30px rgba(0,0,0,.25);

}

/*=========================
Section Title
=========================*/

section h2 {
  font-size: 42px;

  margin-bottom: 20px;

  position: relative;

  display: inline-block;
}

section h2::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -10px;

  width: 70px;

  height: 4px;

  background: var(--accent);

  border-radius: 20px;
}

/*=========================
Utilities
=========================*/

.bg-light {
  background: #f7f9fb !important;
}

.shadow {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
}

.rounded {
  border-radius: 18px !important;
}

/*=========================
Animation
=========================*/

.fade-up {
  animation: fadeUp 1s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(50px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/*=========================
Responsive
=========================*/

@media (max-width: 992px) {
  .overlay h1 {
    font-size: 48px;
  }

  .overlay p {
    font-size: 18px;
  }

  .navbar-brand {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .heroSwiper {
    height: 85vh;
  }

  .overlay {
    text-align: center;
  }

  .overlay h1 {
    font-size: 36px;
  }

  .overlay p {
    font-size: 16px;
  }

  .topbar {
    text-align: center;
  }

  .topbar .text-end {
    text-align: center !important;

    margin-top: 8px;
  }

  .navbar-nav {
    padding-top: 15px;
  }

  .navbar-nav .nav-link {
    margin-left: 0;

    padding: 12px;
  }

  section {
    padding: 60px 0;
  }

  section h2 {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .overlay h1 {
    font-size: 28px;
  }

  .overlay p {
    font-size: 15px;
  }

  .btn-success {
    padding: 10px 22px;

    font-size: 14px;
  }
}
/*==================================================
 About • Trek Cards • Gallery • Packages
 Why Choose Us • Counter
==================================================*/

/*=========================
About Section
=========================*/

#about {
  background: #fff;
}

#about img {
  border-radius: 20px;
  transition: 0.5s;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

#about img:hover {
  transform: scale(1.03);
}

#about h2 {
  margin-bottom: 25px;
}

#about p {
  font-size: 17px;
  color: #555;
}

#about ul {
  list-style: none;
  padding-left: 0;
  margin-top: 25px;
}

#about ul li {
  margin-bottom: 15px;
  font-size: 17px;
  color: #444;
}

#about ul li::before {
  content: "✔";
  color: var(--primary);
  font-weight: bold;
  margin-right: 10px;
}

/*=========================
Popular Treks
=========================*/

#treks .card {
  border: none;

  border-radius: 18px;

  overflow: hidden;

  transition: 0.4s;

  background: #fff;
}

#treks .card:hover {
  transform: translateY(-12px);

  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.18);
}

#treks .card img {
  height: 260px;

  object-fit: cover;

  transition: 0.5s;
}

#treks .card:hover img {
  transform: scale(1.08);
}

#treks .card-body {
  padding: 30px;
}

#treks h4 {
  margin-bottom: 15px;

  color: var(--secondary);
}

#treks p {
  color: #777;

  margin-bottom: 20px;
}

/*=========================
Gallery
=========================*/

#gallery {
  background: #fff;
}

.gallery-img {
  width: 100%;

  height: 280px;

  object-fit: cover;

  border-radius: 15px;

  transition: 0.5s;

  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-img:hover {
  transform: scale(1.05);

  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
}

.glightbox {
  display: block;

  overflow: hidden;

  border-radius: 15px;
}

/*=========================
Packages
=========================*/

#packages .card {
  border: none;

  border-radius: 20px;

  transition: 0.4s;

  padding: 20px;
}

#packages .card:hover {
  transform: translateY(-12px);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

#packages h3 {
  font-weight: 700;

  margin-bottom: 15px;
}

#packages h1 {
  font-size: 52px;

  font-weight: 800;

  margin: 20px 0;

  color: var(--primary);
}

#packages ul {
  margin: 25px 0;
}

#packages ul li {
  padding: 10px 0;

  font-size: 16px;

  border-bottom: 1px solid #eee;
}

#packages .badge {
  font-size: 14px;

  padding: 10px 20px;

  border-radius: 50px;
}

#packages .border-success {
  border: 3px solid var(--primary) !important;
}

/*=========================
Why Choose Us
=========================*/

.why-box {
  padding: 35px 25px;

  border-radius: 18px;

  transition: 0.4s;

  background: #fff;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.why-box:hover {
  transform: translateY(-10px);

  background: var(--primary);

  color: #fff;
}

.why-box:hover h5 {
  color: #fff;
}

.why-box:hover i {
  color: #fff !important;
}

.why-box i {
  font-size: 55px;

  color: var(--primary);

  margin-bottom: 20px;

  transition: 0.4s;
}

.why-box h5 {
  font-weight: 600;
}

/*=========================
Counter Section
=========================*/

.counter-section {
  background:
    linear-gradient(rgba(27, 67, 50, 0.8), rgba(27, 67, 50, 0.8)),
    url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1920&q=80");

  background-size: cover;

  background-position: center;

  padding: 90px 0;
}

.counter-section h2 {
  font-size: 60px;

  font-weight: 800;

  color: #fff;

  margin-bottom: 10px;
}

.counter-section h2::after {
  display: none;
}

.counter-section p {
  color: #fff;

  font-size: 18px;

  letter-spacing: 1px;
}

/*=========================
Cards Animation
=========================*/

.card {
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-10px);
}

/*=========================
Image Zoom Utility
=========================*/

.zoom {
  overflow: hidden;

  border-radius: 18px;
}

.zoom img {
  transition: 0.5s;
}

.zoom:hover img {
  transform: scale(1.1);
}

/*=========================
Responsive
=========================*/

@media (max-width: 991px) {
  #about .col-lg-6 {
    margin-bottom: 40px;
  }

  #packages .card {
    margin-bottom: 30px;
  }

  .counter-section {
    text-align: center;
  }

  .counter-section .col-md-3 {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .gallery-img {
    height: 220px;
  }

  #packages h1 {
    font-size: 42px;
  }

  .counter-section h2 {
    font-size: 42px;
  }

  #treks .card img {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .gallery-img {
    height: 180px;
  }

  #about ul li {
    font-size: 15px;
  }

  .counter-section {
    padding: 70px 0;
  }

  .counter-section h2 {
    font-size: 34px;
  }

  #packages h1 {
    font-size: 36px;
  }
}

/*==================================================
  Testimonials • Contact • Footer
 Back To Top • Final Responsive Styles
==================================================*/

/*=========================
Testimonials
=========================*/

#testimonials {
  background: #f8f9fa;
}

#testimonials .card {
  border: none;
  border-radius: 20px;
  padding: 25px;
  transition: 0.4s;
  min-height: 260px;
}

#testimonials .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

#testimonials h5 {
  color: #ffc107;
  font-size: 24px;
  margin-bottom: 20px;
}

#testimonials p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

#testimonials strong {
  color: var(--secondary);
  font-size: 17px;
}

.testimonialSwiper {
  padding-bottom: 60px;
}

.testimonialSwiper .swiper-pagination-bullet {
  background: var(--primary);
}

.testimonialSwiper .swiper-pagination-bullet-active {
  background: var(--accent);
}

/*=========================
Contact Section
=========================*/

#contact {
  background: #fff;
}

#contact h2 {
  margin-bottom: 30px;
}

#contact p {
  margin-bottom: 18px;
  font-size: 17px;
}

#contact i {
  color: var(--primary);
  margin-right: 10px;
}

#contact .form-control {
  height: 55px;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: none;
  padding-left: 18px;
  transition: 0.3s;
}

#contact textarea.form-control {
  height: 150px;
  resize: none;
  padding-top: 15px;
}

#contact .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(46, 139, 87, 0.15);
}

#contact button {
  padding: 14px 35px;
}


/*=========================
Footer
=========================*/

.footer {
  background: #10231d;

  color: #fff;

  padding: 70px 0 20px;
}

.footer h4,
.footer h5 {
  color: #fff;

  margin-bottom: 20px;
}

.footer p {
  color: #d6d6d6;

  line-height: 1.8;
}

.footer ul {
  padding-left: 0;

  list-style: none;
}

.footer ul li {
  margin-bottom: 12px;
}

.footer ul li a {
  color: #d6d6d6;

  transition: 0.3s;
}

.footer ul li a:hover {
  color: var(--accent);

  padding-left: 8px;
}

.footer i {
  color: #fff;

  transition: 0.3s;
}

.footer i:hover {
  color: var(--accent);

  transform: translateY(-3px);
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.15);

  margin: 40px 0 20px;
}

.footer .text-center {
  color: #bbb;

  font-size: 15px;
}

/*=========================
Back To Top
=========================*/

.back-top {
  position: fixed;

  right: 25px;

  bottom: 25px;

  width: 55px;

  height: 55px;

  background: var(--primary);

  color: #fff;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 28px;

  text-decoration: none;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);

  transition: 0.4s;

  z-index: 9999;
}

.back-top:hover {
  background: var(--accent);

  color: #fff;

  transform: translateY(-5px);
}

/*=========================
Custom Scrollbar
=========================*/

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #efefef;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);

  border-radius: 30px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/*=========================
Selection
=========================*/

::selection {
  background: var(--primary);

  color: #fff;
}

/*=========================
Image Hover Utility
=========================*/

img {
  transition: 0.4s;
}

img:hover {
  opacity: 0.96;
}

/*=========================
Responsive
=========================*/

@media (max-width: 992px) {
  .footer {
    text-align: center;
  }

  .footer .col-lg-4,
  .footer .col-lg-3,
  .footer .col-lg-2 {
    margin-bottom: 35px;
  }

  #contact .col-lg-5 {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 20px;
  }

  .back-top {
    width: 48px;

    height: 48px;

    font-size: 24px;

    right: 15px;

    bottom: 15px;
  }

  #contact .form-control {
    height: 50px;
  }

  #contact textarea.form-control {
    height: 130px;
  }
}

@media (max-width: 576px) {
  .footer h4 {
    font-size: 24px;
  }

  .footer h5 {
    font-size: 18px;
  }

  .footer {
    padding-top: 50px;
  }

  .footer p {
    font-size: 15px;
  }

  .back-top {
    width: 45px;

    height: 45px;

    font-size: 22px;
  }
}

/*=========================
Smooth Fade Animation
=========================*/

.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
