/* ==========================================================================
   CLM TRADING - CORPORATE IDENTITY DESIGN SYSTEM & STYLESHEET
   CI Colors: PANTONE Yellow 012 C (#FFD700) & PANTONE Cool Grey 10 C (#63666A)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand CI Colors */
  --ci-yellow: #FFD700;
  --ci-yellow-hover: #E5C200;
  --ci-yellow-light: rgba(255, 215, 0, 0.12);
  --ci-yellow-border: rgba(255, 215, 0, 0.35);
  
  --ci-grey: #63666A;
  --ci-grey-light: #8E9297;
  --ci-grey-dark: #3F4245;

  /* Theme Colors - Premium Obsidian & Slate */
  --bg-dark: #121316;
  --bg-dark-card: #1C1E23;
  --bg-dark-card-hover: #24272E;
  --bg-dark-surface: #18191E;
  
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --bg-muted: #EFF1F4;

  /* Text Colors */
  --text-main: #121316;
  --text-muted: #63666A;
  --text-light-main: #F3F4F6;
  --text-light-muted: #A0A4AB;
  --text-white: #FFFFFF;

  /* Borders & Accents */
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-hover: rgba(255, 215, 0, 0.4);
  --border-light: rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.2);
  --shadow-yellow: 0 8px 25px rgba(255, 215, 0, 0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea, select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(18, 19, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light-muted);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--ci-yellow);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-white);
  z-index: 1001;
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--ci-yellow);
  color: #121316;
  box-shadow: var(--shadow-yellow);
}

.btn-primary:hover {
  background-color: var(--ci-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--ci-yellow);
  color: var(--ci-yellow);
  background: rgba(255, 215, 0, 0.05);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--bg-dark-card);
  color: var(--text-white);
  border: 1px solid var(--border-dark);
}

.btn-dark:hover {
  background: var(--bg-dark-card-hover);
  border-color: var(--ci-yellow);
  color: var(--ci-yellow);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) contrast(1.1);
  transform: scale(1.04);
  transition: transform 10s ease-out;
}

.hero:hover .hero-bg img {
  transform: scale(1.0);
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(18, 19, 22, 0.75) 0%, rgba(18, 19, 22, 0.9) 85%, var(--bg-dark) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid var(--ci-yellow-border);
  color: var(--ci-yellow);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title span.highlight {
  color: var(--ci-yellow);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-light-muted);
  font-weight: 400;
  margin-bottom: 2.5rem;
  max-width: 700px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--ci-yellow);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Section Headers & Common
   ========================================================================== */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  color: var(--ci-yellow);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.section-title.dark {
  color: var(--text-main);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light-muted);
  line-height: 1.6;
}

.section-desc.dark {
  color: var(--text-muted);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.25rem;
  color: var(--text-light-muted);
  font-size: 1.02rem;
}

.about-text p.lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-white);
  line-height: 1.5;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.highlight-box {
  background: var(--bg-dark-card);
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border-dark);
  border-left: 3px solid var(--ci-yellow);
}

.highlight-box h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.highlight-box p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin: 0;
}

/* Interactive Image Carousel/Gallery */
.about-visual {
  position: relative;
}

.carousel-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--bg-dark-card);
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

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

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-controls {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.carousel-btn {
  background: rgba(18, 19, 22, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-dark);
  color: var(--text-white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--ci-yellow);
  color: #121316;
  border-color: var(--ci-yellow);
}

.carousel-indicators {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
}

.indicator.active {
  width: 24px;
  background: var(--ci-yellow);
}

.about-badge-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--bg-dark-card);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 11;
}

.about-badge-card .badge-icon {
  width: 44px;
  height: 44px;
  background: var(--ci-yellow-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ci-yellow);
}

.about-badge-card .badge-text h5 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 700;
}

.about-badge-card .badge-text p {
  color: var(--text-light-muted);
  font-size: 0.8rem;
  margin: 0;
}

/* ==========================================================================
   CLM Pillars Section (Commerce, Logistics, Marketplace)
   ========================================================================== */
.pillars-section {
  background: #16171B;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.pillars-tabs-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.pillars-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillar-card-btn {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 1.75rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pillar-card-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--ci-yellow);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.pillar-card-btn:hover {
  background: var(--bg-dark-card-hover);
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateX(4px);
}

.pillar-card-btn.active {
  background: var(--bg-dark-card-hover);
  border-color: var(--ci-yellow);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.pillar-card-btn.active::before {
  opacity: 1;
}

.pillar-btn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.pillar-btn-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ci-yellow-light);
  color: var(--ci-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-badge-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ci-yellow);
  background: rgba(255, 215, 0, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.pillar-btn-desc {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  line-height: 1.5;
}

/* Pillar Visual Display */
.pillar-display {
  position: relative;
  background: var(--bg-dark-card);
  border-radius: 16px;
  border: 1px solid var(--border-dark);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pillar-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.pillar-panel.active {
  display: block;
}

.pillar-image-wrap {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.pillar-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillar-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1.5rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 19, 22, 0.95) 100%);
}

.pillar-content-wrap {
  padding: 1.75rem;
}

.pillar-content-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.pillar-content-wrap p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pillar-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--ci-yellow);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
}

/* ==========================================================================
   What Sets Us Apart Section (Light/Dark Contrast Section)
   ========================================================================== */
.apart-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.apart-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 2.25rem 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.apart-card:hover {
  transform: translateY(-6px);
  border-color: var(--ci-yellow);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.apart-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--ci-yellow-light);
  border: 1px solid var(--ci-yellow-border);
  color: var(--ci-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.apart-icon-box svg {
  width: 26px;
  height: 26px;
}

.apart-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.apart-card p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Big Feature Banner */
.apart-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, #1C1E23 0%, #252830 100%);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.apart-banner-content {
  padding: 3rem;
}

.apart-banner-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.apart-banner-content p {
  color: var(--text-light-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.apart-banner-image {
  height: 100%;
  min-height: 320px;
}

.apart-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Core Products & Exclusive Brands (Interactive Section)
   ========================================================================== */
.products-section {
  background: #16171B;
}

.product-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.prod-tab-btn {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  color: var(--text-light-muted);
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.prod-tab-btn:hover {
  color: var(--text-white);
  border-color: rgba(255, 215, 0, 0.3);
}

.prod-tab-btn.active {
  background: var(--ci-yellow);
  color: #121316;
  border-color: var(--ci-yellow);
  font-weight: 700;
  box-shadow: var(--shadow-yellow);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.product-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #111215;
  cursor: pointer;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-box img {
  transform: scale(1.06);
}

.product-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 19, 22, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.product-img-overlay span {
  background: var(--ci-yellow);
  color: #121316;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  letter-spacing: 0.03em;
  transform: translateY(8px);
  transition: transform var(--transition-fast);
}

.product-img-box:hover .product-img-overlay {
  opacity: 1;
}

.product-img-box:hover .product-img-overlay span {
  transform: translateY(0);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.product-thai-name {
  font-size: 0.85rem !important;
  color: var(--ci-yellow) !important;
  font-weight: 500;
  margin-bottom: 0.5rem !important;
}

.brand-badge {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  background: rgba(255, 215, 0, 0.12);
  color: var(--ci-yellow);
  border: 1px solid var(--ci-yellow-border);
}

.brand-badge.partner {
  background: rgba(235, 87, 87, 0.15);
  color: #FF6B6B;
  border-color: rgba(235, 87, 87, 0.3);
}

.category-tag {
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.product-card p {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-specs {
  border-top: 1px solid var(--border-dark);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.spec-label {
  color: var(--text-light-muted);
}

.spec-val {
  font-weight: 600;
  color: var(--text-white);
}

/* Featured Brand Card: Zab Mike */
.featured-partner-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #24221D 0%, #1A1C20 100%);
  border: 1px solid var(--ci-yellow-border);
  border-radius: 16px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.partner-content h4 {
  color: var(--ci-yellow);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.partner-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.partner-content p {
  color: var(--text-light-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.partner-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.partner-point {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-light-main);
}

.partner-point svg {
  color: var(--ci-yellow);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.partner-visual-box {
  background: var(--bg-dark-card);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border-dark);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.partner-visual-box .logo-text {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: #FF5252;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 15px rgba(255, 82, 82, 0.3);
  margin-bottom: 0.5rem;
}

.partner-visual-box .partner-status {
  background: rgba(255, 215, 0, 0.15);
  color: var(--ci-yellow);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--ci-yellow-border);
}

/* ==========================================================================
   Vision, Mission & Values Section
   ========================================================================== */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.vision-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.vision-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--ci-yellow);
}

.vision-card.mission-card::after {
  background: var(--ci-grey-light);
}

.vision-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vision-card p {
  color: var(--text-light-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.mission-commitments {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.mission-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.mission-item .check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ci-yellow-light);
  color: var(--ci-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.mission-item-content h5 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.mission-item-content p {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  margin: 0;
}

/* Values Grid */
.values-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--ci-yellow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.value-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--ci-yellow-light);
  color: var(--ci-yellow);
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Contact & Partnership Form Section
   ========================================================================== */
.contact-section {
  background: #141518;
  border-top: 1px solid var(--border-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 2.5rem;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--ci-yellow-light);
  color: var(--ci-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-text h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.contact-detail-text p {
  color: var(--text-light-muted);
  font-size: 0.88rem;
  margin: 0;
}

/* Form Styles */
.contact-form-wrapper {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group.full {
  margin-bottom: 1.5rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light-main);
  font-family: var(--font-heading);
}

.form-control {
  background: #141518;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--text-white);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--ci-yellow);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background: #1C1E23;
  color: #FFF;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.form-checkbox input[type="checkbox"] {
  accent-color: var(--ci-yellow);
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0E0F12;
  border-top: 1px solid var(--border-dark);
  padding: 4.5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand p {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.footer-link:hover {
  color: var(--ci-yellow);
  padding-left: 4px;
}

.footer-ci-info {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 1rem;
}

.footer-ci-info h5 {
  font-size: 0.85rem;
  color: var(--ci-yellow);
  font-family: var(--font-heading);
  margin-bottom: 0.4rem;
}

.footer-ci-info p {
  font-size: 0.78rem;
  color: var(--text-light-muted);
  margin: 0;
  line-height: 1.4;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* Modal / Notification */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Product Detail Lightbox Modal */
.product-modal-box {
  background: var(--bg-dark-card);
  border: 1px solid var(--ci-yellow-border);
  border-radius: 18px;
  max-width: 650px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transform: scale(0.92);
  transition: transform var(--transition-fast);
}

.modal-overlay.active .product-modal-box {
  transform: scale(1);
}

.product-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(18, 19, 22, 0.8);
  border: 1px solid var(--border-dark);
  color: var(--text-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.product-modal-close:hover {
  background: var(--ci-yellow);
  color: #121316;
}

.product-modal-img-wrap {
  width: 100%;
  max-height: 380px;
  background: #0f1013;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-modal-img-wrap img {
  max-height: 380px;
  width: 100%;
  object-fit: contain;
}

.product-modal-body {
  padding: 1.75rem 2rem;
  text-align: left;
}

.product-modal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.product-modal-thai {
  font-size: 0.95rem;
  color: var(--ci-yellow);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.product-modal-desc {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-box {
  background: var(--bg-dark-card);
  border: 1px solid var(--ci-yellow-border);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  transform: scale(0.92);
  transition: transform var(--transition-fast);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-icon {
  width: 60px;
  height: 60px;
  background: var(--ci-yellow-light);
  border-radius: 50%;
  color: var(--ci-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.modal-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.modal-box p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid,
  .pillars-tabs-wrapper,
  .apart-banner,
  .vision-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .featured-partner-card {
    grid-template-columns: 1fr;
  }

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

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

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-dark-card);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 1px solid var(--border-dark);
  }

  .nav-menu.open {
    right: 0;
  }

  .apart-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .partner-points {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
