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

:root {
    --baseShade1: #227f6c;
    --darkShade1: #1f6658;
    --lightShade1: #d3f4e9;
    --lightShade2: #f2fbf8;
    --blackShade1: #252d2b;
    --blackShade2: #4b5856;
    --whiteShade1: #ffffff;
    --whiteShade2: #f6efef;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--whiteShade1);
    font-size: 16px;
    line-height: 1.6;
}


/*Navigation bar*/
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.50em 3.12em;
}

.navbar {
   background-color: var(--whiteShade1);
   padding: 1em 0;
   box-shadow: 0 0.12em 0.25em rgba(0, 0, 0, 0.1);
   position: fixed;
   width: 100%;
   top: 0;
   z-index: 1000;
}

.logo {
    height: 2.5em;
    width: 2.5em;
    display: flex;
    text-decoration: none;
    color: var(--baseShade1);
    font-weight: 600;
}

.logo p {
font-size: 1.56em;
}

.nav-links {
    display: flex;
    gap: 0.5em;
    flex-direction: row;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    justify-content: center;
}

    .nav-links.active {
      display: flex;
    }

.nav-links a {
    text-decoration: none;
    color: var(--baseShade1);
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;;
    padding: 0.2em;
    text-align: center;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    background-color: var(--baseShade1);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: rgb(91, 95, 91);
}

.nav-links a:hover::after {
    width: 100%;
}


.hamburger {
      display: none; 
      flex-direction: column;
      cursor: pointer;
      gap: 0.31em;

    }

.hamburger span {
      display: block;
      width: 25px;
      height: 3px;
      background-color: var(--baseShade1);
      border-radius: 3px;
    }



/*Search*/
.search {
    position: relative;
    height: 50px;
}

.search .input {
    background-color: #fff;
    border: 0;
    font-size: 18px;
    padding: 15px;
    height: 50px;
    width: 50px;
    transition: width 0.3s ease;
}

.btn {
    background-color: #fff;
    border: 0;
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    width: 50px;
    transition: transform 0.3s ease;
}

.btn:focus,
.input:focus {
    outline: none;
}

.search.active .input {
    width: 200px;
}

.search.active .btn {
    transform: translateX(198px);
}

section {
    padding: 4em 6em;
}

.hero-section {
    padding-top: 150px;
    background-color: var(--lightShade2);
}

.hero-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.hero-text {
    max-width: 30em;
    font-size: 1.2em;
}

.label {
    display: inline-block;
    font-size: 1em;
    background-color: var(--lightShade1);
    color: var(--darkShade1);
    padding: 0.31em;
    border-radius: 0.31em;
    margin-bottom:1.25em;
}

.hero-text .label {
    font-size: 1em;
}

h1 {
    color: var(--blackShade1);
    font-size: 3em;
    margin-bottom: 1.25em;
    line-height: 1.4;
}

.hero-text p {
   font-size: 1.2em; 
   color: var(--blackShade2);
   margin-bottom: 2.5em;
}

.hero-text a {
    background-color: var(--darkShade1);
    color: var(--whiteShade1);
    text-decoration: none;
    display: inline-block;
    padding: 1em 2em;
    border: 0.93em;
    border-radius: 0.31em; 
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 30em;
}

/* Slideshow*/
.slideshow-container {
  max-width: 600px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: var(--whiteShade2);
  font-size: 35px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Numbers 1/3*/
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots*/
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.why-us {
    background-color: var(--whiteShade1);
    text-align: center; 
}

h3 { 
    font-size: 2.5em;
    margin-bottom: 2em;
    line-height: 1.2em;
}

.why-us-content {
    display: flex;
    gap: 2.5em;
}

.why-us-content .card {
    padding: 1.56em;
    background-color: var(--lightShade2);
    text-align: start;
    border-radius: 0.62em;
    border: 1px solid var(--whiteShade2);
}

.why-us-content .card i {
    height: 3.5em;
    width: 3.5em;
    background-color: var(--darkShade1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--whiteShade1);
    border-radius: 0.31em;
    margin-bottom: 0.62em;
}

.why-us-content .card span {
    font-size: 1.3em;
    color: var(--darkShade1);
    font-weight: 600;
}

.why-us-content .card p {
    color: var(--blackShade2);
}

.customer-favourites {
    background-color: var(--baseShade1);       
}

.customer-favourites .label-container {
    text-align: center;
}

.customer-favourites h3 {
    text-align: center;
    color: var(--whiteShade1);
}

.customer-favourites-content {
    justify-content: center;
    gap: 3.75em;
    color: var(--whiteShade1);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.customer-favourites-content img {
    width: 15em;
}

 h2 {
    margin-bottom: 0;
    text-align: center;
    }

small {
    display: block;
    margin-bottom: 20px;
    text-align: center;
    }

.customer-favourites-content .product {
    position: relative ;
}

.customer-favourites-content .rating {
    display: inline;
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--blackShade1);
    padding: 0.62em;
    border-radius: 0.31em;
    position: absolute;
    left: 0.62em;
    top: 0.62em;
}

.customer-favourites-content .fa-star {
    color: rgb(255, 183, 14);
}

 .customer-favourites-content span {
    display: block;
    }

.customer-favourites-content button {
    background-color: #353432;
    color: #eee;
    padding: 5px 10px;
    border-radius: 20px;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    }

.how-it-works {
    text-align: center;
}

.how-it-works-content {
    display: flex;
    gap: 3.75em;
    text-align: center;
}

.how-it-works-content span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.12em;
    width: 3.12em;
    background-color:var(--baseShade1);
    color: var(--whiteShade1);
    font-size: 1.87em;
    margin: auto;
    border-radius: 0.31em;
}

.how-it-works-content h4 {
    color: var(--blackShade1);
    margin: 0.62em 0 1.25em 0;
}

.how-it-works-content p {
    color: var(--blackShade2);
}

.testimonials {
    background-color: var(--lightShade1);
    text-align: center;
}

.testimonials .label {
    background-color: var(--whiteShade1);
}

.testimonials-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.75em;
}

.testimonial {
    background-color: var(--whiteShade1);
    padding: 2.5em;
    text-align: left;
    border-radius: 10px;
}

.testimonial i {
    font-size: 50px;
    color: var(--baseShade1);
    margin-bottom: 20px;
}

.testimonial p {
    color: var(--blackShade1);
}

.testimonial span {
    color: var(--blackShade2);
}

/*Form*/
.form{
    width:500px;
    margin:60px auto 0 auto;
    background-color: var(--lightShade1);
    border-radius: 0.93em;
    padding:40px;
}

.form span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3em;
    width: 3em;
    background-color:var(--baseShade1);
    color: var(--whiteShade1);
    margin: auto;
}

.form h3 {
    text-align: center;
    margin-top: 0.5em;
    margin-bottom: 1em;  
}

.form p {
   color: var(--blackShade1);
   text-align: center; 
   font-size:20px;
}

.form button{
    background-color: var(--darkShade1);
    color:white;
    border: 1px solid #792099;
    border-radius: 5px;
    padding:10px;
    margin:20px 0px;
    cursor:pointer;
    font-size:20px;
    width:100%;
}

.input-group{
    display:flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.input-group input{
    border-radius: 5px;
    font-size:20px;
    margin-top:5px;
    padding:10px;
    border:1px solid rgb(34,193,195) ;
}

.input-group input:focus{
    outline:0;
}

.input-group .error{
    color:rgb(242, 18, 18);
    font-size:16px;
    margin-top: 5px;
}

.input-group.success input{
    border-color: #0cc477;
}

.input-group.error input{
    border-color:rgb(206, 67, 67);
}

/*Download section*/
.download-app {
    margin-bottom: 60px;
}

.download-app-content {
    display: flex;
    padding: 3.12em 3.12em 0 3.12em;
    background-color: var(--darkShade1);
    border-radius: 0.93em;
}

.download-app-content h3 {
    color: var(--whiteShade1);
    margin: 20px;
}

.download-app-content .btns {
    display: flex;
    padding-left: 80px;  
}

.download-app-content a img {
    width: 150px;
    height: 50px;
}

.download-app-img,
.download-app-text {
    width: 50%;
}

.download-app-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.download-app-img {
    display: flex;
    justify-content: end;
    padding-bottom: 2.5em;
}

.download-app-img img {
    width: 500px;
}

/*Footer*/
footer {
    background-color: var(--darkShade1);
    text-align: center;
    padding: 4em 6em;
    color: var(--whiteShade1);
}

.footer-content {
    display: flex;
    justify-content: space-between;   
}

.footer-content h3 { 
     margin-bottom: 10px; 
}

.footer-links a {
    text-decoration: none;
    color: var(--whiteShade1);
    text-align: center;    
}

.footer-links {
    list-style-type: none;
    display: flex;
    gap: 10px;
    text-decoration: none; 
}

.myCanvas {
   padding: 4em 6em;  
}

.fa-instagram,
.fa-youtube,
.fa-facebook {
    color: #fff;
    text-decoration: none;
}

a {
    color: #fff;
}

.social-icons a {
    margin-right: 20px;
}

/*Reveal on Scroll*/
.reveal {
    opacity: 0;
    transform: translateY(80px) scale(0.95);
    filter: blur(4px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/*Cookie*/
#content {
    max-width: 400px;
    margin: auto;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 3px 3px 3px #227f6c;
    position: relative;
    display: none;
}

#content .top {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}

#content p{
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 30px;
}

#content a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    background:  #227f6c;;
    color: #fff;
    margin: 15px;
    padding: 15px 30px;
    cursor: pointer;
}

#content .reject {
    background: red;
}

#content .close {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

/* Styles for navigation */
.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.nav-links a,
.nav-links .dropbtn {
    display: inline-block;
    padding: 10px 16px;
    text-decoration: none;
     color: #227f6c;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Show dropdown on hover (desktop) */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Dropdown item styles */
.dropdown-content a {
    display: block;
    padding: 10px 16px;
    color: #227f6c;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Show when toggled */
.dropdown-content.show {
  display: block;
}