:root {
  --primary: #2e7d32;
  --primary-light: #4caf50;
  --primary-dark: #1b5e20;
  --secondary: #6d4c41;
  --light: #f8f9fa;
  --dark: #212529;
  --gold: #ffc107;
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  color: var(--dark);
  background-color: #f9f9f9;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  display: flex;
  gap: 15px;
}

.herb-leaf {
  width: 30px;
  height: 30px;
  background-color: var(--primary);
  border-radius: 50% 50% 0 50%;
  transform: rotate(45deg);
  animation: pulse 1.5s infinite ease-in-out;
}

.herb-leaf:nth-child(2) {
  animation-delay: 0.2s;
}

.herb-leaf:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0%,
  100% {
    transform: rotate(45deg) scale(1);
  }
  50% {
    transform: rotate(45deg) scale(1.3);
  }
}

/* Header */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding-top: 5px;
  padding-bottom: 5px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  transition: all 0.3s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}

.brand-name {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.2rem;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--secondary);
  letter-spacing: 1px;
}

.nav-link {
  font-weight: 500;
  color: var(--dark) !important;
  margin: 0 8px;
  position: relative;
}

.nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.dropdown-item {
  padding: 8px 15px;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--primary-dark);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
      135deg,
      rgba(46, 125, 50, 0.9),
      rgba(76, 175, 80, 0.8)
    ),
    url("../img/herb-bg.jpg") no-repeat center center;
  background-size: cover;
  color: white;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("../img/wave-divider.svg") no-repeat center bottom;
  background-size: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
}

/* .hero-image {
  position: relative;
  animation: normal;
} */

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateY(-15deg);
  transition: all 0.9s ease;
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* About Section */
.about-section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.history-heading {
  color: rgba(28, 93, 31, 0.9) !important;
}

/* .section-title:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 4px;
  background-color: var(--primary);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
} */

.about-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateX(5deg);
  transition: all 0.5s cubic-bezier(0.4, 2, 0.6, 1);
}

.about-image:hover {
  transform: perspective(1000px) rotateX(0deg) scale(1.03);
  box-shadow: 0 25px 50px rgba(46, 125, 50, 0.15);
}

.about-image img {
  transition: transform 0.5s cubic-bezier(0.4, 2, 0.6, 1);
}

.about-image:hover img {
  transform: scale(1.07);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.history-text p {
  color: #111111 !important;
}

.history-text .border {
  transition: transform 0.3s cubic-bezier(0.4, 2, 0.6, 1),
    box-shadow 0.3s cubic-bezier(0.4, 2, 0.6, 1);
}

.history-text .border:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 12px 32px rgba(46, 125, 50, 0.13);
}

/* ---------------------- Focus heart  Section ------------------------------ */
.about-focus {
  padding: 60px 20px;
  background-color: #f8f9fa;
  font-family: "Segoe UI", sans-serif;
}

.container.history-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.focus-image {
  flex: 1;
  text-align: center;
  animation: float 4s ease-in-out infinite;
}

.focus-image img {
  max-width: 100%;
  height: auto;
  transition: all 0.5s ease;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.focus-image:hover img {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.15));
}

.history-text {
  flex: 2;
  padding: 20px;
  transition: transform 0.3s ease;
  text-align: justify;
}

.history-text:hover {
  transform: translateY(-5px);
}

.history-text h1 {
  color: rgba(28, 93, 31, 0.9);
  margin-bottom: 20px;
  font-size: 2.5rem;
  font-weight: bold;
}

.history-text p {
  color: #0e0202;
  line-height: 1.6;
  font-size: 1.1rem;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .container.history-flex {
    flex-direction: column;
  }

  .focus-image {
    margin-bottom: 30px;
  }

  .history-text {
    text-align: center;
  }
}

/* Process Section */
.process-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f9f9f9, #fff);
  position: relative;
}

.process-card {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light));
  transition: all 0.3s ease;
}

.process-card:hover::before {
  width: 8px;
}

.process-badge {
  display: inline-block;
  background: rgba(46, 125, 50, 0.1);
  color: var(--primary);
  padding: 2px 15px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* Values Section */
.values-section {
  padding: 100px 0;
  background: url("../img/leaf-pattern.png") no-repeat center center;
  background-size: cover;
  position: relative;
}

.values-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
}

.value-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.value-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-card:hover::after {
  height: 8px;
}

.value-icon {
  width: 70px;
  height: 70px;
  background: rgba(46, 125, 50, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 30px;
  color: var(--primary);
}

/* Focus Section - styled like About/Process */
.focus-section {
  padding: 60px 0;
  background: #f8f9fa;
  position: relative;
}

.focus-content {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 40px 30px;
  transition: box-shadow 0.3s cubic-bezier(0.4, 2, 0.6, 1),
    transform 0.3s cubic-bezier(0.4, 2, 0.6, 1);
}

.focus-content:hover {
  box-shadow: 0 15px 40px rgba(46, 125, 50, 0.13);
  transform: translateY(-8px) scale(1.03);
}

.section-badge {
  display: inline-block;
  background: rgba(46, 125, 50, 0.1);
  color: var(--primary);
  padding: 2px 15px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.focus-card .d-flex {
  align-items: center;
  gap: 12px;
}

.focus-card .section-title {
  margin-bottom: 0;
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(28, 93, 31, 0.9);
  display: inline-block;
  position: relative;
}

.focus-card .section-title::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 4px;
  background: var(--primary);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

.focus-section p {
  color: #111;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.focus-card {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-bottom: 40px;
}

.focus-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light));
  transition: all 0.3s ease;
}

.focus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.focus-card:hover::before {
  width: 8px;
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/dots-pattern.png") repeat;
  opacity: 0.1;
}

.stat-item {
  text-align: center;
  padding: 30px;
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../img/herbs-bg-2.jpg") no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
  position: relative;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
  background: transparent;
  color: white;
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background: var(--dark);
  color: white;
  padding: 80px 0 30px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-about {
  opacity: 0.8;
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--primary);
  bottom: 0;
  left: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  opacity: 0.7;
}

/* Animations */
.animate-up {
  animation: fadeInUp 1s ease;
}

.animate-left {
  animation: fadeInLeft 1s ease;
}

.animate-right {
  animation: fadeInRight 1s ease;
}

.animate-delay-1 {
  animation-delay: 0.2s;
}

.animate-delay-2 {
  animation-delay: 0.4s;
}

.animate-delay-3 {
  animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }
}

/* Modern About Header */
.about-header-modern {
  background: linear-gradient(120deg, #e8f5e9 0%, #f8f9fa 100%);
  padding: 60px 0 40px 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.about-header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-header-logo-wrap {
  background: white;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(46, 125, 50, 0.1);
  padding: 24px;
  margin-bottom: 24px;
  display: inline-block;
  transition: box-shadow 0.3s;
}

.about-header-logo-wrap:hover {
  box-shadow: 0 16px 48px rgba(46, 125, 50, 0.18);
}

.about-header-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
}

.about-header-title {
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.about-header-subtitle {
  font-size: 1.25rem;
  color: var(--primary);
  opacity: 0.85;
  margin-bottom: 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* MD Card Modern Style */
.md-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(46, 125, 50, 0.1);
  padding: 32px 24px 24px 24px;
  transition: box-shadow 0.3s, transform 0.3s;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.md-card:hover {
  box-shadow: 0 16px 48px rgba(46, 125, 50, 0.18);
  transform: translateY(-6px) scale(1.02);
}

.md-img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
  box-shadow: 0 4px 18px rgba(46, 125, 50, 0.08);
  transition: transform 0.4s cubic-bezier(0.4, 2, 0.6, 1), box-shadow 0.4s;
}

.md-card:hover .md-img {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 8px 32px rgba(46, 125, 50, 0.18);
}

/* MD Card Content Styling */
.md-card h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.md-card h5,
.md-card h6 {
  color: #888;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.md-card hr {
  border-top: 2px solid var(--primary-light);
  width: 60%;
  margin: 1rem auto;
  opacity: 0.3;
}

.md-card .contact-info {
  margin-top: 1.2rem;
}

.md-card .contact-info p {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.md-card .contact-info a {
  color: var(--primary);
  font-weight: 500;
  transition: color 0.2s;
}

.md-card .contact-info a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .md-img {
    width: 120px;
    height: 120px;
  }
  .md-card {
    padding: 18px 8px 16px 8px;
  }
}

/* Responsive */
@media (max-width: 600px) {
  .about-header-logo {
    width: 80px;
    height: 80px;
  }
  .about-header-title {
    font-size: 1.5rem;
  }
  .about-header-logo-wrap {
    padding: 12px;
  }
}

/* Modern Board Card Styles for bod.html */
.board-section-enhanced {
  background: linear-gradient(120deg, #f8f9fa 60%, #e8f5e9 100%);
  padding-top: 60px;
  padding-bottom: 60px;
}

.board-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(46, 125, 50, 0.1);
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
  padding: 32px 20px 24px 20px;
  z-index: 1;
}

.board-card:hover {
  box-shadow: 0 16px 48px rgba(46, 125, 50, 0.18);
  transform: translateY(-8px) scale(1.03);
}

.board-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
  box-shadow: 0 4px 18px rgba(46, 125, 50, 0.1);
  transition: transform 0.5s cubic-bezier(0.4, 2, 0.6, 1), box-shadow 0.4s;
  border: 4px solid #e8f5e9;
  background: #f8f9fa;
  animation: floatBoard 4s ease-in-out infinite;
}

.board-card:hover .board-img {
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0 12px 32px rgba(46, 125, 50, 0.18);
  border-color: var(--primary-light);
  animation-play-state: paused;
}

@keyframes floatBoard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.board-card .card-title,
.board-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
}

.board-card .fw-semibold,
.board-card .text-success,
.board-card .text-primary {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.board-card .card-text,
.board-card p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.board-card .text-muted {
  color: #888 !important;
}

.board-card .text-primary,
.board-card .text-success {
  margin-bottom: 0.2rem;
}

.board-card .card-body {
  padding: 0;
}

.section-title h2,
.section-title .fw-bold {
  font-size: 2.2rem;
  font-weight: 700;

  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.section-title p,
.section-title .text-muted {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .board-img {
    width: 90px;
    height: 90px;
  }
  .board-card {
    padding: 18px 8px 16px 8px;
  }
  .section-title h2,
  .section-title .fw-bold {
    font-size: 1.3rem;
  }
}
