@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://unpkg.com/aos@2.3.1/dist/aos.css");
:root {
  --primary: #1d7f27;
  --secondary: #558b2f;
  --color-accent: #81c784;
  --color-bg: #f9fbe7;
  --color-text-dark: #37474f;
  --ease-organic: cubic-bezier(0.4, 0, 0.2, 1);
  --dark-green: #004700;
  --color-text-dark: #585757;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

.primary-text {
  color: var(--secondary) !important;
}

.secondary-text {
  color: var(--color-text-dark) !important;
}

.subtle-transparent-green {
  background-color: rgba(29, 135, 112, 0.05); /* subtle transparent green */
}

.green-background {
  background: linear-gradient(
    to bottom right,
    #023e1e,
    #067a45
  ) !important; /* light green background */
}

/* Navbar Transparent */
.navbar-transparent {
  background-color: #fff;
  /*background-color: rgba(
    188,
    236,
    243,
    0.4
  ); /* slightly transparent dark green */
  transition:
    background-color 0.4s ease,
    padding 0.4s ease;
  padding: 6px 0;
  /*backdrop-filter: blur(6px); /* subtle blur for premium effect */
}

/* Navbar on Scroll */
.navbar-scrolled {
  background-color: #fff;
  padding: 8px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Navbar Links */
.navbar-nav .nav-link {
  color: #000;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary); /* light green hover */
}

/* Active Link */
.navbar-nav .nav-link.active {
  color: var(--primary);
}

/* Navbar Button */
.nav-btn {
  color: #16a085;
  border-radius: 50px;
  padding: 8px 25px;
  transition: all 0.3s ease;
  font-weight: bold;
}

/* .nav-btn:hover {
  background-color: #1d8770;
  color: #ffffff;
  transform: scale(1.05);
} */

/* Logo */
.img-logo {
  max-height: 60px;
  transition: transform 0.3s ease;
  border-radius: 50%;
}

@media (min-width: 992px) {
  .img-logo {
    max-height: 60px; /* larger on desktop */
  }
}

/* Navbar Toggler Icon */
.navbar-toggler .fa-leaf {
  color: #16a085;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.navbar-toggler .fa-leaf:hover {
  color: #1d8770;
  transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .navbar-nav {
    text-align: center;
    gap: 15px;
  }
  .nav-btn {
    margin-top: 15px;
    display: flex;
    justify-content: center;
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .navbar-nav {
    text-align: center;
    gap: 15px;
  }
  .nav-btn {
    margin-top: 15px;
  }
}

.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  position: relative;
  text-transform: uppercase;
  animation: heroZoom 10s ease-in-out infinite alternate;
}

.hero-main {
  background: url("../images/a1plantation-agri.webp");
}

.hero-services {
  background: url("../images/hero-img4.webp");
}
.hero-contact {
  background: url("../images/hero-img2.webp");
}
.hero-about {
  background: url("../images/hero-img5.webp");
}
/*Smooth zoom-in effect */
/* @keyframes heroZoom {
  from {
    background-size: 100%;
  }
  to {
    background-size: 110%;
  }
} */

/* 📱 Responsive adjustments for small screens */
@media (max-width: 768px) {
  .hero {
    background-position: top center; /* show more top content */
    background-attachment: scroll; /* disable fixed backgrounds on mobile */
    height: auto; /* let it resize naturally */
    padding: 80px 20px; /* more vertical breathing space */
    animation: none; /* stop zoom animation if it distorts */
  }

  .hero-content {
    margin-top: 45px;
  }

  .hero h1,
  .hero p {
    font-size: 1.2rem; /* smaller text */
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 15px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /*background: rgba(0, 0, 0, 0.45);*/
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  text-transform: uppercase;
  font-weight: bold;
  color: #ffffff;
}

.hero p {
  color: #fefdfd;
  letter-spacing: 1px;
}

.typing-text {
  color: #8bc34a; /* nature green accent */
  border-right: 3px solid #fff;
  white-space: nowrap;
  overflow: hidden;

  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.hero-btn {
  background: linear-gradient(135deg, var(--secondary), #d5a87a);
  border: none;
  border-radius: 50px;
  color: #fff;
  padding: 15px 35px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(202, 159, 116, 0.3);
}

@media (max-width: 768px) {
  .hero-btn {
    padding: 0;
    font-weight: 400;
  }
}

.hero-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

a {
  text-decoration: none;
  color: black;
}

.text-area {
  background-color: #f4f4f4;
  border: 2px solid #eaeaea;
  border-radius: 4px;
}

.service span {
  color: var(--dark-green);
  font-weight: bold;
}

.service a {
  background-color: #1d8770;
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s ease;
}

.service a:hover {
  background-color: #16a085;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.img-row {
  margin-top: 60px;
  margin-bottom: 60px;
  background-color: rgba(29, 135, 112, 0.05);
  border-radius: 20px;
  padding: 40px;
}

.img-row h1 {
  color: #1d8770;
  font-weight: 700;
  margin-bottom: 20px;
}

.img-row p {
  line-height: 1.7;
  color: #4a4a4a;
  font-size: 1.1rem;
}

.img-row img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(29, 135, 112, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.img-row img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(29, 135, 112, 0.25);
}

@media (max-width: 768px) {
  .img-row {
    text-align: center;
  }

  .img-row p {
    margin-bottom: 30px;
  }

  .img-row img {
    margin-top: 30px;
  }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .img-row {
    text-align: center;
  }

  .img-row p {
    margin-bottom: 30px;
  }
}

/*Vision & Mission*/
/* .vision-section {
  background-image: url("../images/plant-grow.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
} */

.vision-card,
.mission-card {
  background-color: #fff;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  color: #000;
}
/* .vision-card::before,
.mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.1),
    rgba(139, 195, 74, 0.2)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}
.vision-card:hover::before,
.mission-card:hover::before {
  opacity: 1;
}
.vision-card:hover,
.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 128, 0, 0.2);
} */
.card-body {
  position: relative;
  z-index: 1;
}
@media (max-width: 992px) {
  .experience {
    left: 0 !important;
  }
}

.research-section {
  background-color: rgba(29, 135, 112, 0.05); /* subtle transparent green */
  border-radius: 20px;
  padding: 60px 20px;
  transition: background-color 0.3s ease;
}

.research-section:hover {
  background-color: rgba(29, 135, 112, 0.1);
}

.image-col img {
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(29, 135, 112, 0.2);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.image-col img:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 40px rgba(29, 135, 112, 0.3);
}

.text-col h1,
.text-col h3 {
  color: #585757;
}

.text-col p {
  color: #4a4a4a;
  line-height: 1.7;
}

.why-partner p {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .research-section {
    padding: 40px 15px;
  }

  .image-col img {
    margin-bottom: 30px;
  }

  .text-col {
    text-align: center;
  }
}

/* Our Concepts Section */
.our-concepts {
  color: #fff;
  overflow: hidden;
}

.section-title {
  color: #fff;
  letter-spacing: 1.5px;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.concept-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease-in-out;
  color: #fff;
}

.concept-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 255, 128, 0.2);
}

.concept-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.concept-card:hover .concept-icon img {
  transform: scale(1.1);
}

.concept-card h5 {
  font-size: 0.95rem;
  color: #fff;
}

/*contact form*/
#contactForm {
  background: linear-gradient(to bottom, #e0f7f1, #ffffff);
  padding: 80px 0;
}

/* Card Styling */
.form-box .card {
  border-radius: 25px;
  background: #fefefe;
  box-shadow: 0 10px 25px rgba(29, 135, 112, 0.2);
  border: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.form-box .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(29, 135, 112, 0.3);
}

/* Form Controls */
.form-control-nature {
  border-radius: 20px;
  border: 1px solid #1d8770;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.form-control-nature:focus {
  border-color: #16a085;
  box-shadow: 0 0 8px rgba(22, 160, 133, 0.3);
  outline: none;
}

/* Submit Button */
.btn-nature {
  background-color: #1d8770;
  color: #ffffff;
  padding: 5px 20px;
  border-radius: 50px;
  border: none;
  font-weight: 400;
  transition: all 0.4s ease;
}

.btn-nature:hover {
  background-color: #16a085;
  box-shadow: 0 8px 20px rgba(22, 160, 133, 0.3);
  transform: scale(1.05);
}

/* Headings */
.form-box h6 {
  color: #1d8770;
  letter-spacing: 1px;
}

.form-box h2 {
  color: #145d47;
  margin-bottom: 10px;
}

.form-box h1 {
  color: var(--secondary);
  font-size: 0.8rem;
  margin-bottom: 20px;
}

/* Paragraph Text */
.form-box p {
  color: #4a4a4a;
}

.copyrights {
  font-size: 15px;
}

@media (max-width: 992px) {
  .copyrights {
    font-size: 7px;
  }
}

/* Modern Button Styles */
.btn-modern {
  background: linear-gradient(135deg, var(--primary), #2c4a7a);
  border: none;
  border-radius: 8px;
  color: white;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(25, 43, 81, 0.3);
}

.btn-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-modern:hover::before {
  left: 100%;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(25, 43, 81, 0.4);
  background: linear-gradient(135deg, #2c4a7a, var(--primary));
}

.btn-outline-modern {
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: 8px;
  color: var(--primary);
  padding: 10px 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-outline-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transition: left 0.3s;
  z-index: -1;
}

.btn-outline-modern:hover::before {
  left: 0;
}

.btn-outline-modern:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(25, 43, 81, 0.3);
}

/* Enhanced Form Styles */
.form-control-modern {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-control-modern:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.2rem rgba(202, 159, 116, 0.25);
  background: white;
  transform: translateY(-1px);
}

.form-control-modern::placeholder {
  color: #6c757d;
  font-weight: 400;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Pulse Animation for Important Elements */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Enhanced Image Styling */
.hero {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.card img {
  transition: all 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

/*branch section in contact form*/
.branch-section {
  background: linear-gradient(to bottom, #e9f8f3, #ffffff);
}

.branch-title {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
}

.branch-subtitle {
  color: #4a4a4a;
  font-size: 1.1rem;
}

.branch-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(29, 135, 112, 0.15);
  transition: all 0.3s ease;
  border: 1px solid rgba(29, 135, 112, 0.2);
}

.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(29, 135, 112, 0.25);
}

.branch-name {
  color: var(--primary);
  font-weight: 600;
}

.branch-location {
  color: #666;
  margin-bottom: 10px;
}

/* Loading States */
.btn-loading {
  position: relative;
  color: transparent !important;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Footer Background */
.site-footer {
  background-color: #0b3d2e; /* Dark green / nature theme */
  color: #ffffff;
}

/* Footer Links */
.footer-link {
  color: #d1f0e0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #16a085;
  text-decoration: underline;
  transform: scale(1.05);
}

/* Social Icons */
.footer-icons i {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-icons i.icon-hover:hover {
  background-color: #16a085;
  color: #ffffff;
  transform: scale(1.2);
}

/* Divider */
.site-footer hr {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Copyrights */
.site-footer .footer-nav a {
  margin: 0 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-nav {
    text-align: center;
  }
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
  .chat-window {
    width: 300px;
    height: 400px;
  }

  .hero-btn {
    padding: 12px 25px;
    font-size: 14px;
  }

  .btn-modern {
    padding: 10px 20px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .preloader .loader-text {
    font-size: 16px;
  }
}
