/* ============================================
   JLP Transport - Premium Modern Website
   Branding Colors:
   - Pierce Green/Lime: #C0CC30
   - Maroon/Brown: #9D361A
   - Dark Navy: #111827
   ============================================ */

/* === FONTS === */
@font-face { font-family:'Inter'; src:url('../fonts/inter-light.woff2') format('woff2'); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/inter-regular.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/inter-semibold.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/inter-bold.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Outfit'; src:url('../fonts/outfit-extrabold.woff2') format('woff2'); font-weight:800; font-style:normal; font-display:swap; }

/* === CSS VARIABLES (LIGHT THEME) === */
:root {
  --color-primary: #C0CC30;
  --color-primary-dark: #a8b328;
  --color-primary-light: #d4de5a;
  --color-primary-glow: rgba(192, 204, 48, 0.25);
  --color-maroon: #9D361A;
  --color-maroon-light: #b8462a;
  --color-maroon-glow: rgba(157, 54, 26, 0.2);
  --color-navy: #111827;
  --color-navy-light: #1f2937;

  --bg-primary: #FFFFFF;
  --bg-secondary: #F4F5F0;
  --bg-tertiary: #EAEBE3;
  --bg-nav: rgba(255,255,255,0.92);
  --bg-footer: #111827;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F9FAFB;
  --bg-glass: rgba(255,255,255,0.7);
  --bg-glass-border: rgba(192, 204, 48, 0.2);

  --text-primary: #1a1a1a;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --text-on-dark: #FFFFFF;
  --text-on-primary: #111827;
  --text-accent: #C0CC30;
  --text-footer: #D1D5DB;

  --border-color: #E5E7EB;
  --border-light: #F3F4F6;
  --gradient-brand: linear-gradient(135deg, #9D361A 0%, #C0CC30 100%);
  --gradient-brand-h: linear-gradient(90deg, #9D361A 0%, #C0CC30 100%);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 25px 60px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 30px rgba(192,204,48,0.15);
  --shadow-glow-maroon: 0 0 30px rgba(157,54,26,0.15);

  --nav-shadow: 0 4px 30px rgba(0,0,0,0.08);
  --nav-blur: blur(20px);
  --overlay: linear-gradient(135deg, rgba(17,24,39,0.75) 0%, rgba(17,24,39,0.4) 100%);
  --logo-display: block;
  --logo-dark-display: none;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === DARK THEME === */
[data-theme="dark"] {
  --bg-primary: #0b0f14;
  --bg-secondary: #111820;
  --bg-tertiary: #171f2a;
  --bg-nav: rgba(11,15,20,0.92);
  --bg-footer: #060a0e;
  --bg-card: #141c26;
  --bg-card-hover: #1a2433;
  --bg-glass: rgba(20,28,38,0.7);
  --bg-glass-border: rgba(192, 204, 48, 0.15);

  --text-primary: #E8ECF1;
  --text-secondary: #A0AABB;
  --text-muted: #6B7A8D;
  --text-on-dark: #FFFFFF;
  --text-on-primary: #111827;
  --text-accent: #C0CC30;
  --text-footer: #8B949E;

  --border-color: #1e2a38;
  --border-light: #162030;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --shadow-xl: 0 25px 60px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(192,204,48,0.12);
  --shadow-glow-maroon: 0 0 40px rgba(157,54,26,0.12);

  --nav-shadow: 0 4px 30px rgba(0,0,0,0.4);
  --overlay: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.45) 100%);
  --logo-display: none;
  --logo-dark-display: block;
}

/* === RESET & BASE === */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height:1.6;
  transition: background-color var(--transition), color var(--transition);
  overflow-x:hidden;
}
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; transition: color var(--transition); }

/* === BRANDING STRIPE (top of nav) === */
.brand-stripe {
  height: 4px;
  background: var(--gradient-brand-h);
  width: 100%;
  position: relative;
  z-index: 1002;
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--bg-nav);
  backdrop-filter: var(--nav-blur);
  -webkit-backdrop-filter: var(--nav-blur);
  transition: background-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--nav-shadow);
}
.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo { display:flex; align-items:center; flex-shrink:0; }
.nav-logo img { height:52px; width:auto; transition: transform var(--transition); }
.nav-logo:hover img { transform: scale(1.05); }
.nav-logo .logo-light { display: var(--logo-display); }
.nav-logo .logo-dark { display: var(--logo-dark-display); }

.nav-links { display:flex; align-items:center; gap:0.15rem; list-style:none; }
.nav-links a {
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
}
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-brand-h);
  transition: all var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
  width: 60%;
}
.nav-links a:hover { color: var(--color-primary-dark); }

/* Dropdown */
.nav-dropdown { position:relative; }
.nav-dropdown .dropdown-toggle { display:flex; align-items:center; gap:0.35rem; cursor:pointer; }
.nav-dropdown .dropdown-toggle svg { width:12px; height:12px; transition:transform var(--transition); fill:currentColor; }
.nav-dropdown:hover .dropdown-toggle svg { transform:rotate(180deg); }
.dropdown-menu {
  position:absolute; top:calc(100% + 8px); left:0; min-width:240px;
  background-color: var(--bg-card);
  border:1px solid var(--border-color);
  border-radius:12px;
  box-shadow: var(--shadow-lg);
  padding:0.5rem;
  opacity:0; visibility:hidden; transform:translateY(12px);
  transition:all var(--transition);
  z-index:100;
}
.nav-dropdown:hover .dropdown-menu { opacity:1; visibility:visible; transform:translateY(0); }
.dropdown-menu a {
  display:block; padding:0.65rem 1rem; font-size:0.85rem; font-weight:500;
  text-transform:none; letter-spacing:0; color:var(--text-secondary);
  border-radius:8px;
}
.dropdown-menu a:hover { background-color:var(--bg-secondary); color:var(--color-primary-dark); }

/* Theme Toggle */
.theme-toggle {
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: 50%;
  width: 42px; height: 42px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition: all var(--transition);
  color: var(--text-primary);
  margin-left: 0.75rem;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}
.theme-toggle:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  color: var(--color-primary);
  transform: rotate(15deg);
}
.theme-toggle svg { width:20px; height:20px; }
.theme-toggle .icon-sun { display:none; }
.theme-toggle .icon-moon { display:block; }
[data-theme="dark"] .theme-toggle .icon-sun { display:block; }
[data-theme="dark"] .theme-toggle .icon-moon { display:none; }

/* Mobile Menu */
.mobile-toggle { display:none; background:none; border:none; cursor:pointer; padding:0.5rem; color:var(--text-primary); }
.mobile-toggle svg { width:24px; height:24px; }

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  max-height: 960px;
  overflow: hidden;
  margin-top: 80px;
}
.hero-slider { position:relative; width:100%; height:100%; }
.hero-slide {
  position:absolute; top:0; left:0; width:100%; height:100%;
  opacity:0; transition: opacity 1.2s ease, transform 8s ease;
  transform: scale(1);
}
.hero-slide.active { opacity:1; transform: scale(1.05); }
.hero-slide img { width:100%; height:100%; object-fit:cover; }
.hero-overlay {
  position:absolute; top:0; left:0; width:100%; height:100%;
  background: var(--overlay);
  z-index:1;
}
.hero-content {
  position:absolute; top:0; left:0; width:100%; height:100%;
  display:flex; flex-direction:column; justify-content:center;
  padding:0 2rem; z-index:2;
}
.hero-inner { max-width:1320px; margin:0 auto; width:100%; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge .badge-dot {
  width: 8px; height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
/* Hero stacked keywords */
.hero-keywords {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.75rem;
  max-width: 900px;
}
.hero-keyword-line {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.hero-keyword-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
  min-width: 24px;
  font-variant-numeric: tabular-nums;
}
.hero-keyword {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  transition: all 0.4s ease;
}
/* Word 1: Outline/stroke only */
.hero-keyword.outline {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.6);
  color: transparent;
}
/* Word 2: Solid white */
.hero-keyword.solid {
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
}
/* Word 3: Brand color */
.hero-keyword.brand {
  color: var(--color-primary);
  -webkit-text-fill-color: var(--color-primary);
}

/* Keyword slide-in animation */
.hero-keyword-line {
  opacity: 0;
  transform: translateX(-40px);
  animation: keywordSlideIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.hero-keyword-line:nth-child(1) { animation-delay: 0.2s; }
.hero-keyword-line:nth-child(2) { animation-delay: 0.45s; }
.hero-keyword-line:nth-child(3) { animation-delay: 0.7s; }
@keyframes keywordSlideIn {
  to { opacity: 1; transform: translateX(0); }
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 750px;
}
.hero h1 span { color: var(--color-primary); }
.hero-text-reveal {
  overflow: hidden;
}
.hero-text-reveal > span {
  display: inline-block;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(100%);
}
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.9s;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-buttons {
  display:flex; gap:1rem; flex-wrap:wrap;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 1.05s;
}

/* Hero stats bar */
.hero-stats-bar {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 1.2s;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-stat-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(192,204,48,0.15);
  color: var(--color-primary);
  flex-shrink: 0;
}
.hero-stat-icon svg { width: 18px; height: 18px; }
.hero-stat-text {
  display: flex;
  flex-direction: column;
}
.hero-stat-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}

/* Slider Dots */
.slider-dots {
  position:absolute; bottom:2.5rem; left:50%; transform:translateX(-50%);
  display:flex; gap:0.75rem; z-index:3;
}
.slider-dot {
  width: 40px; height: 4px;
  border-radius: 4px;
  background-color: rgba(255,255,255,0.3);
  cursor:pointer;
  transition: all var(--transition);
  border: none;
}
.slider-dot.active {
  background-color: var(--color-primary);
  width: 60px;
  box-shadow: 0 0 12px rgba(192,204,48,0.4);
}

/* Cinematic Light Sweep on hero */
.hero-light-sweep {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-light-sweep::before {
  content: '';
  position: absolute;
  top: -50%; left: -100%;
  width: 60%; height: 200%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(192,204,48,0.07) 44%,
    rgba(192,204,48,0.14) 50%,
    rgba(192,204,48,0.07) 56%,
    transparent 60%,
    transparent 100%
  );
  animation: lightSweep 5s ease-in-out infinite;
}
.hero-light-sweep::after {
  content: '';
  position: absolute;
  top: -50%; left: -100%;
  width: 40%; height: 200%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(157,54,26,0.05) 44%,
    rgba(157,54,26,0.1) 50%,
    rgba(157,54,26,0.05) 56%,
    transparent 60%,
    transparent 100%
  );
  animation: lightSweep 5s ease-in-out infinite;
  animation-delay: 2.5s;
}
@keyframes lightSweep {
  0% { transform: translateX(0); }
  100% { transform: translateX(350%); }
}

/* === BUTTONS === */
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding: 0.85rem 2.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor:pointer;
  transition: all var(--transition);
  white-space:nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
  transform: translate(-50%, -50%);
}
.btn:hover::before {
  width: 300px; height: 300px;
}
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-navy);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(192, 204, 48, 0.35);
}
.btn-outline {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.1);
}
.btn-maroon {
  background-color: var(--color-maroon);
  color: #FFFFFF;
  border-color: var(--color-maroon);
}
.btn-maroon:hover {
  background-color: var(--color-maroon-light);
  border-color: var(--color-maroon-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(157, 54, 26, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}
.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-3px);
}

/* === SECTIONS === */
.section { padding: 7rem 2rem; position: relative; }
.section-alt { background-color: var(--bg-secondary); }
.container { max-width: 1320px; margin: 0 auto; }

.section-header { text-align:center; margin-bottom:4.5rem; }
.section-header .label {
  display:inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-maroon);
  margin-bottom: 0.75rem;
  padding: 0.35rem 1rem;
  background: var(--color-maroon-glow);
  border-radius: 50px;
  border: 1px solid rgba(157,54,26,0.15);
}
[data-theme="dark"] .section-header .label {
  color: var(--color-primary);
  background: var(--color-primary-glow);
  border-color: rgba(192,204,48,0.15);
}
.section-header h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.section-header h2 .accent { color: var(--color-primary); }
.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Decorative line divider */
.section-divider {
  width: 80px;
  height: 3px;
  background: var(--gradient-brand-h);
  margin: 0 auto 2rem;
  border-radius: 3px;
}

/* === ABOUT SECTION === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform var(--transition-slow);
}
.about-image:hover img { transform: scale(1.03); }
/* Gradient border bottom */
.about-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 5px;
  background: var(--gradient-brand-h);
}
/* Floating accent box */
.about-image::before {
  content: '';
  position: absolute;
  top: -15px; right: -15px;
  width: 100px; height: 100px;
  border: 3px solid var(--color-primary);
  border-radius: 16px;
  opacity: 0.3;
  z-index: -1;
}
.about-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.about-content h2 span { color: var(--color-primary); }
.about-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* Stats with glass effect */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--color-primary);
}
.stat-number {
  font-size: 2.75rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* === VALUES SECTION === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.value-card {
  background-color: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
}
.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.value-card:hover::before { opacity: 1; }
.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.value-card-image { height: 200px; overflow:hidden; position: relative; }
.value-card-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 50%;
  background: linear-gradient(transparent, var(--bg-card));
  pointer-events: none;
}
.value-card-image img {
  width:100%; height:100%; object-fit:cover;
  transition: transform 0.6s ease;
}
.value-card:hover .value-card-image img { transform: scale(1.1); }
.value-card-content { padding: 1.5rem; position: relative; }
.value-card-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.value-card-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === CAPABILITIES SECTION === */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.capability-card {
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
/* Gradient top border on hover */
.capability-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: var(--gradient-brand-h);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.capability-card:hover::before { transform: scaleX(1); }
/* Glow effect */
.capability-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.capability-card:hover::after { opacity: 1; }
.capability-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.capability-icon {
  width: 72px; height: 72px;
  margin: 0 auto 1.5rem;
  background: var(--bg-secondary);
  border-radius: 20px;
  display:flex; align-items:center; justify-content:center;
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}
.capability-card:hover .capability-icon {
  background: var(--gradient-brand);
  box-shadow: var(--shadow-glow);
  transform: scale(1.1) rotate(5deg);
}
.capability-icon svg {
  width: 32px; height: 32px;
  color: var(--color-primary);
  transition: color var(--transition);
  position: relative;
  z-index: 1;
}
.capability-card:hover .capability-icon svg { color: #FFFFFF; }
.capability-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.capability-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* === HISTORY BANNER === */
.history-banner {
  position: relative;
  padding: 8rem 2rem;
  background-image: url('../images/history_hero.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.history-banner .hero-overlay {
  background: var(--overlay);
}
/* Animated diagonal lines */
.history-banner::before {
  content: '';
  position: absolute;
  top: 0; left: -50%;
  width: 200%; height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 80px,
    rgba(192,204,48,0.03) 80px,
    rgba(192,204,48,0.03) 81px
  );
  z-index: 1;
  pointer-events: none;
}
.history-banner-content {
  position: relative; z-index: 2;
  max-width: 1320px; margin: 0 auto; text-align: center;
}
.history-banner h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}
.history-banner h2 span { color: var(--color-primary); }
.history-banner p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

/* === TIMELINE === */
.timeline {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 3px;
  background: var(--gradient-brand);
  transform: translateX(-50%);
  border-radius: 3px;
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 18px;
  background: var(--gradient-brand);
  border: 3px solid var(--bg-primary);
  border-radius: 50%;
  z-index: 1;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition);
}
.timeline-item:hover .timeline-dot { transform: translateX(-50%) scale(1.3); }
.timeline-content {
  width: 44%;
  padding: 1.75rem;
  background-color: var(--bg-card);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}
.timeline-content:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.timeline-item:nth-child(odd) .timeline-content { margin-right:auto; margin-left:6%; }
.timeline-item:nth-child(even) .timeline-content { margin-left:auto; margin-right:6%; }
.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.timeline-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.timeline-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === CLIENTS SECTION === */
.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.client-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 1rem 2rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-card);
  transition: all var(--transition);
  white-space: nowrap;
}
.client-logo:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  color: var(--color-primary);
  transform: translateY(-4px);
}

/* === CTA SECTION === */
.cta-section {
  position: relative;
  padding: 6rem 2rem;
  text-align: center;
  overflow: hidden;
  background: var(--color-navy);
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(157,54,26,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(192,204,48,0.15) 0%, transparent 50%);
  pointer-events: none;
}
/* Top and bottom brand stripes */
.cta-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: var(--gradient-brand-h);
}
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1rem;
}
.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.cta-buttons { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* === CONTACT SECTION === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}
.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding: 1rem;
  border-radius: 12px;
  transition: all var(--transition);
}
.contact-item:hover {
  background: var(--bg-secondary);
}
.contact-item-icon {
  width: 48px; height: 48px;
  background: var(--bg-secondary);
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.contact-item:hover .contact-item-icon {
  background: var(--gradient-brand);
}
.contact-item-icon svg {
  width: 22px; height: 22px;
  color: var(--color-primary);
  transition: color var(--transition);
}
.contact-item:hover .contact-item-icon svg { color: #FFFFFF; }
.contact-item-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.contact-item-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.contact-item-text a { color: var(--color-primary); font-weight: 600; }
.contact-item-text a:hover { color: var(--color-primary-dark); }

/* Contact Form - Glass effect */
.contact-form {
  background: var(--bg-glass);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--bg-glass-border);
  backdrop-filter: blur(20px);
}
.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  transition: all var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-glow);
}
.form-group textarea { resize:vertical; min-height:130px; }

/* === FOOTER === */
.footer {
  background-color: var(--bg-footer);
  color: var(--text-footer);
  padding: 5rem 2rem 2rem;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: var(--gradient-brand-h);
}
.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 50px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 1rem; }
.footer-brand .abn { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
  position: relative;
}
.footer-col a:hover { color: var(--color-primary); padding-left: 4px; }
.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  background: var(--gradient-brand);
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  opacity:0; visibility:hidden;
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}
.scroll-top.visible { opacity:1; visibility:visible; }
.scroll-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(192, 204, 48, 0.4);
}
.scroll-top svg { width:22px; height:22px; }

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible { opacity:1; transform:translateY(0); }
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-left.visible { opacity:1; transform:translateX(0); }
.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-right.visible { opacity:1; transform:translateX(0); }

/* Staggered animation delays for grids */
.values-grid .value-card:nth-child(1) { transition-delay: 0s; }
.values-grid .value-card:nth-child(2) { transition-delay: 0.1s; }
.values-grid .value-card:nth-child(3) { transition-delay: 0.2s; }
.values-grid .value-card:nth-child(4) { transition-delay: 0.3s; }
.capabilities-grid .capability-card:nth-child(1) { transition-delay: 0s; }
.capabilities-grid .capability-card:nth-child(2) { transition-delay: 0.15s; }
.capabilities-grid .capability-card:nth-child(3) { transition-delay: 0.3s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background-color: var(--bg-nav);
    backdrop-filter: var(--nav-blur);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid;
    border-image: var(--gradient-brand-h) 1;
    gap: 0;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; width: 100%; }
  .nav-links > li > a::after { display: none; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding-left: 1rem; background-color: transparent;
  }
  .mobile-toggle { display: block; }
  .hero { min-height: 550px; margin-top: 80px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-keyword { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .hero-keyword.outline { -webkit-text-stroke: 1.5px rgba(255,255,255,0.5); }
  .hero-stats-bar { gap: 1.5rem; flex-wrap: wrap; }
  .hero-stat-number { font-size: 1.1rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .timeline::before { left: 20px; }
  .timeline-dot { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(odd) { flex-direction: row; text-align: left; padding-left: 50px; }
  .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content { width: 100%; margin: 0; }
  .clients-logos { gap: 1rem; }
  .client-logo { padding: 0.75rem 1.25rem; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .section { padding: 4.5rem 1.25rem; }
  .about-stats { grid-template-columns: 1fr; gap: 1rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .hero-badge { font-size: 0.7rem; }
  .hero-keyword { font-size: clamp(1.8rem, 12vw, 2.5rem); }
  .hero-keyword.outline { -webkit-text-stroke: 1px rgba(255,255,255,0.5); }
  .hero-stats-bar { gap: 1rem; }
  .hero-stat { gap: 0.5rem; }
  .hero-stat-number { font-size: 1rem; }
  .hero-stat-icon { width: 30px; height: 30px; }
  .hero-keyword-num { display: none; }
}
