/* ==========================================
   PURE TRANSLUCENT GLASSMORPHISM NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  max-width: 1200px;
  width: calc(100% - 48px);
  padding: 0 12px 0 0;
  height: 56px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;

  /* Translucent Liquid Glass + Double Specular Rim Glow */
  background: rgba(255, 255, 255, 0.219) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border: 0.3px solid rgba(255, 255, 255, 0.336) !important;
  box-shadow: 0 16px 38px 0 rgba(0, 0, 0, 0.08),
    inset 0 0.6px 0.6px 0 rgba(255, 255, 255, 0.404),
    inset 0 -0.8px 0.8px 0 rgba(255, 255, 255, 0.288);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar:hover,
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.38) !important;
  border-color: rgba(255, 255, 255, 0.418) !important;
  box-shadow: 0 23px 48px 0 rgba(0, 0, 0, 0.137),
    inset 0 0.8px 0.8px 0 #ffffff,
    inset 0 -1px 1px 0 rgba(255, 255, 255, 0.4);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 24px 0 20px;
  background: #ffffff;
  border-radius: var(--radius-pill);
  transition: background 0.3s ease;
  box-shadow: 0 16px 38px 0 rgba(0, 0, 0, 0.08),
    inset 0 0.8px 0.8px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 1px 0 rgba(255, 255, 255, 0.35);
}

.nav-brand:hover {
  background: #ffffff;
}

.nav-brand a {
  display: flex;
  align-items: center;
}

.nav-brand img {
  height: 32px;
  object-fit: contain;
  /* Premium drop shadow on white bg */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-brand:hover img {
  transform: scale(1.06);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  background: rgba(4, 73, 4, 0.432);
  padding: 3px 5px;
  border-radius: var(--radius-pill);
  border: 0.5px solid rgba(20, 216, 20, 0.253);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}


.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #ffffffef;
  font-size: 0.86rem;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
  display: inline-block;
  /* text-shadow: 0px 1px 2px rgba(85, 85, 85, 0.795); */
}

.nav-links a:hover {
  color: #0f4624;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.nav-links a.active {
  color: #0d4422;
  background: rgba(255, 255, 255, 0.692);
  font-weight: 800;
  border: 1px solid rgba(74, 222, 128, 0.5);
  box-shadow: 0 4px 16px rgba(74, 222, 128, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-actions .btn {
  padding: 8px 20px;
  font-size: 0.86rem;
  height: 38px;
  border-radius: var(--radius-pill);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease,
    box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.nav-actions .btn:hover {
  transform: scale(1.06);
}

.nav-actions .btn:active {
  transform: scale(0.96);
}

.nav-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.815);
  /* 65% Semi-Transparent */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.555);
  color: #0e5329;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.nav-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.486);
  border: 1.5px solid #ffffff81;
  box-shadow: 0 8px 20px rgba(2, 41, 15, 0.432),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.9);
}

.nav-actions .btn-primary {
  background: rgba(4, 73, 4, 0.767);
  /* 68% Semi-Transparent Lime Green */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.432);
  box-shadow: 0 6px 20px rgba(74, 222, 128, 0.3),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.836);
}

.nav-actions .btn-primary:hover {
  background: rgb(3, 68, 3);
  border: 1.5px solid #02f08d7a;
  box-shadow: 0 8px 24px rgba(6, 92, 37, 0.541),
    inset 0 1.5px 1px #02f08d;
}

/* ==========================================
   HERO SECTION (Direct Full-bleed greenhouse bg)
   ========================================== */
/* ==========================================
   HERO SECTION (Rata Kiri + Left Side Shadow Gradient)
   ========================================== */
/* ==========================================
   HERO SECTION (Shifted Left + Enlarged Layout)
   ========================================== */
.hero-section {
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding: 110px 0 60px;
  /* Top padding to clear fixed floating navbar */
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Deep Dark Gradient Shadow on Left Edge fading across to Right */
  background: linear-gradient(40deg,
      rgba(4, 16, 9, 0.97) 0%,
      rgba(6, 22, 13, 0.72) 38%,
      rgba(8, 28, 16, 0.68) 65%,
      rgba(10, 30, 20, 0.12) 100%),
    url('../images/backgrounds/greenhouse.png') center/cover no-repeat;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.hero-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px min(2vw, 10px) 40px min(2vw, 10px);
  /* Shifted closer to left screen edge */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  text-align: left;
}

.hero-content {
  flex: 1.4;
  max-width: 720px;
  text-align: left;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* Clean Text-only Hero Badge with White Separator Line */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 14px 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  color: #e4e4e4dc;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: none;
  position: relative;
}

.hero-badge::after {
  content: '';
  position: absolute;
  bottom: 0;
  top: 50px;
  left: 0;
  width: 620px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.418) 0%, rgba(255, 255, 255, 0.404) 100%, transparent 100%);
}

.hero-badge i {
  width: 18px;
  height: 18px;
  color: #4ADE80;
}

.hero-title {
  font-size: clamp(3.8rem, 4.2vw, 4.2rem);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.8px;
  text-align: left;
}

.hero-title-single {
  white-space: nowrap;
  display: inline-block;
}

.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #71e671;
  /* text-shadow: 0 0 30px rgba(74, 222, 128, 0.6); */
}

.hero-desc {
  font-size: 0.98rem;
  color: rgba(241, 245, 249, 0.92);
  margin-bottom: 40px;
  max-width: 640px;
  line-height: 1.75;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  text-align: left;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
}

/* Primary Glass Pill Button (Grayscale High-Translucency Glass) */
.hero-cta .btn-primary {
  background: #08940813 !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid #056b01b2 !important;
  color: rgba(144, 250, 144, 0.603) !important;
  font-weight: 700 !important;
  padding: 14px 34px;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), inset 0 1.5px 1px rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta .btn-primary:hover {
  transform: scale(1.05);
  background: #2770245b !important;
  border-color: #86f182af !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25), inset 0 1.5px 1px #ffffff;
}

/* Secondary Outlined Glass Button (Grayscale Translucent Glass) */
.hero-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.13) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.212) !important;
  color: #ffffffa8 !important;
  font-weight: 600 !important;
  padding: 14px 30px;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta .btn-secondary:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.hero-image-container {
  flex: 1.1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px; /* Enlarged max-width */
  animation: float 6s ease-in-out infinite;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  max-width: 460px; /* Enlarged hero product image */
  border-radius: 0;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-img:hover {
  transform: translateY(-8px) scale(1.03);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Hero Stats Row (Grayscale Translucent Glass Badges) */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
  padding-top: 0;
  border-top: none;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: rgba(18, 63, 6, 0.151);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 0.1px solid rgba(100, 102, 101, 0.76);
  color: #ffffff85;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-stat-badge:hover {
  transform: translateY(-2px) scale(1.03);
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(74, 222, 128, 0.7);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}

.hero-stat-badge i {
  color: #ffffff !important;
  width: 18px;
  height: 18px;
}

/* ==========================================
   SECTION COMMON (Agrovia clean whitespace)
   ========================================== */
.section-wrapper {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 24px;
  scroll-margin-top: 100px;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
  line-height: 1.15;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ==========================================
   PROBLEMS & SOLUTIONS GRID
   ========================================== */
.problems-solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 20px;
}

.ps-card {
  display: flex;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  
  /* Translucent Liquid Glass + Double Specular Rim Glow */
  background: rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 16px 38px 0 rgba(0, 0, 0, 0.06),
    inset 0 0.8px 0.8px 0 rgba(255, 255, 255, 0.7),
    inset 0 -0.8px 0.8px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ps-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px 0 rgba(0, 0, 0, 0.1),
    inset 0 0.8px 0.8px 0 rgba(255, 255, 255, 0.85);
}

.ps-content {
  padding: 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ps-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.ps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ps-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-body);
}

.ps-list li strong {
  color: var(--text-primary);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

/* Generative AI SVGs */
.ai-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Badges TANTANGAN / SOLUSI */
.ps-badge {
  width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  flex-shrink: 0;
  position: relative;
  transition: background 0.4s ease;
}

/* SOLUSI Badge (Solutions - Left Side in Middle) */
.solutions-box .ps-badge {
  background: rgba(74, 222, 128, 0.22);
  border-right: 1px solid rgba(74, 222, 128, 0.35);
}

.solutions-box:hover .ps-badge {
  background: rgba(74, 222, 128, 0.32);
}

/* TANTANGAN Badge (Problems - Right Side in Middle) */
.problems-box .ps-badge {
  background: rgba(239, 68, 68, 0.16);
  border-left: 1px solid rgba(239, 68, 68, 0.25);
}

.problems-box:hover .ps-badge {
  background: rgba(239, 68, 68, 0.26);
}

.ps-badge-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  writing-mode: vertical-lr;
  text-orientation: mixed;
  opacity: 0.85;
}

.problems-box .ps-badge-text {
  color: #991B1B;
}

.solutions-box .ps-badge-text {
  color: #065F46;
}

.ps-badge-icon-wrap {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-badge-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover Micro-animations for Icons */
.solutions-box:hover .ps-badge-icon {
  transform: translateY(-4px) scale(1.15);
}

.problems-box:hover .ps-badge-icon {
  transform: translateY(4px) scale(1.15);
}

/* ==========================================
   PRODUCT SHOWCASE & SENSOR GRID (Enlarged High-Impact Grid)
   ========================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 52px;
  align-items: center;
}

.device-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.device-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-weight: 500;
}

.device-features li i {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Fixed 2-2 Grid (Large 2 Columns) */
.sensors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.sensor-card {
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 14px 36px 0 rgba(0, 0, 0, 0.05),
    inset 0 0.8px 0.8px 0 rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.45s ease;
}

.sensor-card:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(255, 255, 255, 0.58) !important;
  box-shadow: 0 32px 68px 0 rgba(0, 0, 0, 0.15),
    inset 0 1px 1px 0 #ffffff;
  z-index: 20;
}

.sensor-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.sensor-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(74, 222, 128, 0.15);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, background 0.4s ease;
}

.sensor-card:hover .sensor-icon {
  background: rgba(74, 222, 128, 0.3);
  transform: scale(1.12);
}

.sensor-chip-tag {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--accent-dark);
  background: rgba(74, 222, 128, 0.15);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(74, 222, 128, 0.3);
  transition: all 0.3s ease;
}

.sensor-card:hover .sensor-chip-tag {
  background: var(--accent-dark);
  color: #ffffff;
}

.sensor-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

/* Hardware Image Reveal Box (placed ABOVE description text) */
.sensor-img-box {
  width: 100%;
  height: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sensor-card:hover .sensor-img-box {
  max-height: 185px;
  height: 185px;
  opacity: 1;
  margin: 14px 0 18px 0;
}

.sensor-glow {
  position: absolute;
  width: 55px;
  height: 35px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.4) 0%, transparent 30%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.sensor-card:hover .sensor-glow {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.sensor-img {
  max-height: 200px;
  width: auto;
  max-width: 92%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transform: scale(0.8) translateY(10px);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.14));
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              filter 0.5s ease;
}

.sensor-card:hover .sensor-img {
  transform: scale(1.1) translateY(0);
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.22));
}

.sensor-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================
   WEBSITE SHOWCASE CAROUSEL (Agrovia horizontal cards)
   ========================================== */
.carousel-wrapper {
  position: relative;
  margin-top: 40px;
}

.glass-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--bg-section-alt);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.carousel-badge i {
  width: 14px;
  height: 14px;
}

.carousel-slide-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-primary);
  line-height: 1.2;
}

.carousel-slide-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
}

.carousel-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.carousel-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
}

.carousel-feature-list i {
  color: var(--accent-color);
  width: 18px;
  height: 18px;
}

/* Slide Visual/Preview Side */
.carousel-slide-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  padding: 20px;
}

.mockup-window {
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.mockup-header {
  background: #F8FAF5;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.mockup-dot.red {
  background: #EF4444;
}

.mockup-dot.yellow {
  background: #F59E0B;
}

.mockup-dot.green {
  background: #4ADE80;
}

.mockup-address {
  margin-left: 10px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  padding: 3px 12px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  flex: 1;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.mockup-body {
  padding: 20px;
  background: var(--bg-section-alt);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.preview-widget-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.preview-mini-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.preview-card-title {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.preview-card-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 4px;
}

.preview-card-status {
  display: inline-block;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-top: 6px;
  font-weight: 600;
}

.status-normal {
  background: rgba(74, 222, 128, 0.15);
  color: #166534;
}

.status-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #92400E;
}

.status-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #991B1B;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px 26px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.carousel-dot.active {
  width: 28px;
  border-radius: var(--radius-pill);
  background: var(--accent-color);
  box-shadow: 0 4px 10px rgba(74, 222, 128, 0.35);
}

.carousel-arrow-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.carousel-btn:hover {
  background: var(--accent-color);
  color: var(--text-primary);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(74, 222, 128, 0.3);
}

.carousel-btn i {
  width: 20px;
  height: 20px;
}

/* ==========================================
   PRICING SECTION
   ========================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.price-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  position: relative;
  text-align: left;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.price-card.featured {
  background: #abf7afa9;
  border: 2px solid var(--accent-color);
  box-shadow: 0 8px 30px rgba(74, 222, 128, 0.12);
}

.featured-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(74, 222, 128, 0.3);
}

.price-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.price-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
}

.price-period {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
}

.price-features li i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.price-features li.unavailable {
  color: var(--text-secondary);
  opacity: 0.55;
}

/* ==========================================
   FOOTER (Agrovia inset rounded card)
   ========================================== */
.footer {
  max-width: 1200px;
  margin: 120px auto 40px;
  padding: 0 24px;
}

.footer-container {
  background: var(--bg-section-alt);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 48px 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr 1.3fr;
  gap: 32px;
}

.gmaps-iframe-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  height: 175px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gmaps-iframe-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.gmaps-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-info img {
  height: 56px;
  margin-bottom: 16px;
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-dark);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 20px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================
   AMBIENT BACKGROUND BLOBS
   ========================================== */
.bg-ambient-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
}

.blob-1 {
  top: 5%;
  left: 8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.3) 0%, transparent 70%);
  animation: blobFloat 16s ease-in-out infinite alternate;
}

.blob-2 {
  top: 45%;
  right: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.15) 0%, transparent 70%);
  animation: blobFloat 20s ease-in-out infinite alternate-reverse;
}

.blob-3 {
  bottom: 8%;
  left: 18%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(22, 101, 52, 0.1) 0%, transparent 70%);
  animation: blobFloat 18s ease-in-out infinite alternate;
}

@keyframes blobFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(25px, -35px) scale(1.08);
  }

  100% {
    transform: translate(-15px, 15px) scale(0.95);
  }
}

/* ==========================================
   NAVBAR: CENTER CONTAINER (.nav-center)
   Holds desktop links (shown) + mobile hamburger (hidden)
   ========================================== */
.nav-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* anchor for mobile dropdown */
}

/* ==========================================
   MOBILE HAMBURGER BUTTON (.mobile-toggle)
   Hidden on desktop, shown on tablet/mobile
   Always centered via .nav-center
   ========================================== */
.mobile-toggle {
  display: none; /* Hidden by default on desktop */
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.08);
}

.mobile-toggle.active {
  background: #ffffff;
  color: #0e5329;
  border-color: #ffffff;
}

.mobile-toggle i {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================
   MOBILE DROPDOWN PANEL (.mobile-dropdown)
   Slides down below the navbar when .open is added
   ========================================== */
.mobile-dropdown {
  /* Hidden state */
  position: fixed;
  top: 72px; /* just below navbar (56px height + 16px top) */
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  width: calc(100% - 32px);
  max-width: 460px;
  background: rgba(10, 60, 30, 0.96);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.2);
  padding: 12px 16px 16px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s;
  pointer-events: none;
}

/* Open state — triggered by .open class via JS */
.mobile-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Mobile dropdown nav link list */
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.mobile-nav-links a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: #ffffff;
  color: #0e5329;
  border-color: transparent;
  transform: scale(1.02);
}

/* ==========================================
   RESPONSIVE DESIGN: 3 BREAKPOINTS
   - Desktop:  >= 1024px  (default CSS)
   - Tablet:   768px - 1023px
   - Mobile:   < 768px
   ========================================== */

/* ── DESKTOP (>= 1024px) ─────────────────── */
/* Default styles already handle desktop:
   - .nav-links shown as horizontal pill row
   - .mobile-toggle hidden (display: none)
   - .mobile-dropdown hidden
   - Full 5-column team grid, 4-column footer, etc.
*/

/* ── TABLET (768px – 1023px) ─────────────── */
@media (min-width: 768px) and (max-width: 1023px) {

  /* Navbar: show hamburger in center, hide desktop links */
  .navbar {
    overflow: visible !important;
    width: calc(100% - 32px);
    top: 12px;
    height: 52px;
    padding: 0 10px 0 0;
  }

  .nav-links {
    display: none; /* Hidden: mobile dropdown used instead */
  }

  .mobile-toggle {
    display: inline-flex; /* Show centered hamburger */
  }

  .nav-brand img { height: 28px; }

  .nav-user-btn .user-name-text {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Content layout adjustments */
  .hero-section {
    padding: 95px 28px 48px;
    min-height: auto;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .hero-content { max-width: 100%; text-align: center; }
  .hero-badge { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-stats-row { justify-content: center; }

  .section-wrapper {
    margin: 80px auto;
    padding: 0 24px;
  }

  .section-title { font-size: 2rem; }

  .showcase-grid { grid-template-columns: 1fr; gap: 32px; }

  .sensors-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 40px 28px;
  }

  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .carousel-slide { grid-template-columns: 1fr; padding: 28px 20px; gap: 20px; }
}

/* ── MOBILE (< 768px) ────────────────────── */
@media (max-width: 767px) {

  /* Navbar */
  .navbar {
    overflow: visible !important;
    width: calc(100% - 20px);
    top: 10px;
    height: 50px;
    padding: 0 8px 0 0;
  }

  .nav-links {
    display: none; /* Hidden: mobile dropdown used instead */
  }

  .mobile-toggle {
    display: inline-flex; /* Show centered hamburger */
    width: 38px;
    height: 38px;
  }

  /* Mobile dropdown positioned closer to navbar */
  .mobile-dropdown {
    top: 68px;
    width: calc(100% - 20px);
  }

  .nav-brand { padding: 0 12px 0 10px; }
  .nav-brand img { height: 26px; }

  /* Hide dashboard btn on small screens — keep login/user btn only */
  .nav-dashboard-btn { display: none !important; }

  .nav-user-btn {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .user-name-text { display: none; } /* Show only icon on very small screens */

  /* Hero Section: Switch to bg-mobile.png */
  .hero-section {
    background:
      linear-gradient(180deg,
        rgba(4, 16, 9, 0.90) 0%,
        rgba(6, 22, 13, 0.80) 45%,
        rgba(8, 28, 16, 0.92) 100%),
      url('../images/backgrounds/bg-mobile.png') center top / cover no-repeat !important;
    padding: 88px 16px 40px;
    min-height: auto;
  }

  .hero-container {
    flex-direction: column;
    gap: 24px;
    padding: 8px 4px;
    text-align: center;
  }

  .hero-content { text-align: center; max-width: 100%; }
  .hero-badge { justify-content: center; }

  .hero-title { font-size: 2rem; line-height: 1.2; }
  .hero-subtitle { font-size: 0.9rem; }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-row {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
  }

  .section-wrapper { margin: 56px auto; padding: 0 14px; }
  .section-title { font-size: 1.75rem; }
  .section-header { margin-bottom: 36px; }

  /* Tantangan & Solusi */
  .problems-solutions-grid { grid-template-columns: 1fr; gap: 18px; }
  .ps-card { flex-direction: column; }
  .ps-badge {
    width: 100%; height: 48px;
    flex-direction: row; padding: 0 18px;
    border: none !important;
  }
  .solutions-box .ps-badge {
    border-bottom: 1px solid rgba(74, 222, 128, 0.3) !important;
  }
  .problems-box .ps-badge {
    border-top: 1px solid rgba(239, 68, 68, 0.2) !important;
    flex-direction: row-reverse;
  }
  .ps-badge-text {
    writing-mode: horizontal-tb;
    font-size: 0.9rem;
    letter-spacing: 1.2px;
  }
  .ps-content { padding: 20px 16px; }
  .ps-list li { gap: 10px; margin-bottom: 20px; }

  /* Showcase */
  .showcase-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Sensors */
  .sensors-grid { grid-template-columns: 1fr !important; gap: 14px; }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr !important;
    max-width: 380px;
    margin: 0 auto;
  }

  /* Team */
  .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 24px;
    padding: 32px 16px;
  }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Carousel */
  .carousel-slide { grid-template-columns: 1fr; padding: 20px 14px; gap: 16px; }
  .carousel-slide-title { font-size: 1.3rem; }

  /* Marquee */
  .marquee-track { gap: 40px; }
}

/* ==========================================
   INFINITE LOGO MARQUEE LOOP (Seamless 100%)
   ========================================== */
.marquee-section {
  width: 100%;
  padding: 30px 0 28px;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.marquee-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
  opacity: 0.75;
}

.marquee-container {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  flex-shrink: 0;
  animation: marqueeEndToEnd 30s linear infinite;
  will-change: transform;
}

.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 52px;
  padding: 0 16px;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.marquee-item:hover {
  opacity: 1;
  transform: scale(1.08);
}

.marquee-item img {
  height: 100%;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

@keyframes marqueeEndToEnd {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ==========================================
   TEAM / TENTANG KAMI SECTION (Agrovia Alternating Cards)
   ========================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  background: #ffffff;
  border: 2px solid #0e5329;
}

.team-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 24px 48px rgba(14, 83, 41, 0.22);
  z-index: 5;
}

.team-photo-wrapper {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, #edf2f7 0%, #e2e8f0 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-photo {
  transform: scale(1.08);
}

.team-info-badge {
  padding: 20px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  min-height: 110px;
}

/* Dark Green Card Style (Odd Cards: 1, 3, 5) */
.team-card.card-dark {
  background: #0e5329;
  border-color: #0e5329;
}

.team-card.card-dark .team-info-badge {
  background: #0e5329;
  color: #ffffff;
}

.team-card.card-dark .team-name {
  color: #ffffff;
}

.team-card.card-dark .team-role {
  color: rgba(255, 255, 255, 0.88);
}

/* Light Glass Card Style (Even Cards: 2, 4) */
.team-card.card-light {
  background: #ffffff;
  border: 2px solid #0e5329;
}

.team-card.card-light .team-info-badge {
  background: #ffffff;
  color: #0e5329;
}

.team-card.card-light .team-name {
  color: #0e5329;
}

.team-card.card-light .team-role {
  color: var(--text-secondary);
}

.team-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.3px;
  line-height: 1.35;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.team-role {
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 500;
}

/* Responsive Team Grid */
@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 520px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}