html,
body {
  scroll-behavior: smooth;
}
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 50px;

  /* Maintain same aspect ratio as the video */
  aspect-ratio: 16 / 9; /* Change to your video’s ratio */
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 35, 25, 0.69) 0%,
    rgba(15, 45, 30, 0.536) 100%
  );
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
  max-width: 1000px;
  margin-top: -50px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 3.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  color: #f8f5f0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo span {
  color: #d4b483;
}

.tagline {
  font-family: "Playfair Display", serif;
  font-size: 3.3rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  color: #f8f5f0;
}

.description {
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  color: #f8f5f0;
}

.btn-custom {
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  margin: 0 10px 15px;
  border: none;
}

.btn-custom:hover {
  background-color: #d4b483;
  color: #fff;
  transform: translateY(-2px);
}

.btn-primary-custom {
  background-color: #2a6f5c;
  color: #fff;
  border: 2px solid #2a6f5c;
}

.btn-outline-custom {
  background-color: transparent;
  border: 2px solid #f8f5f0;
  color: #f8f5f0;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #f8f5f0;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  z-index: 10;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 2.8rem;
  }

  .tagline {
    font-size: 2.4rem;
  }

  .description {
    font-size: 1.1rem;
  }

  .btn-custom {
    padding: 12px 25px;
    font-size: 0.9rem;
    display: block;
    margin: 10px auto;
    max-width: 250px;
  }
}

/* About Section */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* .about-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.header-section {
  
  color: white;
  padding: 50px 40px;
  text-align: center;
}

.header-section h1 {
  font-weight: 300;
  font-size: 2.8rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.header-section .divider {
  width: 60px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 auto;
  border-radius: 2px;
}

.content-section {
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.about-text {
  padding: 20px;
}

.about-text h2 {
  color: #1a3c27;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 25px;
}

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

.statistics-section {
  background: #f5f9f6;
  border-radius: 12px;
  padding: 40px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.02);
}

.statistics-section h2 {
  color: #2e8b57;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 30px;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.stat-card {
  background: white;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  color: #1a3c27;
  font-size: 2.8rem;
  font-weight: 300;
  margin-bottom: 10px;
}

.stat-label {
  color: #4caf50;
  font-size: 1.1rem;
  font-weight: 500;
}
*/
.values-section {
  padding: 40px;
  background: linear-gradient(to bottom, #f5f9f6, #ffffff);
}

.values-section h2 {
  color: #2e8b57;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 30px;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.value-icon {
  font-size: 2.5rem;
  color: #4caf50;
  margin-bottom: 20px;
}

.value-card h3 {
  color: #1a3c27;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.value-card p {
  color: #555;
  font-size: 1rem;
}

.footer-section {
  background: #1a3c27;
  color: white;
  padding: 40px;
  text-align: center;
}

.cta-button-about {
  display: inline-block;
  background: #4caf50;
  color: white;
  padding: 14px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid #4caf50;
  letter-spacing: 0.5px;
}

.cta-button-about:hover {
  background: transparent;
  color: #4caf50;
}

/* Responsive design */
@media (max-width: 900px) {
  .content-section {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .header-section h1 {
    font-size: 2.2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .content-section,
  .values-section,
  .statistics-section {
    padding: 30px 20px;
  }
}
.tree-card {
  display: flex;
  border: 12px solid #badeaa;
  margin: 20px 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  height: 300px; /* Fixed height */
  overflow: hidden;
}

.tree-image {
  width: 32%;
  height: 100%; /* Fill the fixed height */
  object-fit: cover;
}

.tree-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px;
}

.tree-info {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center left;
  background-size: contain;
  overflow: hidden;
}

.tree-title {
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-weight: bold;
}

.tree-description {
  color: #444;
  margin-bottom: 25px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.tree-button {
  padding: 10px 25px;
  border: 2px solid #bbb;
  border-radius: 30px;
  color: #6b8e5c;
  background-color: transparent;
  text-decoration: none;
  font-weight: 550;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: fit-content;
}

.tree-button:hover {
  background-color: #6b8e5c;
  color: white;
  border-color: #6b8e5c;
}

/* --- Tablet --- */
@media (max-width: 1024px) {
  .tree-info {
    padding: 30px;
  }

  .tree-title {
    font-size: 1.6rem;
  }

  .tree-description {
    font-size: 1rem;
  }

  .tree-button {
    font-size: 0.95rem;
  }
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .tree-card {
    flex-direction: column;
    height: auto; /* Let it expand on small screens */
  }

  .tree-image {
    width: 100%;
    height: 200px; /* Optional: set mobile image height */
  }

  .tree-info {
    padding: 25px;
    background-position: top center;
  }

  .tree-title {
    font-size: 1.4rem;
  }

  .tree-description {
    font-size: 0.95rem;
  }

  .tree-button {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}

.green-button {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #4caf50;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  z-index: 2;
}

/* For tablets and smaller (max-width: 1024px) */
@media (max-width: 1024px) {
  .green-button {
    top: 10px;
    left: 10px;
    bottom: auto;
  }
}
.tree-card {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.service-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.6rem;
  color: #2a6b48;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.card-title i {
  margin-right: 12px;
  font-size: 1.4rem;
  background: #eaf6ee;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-description {
  color: #5a7c6c;
  margin-bottom: 25px;
  font-size: 1.05rem;
  flex-grow: 1;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #3c8d5c;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid #3c8d5c;
  align-self: flex-start;
}

.btn:hover {
  background: transparent;
  color: #3c8d5c;
}

.btn i {
  margin-left: 8px;
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

.about-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-header h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.about-header h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #5d9e5d;
  border-radius: 2px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-section {
  margin-bottom: 40px;
  padding: 25px;
  background: #fafafa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.about-section:hover {
  transform: translateX(5px);
  background: #f5faf5;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section-title {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.icon-container {
  width: 60px;
  height: 60px;
  background: #e8f4e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.icon-container i {
  font-size: 28px;
  color: #5d9e5d;
}

.section-title h2 {
  font-size: 1.8rem;
  color: #2c5e2e;
}

.section-content {
  padding-left: 80px;
}

.section-content p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 10px;
}

.values-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.value-item {
  flex: 1;
  min-width: 200px;
  padding: 20px;
  background: #e8f4e8;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.value-item:hover {
  background: #d0e8d0;
  transform: translateY(-3px);
}

.value-item i {
  font-size: 32px;
  color: #5d9e5d;
  margin-bottom: 15px;
}

.value-item h3 {
  color: #2c5e2e;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .section-content {
    padding-left: 0;
  }
}
.contact-area-custom {
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: center;
}
.contact-card {
  width: 100%;
  max-width: 1200px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.header {
  padding: 30px;
  text-align: center;
  color: white;
}

.header h1 {
  font-weight: 600;
  font-size: 2.2rem;
  margin: 0;
}

.header p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 10px 0 0;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  background: #f9fbf8;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-icon {
  font-size: 24px;
  width: 50px;
  height: 50px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2e7d32;
  flex-shrink: 0;
  margin-right: 20px;
}

.contact-details h3 {
  color: #2e7d32;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-details p {
  font-size: 1rem;
  color: #444;
}

.map-container {
  flex: 1.5;
  min-width: 300px;
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2e7d32;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #2e7d32;
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info {
    padding: 30px;
  }

  .map-container {
    height: 350px;
  }
}

.why-section {
  background: #ffffff;
  padding: 80px 20px;
  position: relative;
}

.why-title {
  text-align: center;
  margin-bottom: 5px;
}

.why-subtitle {
  text-align: center;
  color: #aaa;
  font-weight: 600;
  margin-bottom: 60px;
}

.why-timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.why-timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: #e2dad6;
  top: 0;
  bottom: 0;
  transform: none !important;
  left: 50%;
  margin-left: -2px;
  z-index: 0;
}

.why-timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.why-content-box {
  background: white;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border-left: 8px solid #badeaa;
}

.why-content-box h2 {
  font-size: 30px;
  color: #7a9c71;
  margin-bottom: 10px;
}

.why-content-box p {
  color: #333;
  line-height: 1.6;
}

.why-timeline-item.left {
  left: 0;
  text-align: left;
}

.why-timeline-item.right {
  left: 50%;
  text-align: left;
}

.why-timeline-item.left::before,
.why-timeline-item.right::before {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  top: 40px;
  background-image: url("../img/core-img/leaflogo1.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: none;
  border-radius: 0;
  z-index: 2;
  right: -60px;
}

.why-timeline-item.right::before {
  left: -60px;
  right: auto;
}

@media screen and (max-width: 1200px) {
  .why-title {
    font-size: 40px;
  }
  .why-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .why-content-box h3 {
    font-size: 20px;
  }
}

@media screen and (max-width: 1000px) {
  .why-section {
    padding: 60px 15px;
  }

  .why-title {
    font-size: 40px;
  }

  .why-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .why-timeline::after {
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
  }

  .why-timeline-item {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 40px auto;
    padding: 30px 20px;
    left: 0 !important;
    position: relative;
    float: none !important;
    right: auto !important;
    z-index: 1;
    box-sizing: border-box;
  }

  .why-content-box {
    padding: 25px 20px;
    border-left: 6px solid #badeaa;
  }

  .why-content-box h3 {
    font-size: 20px;
  }

  .why-content-box p {
    font-size: 15px;
  }

  .why-timeline-item.left::before,
  .why-timeline-item.right::before {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    top: 25px;
    z-index: 2;
    right: auto !important;
    width: 32px;
    height: 32px;
  }
}

@media screen and (max-width: 480px) {
  .why-section {
    padding: 40px 10px;
  }

  .why-title {
    font-size: 40px;
  }

  .why-subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .why-content-box {
    padding: 20px 15px;
  }

  .why-content-box h3 {
    font-size: 18px;
  }

  .why-content-box p {
    font-size: 14px;
  }
}

/* Plant Services Section */

.plant-services-section {
  padding: 60px 20px;
  background-color: #fff;
  color: #333;
}

.plant-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.plant-subtitle {
  color: #999;
  font-weight: 600;
  margin-bottom: 10px;
}

.plant-title {
  font-size: 42px;
  margin-bottom: 15px;
}

.plant-description {
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #555;
}

.plant-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.plant-service-box {
  border: 2px solid #a5c18c;
  padding: 25px 20px;
  text-align: left;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
}

.plant-service-box:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.plant-service-box h2 {
  color: #5f8153;
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 10px;
}

.plant-service-box p {
  color: #444;
  font-size: 16px;
}

/* Responsive: Stack into 1 column on small screens */
@media (max-width: 768px) {
  .plant-services-grid {
    grid-template-columns: 1fr;
  }

  .plant-title {
    font-size: 40px;
  }

  .plant-service-box h2 {
    font-size: 20px;
  }
}
/* Play button  */

.play-button {
  position: absolute;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(34, 139, 34, 0.9),
    rgba(85, 107, 47, 0.9)
  );
  padding: 10px 12px;
  border-radius: 50px 50px 50px 0; /* soft leaf shape */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  scale: 1.5;
}

.play-button i {
  margin-left: 1px;
  transform: translateX(1px);
}

.play-button:hover {
  background: linear-gradient(
    135deg,
    rgba(85, 107, 47, 1),
    rgba(34, 139, 34, 1)
  );
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.custom-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.custom-lightbox-image {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  object-fit: contain;
}

.custom-close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}
.custom-close:hover {
  color: #ddd;
}

.custom-nav span {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 12px;
  transform: translateY(-50%);
  transition: 0.3s;
}

.custom-prev {
  left: 30px;
}
.custom-next {
  right: 30px;
}

/* Responsive arrows for mobile */
@media (max-width: 768px) {
  .custom-nav span {
    font-size: 2rem;
    padding: 8px;
  }
  .custom-prev {
    left: 15px;
  }
  .custom-next {
    right: 15px;
  }
}
