/* ==========================================================================
   FRESHCO EXPORT ENTERPRISES - ABOUT US PAGE STYLESHEET
   Dedicated Scoped Styles for about.html (100% Isolated from index.html)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. HEADER BRANDING & CTA (ABOUT PAGE SCOPED - HOMEPAGE PARITY: TRANSPARENT -> SOLID WHITE)
   -------------------------------------------------------------------------- */
.about-page-body #main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 64px;
  z-index: 99999;
  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;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Header state when at the top (100% transparent over top map hero canvas) */
.about-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;
}

.about-page-body #main-header:not(.scrolled) .brand-logo-img {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
}

.about-page-body #main-header:not(.scrolled) .nav-link {
  color: #FFFFFF !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

.about-page-body #main-header:not(.scrolled) .nav-arrow {
  stroke: #FFFFFF !important;
}

.about-page-body #main-header:not(.scrolled) .nav-link:hover,
.about-page-body #main-header:not(.scrolled) .nav-item:hover > .nav-link {
  color: #D4B982 !important;
}

.about-page-body #main-header:not(.scrolled) .nav-link.active {
  color: #D4B982 !important;
}

.about-page-body #main-header:not(.scrolled) .nav-cta-btn {
  background: transparent !important;
  border: 1px solid rgba(197, 160, 89, 0.75) !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

.about-page-body #main-header:not(.scrolled) .nav-cta-btn:hover {
  background: rgba(197, 160, 89, 0.15) !important;
  border-color: #E2B96B !important;
  color: #E2B96B !important;
}

/* Header state when scrolled down: Solid White Bar matching Homepage */
.about-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;
}

.about-page-body #main-header.scrolled .brand-logo-img {
  filter: none !important;
}

.about-page-body #main-header.scrolled .nav-link {
  color: #222222 !important;
  text-shadow: none !important;
}

.about-page-body #main-header.scrolled .nav-arrow {
  stroke: #222222 !important;
}

.about-page-body #main-header.scrolled .nav-link:hover,
.about-page-body #main-header.scrolled .nav-item:hover > .nav-link {
  color: var(--primary-green, #1B4D3E) !important;
}

.about-page-body #main-header.scrolled .nav-link.active {
  color: var(--primary-green, #1B4D3E) !important;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   1. HERO SPLIT SECTION ("Who We Are" & "Our Mission & Vision")
   Calibrated compact proportions to fit completely above-the-fold
   -------------------------------------------------------------------------- */
.about-hero-section {
  position: relative;
  background-color: #0B1E13;
  background-image: linear-gradient(135deg, rgba(8, 22, 14, 0.72) 0%, rgba(10, 26, 16, 0.52) 50%, rgba(8, 22, 14, 0.68) 100%), url('assets/about/top_map.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 96px 0 2.5rem;
  color: #FFFFFF;
  overflow: hidden;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.8rem;
  align-items: center;
}

/* Left Column: Who We Are */
.about-hero-left {
  display: flex;
  flex-direction: column;
}

.about-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  color: #C5A059;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.4rem;
}

.about-hero-title {
  font-family: var(--font-sans);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

.about-hero-desc {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  max-width: 540px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

/* Official Credentials Row */
.about-credentials-row {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding-top: 0.25rem;
}

.about-badge-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.about-badge-img {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.about-badge-label {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.2px;
}

/* Right Column: Mission & Vision */
.about-hero-right {
  display: flex;
  flex-direction: column;
}

.about-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.3rem;
}

.about-frosted-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 160, 89, 0.55);
  border-radius: 16px;
  padding: 1.15rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-frosted-card:hover {
  transform: translateY(-2px);
  border-color: rgba(226, 185, 107, 0.85);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 14px 34px rgba(0, 0, 0, 0.35);
}

.about-card-icon-box {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, #D4A853 0%, #B88933 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.about-card-icon-box svg {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
}

.about-card-body {
  flex: 1;
}

.about-card-heading {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.3rem;
}

.about-card-text {
  font-family: var(--font-sans);
  font-size: 0.90rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* --------------------------------------------------------------------------
   2. CORE COMPETENCIES ("Our Export Speciality")
   Calibrated compact 4-card grid fitting 100% on laptop viewports
   -------------------------------------------------------------------------- */
.about-speciality-section {
  background-color: #FFFFFF;
  padding: 2.8rem 0 3.2rem;
}

.about-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.8rem;
}

.about-section-title {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 800;
  color: #0F1611;
  letter-spacing: -0.5px;
  margin: 0.25rem 0 0.5rem;
}

.about-section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.55;
  margin: 0 auto;
}

.about-speciality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.speciality-card {
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid #EBECEF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.speciality-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.speciality-media-wrap {
  position: relative;
  width: 100%;
  height: 142px;
  overflow: hidden;
  background-color: #F1F3F5;
}

.speciality-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.speciality-card:hover .speciality-img {
  transform: scale(1.05);
}

.speciality-badge-num {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #FFFFFF;
  color: #C5A059;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.speciality-card-content {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.speciality-title {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 700;
  color: #0F1611;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.speciality-desc {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.45;
  color: #555555;
  margin: 0;
}

/* --------------------------------------------------------------------------
   3. DATA TABLE SECTION ("Global Markets & Destination Ports")
   Smart & Short: Exact 1:1 Parity with Reference Image 2
   -------------------------------------------------------------------------- */
.about-ports-section {
  background-color: #FFFFFF;
  border-top: 1px solid #EBECEF;
  padding: 3.5rem 0 3.8rem;
}

.about-table-container {
  max-width: 980px;
  margin: 0 auto;
  background: #FFFFFF;
  border: none;
  box-shadow: none;
  overflow-x: auto;
}

.ports-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ports-data-table thead {
  border-bottom: 1px solid #D1D5DB;
  background: transparent;
}

.ports-data-table th {
  padding: 0.65rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.2px;
}

.ports-data-table tbody tr {
  border-bottom: 1px solid #E5E7EB;
  transition: background-color 0.15s ease;
}

.ports-data-table tbody tr:last-child {
  border-bottom: none;
}

.ports-data-table tbody tr:hover {
  background-color: #F9FAFB;
}

.ports-data-table td {
  padding: 0.65rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: #1F2937;
  vertical-align: middle;
}

/* Country Hub Cell with Flag */
.country-hub-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.country-flag-icon {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  display: block;
  flex-shrink: 0;
}

/* Mode Cell */
.mode-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #374151;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}

.mode-cell svg {
  color: #926E2C;
  flex-shrink: 0;
}

/* Transit Time Pills - Strictly Horizontal Side-by-Side */
.transit-pills-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.transit-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.65rem;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  background: #1B5E3C;
  color: #FFFFFF;
  border: none;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   5. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .about-hero-desc {
    max-width: 100%;
  }

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

  .about-table-container {
    overflow-x: auto;
  }

  .ports-data-table {
    min-width: 680px;
  }
}

@media (max-width: 640px) {
  .about-hero-title {
    font-size: 2rem;
  }

  .about-credentials-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .about-speciality-grid {
    grid-template-columns: 1fr;
  }

  .about-section-title {
    font-size: 1.85rem;
  }
}
