* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all 0.35s ease;
}
header.scrolled {
  background: linear-gradient(90deg, #ffffff, #1b5e20, #0c3d10);

  backdrop-filter: blur(10px);

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

header.scrolled .navbar {
  padding: 12px 0;
}

header.scrolled .logo img {
  height: 55px;
}

.navbar {
  width: 90%;
  margin: auto;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 8%;
  position: relative;

  transition: all 0.35s ease;
}

.logo img {
  height: 70px;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #f9a825;
}

.btn-contact {
  text-decoration: none;
  background: #f9a825;
  color: white;

  padding: 13px 28px;

  border-radius: 50px;

  transition: 0.3s;
}

.btn-contact:hover {
  background: #1b5e20;
}

.hero {
  position: relative;

  height: 100vh;

  background: url("../images/hero.png");
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
}

.overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(rgba(8, 33, 22, 0.7), rgba(8, 33, 22, 0.6));
}

.hero-content {
  position: relative;
  z-index: 2;

  width: 90%;
  margin-left: 150px;

  max-width: 900px;

  color: white;
}

.hero-content h3 {
  color: #ffd54f;

  font-size: 18px;

  letter-spacing: 2px;

  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 65px;

  line-height: 1.15;

  margin-bottom: 25px;

  font-weight: 700;
}

.hero-content p {
  font-size: 18px;

  line-height: 1.8;

  margin-bottom: 40px;

  color: #ececec;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-primary {
  background: #f9a825;

  color: white;

  padding: 16px 35px;

  border-radius: 50px;

  text-decoration: none;

  transition: 0.3s;
}

.btn-primary:hover {
  background: #1b5e20;
}

.btn-secondary {
  border: 2px solid white;

  color: white;

  padding: 16px 35px;

  border-radius: 50px;

  text-decoration: none;

  transition: 0.3s;
}

.btn-secondary:hover {
  background: white;
  color: #1b5e20;
}

/*=========================
    GENERAL
==========================*/

html {
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 42px;
  color: #1b5e20;
  margin-bottom: 15px;
}
.mega {
  color: #ce220b;
}
.enterprises {
  color: #1723cc;
}

.section-title p {
  color: #666;
  font-size: 18px;
  max-width: 700px;
  margin: auto;
  line-height: 1.8;
}

/*=========================
      COMPANY
==========================*/

.company {
  background: #fff;
}

.company-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.company-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.company-text h3 {
  font-size: 36px;
  color: #1b5e20;
  margin-bottom: 20px;
}

.company-text p {
  color: #666;
  line-height: 1.9;
  margin-bottom: 20px;
}

/*=========================
     WHY CHOOSE US
==========================*/

/* ==========================================
   Why Choose Us
========================================== */

.why-us {
  background: linear-gradient(135deg, #eef8f0 0%, #f8faf8 100%);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  position: relative;
  overflow: hidden;

  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  color: #fff;

  padding: 40px 25px;
  border-radius: 18px;
  text-align: center;

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

/* Glossy Light Effect */
.feature-card::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -120%;
  width: 250%;
  height: 250%;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 65%
  );
  transform: rotate(25deg);
  transition: 0.7s ease;
}

/* Gold Bottom Line */
.feature-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 4px;
  background: #f9a825;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(135deg, #388e3c 0%, #1b5e20 100%);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.22);
}

.feature-card:hover::before {
  top: -40%;
  left: -40%;
}

.feature-card:hover::after {
  width: 100%;
}

.feature-card i {
  font-size: 52px;
  color: #f9a825;
  margin-bottom: 20px;
  transition: 0.3s ease;
}

.feature-card:hover i {
  color: #ffd54f;
  transform: scale(1.12);
}

.feature-card h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

/*=========================
      PRODUCTS
==========================*/

.services {
  background: white;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  position: relative;
  overflow: hidden;

  /* Green Gradient */
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  color: #fff;

  text-align: center;
  padding: 50px 25px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

/* Gold line at the bottom */
.service-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 4px;
  background: #f9a825;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.service-card:hover::after {
  width: 100%;
}

.service-card:hover {
  background: linear-gradient(135deg, #388e3c 0%, #1b5e20 100%);
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.service-card i {
  font-size: 55px;
  color: #f9a825;
  margin-bottom: 20px;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.service-card:hover i {
  transform: scale(1.12);
  color: #ffd54f;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #fff;
}

.service-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}
.service-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 220%;
  height: 220%;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 65%
  );
  transform: rotate(25deg);
  transition: 0.6s;
}

.service-card:hover::before {
  top: -40%;
  left: -40%;
}

/*=========================
      MISSION
==========================*/

/* ==========================================
   Mission & Vision
========================================== */

.mission {
  position: relative;
  overflow: hidden;
  padding: 100px 0;

  background: linear-gradient(
    135deg,
    #0d4d1c 0%,
    #1b5e20 25%,
    #2e7d32 60%,
    #4caf50 100%
  );
}
.mission::after {
  content: "";
  position: absolute;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  top: -200px;
  right: -150px;

  background: rgba(255, 255, 255, 0.08);

  filter: blur(80px);
}

/* Decorative Pattern */
.mission::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.05) 2px,
    transparent 2px
  );
  background-size: 40px 40px;
  pointer-events: none;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.mission-box {
  position: relative;
  overflow: hidden;

  background: linear-gradient(180deg, #ffffff, #f7faf8);
  backdrop-filter: blur(10px);

  padding: 55px 45px;
  border-radius: 22px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);

  transition: 0.35s ease;
}

/* Gold Line */
.mission-box::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 5px;
  background: #f9a825;
  transform: translateX(-50%);
  transition: 0.35s ease;
}

/* Shine Effect */
.mission-box::before {
  content: "";
  position: absolute;
  top: -150%;
  left: -150%;
  width: 250%;
  height: 250%;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 65%
  );
  transform: rotate(25deg);
  transition: 0.7s ease;
}

.mission-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.22);
}

.mission-box:hover::before {
  top: -40%;
  left: -40%;
}

.mission-box:hover::after {
  width: 100%;
}
.mission-box i {
  width: 70px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: linear-gradient(135deg, #f9a825, #ffca28);

  color: #fff;

  font-size: 28px;

  margin-bottom: 25px;

  box-shadow: 0 10px 25px rgba(249, 168, 37, 0.35);

  transition: 0.35s;
}
.mission-box:hover i {
  transform: rotate(8deg) scale(1.08);

  box-shadow: 0 15px 35px rgba(249, 168, 37, 0.55);
}

.mission-box h2 {
  color: #1b5e20;
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 700;
}

.mission-box p {
  color: #555;
  line-height: 1.9;
  font-size: 17px;
}
.title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
}

.icon-box {
  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;

  background: linear-gradient(135deg, #f9a825, #ffd54f);

  box-shadow: 0 10px 25px rgba(249, 168, 37, 0.35);

  flex-shrink: 0;

  transition: 0.35s ease;
}

.icon-box i {
  color: #fff;
  font-size: 26px;
}

.mission-box:hover .icon-box {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 15px 35px rgba(249, 168, 37, 0.55);
}
/*=========================
         CTA
==========================*/

.cta {
  background:
    linear-gradient(rgba(16, 71, 48, 0.7), rgba(13, 65, 42, 0.6)),
    url("../images/hero.png");
  background-size: cover;
  background-position: center;
  text-align: center;
  color: white;
}

.cta h2 {
  font-size: 46px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/*=========================
        FOOTER
==========================*/

/* ==========================================
   Footer
========================================== */

footer {
  background: linear-gradient(180deg, #ffffff, #5a805c, #0c3d10);

  color: #fff;

  position: relative;

  overflow: hidden;

  padding: 70px 20px 25px;
}

/* Decorative Background */
footer::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image: radial-gradient(
    rgba(255, 255, 255, 0.06) 2px,
    transparent 2px
  );

  background-size: 35px 35px;

  opacity: 0.35;
}

.footer-container {
  position: relative;

  z-index: 2;

  max-width: 1200px;

  margin: auto;

  text-align: center;
}

.footer-logo {
  height: 75px;

  margin-bottom: 20px;
}

.footer-title {
  font-size: 30px;
  color: #ce220b;

  font-weight: 700;

  margin-bottom: 10px;
}
.footer-title span {
  color: #1723cc;
}

.footer-tagline {
  color: #d6e8d8;

  font-size: 17px;

  margin-bottom: 35px;
}

.footer-divider {
  width: 120px;

  height: 4px;

  background: #f9a825;

  margin: 25px auto;

  border-radius: 10px;
}

.footer-contact {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 40px;

  margin-bottom: 35px;
}

.footer-contact div {
  display: flex;

  align-items: center;

  gap: 10px;

  color: #fff;
}

.footer-contact i {
  color: #f9a825;

  font-size: 20px;
}

.footer-links {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 25px;

  margin-bottom: 35px;
}

.footer-links a {
  color: #f9a825;

  text-decoration: none;

  transition: 0.3s;
}

.footer-links a:hover {
  color: #f9a825;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);

  margin-top: 30px;

  padding-top: 20px;

  color: #d6e8d8;

  font-size: 15px;

  line-height: 1.8;
}

.footer-bottom span {
  color: #f9a825;

  font-weight: 600;
}
/*=========================
     RESPONSIVE
==========================*/

@media (max-width: 991px) {
  .navbar {
    flex-direction: column;
    gap: 20px;
  }
  .hero-content {
    margin: auto;
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .company-content {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    text-align: center;
  }
  .hero-content {
    margin: auto;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content h3 {
    font-size: 15px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .cta h2 {
    font-size: 34px;
  }
}

/* ==========================
      SCROLL ANIMATION
========================== */

.animate {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}
.menu-toggle {
  display: none;
  font-size: 30px;
  color: #fff; /* Change to #1b5e20 if your header is white */
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 768px) {
  .navbar {
    width: 100%;
    padding: 15px 20px;
    height: 100px;
    background: linear-gradient(180deg, #ffffff, #0c3d10);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    display: flex;
    align-items: center;
  }

  .logo img {
    height: 55px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-60px);
    font-size: 30px;
    color: #1b5e20;
    cursor: pointer;
    margin-left: auto;
    margin-right: 20px;
    z-index: 1001;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;

    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    background: #1b5e20;

    max-height: 0;
    overflow: hidden;

    transition: max-height 0.35s ease;

    padding: 0;
  }

  .nav-links.active {
    max-height: 500px;
    padding: 25px 0;
  }
}

.nav-links a {
  position: relative;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;

  width: 0;
  height: 3px;

  background: #f9a825;
  border-radius: 10px;

  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #f9a825;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.quote-btn,
.btn {
  position: relative;
  overflow: hidden;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.quote-btn:hover,
.btn:hover {
  transform: translateY(-3px);

  box-shadow: 0 10px 30px rgba(249, 168, 37, 0.45);
}
.quote-btn::before,
.btn::before {
  content: "";

  position: absolute;

  top: 0;
  left: -20%;

  width: 80%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );

  transform: skewX(-25deg);
}
.quote-btn:hover::before,
.btn:hover::before {
  animation: buttonShine 0.8s ease;
}

@keyframes buttonShine {
  from {
    left: -20%;
  }

  to {
    left: 60%;
  }
}
.product-card {
  overflow: hidden;

  border-radius: 20px;
}

.product-card img {
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}
.service-card,
.feature-card,
.mission-box {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.service-card:hover,
.feature-card:hover,
.mission-box:hover {
  transform: translateY(-6px);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.service-card i,
.feature-card i,
.icon-box {
  transition:
    transform 0.35s ease,
    color 0.35s ease;
}
.service-card:hover i,
.feature-card:hover i,
.mission-box:hover .icon-box {
  transform: rotate(-8deg) scale(1.12);
}
.animate {
  opacity: 0;

  transform: translateY(35px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.animate.show {
  opacity: 1;

  transform: translateY(0);
}
.logo img {
  transition: transform 0.35s ease;
}

.logo img:hover {
  transform: rotate(-4deg) scale(1.05);
}
.back-to-top {
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-5px);
}
.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: "";

  position: absolute;

  bottom: -5px;
  left: 50%;

  width: 0;
  height: 2px;

  background: #f9a825;

  transform: translateX(-50%);

  transition: 0.3s;
}

.footer-links a:hover::after {
  width: 100%;
}
.hero::before {
  animation: floatBackground 12s ease-in-out infinite;
}

@keyframes floatBackground {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* ==========================================
   Company Section Animation
========================================== */

/* Initial State */

.company-image,
.company-text {
  opacity: 0;

  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

/* Image comes from left */

.company-image {
  transform: translateX(-80px);
}

/* Text comes from right */

.company-text {
  transform: translateX(80px);
}

/* When visible */

.company-image.show,
.company-text.show {
  opacity: 1;
  transform: translateX(0);
}

/* Small Delay */

.company-text {
  transition-delay: 0.25s;
}
.company-image.show img {
  animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

/* ==========================================
   Mission & Vision Animation
========================================== */

.mission-box {
  opacity: 0;

  transition:
    transform 0.8s ease,
    opacity 0.8s ease,
    box-shadow 0.35s ease;
}

/* Mission Card */

.mission-box:first-child {
  transform: translateX(-80px);
}

/* Vision Card */

.mission-box:last-child {
  transform: translateX(80px);
}

/* Show Animation */

.mission-box.show {
  opacity: 1;
  transform: translateX(0);
}

/* Small Delay */

.mission-box:last-child {
  transition-delay: 0.25s;
}
.icon-box {
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* Icon pops after card appears */

.mission-box.show .icon-box {
  animation: iconPop 0.6s ease;
}

@keyframes iconPop {
  0% {
    transform: scale(0.5) rotate(-20deg);
    opacity: 0;
  }

  70% {
    transform: scale(1.1) rotate(8deg);
  }

  100% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}
/* ==========================================
   Why Choose Us Animation
========================================== */

.feature-card {
  opacity: 0;
  transform: translateY(50px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    box-shadow 0.35s ease;
}

.feature-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   Back To Top Button
========================================== */

.back-to-top {
  position: fixed;

  right: 30px;
  bottom: 30px;

  width: 55px;
  height: 55px;

  border-radius: 50%;

  background: linear-gradient(135deg, #1b5e20, #2e7d32);

  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;

  text-decoration: none;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);

  opacity: 0;
  visibility: hidden;

  transform: translateY(20px);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background 0.35s ease;

  z-index: 999;

  animation: floatArrow 3s ease-in-out infinite;
}



/* Show */

.back-to-top.show {
  opacity: 1;
  visibility: visible;

  transform: translateY(0);
}

/* Hover */

.back-to-top:hover {
  background: linear-gradient(135deg, #f9a825, #ffca28);

  transform: translateY(-6px);
}

/* Floating Effect */

@keyframes floatArrow {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Mobile */

@media (max-width: 768px) {
  .back-to-top {
    width: 48px;
    height: 48px;

    right: 20px;
    bottom: 20px;

    font-size: 18px;
  }
}
