/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

:root {
  --primary-green: #B4DCB4;
  --dark-green: #99C899;
  --white: #fff;
  --text-dark: #645A55;
  --text-light: #8C7B85;
  --white: #fff;
  --black: rgba(80, 60, 50, 0.87);
  --brand-bg-soft: #FFF0F5;
  --brand-bg-secondary: #FFFAE6;
  --accent-blue: #C8E6FA;
  --ThemesTextContentFont: Opensans-Regular;
  --ThemesBoxTitleFont: OpenSans-Bold;
  --ThemesBoxSubTitleFont: Opensans-Regular;
  --ThemesProductsTitleFont: OpenSans-Bold;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 15px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.left-title {
  text-align: left;
}

/* Page Banner */
.page-banner {
  /* background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%); */
  padding: 120px 0 80px 0;
  text-align: center;
  padding-top: 160px;
}

.page-banner h1 {
  color: var(--black);
  font-size: 48px;
  font-weight: 700;
}

/* Header Styles */
.header {
  background: transparent;
  box-shadow: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: var(--black);
  box-shadow: 0 2px 10px rgba(165, 145, 130, 0.28);
  padding: 10px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}


/* Header Styles */
.header_v2 {
  background: rgba(80, 60, 50, 0.9);
  box-shadow: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.header_v2.scrolled {
  background: rgba(80, 60, 50, 0.9);
  box-shadow: 0 2px 10px rgba(165, 145, 130, 0.28);
  padding: 10px 0;
}

.header_v2-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo img {
  height: 90px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 60px;
  flex: 1;
}

.nav-link {
  text-decoration: none;
  color: var(--white);
  font-weight: bold;
  padding: 8px 0;
  transition: color 0.3s;
  position: relative;
  font-size: 18px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
  /* color: var(--white); */
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-green);
  /* background: var(--primary-green); */
}

.nav-link.hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-green);
  /* background: var(--primary-green); */
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: 15px;
  color: var(--white);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.icon-btn:hover {
  color: var(--primary-green);
}

.btn-primary {
  /* background: var(--primary-green); */
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 15px 25px;
  border-radius: 0px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: var(--white);
  color: var(--black);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: 0.3s;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 0px;
  margin-bottom: 0px;
}

/* Hero Slider */
.hero-slider-v2 {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 120px;
  margin-bottom: 0px;
}

.slider-container {
  position: relative;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s;
}

.slide.active {
  opacity: 1;
  position: relative;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(165, 145, 130, 0.2);
  z-index: 1;
}

.slide img {
  width: 100%;
  /* height: 600px; */
  object-fit: cover;
  object-position: center center;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 100%;
  pointer-events: none;
}

.slide-content h1 {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 10px;
  font-weight: 700;
}

.slide-content p {
  font-size: 24px;
  color: var(--white);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--white);
}

/* Product Grid */
.product-grid-section {
  padding: 40px 0;
  background: var(--brand-bg-secondary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(165, 145, 130, 0.14);
}

.product-card img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(165, 145, 130, 0.6) 0%, rgba(165, 145, 130, 0.25) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}

.product-overlay h3 {
  color: var(--white);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  font-style: italic;
}

.view-more {
  color: var(--white);
  text-decoration: underline;
  font-size: 16px;
  transition: opacity 0.3s;
}

.view-more:hover {
  opacity: 0.8;
}

/* Manufacturer Section */
.manufacturer-section {
  background: var(--black);
  color: var(--white);
  padding: 80px 0;
}

/* Manufacturer Section */
.manufacturer-section-aboutus {
  background: var(--white);
  color: var(--black);
  padding: 80px 0;
}

.manufacturer-section-aboutus table {
  width: 100%;
}

.manufacturer-section-aboutus table td {
  padding : 10px;
}

.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 60px;
  font-family: Opensans-Regular;
}

.manufacturer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.video-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.video-container img {
  width: 100%;
  height: auto;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(165, 145, 130, 0.45);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  cursor: pointer;
  transition: background 0.3s;
}

.play-btn:hover {
  background: rgba(165, 145, 130, 0.6);
}

.company-info p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}


.company-info-v2 p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
}

.aboutus-p {
  margin: 50px 0;
}

/* Statistics Section */
.stats-section {
  background: var(--primary-green);
  color: var(--white);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon {
  flex-shrink: 0;
}

.stat-content h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-content h3 span {
  font-size: 20px;
  font-weight: 400;
}

.stat-content p {
  font-size: 14px;
  opacity: 0.9;
}

/* Featured Products */
.featured-products {
  padding: 80px 0;
  background: var(--black);
  color: #fff';

}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.featured-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s;
  padding: 30px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-card:hover {
  transform: translateY(-5px);
}

.featured-card img {
  width: 100%;
  object-fit: contain;
  margin-bottom: 20px;
}

.featured-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.featured-card p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0 auto;
  margin-top: 10px;
  text-align: center;
}

.featured-card.product-link {
  text-decoration: none;
  display: block;
  position: relative;
}

.featured-card .view-details {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary-green);
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.featured-card:hover .view-details {
  opacity: 1;
  transform: translateY(0);
}

.featured-card.large-card {
  grid-column: span 2;
  padding: 0;
  text-align: center;
  margin: 0 auto;

}

.featured-card.large-card img {
  height: 100%;
  margin: 0;
  margin: 0 auto;
  border-radius: 20px;
  object-fit: cover;
}


.featured-card.large-card2 {
  grid-column: span 2;
}

.featured-card.large-card2 img {
  width: 100%;
  height: 350px;
  border-radius: 20px;
  /* object-fit: cover; */
  margin: 0 auto;
}



/* Equipment Section */
.equipment-section {
  padding: 80px 0;
  background: var(--brand-bg-soft);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.equipment-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.equipment-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.play-btn-small {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  cursor: pointer;
  transition: background 0.3s;
}

.play-btn-small:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Exhibition Section */
.exhibition-section {
  padding: 80px 0;
  background: var(--black);
}

.exhibition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.exhibition-card {
  background: var(--white);
  /* border-radius: 10px; */
  overflow: hidden;
  transition: transform 0.3s;
}

.exhibition-card:hover {
  transform: translateY(-5px);
}

.exhibition-card {
  position: relative;
}

.exhibition-card img {
  width: 100%;
  object-fit: cover;
}

.exhibition-card p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  font-size: 16px;
  color: var(--white);
  text-align: center;
  /* background: rgba(0, 0, 0, 0.5); */
  border-radius: 5px;
  margin: 0;
}

.exhibition-card.highlight {
  background: var(--primary-green);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 250px;
}

.exhibition-card.highlight h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.view-more-link {
  color: var(--white);
  text-decoration: underline;
  font-size: 16px;
  transition: opacity 0.3s;
}

.view-more-link:hover {
  opacity: 0.8;
}

/* CTA Section */
.cta-section {
  background: var(--brand-bg-soft);
  color: var(--text-dark);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
}

.btn-primary-large {
  background: var(--white);
  color: var(--primary-green);
  border: none;
  padding: 15px 40px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s;
}

.btn-primary-large:hover {
  background: var(--white);
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
}

.newsletter-form button {
  background: var(--primary-green);
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: var(--dark-green);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  transition: background 0.3s;
}

.social-links a:hover {
  background: var(--primary-green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

/* Responsive Styles */
@media (max-width: 1980px) {
  .nav-menu {
    gap: 30px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .manufacturer-content {
    gap: 40px;
  }
  
  .container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 15px;
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 30px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .manufacturer-content {
    gap: 40px;
  }
  
  .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(165, 145, 130, 0.14);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .btn-primary {
    display: none;
  }

  .hero-slider {
    margin-top: 0px;
    margin-bottom: 30px;
  }

  .slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center center;
  }

  .hero-slider-v2 {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 30px;
    margin-bottom: 0px;
  }

  .slide-content h1 {
    font-size: 32px;
  }

  .slide-content p {
    font-size: 18px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .manufacturer-content {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .featured-card.large-card {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }

  .featured-grid {
    display: grid;
    grid-template-columns: auto;
    gap: 30px;
    padding: 15px;
  }

  .featured-card.large-card2 {
    grid-template-columns: auto;
  }

  .equipment-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }

  .exhibition-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-title {
    font-size: 32px;
  }

  .cta-section h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 40px;
  }

  .hero-slider {
    margin-top: 0px;
    margin-bottom: 20px;
  }

  .slide-content h1 {
    font-size: 24px;
  }

  .slide-content p {
    font-size: 16px;
  }

  .product-overlay h3 {
    font-size: 24px;
  }

  .product-overlay {
    padding: 20px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .stat-content h3 {
    font-size: 28px;
  }

  
  .manufacturer-section-aboutus table {
    width: 100%;
  }

  .manufacturer-section-aboutus table td {
    padding : 2px;
  }

}
/* Loa
ding and Error States */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  font-size: 1.2rem;
  color: var(--text-light);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.error-message {
  background: #fff;
  /* border: 2px solid #e74c3c; */
  /* border-radius: 8px; */
  /* margin: 2rem auto; */
  max-width: 600px;
}

.error-message h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.error-message p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.error-message button {
  background: var(--primary-green);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.error-message button:hover {
  background: var(--dark-green);
}

/* Language Switcher */
.language-switcher {
  position: relative;
  display: inline-block;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.language-btn .current-lang {
  font-size: 0.875rem;
  font-weight: 600;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(165, 145, 130, 0.14);
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.2s ease;
  font-size: 0.9rem;
}

.language-option:first-child {
  border-radius: 8px 8px 0 0;
}

.language-option:last-child {
  border-radius: 0 0 8px 8px;
}

.language-option:hover {
  background: var(--white);
}

.language-option.active {
  background: var(--primary-green);
  color: white;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .language-switcher {
    order: -1;
    margin-right: auto;
  }
  
  .language-dropdown {
    right: auto;
    left: 0;
  }
}

.user-icon {
  display: none;
}
