/*
Theme Name: Tadamun Group
Theme URI: https://tadamun.sa
Author: Tadamun Group
Author URI: https://tadamun.sa
Description: Custom WordPress theme for Tadamun Group - Empowering Healthcare, Logistics & Technology in KSA
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tadamun
Tags: one-page, custom-logo, healthcare, corporate
*/

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0A4D3C;
  --primary-light: #0E6B54;
  --primary-dark: #073529;
  --accent: #C8A951;
  --accent-light: #E8D18A;
  --bg: #FAFAF7;
  --bg-warm: #F5F2EB;
  --text: #1A1A1A;
  --text-light: #5A5A5A;
  --text-muted: #8A8A7A;
  --white: #FFFFFF;
  --border: #E5E2D9;
  --card-shadow: 0 2px 24px rgba(10,77,60,0.06);
  --card-hover: 0 8px 40px rgba(10,77,60,0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* WordPress Core Overrides */
.custom-logo-link { display: flex; align-items: center; }
.wp-post-image, .custom-logo-link img { height: 44px !important; width: auto !important; max-width: 160px !important; }
img { max-width: 100%; height: auto; }
.site-nav img { height: 44px !important; width: auto !important; max-height: 44px !important; }

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* ===== UTILITY ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.8;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.anim-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }
.anim-delay-5 { animation-delay: 0.5s; }

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250,250,247,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229,226,217,0.5);
  transition: all 0.3s ease;
}
.site-nav.scrolled {
  background: rgba(250,250,247,0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  overflow: hidden;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img,
.nav-logo img,
.custom-logo-link img,
.custom-logo {
  height: 44px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
  display: block;
}
.site-nav .nav-logo img {
  height: 44px !important;
  width: auto !important;
  max-width: 160px !important;
}
.footer-logo-img,
.site-footer .nav-logo img {
  height: 50px !important;
  width: auto !important;
  max-width: 180px !important;
  filter: brightness(0) invert(1);
}
.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
}
.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-dark);
}
.nav-logo-text span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: all 0.3s !important;
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(10,77,60,0.3);
}
.nav-cta::after { display: none !important; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
}
.mobile-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-dark);
  transition: all 0.3s;
}
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 11px; }
.mobile-toggle span:nth-child(3) { top: 22px; }
.mobile-toggle.open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* Mobile Nav */
.nav-links.show {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  gap: 1rem;
  border-top: 1px solid var(--border);
}

/* ===== HERO ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-warm) 50%, #EDE9DF 100%);
  padding-top: 72px;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(10,77,60,0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 6s ease-in-out infinite;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,169,81,0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite 2s;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content { padding: 3rem 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,77,60,0.08);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease forwards;
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
.hero-section h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s ease 0.15s forwards;
  opacity: 0;
}
.hero-section h1 .accent {
  background: linear-gradient(135deg, var(--accent), #D4B84E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-section .hero-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.7s ease 0.3s forwards;
  opacity: 0;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.45s forwards;
  opacity: 0;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,77,60,0.3);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(10,77,60,0.04);
  color: var(--primary);
}
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-accent:hover {
  background: var(--accent-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,81,0.3);
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.3s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* Hero Cards */
.hero-visual {
  position: relative;
  animation: scaleIn 0.8s ease 0.3s forwards;
  opacity: 0;
}
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}
.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover);
}
.hero-card:nth-child(2) { transform: translateY(20px); }
.hero-card:nth-child(2):hover { transform: translateY(16px); }
.hero-card:nth-child(3) { transform: translateY(-10px); }
.hero-card:nth-child(3):hover { transform: translateY(-14px); }
.hero-card:nth-child(4) { transform: translateY(10px); }
.hero-card:nth-child(4):hover { transform: translateY(6px); }
.hero-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.hero-card-icon.consulting { background: rgba(10,77,60,0.1); }
.hero-card-icon.logistics { background: rgba(59,130,246,0.1); }
.hero-card-icon.medical { background: rgba(239,68,68,0.1); }
.hero-card-icon.solutions { background: rgba(168,85,247,0.1); }
.hero-card h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
}
.hero-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== STATS BAR ===== */
.stats-section {
  padding: 3rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-item h3 span { color: var(--accent); }
.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== ABOUT ===== */
.about-section {
  padding: 7rem 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-main {
  width: 100%;
  height: 450px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.about-img-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
}
.about-img-content .big-text {
  font-family: 'Outfit', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  opacity: 0.3;
  line-height: 1;
}
.about-img-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: -1.5rem;
}
.about-img-content p { font-size: 0.9rem; opacity: 0.8; margin-top: 0.5rem; }
.about-floating-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--card-hover);
  border: 1px solid var(--border);
  animation: float 5s ease-in-out infinite;
}
.about-floating-card .number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
}
.about-floating-card .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.about-text .about-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.9;
}
.about-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.about-feature { display: flex; gap: 1rem; align-items: flex-start; }
.about-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: rgba(10,77,60,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.about-feature h5 { font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.about-feature p { font-size: 0.85rem; color: var(--text-muted); }

/* ===== COMPANIES ===== */
.companies-section {
  padding: 7rem 0;
  background: var(--white);
  position: relative;
}
.companies-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.companies-header { text-align: center; margin-bottom: 4rem; }
.companies-header .section-label { justify-content: center; }
.companies-header .section-label::before { display: none; }
.companies-header .section-desc { margin: 0 auto; }
.companies-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: transparent;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s;
}
.tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.tab-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.company-panel { display: none; animation: fadeUp 0.5s ease; }
.company-panel.active { display: block; }
.company-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.company-info-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border);
  position: sticky;
  top: 100px;
}
.company-icon-large {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
.company-info-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
}
.company-info-card > p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.company-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.company-tag {
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}
.company-services { display: flex; flex-direction: column; gap: 1rem; }
.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--card-shadow);
  transform: translateX(4px);
}
.service-card h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-card h4 .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 18px;
}

/* ===== CEO ===== */
.ceo-section {
  padding: 7rem 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}
.ceo-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,169,81,0.1), transparent 70%);
  border-radius: 50%;
}
.ceo-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.ceo-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 3px solid rgba(200,169,81,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.6);
  position: relative;
}
.ceo-avatar::after {
  content: '\201C';
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: 'Outfit', sans-serif;
  font-size: 6rem;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
}
.ceo-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.ceo-content blockquote {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
  margin-bottom: 2rem;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}
.ceo-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
}
.ceo-title {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ===== HISTORY TIMELINE ===== */
.history-section {
  padding: 7rem 0;
  background: var(--bg-warm);
}
.history-header { text-align: center; margin-bottom: 4rem; }
.history-header .section-label { justify-content: center; }
.history-header .section-label::before { display: none; }
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--primary));
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-item:nth-child(odd) .timeline-content { text-align: right; padding-right: 3rem; padding-left: 0; }
.timeline-item:nth-child(even) .timeline-content { padding-left: 3rem; }
.timeline-content { width: 50%; }
.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  border: 4px solid var(--bg-warm);
  z-index: 2;
}
.timeline-year {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.timeline-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

/* ===== VALUES ===== */
.values-section { padding: 7rem 0; }
.values-header { text-align: center; margin-bottom: 4rem; }
.values-header .section-label { justify-content: center; }
.values-header .section-label::before { display: none; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.value-card:hover::before { transform: scaleX(1); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--card-hover); }
.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(10,77,60,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.2rem;
}
.value-card h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}
.value-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ===== MISSION ===== */
.mission-section { padding: 5rem 0; background: var(--white); }
.mission-box {
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg) 100%);
  border-radius: 24px;
  padding: 4rem;
  border: 1px solid var(--border);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.mission-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(10,77,60,0.04), transparent);
  border-radius: 50%;
}
.mission-box h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  position: relative;
}
.mission-box p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.9;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== CTA ===== */
.cta-section { padding: 5rem 0; }
.cta-box {
  background: var(--primary-dark);
  border-radius: 24px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,169,81,0.15), transparent);
  border-radius: 50%;
}
.cta-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.cta-content p { color: rgba(255,255,255,0.7); font-size: 1rem; position: relative; }
.cta-actions { display: flex; gap: 1rem; position: relative; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--primary-dark);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand .nav-logo-text { color: var(--white); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; opacity: 0.7; }
.footer-col h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  opacity: 0.6;
}
.footer-bottom-links { display: flex; gap: 2rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-section .hero-desc { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 500px; margin: 0 auto; }
  .company-detail { grid-template-columns: 1fr; }
  .company-info-card { position: static; }
  .ceo-grid { grid-template-columns: 1fr; text-align: center; }
  .ceo-avatar { margin: 0 auto; }
  .ceo-content blockquote { border-left: none; border-top: 3px solid var(--accent); padding-left: 0; padding-top: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero-section { min-height: auto; padding: 120px 0 60px; }
  .hero-cards { gap: 0.8rem; }
  .hero-card:nth-child(2), .hero-card:nth-child(3), .hero-card:nth-child(4) { transform: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(odd) { flex-direction: row; }
  .timeline-content { width: calc(100% - 50px); }
  .timeline-item:nth-child(odd) .timeline-content { text-align: left; padding-right: 0; padding-left: 3rem; }
  .timeline-dot { left: 20px; }
  .cta-box { grid-template-columns: 1fr; text-align: center; }
  .cta-actions { justify-content: center; flex-wrap: wrap; }
  .companies-tabs { gap: 0.4rem; }
  .tab-btn { padding: 8px 16px; font-size: 0.78rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 480px) {
  .hero-section h1 { font-size: 2rem; }
  .hero-cards { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .mission-box { padding: 2.5rem 1.5rem; }
  .cta-box { padding: 2.5rem 1.5rem; }
}
