/* ==========================================================================
   FRESHCO COLD CHAIN INFRASTRUCTURE - EXECUTIVE COMMERCIAL STYLESHEET
   Standard: International Unbroken Temperature Controlled Logistics
   Brand: FreshCo Export Enterprises (M/S FRESH CO)
   Engineered by: Origin Systems
   ========================================================================== */

:root {
  --color-primary-dark: #0B1E13;
  --color-primary-green: #1B4D3E;
  --color-sage-green: #839a5d;
  --color-accent-gold: #C8A962;
  --color-accent-gold-dark: #8C6D28;
  --color-gold-hover: #D4AF37;
  --color-bg-light: #F8FAF8;
  --color-card-border: #E5E7EB;
  --color-text-main: #111827;
  --color-text-muted: #4B5563;
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-card: 16px;
  --radius-pill: 9999px;
  --shadow-card: 0 4px 20px rgba(11, 30, 19, 0.05);
  --shadow-card-hover: 0 12px 28px rgba(11, 30, 19, 0.10);
}

/* Page Reset & Base */
.coldchain-page-body {
  margin: 0;
  padding: 0;
  background-color: #FFFFFF;
  color: var(--color-text-main);
  font-family: var(--font-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Reusable Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* ==========================================================================
   1. FIXED / STICKY HEADER (100% HOMEPAGE PARITY: TRANSPARENT -> SOLID WHITE)
   ========================================================================== */
.coldchain-page-body #main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 64px;
  z-index: 99999;
  box-shadow: none !important;
  border-bottom: 1px solid transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.coldchain-page-body #main-header:not(.scrolled) {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-bottom: 1px solid transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.coldchain-page-body #main-header:not(.scrolled) .brand-logo-img {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
}

.coldchain-page-body #main-header:not(.scrolled) .nav-link {
  color: #FFFFFF !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

.coldchain-page-body #main-header:not(.scrolled) .nav-arrow {
  stroke: #FFFFFF !important;
}

.coldchain-page-body #main-header:not(.scrolled) .nav-link:hover,
.coldchain-page-body #main-header:not(.scrolled) .nav-item:hover > .nav-link {
  color: #D4B982 !important;
}

.coldchain-page-body #main-header:not(.scrolled) .nav-link.active {
  color: #D4B982 !important;
}

/* Header state when scrolled down: Solid White Bar matching Homepage */
.coldchain-page-body #main-header.scrolled {
  height: 64px !important;
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid var(--border-light, #E5E7EB) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.coldchain-page-body #main-header.scrolled .brand-logo-img {
  filter: none !important;
}

.coldchain-page-body #main-header.scrolled .nav-link {
  color: #222222 !important;
  text-shadow: none !important;
}

.coldchain-page-body #main-header.scrolled .nav-arrow {
  stroke: #222222 !important;
}

.coldchain-page-body #main-header.scrolled .nav-link:hover,
.coldchain-page-body #main-header.scrolled .nav-item:hover > .nav-link {
  color: var(--primary-green, #1B4D3E) !important;
}

.coldchain-page-body #main-header.scrolled .nav-link.active {
  color: var(--primary-green, #1B4D3E) !important;
  font-weight: 700;
}

/* Dropdown Menu Item Active Marker */
.dropdown-link.active {
  background-color: var(--primary-green-dark, #5a6e40);
  color: #FFFFFF !important;
  font-weight: 700;
}

/* ==========================================================================
   2. HERO SECTION: END-TO-END COLD CHAIN INTEGRITY WITH GOLD MEDALLION
   ========================================================================== */
.coldchain-hero-section {
  position: relative;
  background-color: #0B1E13;
  background-image: 
    linear-gradient(135deg, rgba(8, 22, 14, 0.90) 0%, rgba(10, 26, 16, 0.72) 50%, rgba(8, 22, 14, 0.88) 100%),
    url('assets/cold_chain_hero_banner.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 120px 0 4.2rem;
  color: #FFFFFF;
  overflow: hidden;
  border-bottom: 1px solid rgba(200, 169, 98, 0.2);
}

.coldchain-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

/* Hero Left Text Column */
.coldchain-hero-text {
  flex: 1.3;
  max-width: 540px;
}

.coldchain-hero-title {
  font-size: 2.65rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #FFFFFF;
}

.coldchain-hero-title .title-accent {
  color: var(--color-accent-gold);
  display: block;
}

.coldchain-hero-subtitle {
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* Hero Center: Gold Rosette Medallion Badge */
.coldchain-hero-medallion {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gold-medallion-badge {
  position: relative;
  width: 184px;
  height: 184px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.50));
  transition: transform 0.3s ease;
}

.gold-medallion-badge:hover {
  transform: scale(1.04);
}

.gold-medallion-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.medallion-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.medallion-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 12px;
}

.medallion-temp-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 2px;
}

.medallion-thermometer-svg {
  width: 18px;
  height: 28px;
  color: #B5934C;
}

.medallion-temp-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
  letter-spacing: -0.02em;
}

.medallion-temp-val small {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4B5563;
  margin-top: 1px;
}

.medallion-ribbon-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #1A3422;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* Hero Right: Action Buttons Column */
.coldchain-hero-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 230px;
}

.btn-hero-green-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-sage-green);
  color: #FFFFFF;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.btn-hero-green-pill:hover {
  background-color: #6F8846;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.btn-hero-outline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #FFFFFF;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.45);
  text-align: center;
}

.btn-hero-outline-pill:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* ==========================================================================
   3. UNBROKEN COLD CHAIN JOURNEY (4 CONNECTED CARDS)
   ========================================================================== */
.coldchain-journey-section {
  padding: 4.0rem 0 3.75rem;
  background-color: #FFFFFF;
}

.journey-section-title {
  text-align: center;
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
  margin: 0 0 3.2rem;
}

/* 4 Cards Grid with Connecting Arrows */
.journey-cards-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}

.journey-card-item {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 22px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.journey-card-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(27, 77, 62, 0.25);
}

/* Card Header: Icon + Step/Title */
.journey-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.journey-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #EEF4F0;
  border: 1px solid rgba(27, 77, 62, 0.12);
  color: var(--color-primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.journey-step-info {
  display: flex;
  flex-direction: column;
}

.journey-step-num {
  font-size: 0.90rem;
  font-weight: 800;
  color: var(--color-accent-gold);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.journey-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 4px 0 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.journey-card-desc {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Connecting Arrow Between Cards */
.journey-step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent-gold);
  width: 20px;
}

/* ==========================================================================
   4. MASTER SITE FOOTER OVERRIDES (SEAMLESS INTEGRATION)
   ========================================================================== */
.coldchain-page-body .master-site-footer {
  border-top: none !important;
}

/* ==========================================================================
   5. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .coldchain-hero-row {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .coldchain-hero-text {
    max-width: 100%;
  }
  .journey-cards-row {
    flex-wrap: wrap;
    gap: 18px;
  }
  .journey-step-connector {
    display: none;
  }
  .journey-card-item {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 640px) {
  .coldchain-hero-title {
    font-size: 2.1rem;
  }
  .journey-card-item {
    flex: 0 0 100%;
  }
}

