:root{
--primary-color:#115983;
--white-color:#fff;
--light-gray:#ddd;
--green-color: #01456b;
}

/* ****************** MEDIUM DEVICES ***************************************** */

@media (max-width:1015px){

/* COMMON UTILITY CLASSES STARTS */
  
  .container {
  padding: 0 1rem;
  
}

.caption h2 {
  font-size: 3rem;
  letter-spacing: 3px;
  
 }

 .caption p {
  letter-spacing: 6px;
 }


 .section-text {
  color: var(--primary-color);
  letter-spacing: 3px;
}
.section-heading {
  padding:0 0  1rem 0;
  font-family: 'ubuntu';
  font-size: 2.5rem;
}

.secondary-headings {
  font-size: 2rem;
}

.lead {
font-size: 1rem ;

}

.section-heading span {
  color: var(--primary-color);
   font-family: 'ubuntu';
}

/* COMMON UTILITY CLASSES CLOSES */

/* SIDEBAR STARTS*/

  .btn{
    display: block;
    color: var(--white-color);
  font-size: 1.1rem;
  cursor: pointer;
  }

nav {
  padding: 0;
}

  nav ul {
  flex-direction: column;
  align-items: start;
  justify-content:start;
  position:fixed;
  width: 30%;
  height: 100vh;
  background-color: var(--primary-color);
  top: 0;
  right: -100%;
  padding: 10rem 0 0 2rem;
  transition: all 0.5s ease-in;
  
} 

nav ul li a.active-link::before {
  top: 20px;
  left: 0;
  width:100%;
  height: 1px;
  background-color: var(--white-color);
  transition: all 0.3s ease-in;
}

nav ul.display {
  right:0;
  transition: all 0.5s ease-in-out;
}
nav ul li {
  margin-top: 7px;
  padding: 2px;
  width:50%;
}

nav ul li a {
  display: block;
  width: 100%;
}

#close-btn {
  display: flex;
  justify-content: space-between;
  align-items: start;
  border-bottom: 1px solid var(--white-color);
  padding: 10px;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  gap: 0.5rem;
}

#close-btn i {
  font-size: 0.8rem;
  margin: 0.5rem 0.5rem 0 0;
}

#close-btn div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#close-btn img {
  width: 30px;
  height: 30px;
}

#close-btn div span{
  font-size: 0.8rem;
}

nav ul li::before{
  display: none;
}

.social-icons {
  border-top: 1px solid var(--light-gray);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  position: absolute;
  bottom: 1rem;
  left: 0;
  padding: 10px;
}

.social-icons a {
  color: var(--light-gray);
  font-size: 1rem;
  opacity: 0.8;
}
/* SIDEBAR CLOSES*/

 

/* TOURS STARTS*/

#popular-tours {
  padding :6rem 1rem;
}

.lg-card {
  width: 100%;
}
#right-side-card {
  display:none !important;
}

 
.tour-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1.7rem;
  margin: 1.5rem 0;

}

.hidden-content {
  font-size: 0.9rem;
  padding: 0.5rem 0;
  transform: translateY(0);

}

/* TOURS CLOSES*/



/* DESTINATIONS STARTS*/
#popular-destinations {
  padding :6rem 1rem;
}

.destination-card .card-content h3 {
  font-size: 1rem;
}

.destination-hidden-content {
  font-size: 0.8rem;
  padding: 0.5rem 0;
  transform: translateY(0);
}



/* DESTINATIONS CLOSES*/

/* TRAVEL COUNTRIES STARTS*/

#travel-countries {
  padding :6rem 1rem;
}

 .travel-countries-wrapper {
  grid-template-columns: 2fr;
}
.france-content {
  grid-template-columns: 2fr;
}

.destination-card .card-content {
  margin-bottom: 1rem;
  transform: translateY(0);
}


/* TRAVEL COUNTRIES CLOSES*/

/* TRAVEL BLOG STARTS*/
 
.blog-content {
  bottom: 10px;
}

/* TRAVEL BLOG CLOSES */

/* FOOTER STARTS */

#footer {
  padding :3rem 1rem;
}

.footer-content {
  grid-template-columns: repeat(2, 1fr);
}


.footer-wraper {
  grid-template-columns: repeat(2, 1fr);
  
}

.subscribe button {
  top: 35%;
  transform: translateY(-5.5%);
  right: 2%;
  padding: 0.3rem 1.5rem;
}
.links {
  margin-left: 0rem;
}

/* FOOTER CLOSES */



}



/* ********************SMALLER DEVICES*********************** */

@media (max-width:767px) {

  html {
  font-size: 14px;
}

/*UTILITY CLASSES STARTS*/

.card-content h3 {
  font-size: 1rem;
}

 .section-text {
  font-size: 0.7rem;
  letter-spacing: 2px;
}

.section-heading {
  padding:0 0 1rem 0;
  font-family: 'ubuntu';
  font-size: 1.5rem;
}

.section-heading span {
  color: var(--primary-color);
   font-family: 'ubuntu';
}
.secondary-headings {
  font-size: 1.5rem;
}

.lead {
font-size: 0.8rem ;

}

.primary-btn {
  font-size: 0.8rem;
}


.price-label {
 padding: 0.5rem;
 border-radius: 3px;
 font-size: 0.7rem;
}

.card-pagination {
    --swiper-pagination-top: 10px;
    --swiper-pagination-bullet-size: 6px;
}

.card-prev, 
.card-next {
  --swiper-navigation-size: 15px;
  --swiper-navigation-top-offset: 50%;
}

.card-prev:hover, 
.card-next:hover {
  --swiper-navigation-color: var(--white-color);
} 

/*UTILITY CLASSES CLOSES*/

  /* SIDEBAR STARTS */
  header {
  padding: 0.2rem 0; 
}

  nav ul {
  width: 60%;
  padding: 5rem 0 0 0.9rem;
  
} 

nav {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 0.5rem;
}

nav ul li a {
  font-size: 0.7rem;
}


  /* SIDEBAR CLOSES */

  /* HERO SECTION CAROUSEL SLIDES STARTS */
.swiper {
  height: 70vh;
}

.caption h2 {
  font-size: 1.7rem;
  letter-spacing: 4px;
  
 }

 .caption p {
  font-size: 0.7rem;
  letter-spacing: 2px;
 }

 .hero-pagination{
  --swiper-pagination-top: 70%;
 }

 .hero-prev, .hero-next {
  --swiper-navigation-size: 15px;
  --swiper-navigation-top-offset: 70%;
  --swiper-navigation-sides-offset: 10px;
 }

  /* HERO SECTION CAROUSEL SLIDES CLOSES */

  /* DESTINATION SEARCH FORM STARTS */

 #location{
  bottom: 20%;
  margin: 1rem 0;
}

form {
  gap: 0.4rem;
  flex-direction: column;
  justify-content:center;
  align-items: start;
 }

 .form-wrapper{
  width: 90%;
  border-radius: 10px;
  margin: 0 auto;
  padding: 1rem;


}

#search-btn {
  border-radius: 20px;
  width: 100%;
  padding: 8px;
  font-size: 0.6rem;
 }

 #destination {
  border-radius: 20px;
 }

 form select, input {
  border-radius: 20px;
  font-size: 0.6rem;
  padding: 8px 15px;
 }
 
  /* DESTINATION SEARCH FORM CLOSES */

  /* TOURS STARTS*/
  #popular-tours {
  padding :7rem 0.5rem 1rem 0.5rem;
}
  .tour-wrapper {
    display: none !important;
  }

.lg-card::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hidden-content {
  font-size: 0.8rem;
  padding: 0.5rem 0;
  transform: translateY(0);

}

  /* TOURS CLOSES*/

  /* VIDEO BACKGROUND STARTS */
  #costa-victoria {
  padding: 4rem 0;
}

  .video-content h2 {
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.video-content span {
  font-size: 0.8rem;
   margin: 0 0.2rem;
}


  /* VIDEO BACKGROUND CLOSES */
  /* WEATHER CHECK STARTS */
  
  #weather {
   padding :3rem 0.5rem 1rem 0.5rem;
}
    
.weather-overlay {
  padding: 0 1rem;

}
.weather-wrapper {
  padding: 1rem;
  
}
  .weather-input button {
    width: 100%;
    border-radius: 1rem;
  }

.weather-wrapper.flex {
  flex-direction: column;
  gap: 1rem;
}

.weather-result {
  padding: 1rem;
}


  /* WEATHER CHECK CLOSES */
  

  /* DESTINATIONS STARTS*/
  #popular-destinations {
  padding :7rem 0.5rem 1rem 0.5rem; 

}

.destination-hidden-content {
  display: flex ;
  flex-direction: column;
  gap: 10px;
  padding: 0.5rem 0;
  justify-content: start;
  align-items: start;
}

.destination-card .img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);

}



 /* DESTINATIONS CLOSES*/

 /*  TRAVEL COUNTRIES STARTS */

 .countries-content ul li {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  font-size: 0.7rem;
}

.countries-content ul li i{
  margin: 0rem 0.5rem;
}

.destination-card .card-content {
   font-size: 0.7rem;
}

/*  TRAVEL COUNTRIES CLOSES */

/*  TRAVEL BLOG STARTS */
#travel-blog {
  padding: 6rem 0.8rem;
}
 

.blog-card h3 {
  font-size: 0.8rem;
  
}

.blog-card p {
  font-size: 0.6rem;
}

.blog-content {
  padding: 0.6rem 0.6rem;

}

/*  TRAVEL BLOG CLOSES */

/*  TESTIMONIALS STARTS */
#testimonials {
  padding: 6rem 1rem;
}

.testimonials-wrapper {
  padding: 2rem 1rem;
}

.testimonials-wrapper p {
  font-size: 0.5rem;
}

/*  TESTIMONIALS CLOSES */

/*  FOOTER STARTS */
#footer {
  padding :6rem 1rem 1rem 1rem;
}

.footer-content {
  grid-template-columns: repeat(1, 1fr);
}


.footer-wraper {
  grid-template-columns: repeat(1, 1fr);
  
}

.footer {
  flex-direction: column;
}

.webOwner {
  font-size: 0.7rem;

}

.subscribe input {
  padding: 1rem 1rem;
}

.subscribe button {
  top: 35%;
  transform: translateY(-5.5%);
  right: 2%;
  padding: 0.6rem 1.5rem;
}
/*  FOOTER CLOSES */

}
