/*-----------------------------------*\
  #main.css
\*-----------------------------------*/
@import "fonts.css";

/* hsl(46, 78%, 51%) yellow
hsl(115, 43%, 52%) green */
:root {
  --rich-black-fogra-29: hsl(222, 44%, 8%);
  --middle-blue-green_40: hsla(174, 64%, 71%, 0.4);
  --midnight-green: hsl(46, 78%, 51%);
  --midnight-green-lower: hsla(46, 78%, 51%, 0.8);
  --midnight-green_a25: hsla(186, 100%, 19%, 0.25);
  --independence: hsl(236, 14%, 39%);
  --verdigris: hsl(222, 44%, 8%);
  --verdigris-lower: hsla(222, 44%, 8%, 0.7);
  --ming: hsl(186, 72%, 24%);
  --space-cadet: hsla(226, 45%, 24%);
  --eerie-black: hsl(0, 0%, 13%);
  --alice-blue: hsl(46, 85%, 64%);
  --alice-blue-lower: hsl(44, 62%, 93%);
  --gray-web: hsl(0, 0%, 50%);
  --gainsboro: hsl(0, 0%, 87%);
  --white: hsl(0, 0%, 100%);
  --white_a20: hsla(0, 0%, 100%, 0.2);
  --white_a10: hsla(0, 0%, 100%, 0.1);
  --black: hsl(0, 0%, 0%);

  --ff-yekanX: "IRANYekanXFaNum", sans-serif;

  --headline-lg: 5rem;
  --headline-md: 3rem;
  --headline-sm: 2rem;
  --title-lg: 1.8rem;
  --title-md: 1.5rem;
  --title-sm: 1.4rem;

  --fw-500: 500;
  --fw-700: 700;

  --section-padding: 120px;

  --shadow-1: 0px 2px 20px hsla(209, 36%, 72%, 0.2);
  --shadow-2: 0 4px 16px hsla(0, 0%, 0%, 0.06);

  --radius-circle: 50%;
  --radius-12: 12px;
  --radius-6: 6px;
  --radius-4: 4px;

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --transition-3: 1s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

li {
  list-style: none;
}

a,
img,
time,
input,
button,
ion-icon {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  height: 100%;
  max-width: 100%;
}

input,
button,
textarea {
  background: none;
  border: none;
  font: inherit;
}

button {
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

address {
  font-style: normal;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-yekanX);
  background-color: var(--white);
  font-size: 1.6rem;
  color: var(--independence);
  line-height: 1.8;
  overflow: hidden;
}

body.loaded {
  overflow-y: visible;
}

body.nav-active {
  overflow: hidden;
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
  padding-inline: 1rem;
}

.headline-lg {
  font-size: var(--headline-lg);
  color: var(--white);
  font-weight: var(--fw-500);
  line-height: 1.2;
}

.headline-md {
  font-size: var(--headline-md);
  font-weight: var(--fw-700);
}

.headline-md,
.headline-sm {
  line-height: 1.3;
}

.headline-md,
.headline-sm {
  color: var(--midnight-green);
}

.headline-sm {
  font-size: var(--headline-sm);
}

.title-lg {
  font-size: var(--title-lg);
}

.title-md {
  font-size: var(--title-md);
}

.title-sm {
  font-size: var(--title-sm);
}

.social-list {
  display: flex;
  justify-content: center;
}

.section {
  padding-block: var(--section-padding);
}

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}

.header-button {
  background-color: var(--white) !important;
  color: var(--rich-black-fogra-29) !important;
}

.header-button:is(:hover, :focus-visible) {
  color: var(--white) !important;
}

.has-before::before,
.has-before::after {
  content: "";
  position: absolute;
}

.btn {
  background-color: var(--verdigris);
  color: var(--white);
  font-weight: var(--fw-700);
  padding: 12px 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-6);
  overflow: hidden;
}

.btn::before {
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #fcc60e;
  border-radius: var(--radius-6);
  transition: var(--transition-2);
  z-index: -1;
}

.btn:is(:hover, :focus-visible)::before {
  transform: translateX(100%);
}

.w-100 {
  width: 100%;
}

.grid-list {
  display: grid;
  gap: 40px 28px;
}

.text-center {
  text-align: center;
}

.relative {
  position: relative;
}

/*-----------------------------------*\
  #PRELOADER
\*-----------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--verdigris);
  display: grid;
  place-items: center;
  z-index: 56;
  transition: var(--transition-1);

  /* display: none; */
}

.preloader.loaded {
  visibility: hidden;
  opacity: 0;
}

.preloader .circle {
  width: 50px;
  height: 50px;
  border: 4px solid var(--white);
  border-radius: var(--radius-circle);
  border-block-start-color: transparent;
  animation: rotate360 1s ease infinite;
}

@keyframes rotate360 {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(1turn);
  }
}

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header .btn {
  display: none;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 4;
}

.header-logo {
  width: 90px;
}

.header.active {
  position: fixed;
  background-color: var(--rich-black-fogra-29);
  animation: headerActive 0.5s ease forwards;
}

.header.active .navbar-link:hover {
  color: var(--midnight-green);
}

@keyframes headerActive {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-open-btn {
  font-size: 4rem;
  color: var(--white);
}

.navbar,
.overlay {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
}

.navbar {
  right: -300px;
  max-width: 75%;
  background-color: var(--rich-black-fogra-29);
  z-index: 1;
  transition: 0.5s var(--cubic-in);
  visibility: hidden;
}

.navbar.active {
  transform: translateX(-300px);
  visibility: visible;
  transition: 0.5s var(--cubic-out);
}

.navbar-top {
  display: flex;
  justify-content: center;
  position: relative;
  padding: 55px;
}

.nav-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--white);
  font-size: 2.8rem;
}

.navbar-list {
  margin-block-end: 30px;
  border-block-end: 1px solid var(--white_a10);
}

.navbar-item {
  border-block-start: 1px solid var(--white_a10);
}

.navbar-link {
  color: var(--white);
  text-transform: uppercase;
  padding: 10px 24px;
  transition: var(--transition-1);
  text-shadow: 2px 2px 3px var(--rich-black-fogra-29);
}

.navbar-link:hover {
  color: var(--rich-black-fogra-29);
  text-shadow: none;

}

.social-list {
  justify-content: center;
  gap: 20px;
  color: var(--white);
  font-size: 1.8rem;
}

.overlay {
  right: -100%;
  background-color: var(--black);
  opacity: 0.3;
  visibility: hidden;
  transition: var(--transition-2);
}

.overlay.active {
  transform: translateX(-100%);
  visibility: visible;
}

/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero-section {
  background-image: url("/assets/images/bg_tablet_mobile.svg");
  background-position-x: left;
  background-repeat: no-repeat;
}

@media screen and (min-width: 1200px) {
  .hero-section {
    background-image: url("/assets/images/bg_desktop.svg");
    background-position: center bottom;
    background-repeat: no-repeat;
  }
}

.hero-banner {
  display: none;
}

.hero-banner img {
  margin-bottom: -35px;
}

.hero-section-link {
  width: 100%;
}

.main-heading-h1 {
  text-shadow: 4px 4px 5px var(--rich-black-fogra-29);
}

.hero {
  background-color: var(--midnight-green);
  padding: 150px 0 50px 0;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 2;
}

.hero-subtitle {
  color: var(--white);
  font-weight: var(--fw-500);
  padding-inline-start: 80px;
}

.hero-subtitle::before {
  top: 50%;
  right: 0;
  width: 60px;
  height: 2px;
  background-color: var(--verdigris);
}

.hero-title {
  margin-block: 20px 15px;
}

.hero-img {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 10px;
}

.hero-img-img {
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

/* .hero-img img {
  width: 300px;
  height: 550px;
  object-fit: contain;
} */

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin: 40px 0 50px 0;
}

.secondary-cta {
  background: transparent;
}

.primary-cta,
.secondary-cta {
  border: 2px solid var(--verdigris);
  padding: 16px;
  width: 100%;
  justify-content: center;
}

.secondary-cta:is(:hover, :focus-visible) {
  background-color: hsla(222, 44%, 8%, 0.8);
}

/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service-list {
  padding-block: 60px 30px;
  padding-inline: 25px;
  display: grid;
  gap: 30px;
  border-radius: var(--radius-12);
  margin-block-start: -60px;
  background-color: var(--white);
  box-shadow: var(--shadow-1);
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  padding: 20px;
  border-radius: 6px;
  border-bottom: 1px dashed var(--independence);
}

.last-service-card {
  border-bottom: none;
}

.last-card {
  border-bottom: none;
}

.service-card .card-icon,
.btn-circle {
  max-width: max-content;
  margin-inline: auto;
}

.service-card .card-icon {
  margin-block-end: 25px;
}

.card-icon {
  margin-bottom: 20px;
}

.service-card .card-text {
  margin-block: 20px 15px;
}

.service-card .btn-circle {
  color: var(--verdigris);
  font-size: 2rem;
  padding: 18px;
  border-radius: var(--radius-circle);
  background-color: var(--white);
  box-shadow: var(--shadow-2);
  transition: var(--transition-1);
}

.service-card .btn-circle:is(:hover, :focus-visible) {
  background-color: var(--verdigris);
  color: var(--white);
}

/*-----------------------------------*\
  #textual content
\*-----------------------------------*/
.textual-content h2 {
  text-align: center;
  margin-bottom: 20px;
}

.textual-content p {
  margin-block: 16px;
}

.textual-content p.headline-sm {
  font-weight: var(--fw-700);
}

/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/
.section.about {
  padding-top: 0;
}

.about {
  padding-block-end: 0;
}

.about-banner {
  display: flex;
  align-items: center;
  order: 1;
}

.about-content {
  order: 2;
}

.about-section-pic {
  object-fit: contain;
  border-radius: 12px;
}

.about .container {
  display: grid;
  gap: 20px;
}

.about .section-text {
  margin-block: 20px 35px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 15px;
}

.tab-btn {
  background-color: var(--alice-blue);
  color: var(--midnight-green);
  padding: 7px 30px;
  border-radius: var(--radius-6);
  font-weight: var(--fw-700);
}

.tab-btn.active {
  background-color: var(--verdigris);
  color: var(--white);
}

.tab-text {
  color: var(--midnight-green);
  margin-block: 35px;
}

.about-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 10px;
}

.about-item ion-icon {
  color: var(--verdigris);
  font-size: 2rem;
  flex-shrink: 0;
}

/*-----------------------------------*\
  #LISTING
\*-----------------------------------*/
.listing {
  background-color: rgb(243, 243, 235);
}

.listing-card {
  padding: 25px 16px;
  gap: 20px;
  border: 2px solid hsla(46, 78%, 51%, 0.3);
  border-radius: var(--radius-12);
  transition: var(--transition-1);
}

.listing-card:is(:hover, :focus-visible) {
  border-color: var(--midnight-green);
}

.listing-card .card-title {
  margin-bottom: 16px;
}

.listing-card .card-text {
  color: var(--verdigris);
}

/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/
.footer {
  background-color: var(--verdigris-lower);
  color: var(--white);
  background-size: contain;
  background-position: top right;
  background-repeat: no-repeat;
}

.footer-top {
  display: grid;
  gap: 40px;
  padding-block-end: 60px;
}

.footer-brand {
  background-color: var(--verdigris);
  padding: 32px;
  border-radius: var(--radius-6);
}

.footer .logo {
  margin-block-end: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-block-start: 12px;
}

.contact-item .item-icon {
  font-size: 4rem;
}

.contact-link {
  display: inline;
  transition: var(--transition-1);
}

.contact-link:is(:hover, :focus-visible) {
  color: var(--midnight-green);
}

/* .footer-list-title {
  color: var(--white);
  font-weight: var(--fw-700);
  margin-block-end: 20px;

} */

.footer .text {
  opacity: 0.7;
}

.footer .address {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-end: 20px;
}

.footer .address ion-icon {
  font-size: 4rem;
  flex-shrink: 0;
}

.footer-form .input-field {
  color: var(--white);
  border: 1px solid var(--white_a20);
  border-radius: var(--radius-4);
  padding: 8px 20px;
  width: 100%;
}

.footer-form .input-field::placeholder {
  color: inherit;
}

.footer-form .btn {
  width: 100%;
  justify-content: center;
  margin-block: 12px 28px;
}

.footer-bottom {
  padding-block: 32px;
  border-block-start: 1px solid var(--white_a20);
}

.footer-bottom .social-list {
  justify-content: center;
  gap: 8px;
  margin-block-start: 16px;
}

.footer-bottom .social-link {
  font-size: 1.4rem;
  padding: 12px;
  background-color: var(--white_a10);
  border-radius: var(--radius-circle);
  transform: var(--transition-1);
}

.footer .contact-item {
  align-items: center;
}

.footer-list .address {
  margin-top: 20px;
}

.locating-address {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.locating-address p {
  font-size: 14px;
}

.locating-address div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.location-link {
  padding: 1rem;
  background-color: var(--white);
  border-radius: 12px;
}

.location-link img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

/*  sadas */

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list-title {
  background: none;
  border: none;
  color: var(--white);
  font-weight: var(--fw-700);
  cursor: pointer;
  padding: 10px 0;
  width: 100%;
  text-align: right;
}

.footer-link {
  color: var(--white);
  text-decoration: none;
  display: block;
  padding: 10px 0;
  transition: color 0.3s ease-in-out;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--midnight-green);
}

.footer-sublist {
  max-height: 0;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
  transition: max-height 0.5s ease-in-out;
  padding: 12px;
}

.footer-sublist.open {
  max-height: 1000px;
  /* Arbitrary large value to allow for height transition */
}

.dropdown-header.open .footer-icon::before {
  transform: rotate(0deg);
  transition: all 0.3s ease-in-out;
}

.dropdown-header .footer-icon::before {
  transform: rotate(90deg);
  transition: all 0.3s ease-in-out;
}

.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: var(--rich-black-fogra-29);
  border-radius: var(--radius-12);
  padding: 12px;
}

.footer-icon {
  font-size: 28px;
  margin-left: 10px;
}

.negative-margin {
  margin-top: -40px;
}

.footer-logo {
  margin: 0 auto;
}

/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

/*-----------------------------------*\
  #gallery
\*-----------------------------------*/
.gallery-subtitle,
.gallery-headline {
  text-align: center;
}

.swiper-wrapper {
  padding-top: 20px;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 93%;
  object-fit: cover;
  border-radius: 12px;
}

.swiper {
  width: 70%;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
}

.mySwiper2 {
  height: 500px;
  width: 70%;
}

.mySwiper {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
}

.mySwiper .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  display: none !important;
}

.gallery-section {
  background: url(../images/bg-left.webp) no-repeat top left,
    url(../images/bg-right.webp) no-repeat top right;
}

@media screen and (max-width: 425px) {
  .mySwiper2 {
    height: 350px;
  }
}

/*-----------------------------------*\
  #stats
\*-----------------------------------*/

.stats-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stats-card {
  text-align: center;
  background: linear-gradient(135deg, #e3b639, #e9e9e9);
  border-radius: 12px;
  padding: 20px;
}

.stats-title {
  font-size: 3.5rem;
  color: var(--verdigris);
  font-weight: var(--fw-700);
}

.stats-subtitle {
  font-size: 1.8rem;
}

.stats-headline {
  margin-bottom: 20px;
}

.stats-headline,
.stats-subtitle {
  text-align: center;
}

/*-----------------------------------*\
  #team section
\*-----------------------------------*/

.tools {
  background-color: var(--rich-black-fogra-29);
  padding-bottom: 0;
  padding-top: 40px;
}

.team-headline,
.team-subtitle {
  text-align: center;
}

.team-headline {
  margin-bottom: 20px;
}

.scroller__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroller {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  max-width: 1200px;
  overflow: hidden;
}

.scroller__inner {
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.scroller .scroller__inner {
  flex-wrap: nowrap;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.scroller__inner:hover {
  animation-play-state: paused;
}

.tag-list li img {
  width: 300px;
  height: 490px;
  object-fit: cover;
  border-radius: 12px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.4s;
}

.tag-list li img:is(:hover, :focus-visible) {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.02);
}

@keyframes scroll {
  to {
    transform: translate(calc(50% - -10px));
  }
}

@media screen and (min-width: 768px) {
  .scroller__mask {
    -webkit-mask: linear-gradient(90deg,
        rgba(255, 255, 255, 0),
        hsl(234, 8%, 95%) 10%,
        hsl(234, 8%, 95%) 80%,
        rgba(255, 255, 255, 0));
    mask: linear-gradient(90deg,
        rgba(255, 255, 255, 0),
        hsl(234, 8%, 95%) 10%,
        hsl(234, 8%, 95%) 80%,
        rgba(255, 255, 255, 0));
  }
}

/*-----------------------------------*\
  #contact form
\*-----------------------------------*/

.contact-container {
  position: relative;
  background: linear-gradient(135deg, #e3b639, #444);

  border-radius: 20px;
  padding: 220px 30px 30px 40px;
  margin: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.contact-img-1 {
  position: absolute;
  top: 0;
  left: 0;
  object-position: top;
  height: 50%;
}

.contact-img-2 {
  position: absolute;
  top: 0;
  left: 0;
  object-position: left;
  border-radius: 20px;
  display: none;
}

.contact-img-3 {
  position: absolute;
  bottom: 0;
  right: 0;
  object-fit: contain;
  height: 50%;
}

.contact-title,
.contact-des {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 10px;
}

.contact-des {
  font-size: 14px;
}

form {
  position: relative;
  z-index: 1;
}

form div input {
  margin: 16px 0 16px 0;
}

form button,
form input {
  width: 100%;
}

form input {
  color: var(--white);
  border: 1px solid var(--white);
  border-radius: 8px;
  padding: 12px;
}

textarea {
  color: var(--white);
  border: 1px solid var(--white);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  width: 100%;

}

textarea:focus-visible {
  outline: none;
  border: 2px solid rgb(240, 240, 23);
}


textarea::placeholder {
  color: var(--white);
  opacity: 0.8;
  text-align: right;
}


form input::placeholder {
  color: var(--white);
  opacity: 0.8;
  text-align: right;
}

input:focus-visible {
  outline: none;
  border: 2px solid rgb(240, 240, 23);

}

.submit-button {
  justify-content: center;
}

/* contact modal */
.contact__modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0 1rem;
  z-index: 100;
}

.contact__modal-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  padding-block: 4rem;
  padding-inline: 2rem;
  background-color: #f1f1f1;
  border-radius: 0.5rem;
  gap: 30px;
  max-width: 500px;
}

.contact__modal-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.contact__modal-content>div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact__modal-close {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  color: #000;
  cursor: pointer;
  width: 2.125rem;
  height: 2.125rem;
  transition: all 0.4s;
}

.contact__modal-close:hover {
  border-radius: 100vmax;
  background-color: var(--scroll-thumb-color);
}

.contact__modal-text-1 {
  color: #000;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.contact__modal-text-2 {
  color: var(--midnight-green);
  font-size: 14px;
  font-weight: 600;
}

.contact__modal-wrapper {
  display: none;
}

.show__contact-modal {
  display: flex;
}

.success-icon {
  color: var(--midnight-green);
  font-size: 4rem;
}

/*-----------------------------------*\
  #faq section
\*-----------------------------------*/

.faq-section {
  padding-block: 0;
  padding-bottom: 120px;
  padding-top: 30px;
  /* background-color: rgb(216, 216, 194); */
  background-image: url("/assets/images/bg_desktop.svg");
  background-repeat: no-repeat;
  background-position: top;
}

.faq-container {
  width: 100%;
}

.faq-list {
  padding: 16px;
  background-color: var(--verdigris);
  margin: 10px;
  border-radius: var(--radius-12);
  box-shadow: var(--shadow-2);
}

.faq-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  font-weight: var(--fw-700);
  cursor: pointer;
}

.faq-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease-in-out;
  color: var(--alice-blue);
  font-size: 14px;
  margin-top: 10px;
}

.faq-headline,
.faq-subtitle {
  text-align: center;
}

.faq-section h2 {
  margin-bottom: 40px;
}

.faq-list.active .faq-content {
  max-height: none;
}

.faq-icon {
  background-color: var(--rich-black-fogra-29);
  border-radius: 6px;
  width: 32px;
  height: 32px;
}

.faq-icon::before {
  font-size: 32px;
  transform: rotate(90deg);
  transition: all 0.3s ease-in-out;
}

.faq-list.active .faq-icon::before {
  transform: rotate(0deg);
  transition: all 0.3s ease-in-out;
}

/*-----------------------------------*\
  #nav buttons
\*-----------------------------------*/
.cta-navbuttons {
  position: fixed;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  bottom: 0;
  width: 100%;
  height: 72px;
  background-color: var(--verdigris);
  z-index: 15;
}

.cta-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 50%;
}

.b-l {
  border-left: 1px dashed var(--white);
}

.cta-nav i {
  font-size: 24px;
  width: 24px;
  height: 24px;
  color: var(--white);
}

.cta-nav span {
  font-size: 14px;
  color: var(--white);
}

/* mobile nav cta to contact form */
.btn-nav-mobile {
  background-color: var(--white);
  color: var(--rich-black-fogra-29);
  font-weight: var(--fw-700);
  padding: 12px 36px;
  margin: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-6);
  overflow: hidden;
  text-align: center;
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/
@media screen and (min-width: 320px) {
  .header-button-mobile {
    display: block;
  }
}

@media screen and (min-width: 768px) {
  :root {
    --headline-lg: 8rem;
    --headline-md: 4.8rem;
  }

  .container {
    max-width: 750px;
    width: 100%;
    margin-inline: auto;
  }

  .nav-open-btn {
    margin-inline-start: auto;
  }

  .header .container {
    gap: 40px;
  }

  .hero-title {
    line-height: 1.125;
  }

  .hero .wrapper {
    display: flex;
    gap: 1rem;
  }

  .service-list {
    grid-template-columns: 1fr 1fr;
  }

  .about-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .about-banner {
    max-width: max-content;
    margin-inline: auto;
  }

  .listing .grid-list {
    grid-template-columns: 1fr 1fr;
  }

  .listing .grid-list>li:first-child {
    grid-column: 1 / 3;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / 3;
    display: flex;
  }

  .contact-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bottom .social-list {
    margin-block-start: 0;
  }

  .contact-img-1 {
    display: none;
  }

  .contact-img-2 {
    top: 0;
    left: 0;
    display: block;
  }

  .contact-img-3 {
    top: 0;
    right: 0;
  }

  .service-card {
    border-bottom: none;
    min-height: 540px;
    background-color: #f1f1f1;
  }

  .listing-card {
    min-height: 400px;
  }

  .stats-card {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .stats-card {
    padding: 32px;
  }

  .stats-title {
    font-size: 5.5rem;
    margin-bottom: 15px;
  }

  .stats-subtitle {
    font-size: 2rem;
  }
}

@media screen and (min-width: 992px) {
  .container {
    max-width: 940px;
  }

  .hero-banner {
    display: block;
    max-width: max-content;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
  }

  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .about .container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .about-content {
    padding-block-end: var(--section-padding);
  }

  .cta-navbuttons {
    display: none;
  }

  .hero-img {
    display: none;
  }

  .faq-heading {
    font-size: 20px;
  }

  .faq-content {
    font-size: 18px;
  }

  .faq-section {
    background-position: top left;
  }

  .service-card {
    min-height: 590px;
  }

  .footer-brand {
    gap: 100px;
  }

  .header-logo {
    width: 136px;
  }

  .hero-content {
    margin-bottom: 40px;
  }

  .success-icon {
    font-size: 4.5rem;
  }

  .header-button-mobile {
    display: none;
  }

  .about-section-pic {
    height: 380px;
    margin-bottom: 100px;
  }

  .about-banner {
    order: 2;
  }

  .about-content {
    order: 1;
  }

  .hero-banner img {
    border-radius: 12px;
  }
}

@media screen and (min-width: 1250px) {
  .container {
    max-width: 1200px;
  }

  .header-button {
    display: block !important;
  }

  .header {
    padding-block: 0;
  }

  .nav-open-btn,
  .overlay,
  .navbar-top,
  .navbar .social-list {
    display: none;
  }

  .navbar,
  .navbar.active,
  .navbar-list {
    all: unset;
    display: block;
  }

  .navbar-list {
    display: flex;
    gap: 10px;
  }

  .li-flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .navbar-item {
    border-block-start: none;
  }

  .navbar-link {
    --title-md: 1.8rem;
    font-weight: var(--fw-500);
    padding-inline: 1rem;
    text-transform: capitalize;
  }

  .hero .container {
    grid-template-columns: 0.8fr 1fr;
    place-items: center;
    gap: 20px;

  }

  .hero-banner img {
    height: 550px;
  }

  .hero-img {
    display: none;
  }

  .listing-card {
    min-height: 430px;
  }

  .listing .grid-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer {
    background-size: auto;
  }

  .footer-top {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / 5;
    padding: 28px 56px;
    display: grid;
    grid-template-columns: 0.3fr 1fr;
    align-items: center;
  }

  .footer .logo {
    margin-block-end: 0;
    margin-left: 50px;
    border-left: 1px solid var(--white_a20);
  }

  .contact-list {
    justify-content: space-between;
  }

  .contact-list::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--white_a20);
  }

  .contact-item {
    margin-block-start: 0;
  }

  .form-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 600px;
  }

  .form-container div:nth-last-child(2) {
    width: 100%;
  }

  .idk {
    display: flex;
    gap: 10px;
    width: 100%;
  }

  .idk div:nth-child(1) {
    width: 50%;
  }

  .idk div:nth-child(2) {
    width: 50%;
  }

  .idk2 {
    width: 100%;
  }

  .contact-img-2 {
    height: 100%;
  }

  .contact-img-3 {
    bottom: 0;
    right: 0;
    height: 100%;
  }

  .contact-container {
    padding: 110px 40px 30px 40px;
  }

  .form-container input {
    margin: 8px 0 8px 0;
  }

  .dropdown-header {
    cursor: default;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
  }

  .footer-sublist {
    max-height: none;
    overflow: visible;
    padding: 0;
  }

  .footer-list-title,
  .footer-icon {
    cursor: default;
  }

  .footer-icon {
    display: none;
    transform: none;
  }

  .negative-margin {
    margin-top: 0;
  }

  .service-card {
    background: none;
  }

  .contact__modal-text-1 {
    font-size: 24px;
  }

  .contact__modal-text-2 {
    font-size: 20px;
  }

  .footer-list-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}