/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Raleway:wght@500;600;700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  /* Change favorite color to match images */
  /*Green dark 190 - Green 171 - Grren Blue 200*/
  --hue-color: 190;

  /* HSL color mode */
  --first-color: hsl(var(--hue-color), 64%, 22%);
  --first-color-second: hsl(var(--hue-color), 64%, 22%);
  --first-color-alt: hsl(var(--hue-color), 64%, 15%);
  --title-color: hsl(var(--hue-color), 64%, 18%);
  --text-color: hsl(var(--hue-color), 24%, 35%);
  --text-color-light: hsl(var(--hue-color), 8%, 60%);
  --input-color: hsl(var(--hue-color), 24%, 97%);
  --body-color: hsl(var(--hue-color), 100%, 99%);
  --white-color: #fff;
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 75%);
  --blue-color: #2675DA;
  /*--green-color: #97F160;*/
  
  
  
  --green-color: #88EE4A;

  /*========== Font and typography ==========*/
  --body-font: "Open Sans", sans-serif;
  --title-font: "Raleway", sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /*========== Hover overlay ==========*/
  --img-transition: 0.3s;
  --img-hidden: hidden;
  --img-scale: scale(1.1);
}

@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/*========== Variables Dark theme ==========*/
body.dark-theme {
  --first-color-second: hsl(var(--hue-color), 54%, 12%);
  --title-color: hsl(var(--hue-color), 24%, 95%);
  --text-color: hsl(var(--hue-color), 8%, 75%);
  --input-color: hsl(var(--hue-color), 29%, 16%);
  --body-color: hsl(var(--hue-color), 29%, 12%);
  --scroll-bar-color: hsl(var(--hue-color), 12%, 48%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 36%);
}

/*========== Button Dark/Light ==========*/
.nav__dark {
  display: flex;
  align-items: center;
  column-gap: 2rem;
  position: absolute;
  left: 3rem;
  bottom: 4rem;
}

.change-theme,
.change-theme-name {
  color: var(--text-color);
}

.change-theme {
  cursor: pointer;
  font-size: 1rem;
}

.change-theme-name {
  font-size: var(--small-font-size);
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  /* background: #F8F5F5; */
  color: var(--text-color);
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  height: auto;
}

button,
input {
  border: none;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

button {
  cursor: pointer;
}

input {
  outline: none;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.main {
  overflow-x: hidden;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section {
  padding: 4.5rem 0 2.5rem;
}

.section__subtitle {
  /* font-size: var(--h3-font-size); */
  color: var(--title-color);
  text-align: center;
  text-transform: capitalize;
  margin-bottom: var(--mb-0-5);
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  text-align: center;
  text-transform: capitalize;
  margin-bottom: var(--mb-2);
}

.section__title span{
  color: var(--green-color);
  font-weight: bold;
}

.container {
  max-width: 968px;
  margin-left: var(--mb-1);
  margin-right: var(--mb-1);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: transparent;
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo,
.nav__toggle {
  color: var(--white-color);
}

.nav__logo {
  font-weight: var(--font-semi-bold);
}

.nav__logo img {
  height: 50px; /* Ideal for most headers */
  max-height: 10vh; /* Prevents it from getting too big on large screens */
  width: auto; /* Keeps image proportions */
  object-fit: contain;
  display: block;
}

@media screen and (max-width: 480px) {
  .nav__logo img {
    height: 32px;
  }
}

.nav__logo-img {
  transition: all 0.4s ease;
}




.nav__icons {
  display: flex;
  align-items: center;
}

.nav__search {
  font-size: 1.2rem;
  color: white;
  margin-right: 1.5rem;
}

.nav__toggle {
  font-size: 1.2rem;
  cursor: pointer;
}

.nav__menu {
  position: relative;
}

/* @media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    background-color: var(--body-color);
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    box-shadow: -1px 0 4px rgba(14, 55, 63, 0.15);
    padding: 3rem;
    transition: 0.4s;
  }
} */

/* @media screen and (min-width: 1024px) */

@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    background-color: var(--body-color);
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    box-shadow: -1px 0 4px rgba(14, 55, 63, 0.15);
    padding: 3rem;
    transition: 0.4s;
  }
}


.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
}

.nav__link {
  color: var(--text-color-light);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  position: relative;
}


/* hover link */

/* .nav__link::before {
  content: "";
  position: absolute;
  background-color: var(--title-color);
  width: 0%;
  height: 2px;
  bottom: -0.75rem;
  left: 0;
  transition: all 0.4s ease-in-out;
}

.nav__link:hover::before{
  width: 100%;
} */

.nav__link:hover {
  color: var(--green-color);
}


.nav__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

/* show menu */
.show-menu {
  right: 0;
}

/* Change background header */
.scroll-header {
  background-color: var(--body-color);
  box-shadow: 0 0 4px rgba(14, 55, 63, 0.15);
}

.scroll-header .nav__logo,
.scroll-header .nav__search,
.scroll-header .nav__toggle {
  color: var(--title-color);
}

.scroll-header .nav__search:hover{
  color: var(--green-color);
}

/* Change background header */
.second-header {
  background-color: var(--body-color);
  box-shadow: 0 0 4px rgba(14, 55, 63, 0.15);
}

.second-header .nav__logo,
.second-header .nav__search,
.second-header .nav__toggle {
  color: var(--title-color);
}

.second-header .nav__search:hover {
  color: var(--green-color);
}



/* Active link */
.active-link {
  position: relative;
  color: var(--title-color);
}

.active-link::before {
  content: "";
  position: absolute;
  background-color: var(--title-color);
  width: 100%;
  height: 2px;
  bottom: -0.75rem;
  left: 0;
}

/*=============== SEARCH ===============*/
.search {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-modal);
  background-color: hsla(230, 75%, 15%, .1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); /* For safari */
  padding: 8rem 1.5rem 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}

.search__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 1.5rem;
  color: var(--white-color);
  cursor: pointer;
}

.search__form {
  display: flex;
  align-items: center;
  column-gap: .5rem;
  background-color: var(--white-color);
  box-shadow: 0 8px 32px hsla(230, 75%, 15%, .2);
  padding-inline: 1rem;
  border-radius: .5rem;
  transform: translateY(-1rem);
  transition: transform .4s;
}

.search__icon {
  font-size: 1.25rem;
  color: var(--text-color);
}

.search__input {
  width: 100%;
  padding-block: 1rem;
  background-color: var(--white-color);
  color: var(--text-color);
}

.search__input::placeholder {
  color: var(--text-color);
}

.search__submit {
  background-color: var(--text-color);
  color: var(--white-color);
  border: none;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search__submit:hover {
  background-color: var(--first-color-alt); /* Optional hover effect */
}


/* Show search */
.show-search {
  opacity: 1;
  pointer-events: initial;
}

.show-search .search__form {
  transform: translateY(0);
}


/*=============== HOME ===============*/
.home__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: 83%;
}


.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;

  /* background: radial-gradient(
    circle at top right,
    rgba(151, 241, 96, 0.5) 0%,
    rgba(27, 135, 194, 0.8) 80%
  ); */

  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.01));
  /* background: radial-gradient(circle at top right, #97F160 0%,  #1B87C2 80%); */
  /* background: radial-gradient(
    circle at top right,
    rgba(151, 241, 96, 0.2) 0%,
    rgba(27, 135, 194, 0.3) 80%
  ); */
}


.home__container {
  position: relative;
  height: calc(100vh - var(--header-height));
  align-content: center;
  row-gap: 3rem;
  z-index: 2;
}


.home__data-subtitle,
.home__data-title,
.home__social-link,
.home__info {
  color: var(--white-color);
}

.home__data-subtitle {
  display: block;
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-0-75);
}

.home__data-subtitle span{
  font-size: 18px;
  font-weight: 600;
}

.home__data-title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-2-5);
}

.home__data-title span{
  color: var(--green-color);
}

.home__social {
  /*display: flex;*/
  display: none;
  flex-direction: column;
  row-gap: 1.5rem;
}

.home__social-link {
  font-size: 1.2rem;
  width: max-content;
}

.home__info {
  background-color: var(--first-color);
  /*display: flex;*/
  display: none;
  padding: 1.5rem 1rem;
  align-items: center;
  column-gap: 0.5rem;
  position: absolute;
  right: 0;
  bottom: 1rem;
  width: 228px;
}

.home__info-title {
  display: block;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-0-75);
}

.home__info-button {
  font-size: var(--smaller-font-size);
}

.home__info-overlay {
  overflow: var(--img-hidden);
}

.home__info-img {
  width: 145px;
  transition: var(--img-transition);
}

.home__info-img:hover {
  transform: var(--img-scale);
}

/*=============== Secondary ===============*/

/*.secondary__img {*/
/*  position: absolute;*/
/*  top: 0;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  height: 60vh;*/
/*  object-fit: cover;*/
/*  object-position: 83%;*/
/*  z-index: -2;*/
/*}*/

/*.secondary__container {*/
/*  position: relative;*/
/*  height: 60vh;*/
/*  align-content: center;*/
/*  row-gap: 3rem;*/
/*  z-index: 1; */
/*}*/

/*.secondary__container::before {*/
/*  content: "";*/
/*  position: absolute;*/
/*  top: 0;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));*/
/*  z-index: -1; */
/*}*/


.secondary__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60vh;
  object-fit: cover;
  object-position: 50% 30%;
  /* z-index: -2; */
}

.secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /*height: 100%;*/
  height: 60vh;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.01));
}

.secondary__container {
  position: relative;
  height: calc(60vh - var(--header-height));
  /* height: 60vh; */
  margin-top: var(--header-height);
  align-content: center;
  row-gap: 3rem;
  z-index: 2; 
}

.secondary__data-subtitle,
.secondary__data-title {
  color: var(--white-color);
  text-align: center;
}

.secondary__data-subtitle {
  display: block;
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-0-75);
}

.secondary__data-title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-medium);
  /*margin-bottom: var(--mb-2-5);*/
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-block;
  /* background-color: var(--first-color); */
  background-color: var(--green-color);
  color: var(--white-color);
  padding: 1rem 2rem;
  font-weight: var(--font-semi-bold);
  transition: 0.3s;
}

.button:hover {
  background-color: var(--first-color-alt);
}

.button--flex {
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
}

.button--link {
  background: none;
  padding: 0;
}

.button--link:hover {
  background: none;
}

/*=============== ABOUT ===============*/

.mobile-padding{
  padding-top: 0rem;
}

.about__data {
  text-align: center;
}

.about__container {
  row-gap: 2.5rem;
}

.about__description {
  margin-bottom: var(--mb-2);
}

.experience__content {
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1rem;
  justify-items: center;
  padding: 0;
}

.experience__number {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-0-5);
}

.experience__description {
  font-size: var(--small-font-size);
}

.about__img {
  display: flex;
  column-gap: 1rem;
  align-items: center;
  justify-content: center;
}

.about__img-overlay {
  overflow: var(--img-hidden);
}

.about__img-one {
  width: 130px;
}

.aboutus__img-one {
  width: 100%;
}

.about__img-two {
  width: 180px;
}

.about__img-one,
.about__img-two {
  transition: var(--img-transition);
}

.about__img-one:hover,
.about__img-two:hover {
  transform: var(--img-scale);
}

.about__btn {
  margin-top: 4rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*=============== services ===============*/

.services__section {
  padding: 5rem 0;
}

.services__section {
  background: whitesmoke;
}

.services__title {
  margin-bottom: 1rem;
}

.services__description {
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.services__container {
  margin-top: 3.5rem;
}

.services__card {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 1rem 3rem;
}

.services__card i {
  font-size: var(--biggest-font-size);
  /* color: var(--first-color); */
  color: var(--green-color);
}

.services__card-title {
  font-size: var(--h2-font-size);
  margin-block: 1rem;
  text-align: center;
}

.services__card-description {
  text-align: center;
}

/*=============== DISCOVER ===============*/
.discover__card {
  /* position: relative; */
  width: 200px;
  overflow: var(--img-hidden);
  transition: var(--img-transition);
}

.discover__data {
  /* position: absolute; */
  bottom: 1.5rem;
  left: 1rem;
  padding: 1rem;
}

.discover__card:hover {
  transform: scale(1.05);
}

/* .discover__title, 
.discover__description {
  color: var(--white-color);
} */

.discover__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-25);
}

.discover__description {
  display: block;
  font-size: var(--smaller-font-size);
}

/* .discover__img {
  transition: var(--img-transition);
}

.discover__img:hover {
  transform: var(--img-scale);
} */

.swiper-container-3d .swiper-slide-shadow-left,
.swiper-container-3d .swiper-slide-shadow-right {
  background-image: none;
}

/*=============== Why us  ===============*/

.why__section {
  padding: 6rem 0;
}

.why__section {
  /*background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),*/
  /*  whitesmoke url("../media/why-us-mobile.jpeg") center/cover no-repeat;*/
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    whitesmoke url("../media/why-us-mobile-1.webp") center/cover no-repeat;
  background-attachment: fixed;
  color: white;
}

.why__title {
  margin-bottom: 1rem;
  color: white;
}

.why__description {
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.why__container {
  margin-top: 3.5rem;
}

.why__card {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 1rem 3rem;
}

.why__card i {
  font-size: var(--biggest-font-size);
  color: white;
  /* color: var(--first-color); */
}

.why__card-title {
  font-size: var(--h2-font-size);
  margin-block: 1rem;
  text-align: center;
  color: white;
}

.why__card-description {
  text-align: center;
}

/* Styles specifically for touch devices */
@media (hover: none) and (pointer: coarse) {
    .why__section {
        background-attachment: scroll;
    }
}

/* --- iOS fix for fixed background pixelation --- */
/*@supports (-webkit-overflow-scrolling: touch) {*/
/*  @media screen and (max-device-width: 1024px) {*/
/*    .why__section {*/
/*      background: none !important;*/
/*      position: relative;*/
/*      overflow: hidden;*/
/*    }*/

/*    .why__section::before {*/
/*      content: "";*/
/*      position: fixed; */
/*      top: 0;*/
/*      left: 0;*/
/*      width: 100%;*/
/*      height: 100%;*/
/*      background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),*/
/*                  whitesmoke url("../media/why-us-mobile.jpeg") center/cover no-repeat;*/
/*      z-index: -1;*/
/*    }*/
/*  }*/
/*}*/
/**/


/*=============== Blog Section  ===============*/

.blog__section {
  padding: 6rem 0;
}

.blog__title {
  margin-bottom: 1rem;
  /* color: white; */
}

.blog__description {
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.blog__container {
  margin-top: 2rem;
}

.blog__card {
  overflow: hidden;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 1rem 1.5rem;
  padding-bottom: 1.2rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.blog__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.blog__card img {
  /* font-size: var(--biggest-font-size); */
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog__card:hover img{
  transform: scale(1.05);
}

.blog__data{
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  padding-bottom: 1.5rem;
}

.blog__card-title {
  font-size: var(--h2-font-size);
  margin-block: 1rem;
  text-align: left;
  transition: transform 0.3s ease;
  /* padding-inline: 1rem; */
}

.blog__card:hover .blog__card-title{
  color: var(--blue-color);
}


.blog__card-description {
  text-align: left;
  /* padding-inline: 1rem; */
}

.blog__btn {
  color: var(--green-color);
  /* border: 2px solid rgb(8, 224, 37); */
  border: none;
  outline: none;
  background: none;
  /* padding-inline: 1rem; */
  padding-top: 0.8rem;
  padding-bottom: 1.3rem;

  margin-top: auto;
  width: fit-content;
}

.blog__btn a {
  color: var(--green-color);
}

.blog__btn a:hover {
  color: var(--blue-color);
}

.blog__card:hover .blog__btn a {
  color: var(--blue-color);
}

/*=============== Reviews ===============*/
.review__section {
  text-align: center;
  padding: 4rem 1rem;
}

.review__subtitle {
  color: var(--blue-color);
  font-weight: 600;
  /* text-transform: ti; */
  margin-bottom: 0.5rem;
}

.review__title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.review__container {
  padding: 2rem 0;
}

.review__card {
  background-color: whitesmoke;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: left;
  max-width: 400px;
  margin: auto;
}

.review__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review__img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  /* border: 3px solid #007bff; */
  border: 3px solid var(--title-color);
  object-fit: cover;
}

.review__name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.review__profession {
  font-size: 0.875rem;
  color: gray;
}

.review__text {
  font-style: italic;
  margin: 1rem 0;
}

.review__stars .star {
  color: var(--green-color);
  font-size: 1rem;
  margin-right: 3px;
}

.swiper-pagination-bullet {
  background: var(--title-color);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: var(--title-color) !important;
  opacity: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.review__stars .star {
  color: var(--green-color);
  font-size: 1rem;
  margin-right: 3px;
  opacity: 0;
  animation: fadeInUp 0.5s forwards;
}

.review__stars .star:nth-child(1) {
  animation-delay: 0.1s;
}
.review__stars .star:nth-child(2) {
  animation-delay: 0.2s;
}
.review__stars .star:nth-child(3) {
  animation-delay: 0.3s;
}
.review__stars .star:nth-child(4) {
  animation-delay: 0.4s;
}
.review__stars .star:nth-child(5) {
  animation-delay: 0.5s;
}

/*=============== Contact Us ===============*/

.contact__section {
  background: whitesmoke;
  padding: 3rem 0;
}

.contact__subtitle,
.contact__title,
.contact__description {
  text-align: left;
}



.contact__input {
  margin-top: 2rem;
}

.contact__form {
  margin-top: 2rem;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 1.2rem 1rem 1.2rem 1.75rem;
  outline: none;
  border: 1px solid gray;
  border-radius: 50px;
  font-family: var(--body-font);
}

.contact__form textarea::placeholder {
  font-family: var(--body-font);
  font-size: 1rem;
}

.contact__container {
  row-gap: 2.5rem;
  justify-content: center;
  justify-items: center;
}

.contact__img {
  position: relative;
  padding-bottom: 2rem;
}

.contact__img-one,
.contact__img-two {
  transition: var(--img-transition);
}

.deg4{
    transform: rotate(4deg);
}

.contact__img-one:hover,
.contact__img-two:hover {
  transform: var(--img-scale);
}

.contact__overlay {
  overflow: var(--img-hidden);
}

.contact__overlay:nth-child(1) {
  width: 263px;
  margin-right: 2rem;
}

.contact__overlay:nth-child(2) {
  width: 120px;
  position: absolute;
  top: 2rem;
  right: 0;
}

.contact-btn{
  border-radius: 30px;
  padding: 1.2rem 3rem;
}

/*=============== VIDEO ===============*/
.video__container {
  padding-bottom: 1rem;
}

.video__description {
  text-align: center;
  margin-bottom: var(--mb-2-5);
}

.video__content {
  position: relative;
}

.video__button {
  position: absolute;
  right: 1rem;
  bottom: -1rem;
  padding: 1rem 1.5rem;
}

.video__button-icon {
  font-size: 1.2rem;
}

/*=============== Best selling ===============*/
.place__card,
.place__img {
  height: 230px;
}

.place__container {
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
}

.place__card {
  position: relative;
  overflow: var(--img-hidden);
}

.place__card:hover .place__img {
  transform: var(--img-scale);
}

.place__img {
  transition: var(--img-transition);
}

.place__content,
.place__title {
  color: var(--white-color);
}

.place__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.75rem 0.75rem 1rem;
}

.place__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
  z-index: 0;
  border-radius: inherit;
}

.place__content > * {
  position: relative;
  z-index: 1;
}


.place__rating {
  align-self: flex-end;
  display: flex;
  align-items: center;
}

.place__rating-icon {
  font-size: 0.75rem;
  margin-right: var(--mb-0-25);
}

.place__rating-number {
  font-size: var(--small-font-size);
}

.place__subtitle,
.place__price {
  display: block;
}

.place__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-25);
}

.place__subtitle {
  font-size: var(--smaller-font-size);
  margin-bottom: var(--mb-1-25);
}

.place__button {
  background: var(--title-color);
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
}

/*=============== SUBSCRIBE ===============*/
.subscribe__bg {
  background-color: var(--first-color-second);
  padding: 2.5rem 0;
}

.subscribe__title,
.subscribe__description {
  color: var(--white-color);
}

.subscribe__description {
  text-align: center;
  margin-inline: auto;
  margin-bottom: var(--mb-2-5);
}

.subscribe__form {
  background-color: var(--input-color);
  padding: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.subscribe__input {
  width: 70%;
  padding-right: 0.5rem;
  background-color: var(--input-color);
  color: var(--text-color);
}

.subscribe__input::placeholder {
  color: var(--text-color);
}

.newsletter-form div input,
.newsletter-form div .django-ckeditor-widget{
  margin-block: 2rem;
}

.Newsletter-btn{
  margin-top: 2rem;
}

/*=============== SPONSORS ===============*/
.sponsor__container {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  justify-items: center;
  row-gap: 3.5rem;
}

.sponsor__content:hover .sponsor__img {
  filter: invert(0.5);
}

.sponsor__img {
  width: 90px;
  filter: invert(0.7);
  transition: var(--img-transition);
}

/*=============== FOOTER ===============*/
.footer__container {
  row-gap: 5rem;
}

.footer__content {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  row-gap: 2rem;
}

.footer__title,
.footer__subtitle {
  font-size: var(--h3-font-size);
}

.footer__title {
  margin-bottom: var(--mb-0-5);
}

.footer__description {
  margin-bottom: var(--mb-2);
  margin-top: 0.8rem;
}

.footer__social {
  font-size: 1.25rem;
  color: var(--title-color);
  margin-right: var(--mb-1-25);
}

.footer__social:hover {
  color: var(--blue-color);
  margin-top: -4px;
}

.footer__subtitle {
  margin-bottom: var(--mb-1);
}

.footer__item {
  margin-bottom: var(--mb-0-75);
}

.footer__link {
  color: var(--text-color);
}

.footer__link:hover {
  /* color: var(--title-color); */
  color: var(--blue-color);
}

.footer__rights {
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
  text-align: center;
}

.footer__copy,
.footer__terms-link {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.footer__terms {
  display: flex;
  column-gap: 1.5rem;
  justify-content: center;
}

.footer__terms-link:hover {
  /* color: var(--text-color); */
  color: var(--blue-color);
}

/*========== SCROLL UP ==========*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--first-color);
  padding: 0.5rem;
  display: flex;
  opacity: 0.9;
  z-index: var(--z-tooltip);
  transition: 0.4s;
}

.scrollup:hover {
  background-color: var(--first-color-alt);
  opacity: 1;
}

.scrollup__icon {
  color: var(--white-color);
  font-size: 1.2rem;
}

/* Show scroll */
.show-scroll {
  bottom: 5rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-light);
}

/*=============== About Us Page ===============*/
/* Our Story Section */
.story {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.story__header {
  display: flex;
  align-items: center;
  /* gap: 1.5rem; */
  margin-bottom: 2rem;
}

.story__icon {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  object-fit: contain;
  margin-right: 1rem;
}

.story__titles {
  text-align: left;
}

.story__titles .section__subtitle,
.story__titles .section__title {
  text-align: left;
  margin: auto;
}

.story__titles .section__subtitle {
  margin-bottom: 5px;
}

/* .story__titles .section__subtitle {
  font-size: 1rem;
  color: #0077cc;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.story__titles .section__title {
  font-size: 2rem;
  margin-top: 0.25rem;
  font-weight: 700;
  line-height: 1.3;
} */

.story__content {
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  /* max-width: 800px; */
  margin-top: 1.5rem;
}

.story__content p {
  margin-bottom: 1.5rem;
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background-color: #fff;
}

/* .stats__grid {
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3rem;
} */

.stats__card {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.stats__card:hover {
  transform: translateY(-5px);
}

.stats__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-color);
  margin-bottom: 0.5rem;
}

.stats__title {
  color: var(--title-color);
  font-size: var(--h3-font-size);
  margin: 25px 0;
  font-weight: 600;
  /* color: #222; */
  margin-bottom: 0.5rem;
}

.stats__desc {
  /* font-size: 1rem; */
  color: #555;
  line-height: 1.6;
}


/* Parallax Banner Section */
.highlight-banner {
  /*background-image: url("../media/why-us.jpeg");*/
  background-image: url("../media/why-us-mobile.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 0;
  /* min-height: 60vh; */
  min-height: clamp(480px, 60vh, 800px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
}

.highlight-banner__overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 34, 85, 0.5); 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.highlight-banner__content {
  z-index: 2;
}

.highlight-banner__subtitle {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
  margin-bottom: 0.5rem;
}

.highlight-banner__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .highlight-banner {
    min-height: 640px;
  }
}


/* Styles specifically for touch devices */
@media (hover: none) and (pointer: coarse) {
    .highlight-banner {
        background-attachment: scroll;
    }
}


/* --- iOS fix for fixed background pixelation --- */
/*@supports (-webkit-overflow-scrolling: touch) {*/
/*  @media screen and (max-device-width: 1024px) {*/
/*    .highlight-banner {*/
/*      background: none !important;*/
/*      position: relative;*/
/*      overflow: hidden;*/
/*    }*/

/*    .highlight-banner::before {*/
/*      content: "";*/
/*      position: fixed;*/
/*      top: 0;*/
/*      left: 0;*/
/*      width: 100%;*/
/*      height: 100%;*/
/*      background-image: url("../media/why-us.jpeg");*/
/*      background-size: cover;*/
/*      background-position: center;*/
/*      z-index: -1;*/
/*    }*/
/*  }*/
/*}*/




/* core values */

.core-section {
  padding: 5rem 0;
  position: relative;
  background: transparent;
}

/* 2x2 Grid Layout */
.core-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* Each Card */
.core-card {
  background: transparent;
  text-align: center;
  padding: 2rem;
  z-index: 2;
}

.core-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  color: #003366;
}

.core-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  max-width: 300px;
  margin: 0 auto;
}

/* Core Icon Styling */
.core-icon {
  font-size: 3rem; /* ~48px */
  color: #0077cc;
  /* color: var(--green-color); */
  display: inline-block;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

/* Optional hover effect */
.core-card:hover .core-icon {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .core-icon {
    font-size: 2.5rem;
  }
}


/* Plus Divider */
.divider-horizontal,
.divider-vertical {
  content: "";
  background-color: #e2e8f0;
  position: absolute;
  z-index: 1;
}

.divider-horizontal {
  height: 1px;
  width: 80%;
  top: 50%;
  left: 10%;
}

.divider-vertical {
  width: 1px;
  height: 80%;
  left: 50%;
  top: 10%;
}

/* Responsive */
@media (max-width: 768px) {
  .core-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .divider-horizontal,
  .divider-vertical {
    display: none;
  }
}



/* Team Section Base */
.team__section {
  /* padding: 5rem 0; */
  position: relative;
  background: radial-gradient(circle at top right, #f0f4fa 20%, transparent 60%);
}

.team__subtitle {
  text-align: center;
  /* color: #0077cc; */
  font-weight: 600;
  margin-bottom: 0.5rem;
  /* font-size: 1rem; */
}

.team__title {
  text-align: center;
  /* font-size: 2.2rem; */
  /* color: #003366; */
  margin-bottom: 3rem;
}

/* Swiper Container */
.team__container {
  padding-bottom: 3rem;
}

/* Team Card */
.team__card {
  background: whitesmoke;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  /* max-width: 300px; */
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Team Image */
.team__img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  /* border: 4px solid #0077cc; */
  border: 4px solid var(--title-color);
  object-fit: cover;
  margin: 0 auto 1rem;
}

/* Name & Role */
.team__name {
  font-size: var(--h3-font-size);
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 0.3rem;
}

.team__role {
  font-size: 0.875rem;
  color: gray;
  margin-bottom: 1rem;
}

/* Bio Paragraph */
.team__bio {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* Swiper Pagination Custom (optional) */
.swiper-pagination-bullet {
  background-color: var(--title-color);
  opacity: 0.4;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}



/*=============== Contact Page ===============*/

.location__section {
  width: 100%;
  height: 60vh;
  position: relative;
  overflow: hidden;
  border: none;
}

.location__map-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.1);
  border: none;
}

.location__map-wrapper iframe {
  transition: transform 10s ease;
  width: 100%;
  height: 100%;
  border: none;
}

.location__map-wrapper:hover iframe {
  transform: scale(1.02);
}


/* contact Card */
.contact-cards__container {
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.contact-card {
  background-color: whitesmoke;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 1rem;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.contact-card__icon {
  font-size: 2.5rem;
  color: var(--green-color);
  margin-bottom: 1rem;
}

.contact-card__title {
  font-size: var(--h3-font-size);
  font-weight: 600;
  margin-bottom: 0.5rem;
  /* color: #111; */
}

.contact-card__text {
  /* font-size: 0.95rem; */
  color: #444;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.contact-card__footer {
  border-top: 1px solid #ccc;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
}

.footer-info {
  /* font-size: 1rem; */
  color: #000;
  font-weight: 500;
}


.img-right-shadow{
  /* box-shadow: 
    40px -40px 0px whitesmoke,
     0px 0px 0px whitesmoke;   */
  box-shadow: 
    40px -40px 0px rgb(223, 221, 221),
     0px 0px 0px rgb(223, 221, 221);  
}


/*=============== Products Page ===============*/

/* .search__border{
    border: 2px solid #dcd6d6;
}

.search__width{
    width: 100%;
}

@media screen and (max-width: 600px) {
    .search__width{
        width: 60%;
    }
}

@media screen and (max-width: 1020px) {
    .search__width{
        width: 65%;
    }
}

@media screen and (max-width: 1200px) {
    .search__width{
        width: 60%;
    }
} */

.products__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}

.product__card {
  /* background-color: #f5f5f5; */
  /* border-radius: 1rem; */
  overflow: hidden;
  padding-bottom: 1.2rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.product__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.product__img {
  object-fit: cover;
  width: 100%;
  height: auto;
  /* border-radius: 0.75rem; */
  margin-bottom: 1rem;
  transition: all 0.4s ease-in-out;
}

.product__card:hover .product__img {
  transform: scale(1.05);
}

.product__title {
  font-size: var(--h3-font-size);
  font-weight: 600;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease-in-out;
}

.product__card:hover .product__title{
  color: var(--blue-color);
}

.product__desc {
  /* color: #555; */
  padding: 0 1rem;
  line-height: 1.5;
}

.product__btn {
  display: inline-block;
  margin-top: auto;
  padding: 0 1rem;
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue-color);
  width: fit-content;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  
}

.product__btn:hover {
  color: var(--green-color);
}

.product__card:hover .product__btn{
  color: var(--green-color);
}


/* pagination */

.pagination-section{
  padding: 2rem 0 2rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.pagination__number,
.pagination__arrow {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid #ddd;
  color: var(--blue-color);
  background-color: #fff;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination__number:hover,
.pagination__arrow:hover {
  background-color: var(--blue-color);
  color: #fff;
  border-color: var(--blue-color);
}

.pagination__number.active {
  background-color: var(--blue-color);
  color: #fff;
  border-color: var(--blue-color);
  cursor: default;
}


/*=============== Blog Page ===============*/

/* .blog__content-card{
    margin-top: -25vh;
    margin-inline: auto;
    width: 95%;
    position: relative;
    z-index: 99;
    background-color: whitesmoke;
}

.blog__content-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.blog__content-img img{
    width: 100%;
    height: auto;
} */


/* Main Container Reset */
.blog-post-page {
  margin: 0;
  padding: 0;
  background-color: #fff;
}

/* Full-Width Hero Image */
.blog-post-hero img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
}

/* Constrain Inner Sections */
.container {
  max-width: 850px;
  margin-inline: auto;
  padding: 2rem 1.5rem;
}

/* Blog Title */
.blog-post-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

/* Author and Meta Info */
.blog-post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.blog-post-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue-color);
}

.author-name {
  font-weight: 600;
  margin: 0;
  color: #333;
}

.publish-date {
  font-size: 0.85rem;
  color: #777;
}

/* Share Icons */
.blog-post-share a {
  font-size: 1.3rem;
  color: var(--blue-color);
  margin-left: 0.5rem;
  transition: color 0.3s ease;
}

.blog-post-share a:hover {
  color: var(--green-color);
}

/* Blog Body */
.blog-post-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}

.blog-post-body p + p {
  margin-top: 1.5rem;
}


/* Search */
.search-title {
  font-size: var(--h2-font-size);
  margin-block: 3rem;
}


/* Responsive */
@media screen and (max-width: 768px) {
  .blog-post-title {
    font-size: 1.6rem;
  }

  .blog-post-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}





/*=============== MEDIA QUERIES ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .place__container {
    grid-template-columns: max-content;
    justify-content: center;
  }
  .experience__content {
    padding: 0;
  }
  .contact__overlay:nth-child(1) {
    width: 190px;
  }
  .contact__overlay:nth-child(2) {
    width: 80px;
  }
  .home__info {
    width: 190px;
    padding: 1rem;
  }

  .contact__img,
  .video__container {
    padding: 0;
  }
}

/* For medium devices */
@media screen and (min-width: 568px) {
  .video__container {
    display: grid;
    grid-template-columns: 0.6fr;
    justify-content: center;
  }
  .place__container {
    grid-template-columns: repeat(3, max-content);
  }
  .subscribe__form {
    width: 470px;
    margin: 0 auto;
  }
  .subscribe__description {
    width: 80%;
  }
}

@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }


  /* .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__link {
    color: var(--white-color);
    text-transform: initial;
  }
  .nav__link:hover {
    color: var(--green-color);
  }
  .nav__dark {
    position: initial;
  }
  .nav__menu {
    display: flex;
    column-gap: 1rem;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 4rem;
  }
  .nav__toggle,
  .nav__close {
    display: none;
  }
  .change-theme-name {
    display: none;
  }
  .change-theme {
    color: var(--white-color);
  }
  .active-link::before {
    background-color: var(--white-color);
  }

  .scroll-header .nav__link {
    color: var(--text-color);
  }
  .scroll-header .nav__link:hover {
    color: var(--green-color);
  }
  .scroll-header .active-link {
    color: var(--title-color);
  }
  .scroll-header .active-link::before {
    background-color: var(--title-color);
  }
  .scroll-header .change-theme {
    color: var(--text-color);
  } */

  /* second header */

  /* .second-header .nav__link {
    color: var(--text-color);
  }
  .second-header .nav__link:hover {
    color: var(--green-color);
  }
  .second-header .active-link {
    color: var(--title-color);
  }
  .second-header .active-link::before {
    background-color: var(--title-color);
  }
  .second-header .change-theme {
    color: var(--text-color);
  } */


  .section {
    padding: 7rem 0 2rem;
  }

  .home__container {
    height: 100vh;
    grid-template-rows: 1.8fr 0.5fr;
  }
  .home__data {
    align-self: flex-end;
    padding-top: 4rem;
  }
  .home__social {
    display: flex;
    flex-direction: row;
    align-self: flex-end;
    margin-bottom: 3rem;
    column-gap: 2.5rem;
  }
  .home__info {
    display: flex;
    bottom: 3rem;
  }

  /*.secondary__container {*/
  /*  height: 60vh;*/
  /*  grid-template-rows: 1.8fr 0.5fr;*/
  /*}*/
  
  .secondary__data {
    align-self: flex-end;
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  .about__data,
  .about__subtitle {
    text-align: initial;
  }
  .about__data,
  .about__title {
    text-align: initial;
  }
  .about__title {
    margin-bottom: var(--mb-1-5);
  }
  .about__description {
    margin-bottom: var(--mb-2);
  }
  .experience__content {
    width: 70%;
  }

  .services__description {
    width: 50%;
  }

  .services__container {
    margin-top: 4rem;
    grid-template-columns: repeat(3, 1fr);
  }

  .services__card {
    padding: 0;
  }

  .services__card i {
    /* font-size: var(--biggest-font-size); */
    font-size: 3rem;
  }

  .services__card-title {
    font-size: var(--h3-font-size);
  }

  .products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .place__card,
  .place__img {
    /* height: 263px; */
    height: 300px;
  }

  .discover__container {
    /* width: 610px; */
    margin-left: auto;
    margin-right: auto;
  }
  .discover__container,
  .place__container {
    padding-top: 2rem;
  }
  
  .why__section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      whitesmoke url("../media/why-us.jpeg") center/cover no-repeat;
  }
  
  .highlight-banner {
    background-image: url("../media/why-us.jpeg");
  }

  .why__description {
    width: 50%;
  }

  .why__container {
    margin-top: 4rem;
    grid-template-columns: repeat(3, 1fr);
  }

  .why__card {
    padding: 0;
  }

  .why__card i {
    /* font-size: var(--h2-font-size); */
    font-size: 3rem;
  }

  .why__card-title {
    font-size: var(--h3-font-size);
  }

  /* blogs section */

  .blog__description {
    width: 50%;
  }

  .blog__container {
    /* margin-top: 4rem; */
    grid-template-columns: repeat(3, 1fr);
  }

  .blog__card {
    padding: 0;
  }

  .blog__card i {
    font-size: var(--h2-font-size);
  }

  .blog__card-title {
    font-size: var(--h3-font-size);
  }

  .contact__overlay:nth-child(1) {
    width: 363px;
    margin-right: 4rem;
  }
  .contact__overlay:nth-child(2) {
    width: 160px;
  }
  .input__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__form {
    max-width: 80%;
  }

  .subscribe__bg {
    background: none;
    padding: 0;
  }
  .subscribe__container {
    background-color: var(--first-color-second);
    padding: 3.5rem 0;
  }
  .subscribe__input {
    padding: 0 0.5rem;
  }
  .subscribe__description {
    width: 70%;
  }
  .footer__rights {
    flex-direction: row;
    justify-content: space-between;
  }

  /* about us page */
  .stats__grid {
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 3rem;
  }
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }


  /* nav bar */

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__link {
    color: var(--white-color);
    text-transform: initial;
  }
  .nav__link:hover {
    color: var(--green-color);
  }
  .nav__dark {
    position: initial;
  }
  .nav__menu {
    display: flex;
    column-gap: 1rem;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 4rem;
  }
  .nav__toggle,
  .nav__close {
    display: none;
  }
  .change-theme-name {
    display: none;
  }
  .change-theme {
    color: var(--white-color);
  }
  .active-link::before {
    background-color: var(--white-color);
  }

  .scroll-header .nav__link {
    color: var(--text-color);
  }
  .scroll-header .nav__link:hover {
    color: var(--green-color);
  }
  .scroll-header .active-link {
    color: var(--title-color);
  }
  .scroll-header .active-link::before {
    background-color: var(--title-color);
  }
  .scroll-header .change-theme {
    color: var(--text-color);
  }

  /* second header */

  .second-header .nav__link {
    color: var(--text-color);
  }
  .second-header .nav__link:hover {
    color: var(--green-color);
  }
  .second-header .active-link {
    color: var(--title-color);
  }
  .second-header .active-link::before {
    background-color: var(--title-color);
  }
  .second-header .change-theme {
    color: var(--text-color);
  }



  .specific__blog{
    width: 80%;
    margin: auto;
  }

  .home__container {
    grid-template-rows: 2fr 0.5fr;
  }
  .home__info {
    width: 328px;
    grid-template-columns: 1fr 2fr;
    column-gap: 2rem;
  }
  .home__info-title {
    font-size: var(--normal-font-size);
  }
  .home__info-img {
    width: 240px;
  }

  /*.secondary__container {*/
  /*  grid-template-rows: 2fr 0.5fr;*/
  /*}*/

  .about__img-one {
    width: 230px;
  }
  .about__img-two {
    width: 290px;
  }

  .discover__card {
    width: 237px;
  }

  /* .discover__container {
    width: 700px;
  } */

  .discover__data {
    left: 1.5rem;
    bottom: 2rem;
  }
  .discover__title {
    font-size: var(--h2-font-size);
  }

  .experience__content {
    margin: var(--mb-1) 0;
    column-gap: 3.5rem;
  }
  .contact__overlay:nth-child(1) {
    width: 463px;
    margin-right: 7rem;
  }
  .contact__overlay:nth-child(2) {
    width: 220px;
    top: 3rem;
  }
  
  .contact-mb-3 {
    margin-top: 35px;
  }
  
  .video__container {
    grid-template-columns: 0.7fr;
  }
  .video__description {
    padding: 0 8rem;
  }
  .place__container {
    gap: 3rem 2rem;
  }
  .place__card,
  .place__img {
    /* height: 263px; */
    height: 380px;
  }
  .footer__content {
    justify-items: center;
  }
  .subscribe__description {
    width: 60%;
  }
}

@media screen and (min-width: 1200px) {
  .container {
    max-width: 1024px;
  }
}

/* For tall screens on mobiles y desktop*/
@media screen and (min-height: 721px) {
  body {
    margin: 0;
  }

  /* .home__container,
  .home__img {
    height: 640px;
  } */

  /* .secondary__container, .secondary__img {
    height: 6ovh;
  } */
}

@media screen and (min-width: 768px) and (min-height: 721px) {
  .home__container,
  .home__img {
    height: 640px;
  }

  /* .secondary__container, .secondary__img {
    height: 6ovh;
  } */
}


/*=============== Products Page ===============*/

.search__border{
    border: 2px solid #dcd6d6;
}

/* .search__width{
    width: 100%;
} */

@media screen and (min-width: 600px) {
  .search__width{
      width: 60%;
  }
}

@media screen and (min-width: 1020px) {
  .home__container,
  .home__img {
    height: 100vh;
  }

  .search__width{
      width: 65%;
  }
}

@media screen and (min-width: 1024px) and (min-height: 900px) {
  .home__container,
  .home__img {
    height: 70VH;
  }

  /* .secondary__container, .secondary__img {
    height: 6ovh;
  } */
}

@media screen and (min-width: 1200px) {
  .search__width{
      width: 60%;
  }

  .home__data {
    padding-top: 1rem;
  }
}
