/* Import Montserrat Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* Brand Colors */
:root {
  --brand-primary: #046554;
  --brand-secondary: #a4dacc;
  --brand-accent: #fda802;
  --brand-black: #000000;
  --brand-dark-gray: #444440;
  --brand-white: #ffffff;
}

/* Global Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--brand-black);
  background-color: #f9fafb;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1440px) {
  .container {
    max-width: 1200px;
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: linear-gradient(
    to bottom,
    rgba(249, 250, 251, 0.9),
    rgba(249, 250, 251, 0.7)
  );
  border-bottom: 1px solid rgba(15, 118, 110, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.brand img {
  height: 40px;
  width: auto;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-white);
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-links > li {
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.1rem;
  color: var(--brand-dark-gray);
  font-weight: 500;
  transition: color 0.2s ease;
  outline: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand-primary);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-primary);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--brand-primary);
  font-weight: 600;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

/* Company: Dropdown-only (non-clickable trigger) */
.nav-dropdown-only {
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  padding: 0;
  padding-bottom: 0.1rem;
  color: var(--brand-dark-gray);
  font-weight: 500;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
  outline: none;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible {
  color: var(--brand-primary);
}

.nav-dropdown-trigger:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-dropdown-trigger .nav-dropdown-caret {
  font-size: 0.6rem;
  transition: transform 0.2s ease;
}

.nav-dropdown-only:hover .nav-dropdown-trigger .nav-dropdown-caret,
.nav-dropdown-only:focus-within .nav-dropdown-trigger .nav-dropdown-caret,
.nav-dropdown-only.open .nav-dropdown-trigger .nav-dropdown-caret {
  transform: rotate(180deg);
}

/* Products: Clickable link + separate dropdown trigger */
.nav-dropdown-with-link {
  display: flex;
  align-items: center;
}

.nav-dropdown-wrapper {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-dropdown-caret-btn {
  background: none;
  border: none;
  padding: 0;
  padding-bottom: 0.1rem;
  color: var(--brand-dark-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
  line-height: 1;
  outline: none;
}

.nav-dropdown-caret-btn:hover,
.nav-dropdown-caret-btn:focus-visible {
  color: var(--brand-primary);
}

.nav-dropdown-caret-btn:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-dropdown-caret-btn .nav-dropdown-caret {
  font-size: 0.6rem;
  transition: transform 0.2s ease;
}

.nav-dropdown-with-link:hover .nav-dropdown-caret-btn .nav-dropdown-caret,
.nav-dropdown-with-link:focus-within .nav-dropdown-caret-btn .nav-dropdown-caret,
.nav-dropdown-with-link.open .nav-dropdown-caret-btn .nav-dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 200px;
  background: var(--brand-white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
  padding: 0.5rem 0;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu li {
  list-style: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: var(--brand-dark-gray);
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  position: relative;
  outline: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background-color: rgba(4, 101, 84, 0.05);
  color: var(--brand-primary);
}

.nav-dropdown-menu a:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: -2px;
  border-radius: 4px;
}

.nav-dropdown-menu a.active {
  background-color: rgba(4, 101, 84, 0.08);
  color: var(--brand-primary);
  font-weight: 600;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--brand-white);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(4, 101, 84, 0.2);
}

.nav-cta:hover {
  background: var(--brand-accent);
  box-shadow: 0 4px 12px rgba(253, 168, 2, 0.3);
}

/* Home Page Banner */
.home-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-banner-background {
  position: absolute;
  inset: 0;
  /* Background image set via inline style in home.blade.php (e.g. assets/banners/home.jpg) */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.home-banner-background.loaded {
  opacity: 1;
}

/* Green Box Section */
.green-box {
  background: var(--brand-primary);
  color: var(--brand-white);
  padding: 3rem 2.5rem;
  border-radius: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.green-box-text {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.95);
}

.green-box-button {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  background: var(--brand-white);
  color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.green-box-button:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Image Grid Section */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0 auto;
}

.image-grid-card {
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(4, 101, 84, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
}

.image-grid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-grid-card .app-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image-placeholder {
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(4, 101, 84, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
  border: 2px dashed rgba(4, 101, 84, 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: "Image Placeholder";
  color: rgba(4, 101, 84, 0.4);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* About Us Page Styles */
.banner-section {
  padding-top: 0 !important;
  padding-bottom: 0;
  margin-top: 0;
}

.banner-container {
  max-width: 100%;
  padding: 0;
}

.about-banner {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-banner-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 101, 84, 0.8) 0%, rgba(5, 150, 105, 0.6) 100%),
              url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23f0f9f4"/><path d="M0 0L100 100M100 0L0 100" stroke="%23d1fae5" stroke-width="1" opacity="0.3"/></svg>');
  background-size: cover, 200px 200px;
  background-position: center center, 0 0;
  background-repeat: no-repeat, repeat;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.about-banner-background.loaded {
  opacity: 1;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

/* Products Page Styles */
.products-description {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.products-description-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--brand-dark-gray);
  margin: 0 0 1.5rem;
}

.products-description-text:last-of-type {
  margin-bottom: 0;
}

.products-category-header {
  text-align: center;
  margin-bottom: 3rem;
}

.products-category-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.products-category-subtitle {
  font-size: 1.1rem;
  color: var(--brand-dark-gray);
  margin: 0;
  line-height: 1.5;
}

.products-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.products-category-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 0.75rem;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.products-category-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  border-color: rgba(4, 101, 84, 0.3);
}

.products-category-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f9fafb;
  position: relative;
}

.products-category-image .app-image-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.image-placeholder-category {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(4, 101, 84, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
  border: 2px dashed rgba(4, 101, 84, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  margin: 0.5rem;
}

.image-placeholder-category::before {
  content: "Image Placeholder";
  color: rgba(4, 101, 84, 0.4);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.products-category-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-align: center;
  margin: 1.25rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-paragraph {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--brand-dark-gray);
  margin: 0 0 1.5rem;
}

.about-paragraph:last-of-type {
  margin-bottom: 0;
}

.about-feature {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-feature-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.3;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.about-feature-subheading {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brand-dark-gray);
  line-height: 1.5;
  margin: 0 0 2rem;
}
.about-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brand-primary);
  line-height: 1.5;
  margin: 0 0 2rem;
}

.about-feature-image {
  margin-top: 0;
}

.image-placeholder-large {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
}

.image-placeholder-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sustainability Page - Certification Grid */
.sustainability-kicker {
  margin-bottom: 1.5rem;
  display: block;
}

/* Sustainability Page - Spacing Adjustments */
.sustainability-page .sustainability-section + .sustainability-section {
  padding-top: 2rem;
}

.sustainability-page .sustainability-section + .sustainability-section .sustainability-kicker {
  margin-top: 0;
}

.sustainability-page .sustainability-paragraph-last {
  margin-bottom: 0;
}

.sustainability-page .sustainability-section + .sustainability-section-grid {
  padding-top: 2rem;
}

.sustainability-page .sustainability-section-grid .certification-slider {
  margin-top: 0;
}

.certification-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.certification-slider-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(4, 101, 84, 0.25);
  background: white;
  color: var(--brand-primary);
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.certification-slider-btn:hover {
  background: var(--brand-primary);
  color: white;
  border-color: var(--brand-primary);
  box-shadow: 0 6px 16px rgba(4, 101, 84, 0.25);
}

.certification-slider-btn:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* Certification slider: same row, user can slide, infinite loop */
.certification-slider {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 0;
  container-type: inline-size;
  container-name: cert-slider;
  /* Hide scrollbar (fixes blinking) while keeping scroll behavior */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.certification-slider::-webkit-scrollbar {
  display: none;
}

.certification-slider-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2rem;
  width: max-content;
  min-width: 100%;
}

@container cert-slider (min-width: 1px) {
  .certification-slider-track .certification-card {
    flex: 0 0 calc((100cqw - 2rem) / 2);
    min-width: calc((100cqw - 2rem) / 2);
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
}

.certification-card {
  border-radius: 1.1rem;
  padding: 2rem 1.5rem;
  background: white;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.certification-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.certification-logo {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.certification-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.certification-logo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(4, 101, 84, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
  border: 2px dashed rgba(4, 101, 84, 0.2);
  border-radius: 0.5rem;
  color: rgba(4, 101, 84, 0.4);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.certification-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.certification-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--brand-dark-gray);
  margin: 0 0 1rem;
}

.certification-description:last-of-type {
  margin-bottom: 1.5rem;
}

.certification-link {
  margin-top: auto;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease, gap 0.2s ease;
}

.certification-link:hover {
  color: var(--brand-accent);
  gap: 0.5rem;
}

/* Page Banner */
.page-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Banner with background image */
.banner {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .banner {
    min-height: 600px;
  }
}

@media (min-width: 1200px) {
  .banner {
    min-height: 700px;
  }
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--brand-white);
  max-width: 800px;
  padding: 2rem;
}

.banner-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 101, 84, 0.7), rgba(4, 101, 84, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--brand-white);
}

.page-banner-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0f172a;
  border-radius: 999px;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

main {
  flex: 1;
  margin-top: 0;
  padding-top: 0;
}

footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--brand-primary);
  color: var(--brand-white);
  padding: 3rem 0 1.5rem;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid-two {
  grid-template-columns: 1fr auto;
}

.footer-links-right {
  text-align: right;
}

.footer-links-right .footer-links {
  text-align: right;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--brand-white);
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-top: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at top left, #bbf7d0, transparent 55%),
    radial-gradient(circle at top right, #a5f3fc, transparent 48%);
  opacity: 0.6;
  z-index: -2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.07);
  color: #166534;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #16a34a;
}

.hero-title {
  margin: 1.25rem 0 0.75rem;
  font-size: clamp(2.25rem, 3vw + 1rem, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-title span.accent {
  background: linear-gradient(to right, #16a34a, #22c55e, #0ea5e9);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 34rem;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.6;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.75rem 0 0;
}

.metric {
  min-width: 120px;
}

.metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6b7280;
}

.metric-value {
  margin-top: 0.4rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: var(--brand-primary);
  color: var(--brand-white);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(4, 101, 84, 0.2);
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  background: var(--brand-accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(253, 168, 2, 0.3);
}

.btn-ghost {
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--brand-primary);
  background: transparent;
  color: var(--brand-primary);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-ghost:hover {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: var(--brand-white);
}

.hero-media {
  position: relative;
}

.hero-media .app-image-container {
  width: 100%;
  height: 100%;
  min-height: 300px;
}

@media (min-width: 768px) {
  .hero-media .app-image-container {
    min-height: 400px;
  }
}

.hero-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: 1.5rem;
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.45);
  overflow: hidden;
}

.hero-card-gradient {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(45, 212, 191, 0.25), transparent),
    radial-gradient(circle at bottom, rgba(74, 222, 128, 0.28), transparent);
  opacity: 0.7;
  z-index: -1;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.hero-chip {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.75rem;
}

.kpi-list {
  display: grid;
  gap: 0.9rem;
  font-size: 0.8rem;
}

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

.kpi-label {
  color: #cbd5f5;
}

.kpi-value {
  color: #4ade80;
  font-weight: 600;
}

.kpi-pill {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  color: #a5b4fc;
  font-size: 0.7rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}


.section-header {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
}


.section-title {
  margin: 0.5rem 0 0.75rem;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.section-description {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  border-radius: 1.1rem;
  padding: 1.35rem 1.25rem;
  background: white;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.card-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #047857;
  font-size: 1.1rem;
}

.card-title {
  margin: 0;
  font-size: 1rem;
}

.card-body {
  margin: 0.25rem 0 0.75rem;
  color: #4b5563;
  font-size: 0.9rem;
}

.card-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: #4b5563;
  font-size: 0.88rem;
}

.card-list li + li {
  margin-top: 0.2rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.4rem;
}

.pill {
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.75rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.35rem;
  color: #374151;
  font-size: 0.9rem;
}

.list-check span.bullet {
  margin-top: 0.15rem;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #059669;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-card {
  border-radius: 1.2rem;
  padding: 1.5rem 1.4rem 1.7rem;
  background: white;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.field label {
  font-size: 0.83rem;
  font-weight: 600;
  color: #374151;
}

.field label span {
  color: #ef4444;
  margin-left: 0.15rem;
}

.field input,
.field textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.field input:focus,
.field textarea:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.5);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.captcha {
  font-size: 0.8rem;
  color: #6b7280;
}

.form-note {
  font-size: 0.8rem;
  color: #6b7280;
}

.alert {
  margin-top: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: 0.7rem;
  font-size: 0.8rem;
}

.alert-success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Admin / CMS */
.admin-hero {
  padding: 3.5rem 0 3rem;
}

.admin-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.75rem;
  padding-bottom: 3rem;
}

.admin-nav {
  border-radius: 1.1rem;
  background: #0f172a;
  color: #e5e7eb;
  padding: 1.2rem 1.1rem 1.35rem;
}

.admin-nav-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 0.9rem;
}

.admin-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-nav-list li + li {
  margin-top: 0.25rem;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.8rem;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.admin-nav-link span.icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.admin-nav-link:hover {
  background: rgba(15, 23, 42, 0.8);
}

.admin-nav-link.active {
  background: linear-gradient(to right, #22c55e, #0ea5e9);
}

.admin-panel {
  border-radius: 1.1rem;
  padding: 1.4rem 1.35rem;
  background: white;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-panel-title {
  font-size: 1rem;
  font-weight: 600;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #4b5563;
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.table th,
.table td {
  padding: 0.55rem 0.5rem;
  text-align: left;
}

.table thead th {
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
}

.badge-live {
  background: #ecfdf5;
  color: #166534;
}

.badge-draft {
  background: #fef3c7;
  color: #92400e;
}

.btn-small {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: white;
  font-size: 0.75rem;
  cursor: pointer;
}

.btn-small:hover {
  background: #f3f4f6;
}

/* Auth */
.auth-wrapper {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, #bbf7d0, transparent 45%),
    radial-gradient(circle at bottom, #a5f3fc, transparent 50%);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 1.7rem 1.6rem 1.8rem;
  border-radius: 1.3rem;
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.8);
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.auth-logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #bbf7d0, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.auth-title {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.auth-subtitle {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.auth-form .field label {
  color: #e5e7eb;
}

.auth-form .field input {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.auth-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

.auth-meta a {
  color: #a5b4fc;
}

.auth-meta a:hover {
  color: #e5e7eb;
}

.auth-footer {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: #6b7280;
}

/* Admin Dashboard */
.admin-wrapper {
  min-height: 100vh;
  background: #f9fafb;
}

.admin-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  padding: 1rem 0;
}

.admin-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.admin-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.admin-nav-links a {
  color: #64748b;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: all 0.15s ease;
}

.admin-nav-links a:hover {
  color: #047857;
  background: rgba(5, 150, 105, 0.05);
}

.admin-nav-links a.active {
  color: #047857;
  background: rgba(5, 150, 105, 0.1);
  font-weight: 500;
}

.admin-main {
  padding: 2rem 0;
}

.admin-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.admin-subtitle {
  font-size: 1rem;
  color: #64748b;
  margin: 0 0 2rem;
}

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

.admin-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.15s ease;
}

.admin-card:hover {
  border-color: rgba(5, 150, 105, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.field-error {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #dc2626;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .two-column,
  .contact-grid,
  .admin-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-media {
    order: -1;
  }

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

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    padding: 0.9rem 1.5rem 1.2rem;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    transform-origin: top;
    transform: scaleY(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0.5rem 0 0.5rem 1rem;
    margin-top: 0.5rem;
    background: rgba(4, 101, 84, 0.05);
    border-left: 2px solid var(--brand-primary);
    display: none;
    max-height: none;
  }

  .nav-dropdown.open .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    transform: none;
  }

  .nav-dropdown-menu a:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: -2px;
    margin: 2px;
  }

  .nav-dropdown-trigger,
  .nav-dropdown-caret-btn {
    width: 100%;
    text-align: left;
    justify-content: space-between;
  }

  .nav-dropdown-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .nav-dropdown-wrapper > a {
    flex: 1;
  }

  .nav-dropdown-caret-btn {
    flex-shrink: 0;
    width: auto;
    padding: 0.25rem;
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-dropdown-trigger {
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  /* Home Page Responsive */
  .home-banner {
    height: 400px;
  }

  .green-box {
    padding: 2rem 1.5rem;
  }

  .green-box-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .image-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  /* About Us Page Responsive */
  .about-banner {
    height: 280px;
  }

  .about-paragraph {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .about-feature-heading {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .about-feature-subheading {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .image-placeholder-large {
    aspect-ratio: 4 / 3;
  }

  /* Products Page Responsive */
  .products-description {
    max-width: 100%;
    padding: 0 1rem;
  }

  .products-description-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .products-category-title {
    font-size: 1.5rem;
  }

  .products-category-subtitle {
    font-size: 1rem;
  }

  .products-category-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .products-category-label {
    font-size: 1rem;
  }

  /* Sustainability Page Responsive - certification slider (mobile only) */
  .certification-slider-track {
    gap: 0;
  }

  @container cert-slider (min-width: 1px) {
    .certification-slider-track .certification-card {
      flex: 0 0 100cqw;
      min-width: 100cqw;
    }
  }

  .certification-slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .certification-slider-wrapper {
    gap: 0.5rem;
  }

  .certification-card {
    padding: 1.5rem 1.25rem;
  }

  .certification-logo {
    height: 100px;
    margin-bottom: 1.25rem;
  }

  .admin-shell {
    padding-bottom: 2.5rem;
  }
}

/* ================================
   Product Category Detail Pages
   ================================ */

/* Product Tabs */
.product-tabs-section {
  padding-top: 0;
  padding-bottom: 0;
}

.product-tabs {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.product-tab {
  flex: 1;
  max-width: 280px;
  padding: 1rem 2rem;
  background-color: #7cb342;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.product-tab:hover {
  background-color: #558b2f;
}

.product-tab.is-active {
  background-color: #33691e;
}

/* Category Box (title left, description right) */
.category-box {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  padding: 2rem 0;
}

.category-title-col {
  flex: 0 0 200px;
}

.category-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  letter-spacing: 1px;
}

.category-desc-col {
  flex: 1;
  border-left: 3px solid var(--primary-color);
  padding-left: 2rem;
}

.category-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.category-desc:first-child {
  margin-top: 0;
}

.category-desc:last-child {
  margin-bottom: 0;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 240px));
  gap: 1.5rem;
  justify-content: center;
}

.product-card {
  position: relative;
  text-align: center;
}

.product-img {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.image-placeholder-product {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border: 2px dashed var(--secondary-color);
  border-radius: 8px;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.product-overlay p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-name {
  margin: 1rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.product-desc-mobile {
  display: none;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Responsive - Product Category Pages */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .product-tab {
    max-width: 100%;
  }

  .category-box {
    flex-direction: column;
    gap: 1.5rem;
  }

  .category-title-col {
    flex: none;
  }

  .category-desc-col {
    border-left: none;
    border-top: 3px solid var(--primary-color);
    padding-left: 0;
    padding-top: 1.5rem;
  }

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

  .product-overlay {
    display: none;
  }

  .product-desc-mobile {
    display: block;
  }
}

/* ================================
   Contact Us Page
   ================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}

/* Left Green Panel */
.contact-panel {
  background-color: #00695c;
  color: #ffffff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.contact-panel-heading {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
}

.contact-panel-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.contact-panel-info {
  margin-top: auto;
}

.contact-panel-company {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.contact-panel-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-panel-row p {
  margin: 0;
  line-height: 1.5;
}

.contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Right Form Column */
.contact-form-wrapper {
  background-color: #f8f9fa;
  padding: 3rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
}

.form-field .required {
  color: #dc2626;
}

.form-field input,
.form-field textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(4, 101, 84, 0.1);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.field-error {
  color: #dc2626;
  font-size: 0.85rem;
}

.contact-submit {
  margin-top: 1rem;
  width: 100%;
}

.alert {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Responsive Contact Page */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 2rem;
  }

  .contact-panel-heading {
    font-size: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 2rem;
  }
}

/* ============================================
   AppImage Component Styles
   ============================================ */

/* Container */
.app-image-container {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: #f3f4f6;
}

/* When using fill mode, ensure container fills parent */
.app-image-container.app-image-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Image */
.app-image {
  display: block;
  max-width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  position: relative;
  z-index: 2;
}

/* When using fill mode, image should be absolutely positioned */
.app-image-container.app-image-fill .app-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.app-image.loaded {
  opacity: 1;
}

.app-image-error {
  opacity: 0;
}

/* Skeleton Shimmer */
.app-image-skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #f3f4f6 0%,
    #e5e7eb 50%,
    #f3f4f6 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  z-index: 3;
}

.app-image-skeleton.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.app-image-error-skeleton {
  background: linear-gradient(
    90deg,
    #fee2e2 0%,
    #fecaca 50%,
    #fee2e2 100%
  );
}

/* Shimmer Animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .app-image-skeleton {
    animation: none;
    background: #f3f4f6;
  }
  
  .app-image {
    transition: opacity 0.2s ease-in-out;
  }
}

/* Error Placeholder */
.app-image-error-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f9fafb;
  color: #9ca3af;
  z-index: 2;
  gap: 0.5rem;
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
}

.app-image-error-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: #d1d5db;
}

.app-image-container:has(.app-image-error) .app-image-error-placeholder {
  display: flex;
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 1) {
  .app-image-container::before {
    content: '';
    display: block;
    padding-bottom: var(--aspect-ratio, 56.25%);
  }
  
  .app-image-container::before + .app-image {
    position: absolute;
    top: 0;
    left: 0;
  }
}


