/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(0, 100%, 25%);
  --first-color-alt: hsl(0, 98%, 26%);
  --first-color-dark: hsl(353, 50%, 15%);
  --title-color: hsl(353, 48%, 12%);
  --text-color: hsl(353, 16%, 32%);
  --text-color-light: hsl(353, 16%, 48%);
  --white-color: hsl(24, 86%, 90%);
  --body-color: hsl(0, 0%, 100%);
  --container-color: hsl(0, 0%, 95%);
  --shadow-small-img: drop-shadow(0 4px 16px hsla(353, 100%, 8%, .2));
  --shadow-big-img: drop-shadow(0 8px 24px hsla(353, 100%, 8%, .2));

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Roboto Condensed", sans-serif;
  --second-font: "Roboto Condensed", sans-serif;
  --biggest-font-size: 2.5rem;
  --bigger-font-size: 1.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 4.25rem;
    --bigger-font-size: 2.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

input,
button,
body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  /* overflow-x: hidden; /*hides horizontal scrollbar*/
  /* overflow-y: hidden; hides vertical scrollbar */ 
}

input,
button {
  outline: none;
  border: none;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-regular);
  font-family: var(--second-font);
  line-height: 120%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
  min-height: 550px;
}
.section__heading{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--first-color);
}
.section__title {
  text-align: center;
  font-size: var(--bigger-font-size);
  margin-bottom: 2rem;
  color: var(--first-color);
}
.main {
  overflow: hidden;
}
/*======================= BUTTON =========================*/
.button2{
  display: inline-block;
  background-color: var(--body-color);
  width: 14rem;
  text-align: center;
  padding: .8rem 2rem;
  margin: .2rem;
  border-radius: 5px;
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
  transition: box-shadow -4s;
}

.button{
  display: inline-block;
  background-color: var(--first-color);
  width: 14rem;
  text-align: center;
  padding: .8rem 2rem;
  margin: .2rem;
  border-radius: 5px;
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  transition: box-shadow -4s;
}

.button:hover{
  box-shadow: 0 8px 24px hsla(140, 40%, 48%, .3);
}

/*=============== HEADER & NAV ===============*/
.header{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--body-color);
    z-index: var(--z-fixed);
    transition: box-shadow .4s;
  }
.nav{
    position: relative;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
.nav__logo{
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    font-family: var(--second-font);
    font-weight: var(--font-semi-bold);
    font-size: var(--h2-font-size);
    color: var(--first-color);
  }
  .nav__logo span{
    font-style: italic;
  }
.nav__toggle,
.nav__close{
    display: flex;
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
  }

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
    .nav__menu {
        position: fixed;
        top: -120%;
        left: 0;
        background-color: var(--body-color);
        width: 100%;
        padding-block: 4.5rem 3.5rem;
        box-shadow: 0 4px 16px hsla(353, 100%, 8%, .1);
        transition: top .4s;
    }
}
.nav__list{
    text-align: center;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}
.nav__link{
    position: relative;
    color: var(--first-color);
    font-family: var(--second-font);
    font-weight: var(--font-semi-bold);
}
.nav__link::after{
    content: '';
    width: 0;
    height: 3px;
    background-color: var(--first-color);
    position: absolute;
    left: 0;
    bottom: -.5rem;
    transition: width .4s;
}
.nav__link:hover::after{
    width: 60%;
}
.nav__close{
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

/* Show menu */
.show-menu{
  top: 0;
}

/* Add shadow header */


/* Active link */

/*======================= HOME =========================*/
.home{
  background-image: url(/assets/Img/mobileLand.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.home__container{
  padding-top: 3.5rem;
  width: 70%;
  margin: auto;
  row-gap: 2rem;
  }
.home__data{
  text-align: center;
  }
.home__img{
    display: none;
  }
.home__title{
  font-size: var(--bigger-font-size);
  font-family: var(--body-font);
  color: var(--first-color);
  margin-bottom: .5rem;
  }
.home__subtitle{
  font-size: var(--normal-font-size);
  font-family: var(--body-font);
  margin-bottom: .5rem;
  }
.home__description{
  margin-bottom: 2rem;
  line-height: 1.5;
  }
/*======================= ABOUT =========================*/
.about{
  background-image: url(/assets/Img/aboutBgImage.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.about__container{
  padding-top: 3rem;
  text-align: center;
  }
.about__title{
  font-size: var(--h3-font-size);
  font-family: var(--body-font);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1rem;
  color: var(--first-color-alt);
  }
.about__description{
  margin-bottom: 1rem;
  line-height: 1.5;
  }
.about__img{
  display: none;
  }
/*======================= SERVICES =========================*/

.services__container{
  padding-top: 3rem;
  grid-template-columns: 1fr;
  grid-gap: 1rem;
  text-align: center;
  justify-content: center;
  }
.service__wrapper{
  background-color: var(--container-color);
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  border-radius: 5px;
}
.services__data{
  text-align: center;
  padding: 1rem;
  border-radius: 5px;
  }
.services__title{
  font-size: var(--h3-font-size);
  font-family: var(--body-font);
  margin-bottom: 1rem;
  color: var(--first-color);
  }
.services__description{
  margin-bottom: 2rem;
  }
.services__img{
  width: 300px;
  justify-self: center;
  border-radius: 5px;
  margin-bottom: 10px;
  }

/*======================= FAQs =========================*/
.faqs__container{
  margin-top: 2rem;
}
.faqs__content{
  margin: 2.5rem 0 0;
}
.faqs__title{
  font-size: var(--h1-font-size);
  font-family: var(--body-font);
  margin-bottom: 1rem;
}
.accordion{
  margin: 0rem 0 0;
}
.accordion__item{
  background-color: var(--container-color);
  margin: 1rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
}
.accordion__item-header{
  padding: 0.5rem 3rem 0.5rem 1rem;
  min-height: 3.5rem;
  line-height: 1.25rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}
.accordion__item-header::after{
  content: "\002B";
  font-size: var(--normal-font-size);
  position: absolute;
  right: 1rem;
}
.accordion__item-header.active::after{
  content: "\2212";
}
.accordion__item-body{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.accordion__item-body-content{
  padding: 1rem;
  line-height: 1.5;
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, var(--first-color), transparent) 1;
}
.faqs__orderedList{
  padding: 0 1rem;
  line-height: 1.5;
}
/*======================= CTA =========================*/
.cta__container{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 1rem;
  border-radius: 8px;
  height: 20rem;
  text-align: center;
  background-color: var(--first-color);
  box-shadow: rgba(0, 0, 0, 0.239) 0px 3px 8px;
  border: 2px solid #ffffff;
  color: var(--body-color);
  row-gap: 1rem;
}
.cta__data{
  font-size: var(--h3-font-size);
  line-height: 1.4;
}

/*======================= FOOTER =========================*/
.footer{
  width: 100%;
  bottom: 0;
  padding-block: 3rem 2rem;
  overflow: hidden;
  background-color: var(--container-color);
}
.footer__container{
  row-gap: 3rem;
}
.footer__box{
  max-width: 320px;
}
.footer__links, 
.footer__information, 
.footer__description{
  font-size: var(--small-font-size);
}

.footer__content, 
.footer__links, 
.footer__information{
  display: grid;
}
.footer__content{
  grid-template-columns: repeat(2, max-content);
  gap: 2.5rem;
}
.footer__title{
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}
.footer__description{
  width: 400px;
}
.footer__links, 
.footer__information{
  row-gap: .5rem;
}
.footer__link{
  color: var(--text-color);
  transition: color .3s;
}
.footer__link:hover{
  color: var(--first-color);
}
.footer__social{
  display: flex;
  column-gap: 1.25rem;
}
.footer__social-link{
  color: var(--first-color);
  font-size: 1.25rem;
  transition: color .3s, transform .3s;
}
.footer__social-link:hover{
  color: var(--first-color-alt);
  transform: translateY(-2px);
}
.footer__copy{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 2rem;
}
/* ============== BREAKPOINTS ================== */
/* For Small Screen */
@media screen and (max-width: 320px){
  .container{
    margin-inline: 1rem;
  }
  .home__title, .about__title{
    font-size: 2.5rem;
  }
  .footer__content{
    gap: 1.5rem;
  }
}
/* For Medium Screen */
@media screen and (min-width: 576px){
  .home__container, .about__container{
    grid-template-columns: 380px;
    justify-content: center;
  }
  .home__img{
    display: none;
  }
  .services__container{
    grid-template-columns: 1fr;
    align-items: center;
  }
  .cta__data{
    width: 50%;
  }
  .footer__content{
    grid-template-columns: repeat(4, max-content);
  }
}
@media screen and (min-width: 768px){
  .home{
    background: url(/assets/Img/landDesign768_.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  .home__container, .about__container, .services__container{
    grid-template-columns: repeat(2, 350px);
    align-items: center;
  }
  .home__data, .about__data{
    text-align: initial;
  }
  .about{
    background: none;
  }
  .about__img{
    display: block;
    width: 300px;
    justify-self: center;
    }
  .faqs__container{
    grid-template-columns: repeat(2, 1fr);
  }
}
/* For Large Screens */
@media screen and (min-width: 1150px){
  .container{
    margin-inline: auto;
  }
  .section{
    padding-block: 7rem 2rem;
  }
  .section__title{
    margin-bottom: 4rem;
  }
  .nav__toggle,
  .nav__close{
    display: none;
  }
  .nav__list{
    flex-direction: row;
    column-gap: 4rem;
  }
  .home{
    background: url(/assets/Img/landDisplay1120_.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  .home__container{
    grid-template-columns: 600px 400px;
    column-gap: 1rem;
  }
  .home__title{
    margin-bottom: 1.5rem;
  }
  .home__description{
    padding-right: 5rem;
    margin-bottom: 3rem;
  }
  .about__container{
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }
  .services__container{
    grid-template-columns: repeat(3, 350px);
  }
  .footer__container{
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }
  .footer__content{
    column-gap: 4rem;
  }
  .footer__title{
    color: var(--first-color);
  }
  .footer__title,
  .footer__description,
  .footer__link,
  .footer__information{
    font-size: var(--normal-font-size);
  }
  .footer__social-link{
    font-size: 1.5rem;
  }
}