@import url("https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Spartan", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f4f4f4;
}

h1 {
  font-size: 50px;
  line-height: 64px;
  color: #222;
}

h2 {
  font-size: 46px;
  line-height: 54px;
  color: #222;
}

h4 {
  font-size: 20px;
  color: #222;
}

h6 {
  font-weight: 700;
  font-size: 12px;
}

p {
  font-size: 16px;
  color: #465b52;
  margin: 15px 0 20px 0;
}

button.normal {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: #000;
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: 0.2s;
}

button.white {
  background: transparent;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  outline: none;
  border: 1px solid #fff;
  cursor: pointer;
  transition: 0.2 ease;
}

.section-p1 {
  padding: 40px 80px;
}

.section-m1 {
  margin: 40px 0;
}

body {
  width: 100%;
}

/* Navigation Bar */

#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 80px;
  background: #0f5a3e;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

#navbar {
  display: flex;
  align-items: center;
  justify-content: center;
}

#navbar li {
  list-style: none;
  padding: 0 20px;
  position: relative;
}

#navbar li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  transition: 0.3s ease;
}

#navbar li a:hover,
#navbar li a.active {
  color: #f3d7bd;
}

#navbar li a.active::after,
#navbar li a:hover::after {
  content: "";
  width: 30%;
  height: 2px;
  background: #f3d7bd;
  position: absolute;
  bottom: -4px;
  left: 20px;
}

#navbar li a i {
  font-weight: 500;
  font-size: 20px;
}

#mobile {
  display: none;
  align-items: center;
}

#close {
  display: none;
}

#header .logo {
  height: 100px;
}

/* Hero Section */

#hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 80px;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("images/hero.png");
  width: 100%;
  height: 92vh;
  background-size: cover;
  background-position: top 25% right 0;
}

#hero h4 {
  padding-bottom: 15px;
}

#hero h4,
#hero h2,
#hero p {
  color: #fff;
}

#hero h1 {
  color: #f3d7bd;
}

#hero button {
  background-image: url("images/button.png");
  background-color: transparent;
  color: #f3d7bd;
  border: 0;
  padding: 14px 80px 14px 65px;
  background-repeat: no-repeat;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
}

/* Products */

/* General Section Styling */
.products-section {
  padding: 80px 20px;
  background-color: #f4f4f4;
  text-align: center;
  font-family: Arial, sans-serif;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Heading */
.products-section h2 {
  font-size: 2.8rem;
  color: #0f5a3e;
  font-weight: bold;
  margin-bottom: 15px;
}

.products-section p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Product Card */
.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Product Image */
.product-card img {
  width: 100%;
  height: 190px;
  border-bottom: 2px solid #f4f4f4;
}

/* Product Info */
.product-info {
  padding: 20px;
  text-align: center;
}

.product-info h5 {
  font-size: 1.2rem;
  color: #013220;
  font-weight: bold;
  margin: 0;
}

/* Banner */

#banner {
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.3)
    ),
    url("images/banner.jpg");
  width: 100%;
  height: 40vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#banner h4 {
  color: #fff;
  font-size: 16px;
}

#banner h2 {
  color: #fff;
  font-size: 30px;
  padding: 10px 0;
}

#banner h2 span {
  color: #f3d7bd;
}

#banner button:hover {
  background: #f3d7bd;
  color: #fff;
}

/* Partners */

.partners .owl-stage,
.partners .owl-item,
.partners .item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.partners .item img {
  width: 370px !important;
}

/* About Us */

/* General Layout */
.about-us {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 80px 20px;
  background-color: #f4f4f4;
  font-family: Arial, sans-serif;
  gap: 40px;
  text-align: left;
}

/* Image Section */
.about-img img {
  width: 100%;
  max-width: 500px;
  height: 700px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Text Section */
.about-text {
  flex: 1;
  max-width: 600px;
}

.about-text h1 {
  font-size: 2.8rem;
  color: #0f5a3e; /* Matches the theme */
  font-weight: bold;
  margin-bottom: 15px;
}

.about-text .line {
  width: 80px;
  height: 4px;
  background: #0f5a3e;
  margin: 10px 0 20px;
}

.about-text p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .about-us {
    flex-direction: column; /* Stack the text and image vertically */
    text-align: center;
  }

  .about-img img {
    max-width: 90%;
    margin-top: 30px;
  }

  .about-text {
    max-width: 100%;
  }

  .line {
    display: none;
  }
}

/* Contact Us */

.contact-us {
  margin-top: 100px;
}

#contact-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#contact-details .details {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#contact-details .details span {
  font-size: 12px;
}

#contact-details .details h2 {
  font-size: 26px;
  line-height: 35px;
  padding: 0;
  color: #0f5a3e;
}

#contact-details .details h3 {
  font-size: 16px;
  padding-bottom: 15px;
  margin-top: 20px;
}

#contact-details .details li {
  list-style: none;
  display: flex;
  padding: 10px 0;
}

#contact-details .details li i {
  font-size: 14px;
  padding-right: 22px;
}

#contact-details .details li p {
  margin: 0;
  font-size: 14px;
}

#contact-details .map {
  width: 55%;
  height: 400px;
}

#contact-details .map iframe {
  width: 100%;
  height: 100%;
}

/* Footer */

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #0f5a3e;
}

footer .logo {
  margin-bottom: 30px;
  width: 250px;
}

footer .follow {
  margin-top: 20px;
}

footer .follow i {
  color: #fff;
  padding-right: 4px;
  cursor: pointer;
}

footer h4 {
  font-size: 14px;
  padding-bottom: 20px;
  color: #fff;
}

footer p {
  font-size: 13px;
  margin: 0 0 8px 0;
  color: #fff;
}

footer .col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

footer a {
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 10px;
  color: #fff;
}

footer .install .row img {
  border: 1px solid #344a67;
  border-radius: 6px;
}

footer .install img {
  margin: 10px 0 15px 0;
}

footer .copyright {
  width: 100%;
  text-align: center;
}

footer .copyright p {
  color: #fff;
}

footer .follow i:hover,
footer a:hover {
  color: #f3d7bd;
}

/* Mobile Version */

@media (max-width: 1600px) {
  .about-us .about-img img {
    margin-top: 100px;
    width: 500px;
    height: 600px;
  }
}

@media (max-width: 1500px) {
  .about-us .about-img img {
    width: 500px;
  }

  .about-us {
    padding: 0 150px;
  }
}

@media (max-width: 1440px) {
  .partners .item img {
    width: 300px !important;
  }
}

@media (max-width: 1340px) {
  .about-us {
    padding: 0 100px;
  }

  .about-us .about-img img {
    height: 700px;
  }
}

@media (max-width: 1136px) {
  .about-us {
    padding: 0 30px;
  }

  .about-us .about-img img {
    margin-top: 100px;
    width: 100%;
  }
}

@media (max-width: 936px) {
  .about-us {
    display: block;
  }

  .about-us .about-text {
    max-width: 100%;
  }

  .about-img img {
    height: 500px !important;
  }

  #contact-details {
    display: block;
  }

  #contact-details .map {
    margin-top: 100px;
  }

  .partners .item img {
    width: 250px !important;
  }
}

@media (max-width: 799px) {
  .section-p1 {
    padding: 40px;
  }
  #navbar {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 0px;
    right: -100vw;
    width: 100vw;
    height: 100vh;
    background: #0f5a3e;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    padding: 80px 0 0 10px;
  }
  #navbar li {
    margin-bottom: 25px;
  }
  #navbar.active {
    right: 0;
  }
  #mobile {
    display: flex;
  }
  #mobile i {
    color: #1a1a1a;
    font-size: 24px;
    padding-left: 20px;
  }
  #bar {
    display: initial;
  }
  #close {
    display: initial;
    font-size: 24px;
    position: absolute;
    top: 30px;
    left: 30px;
    color: #222;
  }
  #product1 .pro-container {
    justify-content: center;
  }
  #product1 .pro {
    margin: 15px;
  }
  #banner {
    height: 20vh;
  }

  #contact-details .map,
  #contact-details .details {
    width: 80%;
  }

  #product1 .pro-container {
    justify-content: center;
  }
  #product1 .pro {
    margin: 15px;
  }
}

@media (max-width: 610px) {
  .contact-info {
    margin-left: 20px;
  }

  #contact-details .map,
  #contact-details .details {
    width: 100%;
  }

  h1 {
    font-size: 38px;
  }
  h2 {
    font-size: 32px;
  }
}

@media (max-width: 477px) {
  .section-p1 {
    padding: 20px;
  }
  h1 {
    font-size: 38px;
  }
  h2 {
    font-size: 32px;
  }
  #header {
    padding: 10px 30px;
  }
  #hero {
    padding: 0 20px;
    height: 70vh;
    background-position: 55%;
  }
  #product1 .pro {
    width: 100%;
  }
  #banner {
    height: 40vh;
  }
  footer .copyright {
    text-align: start;
  }

  .contact-info {
    margin-left: 0;
  }

  #product1 .pro {
    width: 100%;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }
}

@media (max-width: 375px) {
  .about-us .about-img img {
    width: 300px;
  }
}

@media (max-width: 350px) {
  .about-us .about-img img {
    width: 250px;
  }
}
