/*-----------------------------------*\
  #style.css
\*-----------------------------------*/


/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --alice-blue: hsl(204, 100%, 97%);
  --cultured-1: hsl(0, 0%, 94%);
  --cultured-2: hsl(0, 0%, 95%);
  --cultured-3: hsl(0, 0%, 95%);
  --plutinum: hsl(0, 0%, 91%);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --onyx: hsl(0, 0%, 24%);
  --smuk-blue: hsl(204, 100%, 37%);
  --smuk-green: hsl(149, 99%, 29%);
  --smuk-yellow: hsl(57, 99%, 48%);
  --smuk-grey: hsl(330, 3%, 13%);

  /**
   * typography
   */

  --ff-oswald: 'Oswald', sans-serif;
  --ff-rubik: 'Rubik', sans-serif;

  --fs-1: 6rem;
  --fs-2: 5rem;
  --fs-3: 4rem;
  --fs-4: 3rem;
  --fs-5: 2.2rem;
  --fs-6: 2rem;
  --fs-7: 1.8rem;
  --fs-8: 1.5rem;
  --fs-9: 1.4rem;
  --fs-10: 1.2rem;
  --fs-sm: .875rem;

  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-800: 800;

  /**
   * spacing
   */

  --section-padding: 50px;

  /**
   * shadow
   */
   
  --shadow-1: 2px 0 50px hsla(0, 0%, 0%, 0.2);
  --shadow-2: 0px 40px 60px hsla(202, 75%, 47%, 0.7);
  --shadow-3: 0px 0px 60px hsla(202, 75%, 47%, 0.5);

  /**
   * transition
   */

  --transition: 0.25s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
time,
span,
input,
button,
ion-icon { display: block; }

img { height: auto; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input, textarea { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; color:#fff; }

html {
  font-family: var(--ff-rubik);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  /*background-color: var(--white);*/
  background-color: var(--alice-blue);
  color: var(--onyx);
  font-size: 1.6rem;
  line-height: 1.7;
}



::-webkit-scrollbar { width: 10px; }

::-webkit-scrollbar-track { background-color: var(--plutinum); }

::-webkit-scrollbar-thumb {
  background-color: var(--smuk-green);
}







/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

.section { padding-block: var(--section-padding); }

@media (max-width: 992px) {
  .section {
    scroll-margin-top:4rem; 
  }
  section.service {
    scroll-margin-top:8rem;
  }
}



.h1,
.h2,
.h3 {
  font-family: var(--ff-oswald);
  line-height: 1.2;
  font-weight: var(--fw-600);
}

.h1 {
  font-size: var(--fs-3);
}

.h2,
.h3 { color: var(--prussian-blue); }

.h2 { font-size: var(--fs-4); }

.h3 { font-size: var(--fs-5); }

.img-holder {
  background-color: var(--light-gray);
  aspect-ratio: var(--width) / var(--height);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-subtitle {
  color: var(--smuk-yellow);
  text-transform: uppercase;
  font-size: var(--fs-6);
  font-family: var(--ff-oswald);
  font-weight: var(--fw-600);
  letter-spacing: 3px;
  margin-block-end: 10px;
}

.section-text { line-height: 1.5; }

.btn {
  position: relative;
  color: var(--white);
  background-color: var(--dark-orange);
  max-width: max-content;
  font-size: var(--fs-9);
  letter-spacing: 1px;
  padding-block: 10px;
  padding-inline: 15px 50px;
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  transition: var(--transition);
}

.btn::before {
  top: 50%;
  right: 15px;
  width: 25px;
  height: 1px;
  background-color: var(--white);
}

.btn::after {
  top: -6px;
  right: -6px;
  bottom: -6px;
  width: 20px;
  border: 2px solid var(--dark-orange);
  z-index: -1;
}

.btn:is(:hover, :focus)::before { width: 33px; }

.btn:is(:hover, :focus)::after { width: 40px; }

.grid-list {
  display: grid;
  gap: 30px;
}

.btn-link {
  color: var(--dark-orange);
  font-size: var(--fs-7);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
}

.btn-link > * {
  transform: translateX(-22px);
  transition: var(--transition);
}

.btn-link:is(:hover, :focus) > * { transform: translateX(0); }

.w-100 { width: 100%; }

.btn-nav {
  max-width: max-content;
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  padding: 8px 20px;
  transition: var(--transition);
  background-color: var(--smuk-green);
}



/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header-contact { display: none; }

.header-contact:is(:hover, :focus) {
  background-color: var(--smuk-green);
  color: #fff;
}

.header-contact ion-icon {
  color: var(--smuk-green);
  transition: color .25s ease;
}

.header-contact:is(:hover, :focus) ion-icon {
  color: #fff;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 15px;
  z-index: 4;
  transition: var(--transition);
  background-color: var(--white);
}

.header.active { background-color: var(--smuk-grey); }

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.header-nav-logo img,
.off-canvas-logo {
  max-width: 115px;
}

@media (max-width: 768px) {
  .header-nav-logo img,
  .off-canvas-logo {
  max-width: 80px;
}
}

.logo {
  font-family: var(--ff-oswald);
  color: var(--white);
  font-size: 3rem;
}

.nav-open-btn {
  color: var(--white);
  font-size: 35px;
  padding: 5px;
  border-radius: 50%;
  background-color: var(--smuk-green);
}

.nav-open-btn ion-icon { --ionicon-stroke-width: 40px; }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  /*max-width: 300px;*/
  width: 100%;
  height: 100%;
  background-color: var(--alice-blue);
  box-shadow: var(--shadow-1);
  z-index: 3;
  visibility: hidden;
  /*transition: 0.25s var(--cubic-in);*/
}

.navbar.active {
  visibility: visible;
  /*transform: translateX(300px);
  transition: 0.5s var(--cubic-out);*/
}

.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-block-end: 1px solid var(--plutinum);
  padding: 15px;
  background-color: #fff;
}

/*.navbar-top .logo {
  color: var(--onyx);
  font-size: 3rem;
  display: none;
}*/

.nav-close-btn { font-size: 35px; padding: 5px; border-radius: 50%; background-color: var(--smuk-green);}

.nav-close-btn ion-icon { --ionicon-stroke-width: 40px; }

nav.active .navbar-item { border-block-end: 1px solid var(--plutinum); }

.navbar-link {
  color: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  font-size: 18px;
}

@media (max-width:992px) {
  .navbar-link {
    padding-left: 30px;
  }
}

@media (min-width:992px) {
  .navbar-link {
    transition: .25s ease;
    padding-inline: 20px;
  }
}

.navbar-link:is(:hover, :focus, .active) {
  background-color: var(--white);
  color: var(--smuk-green);
}

.overlay {
  position: fixed;
  inset: 0;
  background-color: var(--black_60);
  z-index: 2;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
}

.overlay.active {
  visibility: visible;
  opacity: 1;
}

@media (min-width: 992px) {
  .mobile-call {
    display: none;
  }
}

.mobile-call {
  margin-top: 2rem;
  padding-left: 15px;
}

.mobile-call a {
  color: #fff;
}



/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  position: relative;
  background-image: url('/assets/images/sportmac-hero-bg-4.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: grid;
  place-content: center;
  padding-block-start: calc(var(--section-padding) + 85px);
  z-index: 1;
}

@media (min-width:992px) {
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
}

.hero-content {
  background-color: var(--black_60);
  color: var(--white);
  text-align: center;
  padding: 30px;
}

.hero-title .span {
  color: var(--dark-orange);
  font-size: var(--fs-2);
  font-weight: var(--fw-700);
}

.hero-text { margin-block: 20px 15px; }

.btn-outline {
  max-width: max-content;
  margin-inline: auto;
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  padding: 8px 20px;
  background-color: var(--smuk-green);
  border: 2px solid #fff;
}

.btn-outline:is(:hover, :focus) {
  border: 2px solid #fff;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 137, 0, 0);
}

.btn-contact {
  max-width: max-content;
  margin-inline: auto;
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  padding: 8px 20px;
  font-size:2rem;
  background-color: var(--smuk-green);
  color: #fff;
}

.hero-slider {
  border: 3px solid #fff;
}

.hero-slider,
.hero-card { position: relative; }

.hero .slider-inner {
  overflow: hidden;
}

.hero .slider-container {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  transition: 0.5s ease;
}

.hero .slider-item {
  min-width: 100%;
  width: 100%;
  overflow: hidden;
}

.hero .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: hsla(330, 3%, 13%, .5);
  color: var(--smuk-grey);
  font-size: 2rem;
  padding: 12px;
  border-radius: 50%;
  transition: 0.25s ease;
}

.hero .slider-btn:is(:hover, :focus-visible) { background-color: hsla(330, 3%, 13%, .7); }

.hero .slider-btn.prev { left: 20px; }

.hero .slider-btn.next { right: 20px; }

@media (max-width:992px) {
  .hero-slider {
    display: none;
  }
  }


/*-----------------------------------*\
  #TESTIMONIALS
\*-----------------------------------*/

#testimonials {
  background: var(--alice-blue);
}

@media (max-width:992px) {
  #testimonials {
    display: none;
  }
}

.testimon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) ;
    gap: 40px;
}

.testimon-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position:relative;
  background-color: #fff;
  padding: 30px;
  font-size: var(--fs-8);
  /*border: 5px solid var(--smuk-green);*/
  border-radius: 6px;
}

.testimon-card::after {
  content: url("/assets/images/google.svg");
  opacity: .6;
  position: absolute;
  bottom: 30px;
  right: 30px;
}

.testimon-card blockquote {
  margin-bottom: 1.3rem;
}

.testimon-card img {
  margin-bottom: .5rem;
}

.google-logo {
  margin-inline: auto ;
  margin-bottom: 4rem;
}

.client-name {
  font-weight: var(--fw-500);
  font-size: var(--fs-9);
}

/*-----------------------------------*\
  #CREDENTIALS
\*-----------------------------------*/

#credentials {
  background: var(--white);
  padding-block: 60px;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1000px) {
  .credentials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
    gap:16px;
  }
}

.credentials-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 24px 28px;
  background-color: #fff;
  border-radius: 0;
}

.credentials-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.credentials-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.credentials-title {
  font-family: var(--ff-oswald);
  font-size: var(--fs-7, 1.6rem);
  font-weight: 600;
  color: var(--smuk-blue);
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.credentials-subtitle {
  font-size: var(--fs-9, 1.3rem);
  color: var(--onyx);
  margin: 0;
  opacity: 0.8;
}

/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/


.about-card {
  padding: 100px 80px;
}

#about .container {
  background-image: url('/assets/images/about-us-bg.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

@media (min-width: 992px) {
  #about .container {
    max-width:1150px;
  }
}

@media (max-width: 992px) {
  #about .container {
    padding: 30px;
  }
}

.about-banner {
  position: relative;
  margin-block-end: 60px;
}

.about .abs-img-2 { display: none; }

.about .abs-img-1 {
  position: absolute;
  bottom: 40px;
  right: 0;
  animation: move 2s ease-in-out infinite alternate;
}

.about :is(.section-title, .section-text) { margin-block-end: 20px; }

@media (max-width:992px) {
.about-list { margin-block-end: 40px; }
.about-content :is(.section-title, .section-subtitle, .section-text) {text-align: center;}
.about-content .section-text {padding-bottom: 30px;}
.about-card { padding: 30px 16px; display: flex; flex-direction: column; }
.about-content { order: 2; }
.about-banner { order: 1; }
.about-banner img { width: 80%; margin-inline: auto; display: block; }
}

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.about-text { font-size: var(--fs-8); color: #c4c4e5; }

.about-icon {
  min-width: max-content;
  margin-block-start: 4px;
}

.about-icon ion-icon {
  color: #c4c4e5;
}

.about-item:not(:last-child) { margin-block-end: 10px; }





/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

@media (min-width:768px) {
.grid-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 992px) {
  section.service {
    scroll-margin-top:5rem;
  }
}

.service { background-color: var(--white); }

.service :is(.section-subtitle, .section-title, .section-text) { text-align: center; }

.service .section-title { margin-block-end: 20px; }

.service .section-subtitle { color: var(--smuk-green); }

.service .section-text { margin-block-end: 50px; }

.service-card {
  position: relative;
  display: flex;
  padding: 30px;
  border: 8px solid var(--smuk-green);
  flex-direction: column;
  justify-content: flex-end;
  transition: .5s all;
  aspect-ratio: 1/1;
}

.tap-screen {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: .5;
}

@media (min-width:1024px) {
  .tap-screen {
    display:none;
  }
}


/*.service-card:is(:hover, :focus-within) { border-color: var(--smuk-green); }*/

.service-card .card-icon { margin-block-end: 30px; }

.service-card .card-title .span {
  display: inline-block;
  color: var(--smuk-yellow);
  font-size: var(--fs-3);
  margin-inline-end: 15px;
}

.card-title {
  color: #fff;
}

.service-card h3 {
  font-size: 2.6rem;
  transition: .5s all;
}

.s-card-1 {
  background-image: url('/assets/images/porous-macadam.webp');
  background-repeat: no-repeat;
  background-size: cover;
}
.s-card-2 {
  background-image: url('/assets/images/artificial-grass.webp');
  background-repeat: no-repeat;
  background-size: cover;

}

.s-card-3 {
  background-image: url('/assets/images/padel.webp');
  background-repeat: no-repeat;
  background-size: cover;
}

.s-card-4 {
  background-image: url('/assets/images/fencing.webp');
  background-repeat: no-repeat;
  background-size: cover;
}

.s-card-5 {
  background-image: url('/assets/images/car-parks.webp');
  background-repeat: no-repeat;
  background-size: cover;
}

.s-card-6 {
  background-image: url('/assets/images/playgrounds.webp');
  background-repeat: no-repeat;
  background-size: cover;
}

/*.s-card-1::after {
  content: url('/assets/images/paving-driveways-grid.jpg');
  height: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
  z-index: -1;
}

.s-card-2::after {
  content: url('/assets/images/decking-grid.jpg');
  height: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
  z-index: -1;
}

.s-card-3::after {
  content: url('/assets/images/garden-paths-grid.jpg');
  height: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
  z-index: -1;
}

.s-card-4::after {
  content: url('/assets/images/garden-wall-grid.jpg');
  height: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
  z-index: -1;
}
*/

.service-card::after {
  height: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
  z-index: -1;
  transition: .5s all;
  content: 
  url('/assets/images/macadam-grid.webp')
  url('/assets/images/grass-grid.webp')
  url('/assets/images/padel-grid.webp')
  url('/assets/images/fencing-grid.webp')
  url('/assets/images/car-park-grid.webp')
  url('/assets/images/playgrounds-grid.webp');
}

.s-card-1:hover {
  background-image: url('/assets/images/macadam-grid.webp');
}

.s-card-2:hover {
  background-image: url('/assets/images/grass-grid.webp');
}

.s-card-3:hover {
  background-image: url('/assets/images/padel-grid.webp');
}

.s-card-4:hover {
  background-image: url('/assets/images/fencing-grid.webp');
}

.s-card-5:hover {
  background-image: url('/assets/images/car-park-grid.webp');
}

.s-card-6:hover {
  background-image: url('/assets/images/playgrounds-grid.webp');
}

.service-card:hover .card-title, .service-card:hover .tap-screen {
  opacity:0;
}


/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/


.contact-card {
  background-color: var(--smuk-blue);
  /*background-image: url('/assets/images/tennis-court.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;*/
  padding: 50px 25px;
}

.contact .section-title {
  text-align: left;
  margin-block-end: 30px;
  color:#fff;
}

.contact-form { margin-block-end: 50px; }

.contact-input {
  background-color: var(--white);
  color: var(--manatee);
  padding: 10px 20px;
  font-size: 1.8rem;
  margin-block-end: 15px;
  width: 100%;
  border: 2px solid transparent;
}

.contact-input::placeholder { color: inherit; }

.contact-input:focus {
  outline: none;
  border: 2px solid var(--smuk-yellow);
}

textarea.contact-input {
  resize: vertical;
  min-height: 100px;
  height: 180px;
  max-height: 300px;
  font-family: var(--ff-rubik);
  width:100%;
}

.btn-submit {
  background-color: var(--smuk-green);
  color: var(--white);
  font-family: var(--ff-rubik);
  font-size: 1.8rem;
  width: 100%;
  padding: 10px;
  transition: var(--transition-2);
}

.btn-submit:is(:hover, :focus) {
  opacity:0.95;
  color: #fff;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-item:not(:last-child) { margin-block-end: 20px; }

.contact-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  color: var(--smuk-green);
}

.contact-icon-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
}

.contact-icon ion-icon {
  position: relative;
  z-index: 1;
  color: var(--smuk-blue);
  font-size: 3rem;
}

.contact-item {
  font-size: 2rem;
}

.contact-item-title {
  color: var(--white);
  font-family: var(--ff-barlow);
  font-size: 2.2rem;
  font-weight: var(--fw-600);
}

.contact-item-link { 
  transition: var(--transition-1);
  color:var(--white);
}

.contact-item-link:not(address):is(:hover, :focus) { color: var(--white); }

  



/**
   * CONTACT
   */

   @media (max-width: 992px) {
    .contact .container {
      padding-inline: 0;
    }
  }

  .contact-card { padding: 100px; }

  .contact .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  @media (max-width: 992px) {
    .contact .wrapper {
      display: grid;
      grid-template-columns: 1fr;
      gap: 40px;
    }
    .contact-card {padding: 30px;}
  }

  @media (max-width:992px) {
    .contact-card :is(.section-title, .contact-message) { text-align: center; }
    }

  .contact-form { margin-block-end: 0;max-width: 100%;  }

  .contact-item { gap: 18px; }

  .contact-icon { padding: 0; }

  .contact-message {
    color: #fff;
    padding-bottom: 5rem;
    font-size: var(--fs-7);
  }



/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: var(--white);
  color: var(--prussian-blue);
}

.footer-logo { max-width: 150px; }

.footer-top {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr;
}

.footer-top { padding-block: 50px; }

.footer .logo {
  color: var(--prussian-blue);
  font-weight: var(--fw-800);
  font-size: 2.4rem;
}

.footer-text { margin-block: 10px 30px; }

.check-trade {
  display: flex;
}

.social-list {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}

@media (min-width:992px) {
  .social-list {
    justify-content: flex-end;
  }
}

/*@media (max-width:768px) {
  .social-list, .check-trade {
    justify-content: center;
  }
}*/

.social-link {
  background-color: var(--smuk-green);
  color: var(--white);
  font-size: 20px;
  padding: 8px;
  transition: var(--transition);
}

.social-link:is(:hover, :focus) { opacity: 0.95; }

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media (width < 992px) {
  .footer-brand {
    align-items: start;
  }
}

.bwc {
  padding-block: 2rem;;
}

.bwc-img {
  max-width: 180px;
}

.footer-company {
  max-width: max-content;
  padding-block-end: 15px;
  line-height: 1;
}

@media (min-width: 1024px) {
  .company-info {
    padding-left: 30px;
  }
}

.footer-list-title {
  font-weight: 500;
  max-width: max-content;
  padding-block-end: 5px;
}

.footer-link { padding-block: 6px; transition: 0.25s ease;}

.footer-link:hover {
  color: var(--smuk-green);
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 20px;
  border-block-start: 1px solid var(--alice-blue);
  font-size: var(--fs-9);
  color: var(--indigo-dye);
}

@media (max-width: 540px) {
  .mjm-link {
    display: none;
  }
}

.mjm-link:is(:hover, :focus) {
  color: var(--smuk-green);
}

.pp-link:is(:hover, :focus) {
  color: var(--smuk-green);
}


/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 540px screen
 */

@media (min-width: 540px) {

  /**
   * REUSED STYLE
   */

  .btn {
    font-size: var(--fs-7);
    padding-inline: 30px 60px;
  }



  /**
   * HEADER
   */

  .header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
    padding: 8px 16px;
    font-size: 1.6rem;
    font-weight: var(--fw-500);
    text-transform: uppercase;
    color: var(--smuk-green);
    background-color: transparent;
    border: 2px solid var(--smuk-green);
    transition: .25s ease;
  }

  .header .contact-label {
    text-transform: uppercase;
    font-size: var(--fs-9);
  }

  .header .contact-number {
    font-size: var(--fs-7);
    font-weight: var(--fw-500);
    letter-spacing: 1px;
  }

  .header .contact-icon {
    font-size: 35px;
    opacity: 0.6;
  }

}


/**
 * responsive for larger than 640px screen
 */

@media (min-width: 640px) {

  /**
   * REUSED STYLE
   */

  .h1 { --fs-3: 5rem; }

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }



  /**
   * HEADER
   */

  .header .container { max-width: 1180px; }

  .header .logo { font-size: 3rem; }



  /**
   * HERO
   */

  .hero { justify-content: flex-start; }

  .hero .shape-1 { left: 45px; }

  .hero-content {
    background-color: transparent;
    text-align: left;
  }

  .hero-title .span { --fs-2: 6rem; }

  .hero-text { max-width: 30ch; }

  .btn-outline { margin-inline: 0; }

}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }

  .h1 { --fs-3: 6rem; }

  



  /**
   * HERO
   */

  .hero-title .span { --fs-2: 7rem; }

  .hero-text {
    font-size: var(--fs-6);
    max-width: 36ch;
    margin-block-end: 40px;
  }

  .btn-outline {
    font-size: var(--fs-7);
    padding: 12px 30px;
  }


  /**
   * FOOTER
   */

  .footer-top { grid-template-columns:  1fr 1fr; }

}





/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-4: 4.5rem;

    /**
     * spacing
     */

    --section-padding: 80px;

  }



  /**
   * REUSED STYLE
   */
  
  .container { max-width: 960px; }

  .section-text {
    max-width: 70ch;
    margin-inline: auto;
  }

  .grid-list { grid-template-columns: repeat(3, 1fr); }



  /**
   * HEADER
   */
  
  .nav-open-btn,
  .navbar-top,
  .navbar-link > ion-icon { display: none; }

  .navbar,
  .navbar.active { all: unset; }

  .navbar-list {
    display: flex;
    gap: 5px;
  }

  .navbar-item:not(:last-child) { border-block-end: none; }

  .navbar-link { color: var(--black); }

  .navbar-link:is(:hover, :focus, .active) { background-color: transparent; }

  .header-contact { margin-inline-start: 0; }



  /**
   * HERO
   */
  
  .hero { grid-template-columns: 1fr; }

  .hero-content { padding: 0; }

  .hero-title .span { --fs-2: 12rem; }



  /**
   * ABOUT
   */

  .about-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px;
  }

  .about-banner { margin-block-end: 0; }

  .about .abs-img-1 { right: -100px; }

  .about :is(.section-title, .section-text) { margin-block-end: 35px; }


  /**
   * FOOTER
   */

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

  .copyright { text-align: center; }

}





/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 1180px; }

  .h1 { --fs-3: 6rem; }



  /**
   * HEADER
   */

  .header .contact-number { --fs-6: 3rem; }



  /**
   * HERO
   */

  .hero {
    padding-block-start: 200px;
    background-position: left;
    padding-bottom: 100px;
  }

  .hero-title .span { --fs-2: 14rem; }

  .hero-text { --fs-7: 2.4rem; }



  /**
   * ABOUT
   */

  .about-banner { max-width: 500px; }


}

@media (max-width:992px) {
  .header-contact {
    margin-inline-start: unset;
  }
  }

@media (min-width:992px) {
  .active-link {
    color: var(--smuk-green) ;
  }
}

.dd-wrapper {
  max-width: 900px;
  margin-inline: auto;
  padding: 60px 40px;
  background-color: var(--alice-blue);
  margin-block: 140px 60px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dd-wrapper h1 {
  font-size: 3rem;
}

.dd-wrapper p {
  text-align: center;
  max-width: 36ch;
}

.dd-wrapper .btn-outline {
  margin-top: 2rem;
  color: #fff;
}

.dd-wrapper .btn-outline:hover {
  background-color: var(--smuk-green);
}

.policy-wrapper {
  max-width: 900px;
  margin-inline: auto;
  padding: 60px 40px;
  background-color: var(--alice-blue);
  margin-block: 140px 60px;
}

@media (max-width: 640px) {
  #about,
  #contact {
    padding-block: 0;
  }
  .contact-card {padding: 40px 16px;}
}

@media (max-width:600px) {
  .policy-wrapper {
    padding: 40px 30px 50px;
  }
  .policy-text h2 {
    margin-block: 2.5rem 1.5rem;
  }
}

.effect-date {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  font-size: 1.25rem;
  border-bottom: 1px solid #fff;
}

.policy-text h1{
  margin-bottom: .5rem;
 }

.policy-text h1, h2 {
 line-height: 1.2;
}

.policy-text h2 {
  margin-block: 2.5rem .5rem;
}

.policy-text a {
  color: var(--smuk-green);
}

.policy-text a:hover {
  color: var(--onyx);
}

.policy-text ul {
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

.policy-text li {
    list-style: disc;
}
