:root {
  --main-bg-color: white;
  --border-color: #1A202C;
  --hover-color: #F0FFF4;
  --banner-color: white;
  --hero-color: #2F855A;
  --service-bg-color: white;
  --service-item-bg-color: #F0FFF4 ;
  --pricing-bg-color: #68D391;
  --pricing-item-bg-color: #F0FFF4 ;
  --about-bg-color: white;
  --about-item-bg-color: #F0FFF4 ;
  --contact-bg-color: white;
  --footer-bg-color: #68D391;
  --white-text: white;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

html, body {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin:0;
  display: block;
  background-color: var(--main-bg-color);
}

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

section {
  padding: 0 0 30px 0;
  margin: 0;
}

.section-heading {
  text-align: center;
  font-size: 36px;
  padding: 80px 0 20px 0;
  margin: 0;
}


/* --- Header --- */
header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 80px;
  max-height: 80px;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 20% 60% 20%;
  border-bottom: none;
  background-color: var(--banner-color);
}

/* Logo */
header .logo {
  padding: 0 25px;
  width: 100%;
  max-height: 80px;
  align-content: center;
}


/* Navbar */
nav {
  float: right;
  padding: 0;
  margin: 0;
  height: 100%;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

nav ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

nav a {
  display: block;
  padding: 22px 30px;
  margin: 0;
  height: 100%;
  text-decoration: none;
  font-size: 20px;
}

nav a:hover {
  color: black;
  background-color: var(--hover-color);
  border: 1px solid var(--border-color);
}

nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: black;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out 0s;
}

nav a:hover::before {
  visibility: visible;
  transform: scalesX(1);
  color: black;
}

#nav-toggle {
  position: absolute;
  top: -100px;
}

nav .icon-burger {
  display: none;
  position: absolute;
  right: 5%;
  top: 45px;
  transform: translateY(-50%);
}

nav .icon-burger .line {
  width: 30px;
  height: 5px;
  background-color: black;
  margin: 5px;
  border-radius: 3px;
  transition: all 0.5s ease-in-out;
}

/* Phone */
#phone-number {
  font-size: 18px;
  text-align: center;
  margin: 0;
  padding: 25px;
  font-weight: bold;
}

/* Header Media */
@media screen and (max-width: 1000px) {
  header .logo {
      float: none;
      width: 20%;
      justify-content: left;
  }
  
  #phone-number {
      display: none;
  }

  nav .links {
     float: none;
     position: fixed;
     z-index: 9;
     left: 0;
     right: 0;
     top: 75px;
     bottom: 100%;
     width: auto;
     height: auto;
     flex-direction: column;
     justify-content: space-evenly;
     background-color: var(--hero-color);
     overflow: hidden;
     transition: all 0.5s ease-in-out;
  }

  nav .links a {
      font-size: 18px;
  }

  nav :checked ~ .links {
      bottom: 0;
  }

  nav .icon-burger {
      display: block;
      position: center;
      padding: 0;
      margin: 0;
  }

  nav .icon-burger:hover {
    cursor:pointer;
  }

  nav :checked ~ .icon-burger .line:nth-child(1) {
      transform: translateY(10px) rotate(225deg);
  }

  nav :checked ~ .icon-burger .line:nth-child(3) {
      transform: translateY(-10px) rotate(-225deg);
  }

  nav :checked ~ .icon-burger .line:nth-child(2) {
      opacity: 0;
  }
  
}



/* --- Body --- */
main {
  padding: 60px 0;
  margin: 0;
}

/* Hero Section */
.hero-section {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--hero-color);
  border: 1px solid #2F855A;
}

.hero-section-inner {
  margin: 0 20px;
  padding: 10px;
  height: 100%;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
}

.hero-catch {
  font-size: 28px;
  color: var(--white-text);
}

.btn-alignment {
  margin: auto;
  padding: auto;
  text-align: center;
}

.btn {
  background-color: var(--main-bg-color);
  display: inline-block;
  border-radius: 10px;
  height: 50px;
  width: 150px;
  margin: 25px;
  cursor:pointer;
  border-color: var(--border-color);
  font-size: 18px;
}

#hero-section-right {
    margin: 0;
    padding: 0;
}

#hero-section-right img {
    border: 1pt solid black;
}

@media screen and (max-width: 1200px) {
  .hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
  }
  
  #hero-section-right {
    display: none;
  }
  
  #hero-section-right img {
    display: none;
  }
}





/* Service Section */
.service-section {
  display: grid;
  grid-template-columns: auto auto auto;
  height: 100%;
  width: 100%;
  padding: 0 10%;
  justify-content: center;
  background-color: var(--service-bg-color);
}

.service-item {
  margin: 35px;
  padding: 25px;
  border: 1pt solid var(--border-color);
  height: 525px;
  width: 425px;
  border-radius: 15px;
  background-color: var(--service-item-bg-color);
}

.service-title {
  font-size: 30px;
  padding: 5px;
  text-align: center;
}

.service-icon {
  margin: auto;
  padding: 0;
  justify-content: center;
  text-align: center;
  padding-top: 10px;
}

.service-icon img {
  height: 75px;
  width: 75px;
  justify-content: center;
  text-align: center;
  margin: auto;
  padding: 10px;
}

@media (min-width: 450px) and (max-width: 1200px) {
  .service-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
  
  
@media screen and (max-width: 424px) {
  .service-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .service-item {
    max-width: 325px;
    height: 575px;
  }
}



#pricing {
  background-color: var(--pricing-bg-color);
  border-top: 1px solid #2F855A;
  border-bottom: 1px solid #2F855A;
}

.pricing-section {
  display: grid;
  grid-template-columns: auto auto auto;
  height: 100%;
  width: 100%;
  padding: 0 10%;
  justify-content: center;
}

.pricing-section-2 {
  display: grid;
  grid-template-columns: auto auto;
  height: 100%;
  width: 100%;
  padding: 0 10%;
  justify-content: center;
}

.pricing-item {
  margin: 20px;
  padding: 10px;
  border: 1pt solid var(--border-color);
  height: 250px;
  width: 425px;
  border-radius: 15px;
  background-color: var(--pricing-item-bg-color);
}

.pricing-title {
  font-size: 24px;
  padding: 5px;
}

.pricing-desc {
  font-size: 14px;
  padding: 1px 20px;
  font-style: italic;
}

.pricing {
  font-size: 20px;
  text-align: center;
  padding: 10px;
}

.pricing-item ul {
  list-style-type: none;
}

.pricing-item ul li {
  padding: 0 0 0 20px;
  font-size: 14px;
}

#add-ons {
  width: 700px;
}

@media (min-width: 425px) and (max-width: 1200px) {
  .pricing-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .pricing-section-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  #add-ons {
  width: 425px;
  height: 375px;
  }
}

@media screen and (max-width: 424px) {
  .pricing-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .pricing-section-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .pricing-item {
    max-width: 325px;
    height: 315px;
  }
  
  #add-ons {
    height: 350px;
    max-width: 325px;
  }
}



/* --- About Section --- */
.about-section {
  display: grid;
  grid-template-columns: auto auto;
  height: 100%;
  width: 100%;
  padding: 0 10%;
  justify-content: center;
  background-color: var(--about-bg-color);
}

.about-item {
  margin: 35px;
  padding: 30px;
  border: 1pt solid var(--border-color);
  height: 650px;
  width: 525px;
  border-radius: 15px;
  background-color: var(--about-item-bg-color);
}

.about-item-heading {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}

#about-item-left {
   background-color: var(--hero-color);
   padding: 75px 12px;
}

#image-decoration {
   background-color: var(--about-item-bg-color);
   border: 1pt solid black;
   border-radius: 50%;
   height: 500px;
   width: 500px;
   margin: 0;
   padding: 0 35px;
   overflow: hidden;
}

#self-photo {
    margin: 50px 50px;
}

@media (min-width: 450px) and (max-width: 1200px) {
  .about-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .about-item {
    height: 750px;
    width: 425px;
  }
  
  #about-item-left {
    height: 525px;
  }
  
  #image-decoration {
   background-color: var(--about-item-bg-color);
   border: 1pt solid black;
   border-radius: 50%;
   height: 400px;
   width: 400px;
   margin: 0;
   padding: 0 35px;
   overflow: hidden;
  }

  #self-photo {
    margin: 25px 25px;
  }
}

@media screen and (max-width: 424px) {
  .about-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .about-item {
    height: 825px;
    max-width: 325px;
    margin: 15px;
    padding: 25px;
  }
  
  #about-item-left {
    height: 350px;
    padding: 0;
  }
  
  #image-decoration {
   background-color: var(--about-item-bg-color);
   border: 1pt solid black;
   border-radius: 50%;
   height: 320px;
   max-width: 320px;
   margin: 15px 0 0 0;
   padding: 0;
  
   overflow: hidden;
  }

  #self-photo {
    margin: 25px 0 0 0;
    padding: 0;
  }
}



/* --- Contact Section ---*/
#contact {
  background-color:   var(--contact-bg-color);
}

.contact-info {
  text-align: center;
  font-size: 24px;
  padding: 10px;
}


/* --- Footer --- */
footer {
  margin: 0;
  padding: 10px;
  border: 0;
  width: 100%;
  bottom: 0;
  position: bottom;
  height: 65px;
  top: calc( 100vh - 65px );
  display: fixed;
  text-align: center;
  border-top: 1px solid var(--border-color);
  background-color: var(--footer-bg-color);
}
