/* Reset some default styles of the browser */
body, h1, h2, p, a, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: Arial, sans-serif;
}

/* Adding some space around the container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em 0;
}

/* Styling the hero section */
.hero-section {
    background: #2F4F4F;
    color: #FFFFFF;
    text-align: center;
    padding: 3em 0;
}

.hero-section .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.centered {
    font-size: 36px; /* Adjust the font size as per your preference */
    background-color: #FFA500; /* Adjust the background color as per your preference */
    padding: 0.5em 1em; /* Adjust the padding as per your preference */
    display: inline-block;
    margin: 0 auto;
    border-radius: 15px;
    margin-bottom: 30px;
}


/* Styling the section titles */
h2 {
    font-size: 2em;
    margin-bottom: 1em;
    text-align: center;
}

/* Styling the product grid */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Styling the product cards */
.product-card {
    width: calc(33.33% - 20px);
    margin-top: 35px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
    box-sizing: border-box; /* Add this property to fix the width calculation */
}

.product-card .product-images {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.product-card .product-images img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}



.product-card h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.product-card p {
    margin-bottom: 10px;
}

.product-card .cta-button {
    background: #2F4F4F;
    color: #FFFFFF;
    padding: 0.5em 1em;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.product-card .cta-button:hover {
    background: #7FFFD4;
    color: #FFFFFF;
}


.about-section {
    background-color: #f8f8f8;
    padding: 50px 0;
    text-align: center;
}

.about-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.about-section p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #555;
}

.about-section .highlight {
    color: #ff5a5f;
    font-weight: bold;
}


.team-photo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.team-photo img {
    max-width: 60%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


.how-it-works-section {
    background-color: #ffffff;
    padding: 50px 0;
    text-align: center;
}

.how-it-works-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.step {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.step-number {
    font-size: 32px;
    width: 50px;
    height: 50px;
    background-color: #ff5a5f;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-description {
    margin-left: 30px;
    text-align: left;
}

.step-description h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.step-description p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.step-description:first-child {
    margin-left: 0; /* Remove the left margin for the first step */
}


/* Styling the newsletter section */
.newsletter-section {
    background: #2F4F4F;
    color: #FFFFFF;
    padding: 2em 0;
}

.newsletter-section form {
    display: flex;
    justify-content: center;
    gap: 1em;
}

.newsletter-section input[type="email"] {
    padding: 1em;
    border-radius: 30px;
    border: none;
    width: 50%; /* add this to control the width of the input box */
}

.newsletter-section button[type="submit"] {
    background: #FFFFFF;
    color: #2F4F4F;
    padding: 1em 2em;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-section button[type="submit"]:hover {
    background: #7FFFD4;
    color: #FFFFFF;
}

/* Styling the footer */
.footer-section {
    background: #2F4F4F;
    color: #FFFFFF;
    padding: 2em 0;
    text-align: center;
    width: 100%;
    font-size: 14px;
}

.footer-contact {
    margin-top: 1em;
}

.footer-contact h4 {
    font-size: 1.2em;
    margin-bottom: 0.5em;
}

.footer-contact p {
    margin-bottom: 0.5em;
}

.footer-contact a {
    color: #FFFFFF;
    text-decoration: underline;
}


/* width */
::-webkit-scrollbar {
    width: 8px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #f1f1f1; 
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #2F4F4F;
    border-radius: 4px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555; 
  }
  



@media (max-width: 567px) {
    .product-card {
      width: 100%; /* Adjust the width as needed */
      margin-left: auto;
      margin-right: auto;
    }
  }

  @media screen and (max-width: 768px) {
    .newsletter-section {
        padding: 1em 0;
    }

    .newsletter-section h2 {
        font-size: 1.5em;
    }

    .newsletter-section input[type="email"] {
        width: 70%; /* increase the width of the input box for smaller screens */
    }

    .newsletter-section button[type="submit"] {
        padding: 0.5em 1em;
    }
}
  