:root {
  --header-height: 80px;
  --green: 24, 57, 43;
  --white-rgba: 255, 255, 255;

  --body-bg: #fff;
  --text-dark: #2e2e2e;
  --cta-color: #18392b;
  --cta-hover: #14532b;
  --info-bg: #fff;
  --block-bg: #fff;
  --box-bg: #fff;

  --footer-bg: #18392b;
  --footer-dark-bg: #18392b;
  --footer-text: #fff;
  --footer-heading: #fff;
  --footer-link-hover: #e07b39;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}
h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}
h3 {
  font-size: 1.5rem;
}
h4,
h5,
h6 {
  font-size: 1.1rem;
}

p {
  font-family: "Poppins", sans-serif;
  margin: 0 0 1rem;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background: var(--body-bg);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

body::before,
body::after {
  transition: opacity 0.3s ease;
}

body:not(.loaded)::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9998;
}

body:not(.loaded)::after {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top-color: rgb(var(--green));
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 1s linear infinite;
  z-index: 9999;
}

body.loaded::before,
body.loaded::after {
  opacity: 0;
  pointer-events: none;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

section {
  background: var(--body-bg);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: transparent;
  backdrop-filter: none;
  z-index: 1000;
  will-change: transform, opacity;
  transition:
    transform 0.4s ease-in-out,
    opacity 0.4s ease-in-out,
    background 0.3s ease,
    backdrop-filter 0.3s ease;
  opacity: 1;
}

.site-header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.site-header:hover,
.site-header.menu-active {
  background: rgba(var(--green), 0.85);
  backdrop-filter: blur(8px);
}

.site-header.background-solid {
  background: rgba(var(--green), 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.site-header .logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 0;
  color: inherit;
  z-index: 1001;
}

.site-header .logo img {
  height: 40px;
  width: auto;
  display: block;
}

.site-header .nav-links {
  display: flex;
  gap: 2rem;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.site-header .nav-links a {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.1rem;
  color: var(--text-dark);
  text-decoration: none;
  transition:
    text-shadow 0.2s ease,
    color 0.2s ease;
}

.site-header:hover .nav-links a,
.site-header.menu-active .nav-links a,
.site-header.background-solid .nav-links a {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.site-header .nav-links a:hover {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  border-bottom: 2px solid var(--cta-color);
}
.site-header .nav-links a.active-link {
  color: #e07b39;
  border-bottom: 2px solid #e07b39;
  text-shadow: none;
}

.lang-switch {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.lang-switch a {
  color: var(--text-dark);
  text-decoration: none;
}

.site-header:hover .lang-switch a,
.site-header.menu-active .lang-switch a,
.site-header.background-solid .lang-switch a {
  color: #fff;
}

.site-header:hover .nav-links a.active-link,
.site-header.menu-active .nav-links a.active-link,
.site-header.background-solid .nav-links a.active-link {
  color: #e07b39;
  text-shadow: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 1001;
}

.hamburger .bar {
  width: 100%;
  height: 3px;
  background-color: rgba(var(--green), 1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.site-header:hover .hamburger .bar,
.site-header.menu-active .hamburger .bar,
.site-header.background-solid .hamburger .bar {
  background-color: #fff;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

@media (max-width: 768px) {
  .site-header {
    padding: 0 1rem;
  }

  .hamburger {
    display: flex;
  }

  .site-header .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(var(--green), 0.95);
    backdrop-filter: blur(8px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 999;
  }

  .site-header .nav-links.active {
    transform: translateX(0);
  }

  .site-header .nav-links a {
    color: #fff;
    font-size: 1.5rem;
    padding: 1rem 0;
    width: 100%;
    text-align: center;
  }

  .site-header .nav-links a:hover {
    background-color: rgba(var(--white-rgba), 0.1);
    border-bottom: 2px solid var(--cta-color);
  }
}

body.no-scroll {
  overflow: hidden;
}

.hero-section {
  position: relative;
  margin-top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #fff;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35));
  z-index: 1;
  pointer-events: none;
}

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

@media (max-width: 1024px) {
  .hero-section {
    height: auto;
  }

  .hero-video {
    position: relative;
    width: 100%;
    height: auto;
  }
}

.hero-content {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-content {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    justify-content: center;
    margin: 1rem auto 0;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
  }
}

.contact-btn {
  display: inline-block;
  background-color: #ffa500;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
  opacity: 0;
  animation: fadeInSlow 2s ease-in-out forwards;
  animation-delay: 1s;
}

.contact-btn:hover {
  background-color: #cc8400;
  transform: translateY(-3px);
}

@keyframes fadeInSlow {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  pointer-events: none;
}

.product-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
  padding: 2em 5%;
  min-height: 100vh;
}

.product-grid h2 {
  color: var(--text-dark);
  background: rgba(var(--white-rgba), 0.85);
  padding: 0.5em 1em;
  border-radius: 8px;
  display: inline-block;
  animation: productHeading 3s ease-in-out infinite;
}

@keyframes productHeading {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.products-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  width: 100%;
  justify-content: center;
  align-items: stretch;
  align-content: center;
}

.product-card {
  flex: 1 1 calc(25% - 1.5em);
  min-width: 250px;
  background: #fff;
  border-radius: 10px;
  padding: 2em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;

  transition:
    transform 0.2s ease,
    flex 0.5s ease,
    height 0.5s ease,
    opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  position: relative;
  color: var(--text-dark);
  overflow: hidden;
  box-sizing: border-box;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  transition: background 0.3s ease;
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-card:hover {
  transform: scale(1.03);
}

.product-card.expanded {
  flex: 1.2 1 calc(35% - 1.5em);
  height: auto;
  min-height: 450px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  animation: fadeIn 0.3s ease;
  justify-content: flex-start;
  padding-bottom: 2em;
}

.product-card.expanded::before {
  background: rgba(255, 255, 255, 0.9);
}

.product-grid.expanded .product-card:not(.expanded) p {
  display: none;
}

.product-grid.expanded .product-card:not(.expanded) {
  flex: 0 1 calc(15% - 1.5em);
  opacity: 0.5;
  min-width: 100px;
}

.detail-desc {
  display: none;
}

.product-card.expanded .detail-desc {
  display: block;
  margin-top: 1rem;
  padding: 0 1.5em;
  text-align: left;
}

.product-footer {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: center;
}

.product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #18392b;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition:
    background-color 0.2s,
    transform 0.1s;
  margin-top: 1rem;
}

.product-button .arrow {
  margin-left: 0.5rem;
  font-size: 1.1rem;
}

.product-button:hover {
  background-color: #0f5132;
  transform: translateY(-1px);
}

.product-button:active {
  transform: translateY(1px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.product-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1em;
}

@media (max-width: 1200px) {
  .product-card {
    flex: 1 1 calc(33.333% - 1.5em);
  }
  .product-card.expanded {
    flex: 2 1 calc(66.666% - 1.5em);
  }
  .product-grid.expanded .product-card:not(.expanded) {
    flex: 0 1 calc(16.666% - 1.5em);
    opacity: 0.5;
    min-width: 100px;
  }
}

@media (max-width: 992px) {
  .product-card {
    flex: 1 1 calc(50% - 1.5em);
  }
  .product-card.expanded {
    flex: 1 1 calc(100% - 1.5em);
  }
  .product-grid.expanded .product-card:not(.expanded) {
    flex: 1 1 calc(50% - 1.5em);
    opacity: 0.4;
  }
}

@media (max-width: 768px) {
  .product-grid {
    padding: 2em 3%;
  }
  .product-card {
    flex: 1 1 calc(50% - 1.5em);
  }
  .product-card.expanded {
    flex: 1 1 calc(100% - 1.5em);
  }
  .product-grid.expanded .product-card:not(.expanded) {
    flex: 1 1 calc(50% - 1.5em);
    opacity: 0.4;
  }
}

@media (max-width: 576px) {
  .product-card {
    flex: 1 1 100%;
    min-width: unset;
  }
  .product-card.expanded {
    flex: 1 1 100%;
  }
  .product-grid.expanded .product-card:not(.expanded) {
    flex: 1 1 100%;
    opacity: 0.4;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.info-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2em;
  text-align: center;
  box-sizing: border-box;
  background: var(--body-bg);
  opacity: 0;
  transform: translateX(-80px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.info-section.slide-in {
  opacity: 1;
  transform: translateX(0);
}

.info-section h2 {
  margin-bottom: 1em;
  color: var(--text-dark);
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.info-section.slide-in h2 {
  opacity: 1;
  transform: translateX(0);
}

.info-section p {
  max-width: 800px;
  margin-bottom: 2em;
  color: #555;
}

.info-container {
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.detail-desc {
  display: none;
}

.how-info-box {
  width: 0;
  max-width: 90vw;
  margin: 0 auto 2rem;
  opacity: 0;
  overflow: hidden;
  transition:
    width 1.5s ease,
    opacity 1.5s ease;
}

.how-info-box.slide-in {
  width: 90vw;
  opacity: 1;
}

.how-info-box h2 {
  opacity: 0;
  transition: opacity 0.6s ease 1.5s;
}

.how-info-box.slide-in h2 {
  opacity: 1;
}

.info-icons-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 2rem;
}

.info-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 150px;
}

.info-icon-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 0.75rem;
}

.info-icon-item span {
  font-size: 1rem;
  color: #555;
}

@media (max-width: 768px) {
  .info-icons-container {
    justify-content: center;
  }

  .info-icon-item {
    width: 120px;
  }

  .info-icon-item img {
    width: 80px;
    height: 80px;
  }
}

.how-it-works-section {
  padding: 7em 1em;
  text-align: center;
  background: var(--body-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.how-it-works-section h2 {
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.steps-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.step-item {
  background-color: var(--footer-bg);
  border-radius: 10px;
  padding: 2em 1.5em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex: 1 1 250px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(40px);
  transition:
    transform 0.6s ease-out,
    box-shadow 0.3s ease,
    opacity 0.6s ease-out,
    filter 0.6s ease-out;
}

.step-item.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.step-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.step-item h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.step-item p {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .step-item {
    flex: 1 1 calc(50% - 2rem);
  }
}

@media (max-width: 480px) {
  .step-item {
    flex: 1 1 100%;
  }
}

.partners-section {
  padding: 4em 1em;
  text-align: center;
  background-color: var(--body-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.partners-container {
  max-width: 1200px;
  margin: 0 auto;
}
.partners-list {
  list-style: none;
  padding: 0;
  margin: 2rem auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
}
.partners-list li {
  padding: 0;
}

.partners-list li a {
  display: block;
  background: rgba(255, 255, 255, 0.3);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.partners-list li a:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}
.gallery-carousel {
  width: 50%;
  margin: 0 auto 6rem;
}
.partner-carousel {
  position: relative;
  overflow: hidden;
  margin: 2rem auto 0;
  width: 50%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
}
.partner-track {
  display: flex;
  transition: transform 0.6s ease;
  height: 100%;
}
.partner-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border-radius: 12px;
}

.partner-track img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.gallery-carousel .partner-carousel {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 80vh;
}

@media (max-width: 768px) {
  .partner-carousel {
    width: 90%;
  }
  .gallery-carousel {
    width: 80%;
  }
  .gallery-carousel .partner-carousel {
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 60vh;
  }
}

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 0.95rem;
  line-height: 1.5;
  width: 100%;
  margin: 0;
  padding: 0;

  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  padding: 4rem 2rem 2rem;
  gap: 2rem;
  justify-content: space-between;
}

.site-footer .footer-col {
  background: var(--footer-bg);
}

.footer-col {
  flex: 1 1 200px;
}

.footer-logo {
  max-width: 120px;
  margin-bottom: 1rem;
}

.footer-contact address,
.footer-contact a {
  display: block;
  color: var(--footer-text);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
  color: var(--footer-heading);
  font-size: 1.1rem;
}

.footer-nav ul,
.footer-products ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li + li,
.footer-products li + li {
  margin-top: 0.6rem;
}

.footer-col a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--footer-link-hover);
}

.site-footer a.active-link {
  color: var(--cta-color);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-social h4 {
  margin-bottom: 1rem;
  color: var(--footer-heading);
  font-size: 1.1rem;
}

.footer-social .social-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0;
}

.social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icons a {
  font-size: 1.8rem;
  color: var(--footer-text);
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.social-icons a:hover {
  color: var(--footer-link-hover);
  transform: scale(1.1);
}

.contact-form-section {
  padding: 4rem 1rem;
  background: var(--body-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-family: "Montserrat", sans-serif;
  color: var(--text-dark);
}

.contact-form-lead {
  text-align: center;
  margin-top: 0;
  margin-bottom: 2rem;
  color: #555;
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  background: rgba(var(--green), 0.08);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-dark);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
}

.contact-form button {
  align-self: center;
  background: var(--cta-color);
  color: #ffffff;
  font-weight: 600;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  transition:
    background 0.3s,
    transform 0.2s;
}

.contact-form button:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
}

.footer-bottom {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 1rem 2rem;
  width: 100%;
  margin: 0;
}

.footer-bottom p {
  margin: 0;
}

.carousel-section {
  padding: 6em 1em 4em;
  text-align: center;
}

.product-carousel {
  overflow: hidden;
  position: relative;
  max-width: 95vw;
  width: 100%;
  padding: 0 2vw;
  margin: 0 auto;
}

.products-track {
  display: flex;
  transition: transform 0.6s ease;
}

.product-slide {
  flex: 0 0 25%;
  padding: 1rem;
  box-sizing: border-box;
  position: relative;
  transition:
    transform 0.6s ease,
    filter 0.6s ease,
    opacity 0.6s ease;
}

@media (max-width: 1440px) {
  .product-slide {
    flex: 0 0 33.333%;
  }
}

@media (max-width: 1024px) {
  .product-slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 768px) {
  .product-slide {
    flex: 0 0 100%;
  }
}

.product-slide.active {
  transform: scale(1);
  opacity: 1;
  filter: brightness(1);
  z-index: 3;
}

.product-slide.prev,
.product-slide.next {
  transform: scale(0.9);
  filter: brightness(0.8);
  z-index: 2;
}

.product-slide.far-prev,
.product-slide.far-next {
  transform: scale(0.85);
  opacity: 0.6;
  z-index: 1;
}

.product-slide.enter-right {
  transform: translateX(100%) scale(0.9);
  opacity: 0;
}

.product-slide.enter-left {
  transform: translateX(-100%) scale(0.9);
  opacity: 0;
}

.product-slide .product-card {
  cursor: default;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.6);
  border: none;
  padding: 0.5rem 0.75rem;
  font-size: 1.5rem;
  border-radius: 50%;
  z-index: 4;
}

.carousel-control:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carousel-control:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.carousel-prev {
  left: 0.5rem;
}
.carousel-next {
  right: 0.5rem;
}

/* Show product carousel arrows only on mobile to allow manual scrolling */
.product-carousel .carousel-prev,
.product-carousel .carousel-next {
  display: none;
}

@media (max-width: 768px) {
  .product-carousel .carousel-prev,
  .product-carousel .carousel-next {
    display: block;
  }
}

.product-carousel::before,
.product-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 3;
}

.product-carousel::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.product-carousel::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.blog-page {
  padding: calc(var(--header-height) + 2rem) 2rem 4rem;
}

.blog-title {
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: "Montserrat", sans-serif;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.blog-tags .tag {
  background: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
}

.blog-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-dark);
}

.blog-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.blog-card img.thumbnail {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.blog-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-category {
  display: inline-block;
  font-size: 0.75rem;
  background: var(--info-bg);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.blog-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.author-info {
  font-size: 0.75rem;
  color: #555;
  line-height: 1.2;
}

.author-name {
  font-weight: 600;
}

.author-meta {
  font-size: 0.7rem;
}

.news-page {
  padding: calc(var(--header-height) + 2rem) 1rem 4rem;
}

.news-title {
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: "Montserrat", sans-serif;
}

.faq-intro {
  background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 1rem;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.faq-card {
  display: block;
  background: var(--box-bg);
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  font-family: "Montserrat", sans-serif;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.faq-card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-question {
  max-width: 600px;
  margin: 3rem auto 0;
  background: #f0f4ff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.faq-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-form input,
.faq-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: "Poppins", sans-serif;
}

.faq-form button {
  align-self: center;
  background: var(--cta-color);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-form button:hover {
  background: var(--cta-hover);
}

.news-post-page {
  padding: calc(var(--header-height) + 2rem) 1rem 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.news-post-page h1 {
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
}

.news-post-page p {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

.news-post {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.news-post.layout-right {
  flex-direction: row-reverse;
}

.faq-post {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.faq-post .news-image {
  flex: none;
  width: 100%;
}

.faq-post h1 {
  font-size: 2rem;
}

.faq-more {
  margin-top: 2rem;
  padding: 1.5rem;
  text-align: center;
  background: rgba(var(--green), 0.05);
  border-radius: 8px;
}

.faq-more h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.faq-more a {
  color: var(--cta-color);
  font-weight: 600;
}

.news-image {
  flex: 1;
  border: 2px solid rgba(0, 0, 0, 0.2);
  padding: 0.5rem;
  min-height: 200px;
}

.news-image img {
  width: 100%;
  height: auto;
  display: block;
}

.news-text {
  flex: 1;
}

.blog-post-page {
  padding: calc(var(--header-height) + 2rem) 1rem 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-page h1 {
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
}

.blog-post-page p {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

.blog-post {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.blog-post.layout-right {
  flex-direction: row-reverse;
}

.blog-image {
  flex: 1;
  border: 2px solid rgba(0, 0, 0, 0.2);
  padding: 0.5rem;
  min-height: 200px;
}

.blog-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post-page .blog-image {
  margin: 2rem 0;
}

.blog-text {
  flex: 1;
}

.toc {
  margin: 1rem 0 2rem;
  padding: 1rem 1.5rem;
  background: #f7f7f7;
  border-left: 4px solid var(--footer-link-hover);
}
.toc h2 {
  margin-top: 0;
}
.toc ol {
  margin: 0;
  padding-left: 1rem;
}
.toc a {
  color: inherit;
}
.toc a:hover {
  text-decoration: underline;
}

.about-page {
  padding: calc(var(--header-height) + 2rem) 1rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.content-box {
  background: var(--box-bg);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 3rem;
}

.about-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.about-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.about-section img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 8px;
}

.about-section .about-text {
  font-family: "Poppins", sans-serif;
}

@media (min-width: 768px) {
  .about-section {
    flex-direction: row;
    align-items: center;
  }
  .about-section:nth-child(even) {
    flex-direction: row-reverse;
  }
  .about-section img,
  .about-section .about-text {
    flex: 1;
  }
}

.about-gallery {
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1rem auto 0;
  max-width: 1000px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 8px;
}

.contact-page {
  padding: calc(var(--header-height) + 2rem) 1rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(
    135deg,
    rgba(var(--green), 0.15),
    rgba(var(--green), 0.05)
  );
  padding: 3rem 1rem;
  border-radius: 12px;
}

.contact-info h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.contact-info p {
  margin-top: 0;
  color: #555;
}

.contact-main {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.map-section {
  flex: 1;
  display: flex;
}

.map-section iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
  transition: transform 0.3s ease;
}

.map-section iframe:hover {
  transform: scale(1.02);
}

.contact-details {
  flex: 1;
  padding: 2rem;
  background: rgba(var(--green), 0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  text-align: center;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
}

.contact-details i {
  font-size: 1.5rem;
  color: var(--cta-color);
  background: rgba(var(--green), 0.15);
  padding: 0.5rem;
  border-radius: 50%;
}

.detail-item address {
  margin: 0;
  font-style: normal;
}

.contact-details a {
  color: var(--cta-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--cta-hover);
}

@media (min-width: 768px) {
  .contact-main {
    flex-direction: row;
    align-items: stretch;
  }
  .contact-details {
    text-align: left;
    align-items: flex-start;
  }
  .detail-item {
    justify-content: flex-start;
  }
  .map-section iframe {
    min-height: 400px;
  }
}

.product-page {
  padding: calc(var(--header-height) + 2rem) 1rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.product-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.product-info .product-hero {
  margin: 0;
  flex: 1 1 300px;
  max-width: 450px;
}

.product-info .product-text {
  flex: 1 1 300px;
  max-width: 450px;
}

@media (max-width: 768px) {
  .product-info {
    flex-direction: column;
    text-align: center;
  }

  .product-info .product-hero {
    margin-bottom: 1rem;
    aspect-ratio: 3 / 4;
  }
}

.product-hero {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 0 auto 1.5rem;
  max-width: 450px;
}

.product-hero .gallery-track {
  display: flex;
  transition: transform 0.6s ease;
}

.product-hero img {
  width: 100%;
  flex: 0 0 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-details {
  max-width: 1000px;
  margin: 3rem auto;
  text-align: left;
  line-height: 1.6;
}

.product-details h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.details-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.detail-block {
  background: var(--box-bg);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.detail-block.keywords {
  grid-column: 1 / -1;
}

.detail-block h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.detail-block ul {
  margin-left: 1.2rem;
  list-style: none;
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.check-list li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  color: rgb(var(--green));
}

.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.keyword-tags span {
  background: rgba(var(--green), 0.1);
  color: rgb(var(--green));
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.85rem;
}

.blog-answer,
.analyst-comment {
  background: var(--box-bg);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
  font-family: "Poppins", sans-serif;
}

.analyst-comment {
  border-left: 4px solid var(--cta-color);
}

.analyst-signature {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #666;
  text-align: left;
}
