/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #4caf50;
  --primary-yellow: #ffd54f;
  --primary-brown: #8d6e63;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --text-color: #2c2c2c;
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-green);
}

.nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  background: none;
  border: 2px solid var(--primary-green);
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.lang-option {
  cursor: pointer;
  color: var(--text-color);
  transition: var(--transition);
}

.lang-option.active {
  color: var(--primary-green);
}

.lang-divider {
  margin: 0 5px;
  color: var(--text-color);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-green);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.8),
    rgba(141, 110, 99, 0.6)
  );
}

.hero-content {
  text-align: center;
  color: var(--white);
  z-index: 1;
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 40px;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 35px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 16px;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-yellow);
  color: var(--dark-gray);
}

.btn-primary:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 213, 79, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-green);
  transform: translateY(-2px);
}

/* Stats Bar */
.stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 30px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-color);
  font-weight: 500;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: var(--white);
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: var(--primary-green);
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 50px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--primary-green);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-image {
  /* width: 365px; */
  height: 270px;
  margin: -30px -30px 20px -30px;
  /* Extend image to card edges, remove margin from bottom */
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* object-fit: cover ensures image fills space while maintaining aspect ratio */
  display: block;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-color);
  font-style: italic;
  flex-grow: 1;
  /* flex-grow pushes footer to bottom */
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  /* auto margin pushes content to bottom */
}

.testimonial-author strong {
  color: var(--primary-green);
  font-size: 16px;
}

.testimonial-author span {
  font-size: 14px;
  color: #666;
}

/* About Section */
.about {
  padding: 80px 0;
  background: var(--light-gray);
}

.about-header {
  margin-bottom: 60px;
}

.about-mission {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.mission-card {
  background: linear-gradient(135deg, var(--primary-green), #66bb6a);
  color: var(--white);
  padding: 25px 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}

.mission-icon {
  font-size: 48px;
  /* margin-bottom: 20px; */
}

.mission-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.mission-card p {
  line-height: 1.8;
  font-size: 16px;
}

.point {
  margin-top: 15px;
}

/* Timeline */
.timeline {
  margin-bottom: 60px;
}

.timeline-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 40px;
  text-align: center;
}

.timeline-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.timeline-item {
  position: relative;
  padding: 20px;
  background: var(--light-gray);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.timeline-item:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: translateY(-5px);
}

.timeline-year {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-yellow);
  margin-bottom: 10px;
}

.timeline-content h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 14px;
  line-height: 1.6;
}

/* Team */
.team {
  margin-bottom: 60px;
}

.team-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 40px;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-member {
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--text-color);
}

.team-role {
  font-size: 14px;
  color: var(--primary-green);
  font-weight: 600;
}

/* Partners */
.partners {
  text-align: center;
}

.partners-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 40px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
}

.partner-logo {
  padding: 20px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.partner-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  /* filter: grayscale(100%); */
  transition: var(--transition);
}

/* .partner-logo:hover img {
  filter: grayscale(0%);
} */

/* Products Section */
.products {
  padding: 80px 0;
  background: var(--light-gray);
  text-align: center;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: var(--primary-green);
}

.section-subtitle {
  font-size: 16px;
  color: #777;
  margin-bottom: 50px;
}

/* 2-column grid (responsive) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  border: 1px solid var(--primary-green);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-yellow);
  color: var(--dark-gray);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.product-badge.new {
  background: var(--primary-green);
  color: var(--white);
}

.product-content {
  padding: 25px;
  text-align: left;
}

.product-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-color);
}

.product-category {
  font-size: 14px;
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 15px;
}

.product-description {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.btn-product {
  margin-top: 80px;
  /* width: 12%; */
  background: var(--primary-green);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.btn-product:hover {
  background: #45a049;
}

/* Research Section */
.research {
  padding: 80px 0;
  background: var(--white);
}

.research-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.research-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.research-text h3 {
  font-size: 32px;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.research-text > p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--text-color);
}

.research-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.research-feature {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--light-gray);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.research-feature:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: translateX(10px);
}

.feature-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-content p {
  font-size: 14px;
  line-height: 1.6;
}

/* Stories Section */
.stories {
  padding: 80px 0;
  background: var(--light-gray);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.story-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.story-media {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  color: var(--primary-green);
  cursor: pointer;
  transition: var(--transition);
}
.play-button a {
  text-decoration: none;
  color: var(--primary-green);
  margin-left: 5px;
}

.play-button:hover {
  background: var(--white);
  transform: translate(-50%, -50%) scale(1.1);
}

.story-content {
  padding: 25px;
}

.story-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--text-color);
}

.story-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 15px;
}

.story-location {
  font-size: 14px;
  color: var(--primary-green);
  font-weight: 600;
}

/* Blog Section */
.blog {
  padding: 80px 0;
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-green);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 13px;
  color: #999;
}

.blog-content h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--text-color);
  line-height: 1.4;
}

.blog-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 15px;
}

.blog-link {
  color: var(--primary-green);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.blog-link:hover {
  color: #45a049;
}

.blog-cta {
  text-align: center;
}

/* Newsletter Section */
.newsletter {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary-green), #66bb6a);
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.newsletter-text {
  color: var(--white);
}

.newsletter-text h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.newsletter-text p {
  font-size: 16px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
}

.newsletter-form button {
  white-space: nowrap;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--light-gray);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
}

.contact-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 18px;
  color: var(--primary-green);
  margin-bottom: 8px;
}

.contact-details p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
}

.social-links h4 {
  font-size: 18px;
  color: var(--primary-green);
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.social-icon i {
  color: white;
  font-size: 25px;
}

/* .social-icon.facebook {
  background: #1877f2;
}

.social-icon.telegram {
  background: #0088cc;
}

.social-icon.youtube {
  background: #ff0000;
} */

/* .social-icon.instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
} */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  /* width: 320px; */
}

.form-group {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-green);
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--primary-yellow);
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  font-size: 14px;
}

.footer-section a:hover {
  color: var(--primary-yellow);
  padding-left: 5px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-yellow);
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.chat-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-green);
  color: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.chat-button:hover {
  transform: scale(1.1);
}

.chat-close {
  display: none;
}

.chat-widget.active .chat-icon {
  display: none;
}

.chat-widget.active .chat-close {
  display: block;
}

.chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 450px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
}

.chat-widget.active .chat-box {
  display: flex;
}

.chat-header {
  background: var(--primary-green);
  color: var(--white);
  padding: 20px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.chat-header h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.chat-header p {
  font-size: 14px;
  opacity: 0.9;
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-message {
  padding: 12px 16px;
  border-radius: 15px;
  max-width: 80%;
  font-size: 14px;
  line-height: 1.5;
}

.chat-message.bot {
  background: var(--light-gray);
  align-self: flex-start;
}

.chat-message.user {
  background: var(--primary-green);
  color: var(--white);
  align-self: flex-end;
}

.chat-input {
  display: flex;
  gap: 10px;
  padding: 15px;
  border-top: 1px solid #e0e0e0;
}

.chat-input input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 14px;
}

.chat-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-green);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.chat-input button:hover {
  background: #45a049;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 110px;
  width: 50px;
  height: 50px;
  background: var(--primary-brown);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(141, 110, 99, 0.4);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: #6d4c41;
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }

  .nav.active {
    left: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 36px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-mission {
    grid-template-columns: 1fr;
  }

  .timeline-items {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .research-content {
    grid-template-columns: 1fr;
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    max-width: 100%;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .chat-box {
    width: 300px;
  }

  .scroll-top {
    right: 30px;
    bottom: 110px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 20px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 32px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* The fix media screen is here */
/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  /* padding-bottom: 200px; */
}

.hero-content {
  text-align: center;
  color: var(--white);
  z-index: 1;
  animation: fadeInUp 1s ease;
  margin-bottom: 40px;
}

/* Stats Bar */
.stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 30px 0;
  z-index: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-bottom: 250px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero {
    padding-bottom: 80px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 23px;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .hero {
    padding-bottom: 160px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-form {
    width: 320px;
  }

  .btn-product {
    padding: 15px 25px;
  }
}

/* link go to the prdDetail is here */
.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card {
  height: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/* Products Carousel Styles */
.products {
  padding: 80px 0;
  background: var(--light-gray);
  text-align: center;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: var(--primary-green);
}

.section-subtitle {
  font-size: 16px;
  color: #777;
  margin-bottom: 50px;
}

/* Carousel wrapper for continuous scroll */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 40px;
}

.carousel-container {
  display: flex;
  gap: 30px;
  padding: 20px 0;
  scroll-behavior: smooth;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* Hide scrollbar */
  scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.product-card-link {
  flex: 0 0 calc(25% - 23px);
  min-width: 280px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}

.product-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-content {
  padding: 25px;
  text-align: left;
}

.product-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-color);
}

.product-description {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

/* Added arrow button styles */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(70, 160, 66, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: rgba(70, 160, 66, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-left {
  left: 0px;
}

.carousel-arrow-right {
  right: 0px;
  
}

@media (max-width: 768px) {
  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* Added dot indicator styles */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary-green);
  transform: scale(1.1);
}

.dot:hover {
  background: #aaa;
}

/* Responsive: 3 items on tablet, 1 on mobile */
@media (max-width: 1024px) {
  .product-card-link {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  .product-card-link {
    flex: 0 0 calc(50% - 15px);
    min-width: 200px;
  }

  .product-image {
    height: 200px;
  }

  .section-title {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  /* Mobile now displays single full-width card with arrows INSIDE the image */
  .carousel-wrapper {
    margin-bottom: 60px;
  }

  .product-card-link {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .carousel-container {
    gap: 0;
    padding: 20px 0;
  }

  .product-image {
    height: 280px;
  }

  .product-content {
    padding: 20px;
  }

  .product-name {
    font-size: 18px;
  }

  .product-description {
    font-size: 13px;
  }

  .section-title {
    font-size: 24px;
  }

  /* Position arrows INSIDE the image on mobile */
  .carousel-arrow {
    width: 45px;
    height: 45px;
    font-size: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* z-index: 20; */
  }

  .carousel-arrow-left {
    left: 20px;
  }

  .carousel-arrow-right {
    right: 20px;
  }
}

.btn-product {
  margin-top: 40px;
  background: var(--primary-green);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.btn-product:hover {
  background: #45a049;
}
