/* ============================================
   WenDuo Technology - Professional Stylesheet
   Color Palette:
   - Primary:    #0f2b46 (Deep Navy)
   - Secondary:  #1a6fb5 (Ocean Blue)
   - Accent:     #00c9a7 (Mint/Teal)
   - Warm:       #f7a824 (Amber)
   - Light BG:   #f4f7fa
   - White:      #ffffff
   - Text:       #2d3748
   - Muted:      #718096
   ============================================ */

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

:root {
  --primary: #0f2b46;
  --secondary: #1a6fb5;
  --accent: #00c9a7;
  --warm: #f7a824;
  --light-bg: #f4f7fa;
  --white: #ffffff;
  --text: #2d3748;
  --muted: #718096;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

a:hover {
  color: var(--accent);
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  color: var(--text);
}

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

.text-accent {
  color: var(--accent);
}

.text-center {
  text-align: center;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

/* --- Grid System --- */
.grid {
  display: grid;
  gap: 32px;
}

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

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --- Flex Utilities --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary);
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
  transition: all var(--transition);
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--secondary);
  background: rgba(26, 111, 181, 0.06);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.nav-cta {
  margin-left: 10px;
  padding: 10px 24px !important;
  background: var(--secondary) !important;
  color: white !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--primary) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
  }
  .nav a {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
  }
  .nav-cta {
    margin-left: 0 !important;
    margin-top: 8px;
    text-align: center;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  background: linear-gradient(165deg, #0a1e32 0%, #0f2b46 30%, #143a5c 60%, #0f2b46 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(0, 201, 167, 0.1) 0%, transparent 70%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(26, 111, 181, 0.08) 0%, transparent 70%);
  animation: heroGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

/* Floating geometric shapes in hero */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: float 20s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.hero-shape:nth-child(2) {
  width: 200px;
  height: 200px;
  background: var(--secondary);
  bottom: 15%;
  left: 8%;
  animation-delay: -5s;
}

.hero-shape:nth-child(3) {
  width: 150px;
  height: 150px;
  background: var(--warm);
  top: 40%;
  right: 25%;
  animation-delay: -10s;
  border-radius: 30%;
  animation-name: floatRotate;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-30px) translateX(15px); }
  50% { transform: translateY(-15px) translateX(-10px); }
  75% { transform: translateY(-40px) translateX(5px); }
}

@keyframes floatRotate {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 201, 167, 0.12);
  border: 1px solid rgba(0, 201, 167, 0.25);
  border-radius: 100px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  color: white;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), #5ce1c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.18rem;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
}

.hero-stat-number .accent {
  color: var(--accent);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero visual / illustration area */
.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 650px;
  opacity: 0.15;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hero-grid-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.05);
  animation: gridFade 4s ease-in-out infinite;
}

.hero-grid-item:nth-child(odd) {
  animation-delay: -2s;
}

.hero-grid-item:nth-child(3n) {
  background: rgba(0, 201, 167, 0.15);
  animation-delay: -1s;
}

.hero-grid-item:nth-child(5n) {
  background: rgba(26, 111, 181, 0.15);
  animation-delay: -3s;
}

@keyframes gridFade {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@media (max-width: 900px) {
  .hero-visual { display: none; }
  .hero-stats { gap: 32px; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .hero-stats { gap: 24px; }
  .hero-stat-number { font-size: 1.7rem; }
  .hero-actions { flex-direction: column; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.2px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), #2180c7);
  color: white;
  box-shadow: 0 4px 15px rgba(26, 111, 181, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(26, 111, 181, 0.45);
  color: white;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #00dbb5);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 201, 167, 0.3);
}

.btn-accent:hover {
  box-shadow: 0 8px 25px rgba(0, 201, 167, 0.4);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: white;
}

.btn-outline-dark {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--border);
}

.btn-outline-dark:hover {
  border-color: var(--secondary);
  background: rgba(26, 111, 181, 0.04);
  color: var(--secondary);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.section-header h2 {
  margin-bottom: 18px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ============================================
   SERVICE / FEATURE CARDS
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: all var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  position: relative;
}

.card-icon.blue {
  background: rgba(26, 111, 181, 0.1);
  color: var(--secondary);
}

.card-icon.teal {
  background: rgba(0, 201, 167, 0.1);
  color: var(--accent);
}

.card-icon.amber {
  background: rgba(247, 168, 36, 0.1);
  color: var(--warm);
}

.card-icon.navy {
  background: rgba(15, 43, 70, 0.08);
  color: var(--primary);
}

.card h3 {
  margin-bottom: 14px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
}

.card-link:hover {
  gap: 10px;
}

/* Numbered Cards (for process) */
.card-numbered {
  counter-increment: step-counter;
  padding-top: 52px;
}

.card-numbered::after {
  content: counter(step-counter, decimal-leading-zero);
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 3rem;
  font-weight: 900;
  color: var(--light-bg);
  line-height: 1;
}

/* ============================================
   FEATURE HIGHLIGHT SECTION (Split Layout)
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .split, .split-reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .split-reverse {
    direction: ltr;
  }
}

.split-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--light-bg), #e8eef5);
}

.split-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-visual-pattern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 40px;
  width: 100%;
  height: 100%;
}

.pattern-block {
  border-radius: var(--radius);
  background: rgba(26, 111, 181, 0.06);
  border: 1px solid rgba(26, 111, 181, 0.08);
}

.pattern-block:nth-child(2) {
  background: rgba(0, 201, 167, 0.08);
  border-color: rgba(0, 201, 167, 0.1);
}

.pattern-block:nth-child(4) {
  background: var(--secondary);
  opacity: 0.15;
  grid-column: span 2;
}

.pattern-block:nth-child(7) {
  background: rgba(247, 168, 36, 0.08);
  border-color: rgba(247, 168, 36, 0.1);
}

.split-content {
  padding: 20px 0;
}

.split-content h2 {
  margin-bottom: 20px;
}

.split-content p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  margin: 28px 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text);
}

.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 201, 167, 0.15), rgba(0, 201, 167, 0.05));
  border: 2px solid var(--accent);
  margin-top: 1px;
  position: relative;
}

.check-list li::after {
  content: '\2713';
  position: absolute;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Use a cleaner approach for checkmarks */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
}

.check-mark {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 201, 167, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.check-mark svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
  stroke-width: 3;
  fill: none;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--primary);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(0, 201, 167, 0.05) 50%, transparent 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
}

.stat-number .accent {
  color: var(--accent);
}

.stat-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
  .stat-number { font-size: 2rem; }
}

/* ============================================
   TESTIMONIAL / QUOTE CARDS
   ============================================ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 5rem;
  color: var(--light-bg);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.testimonial-role {
  color: var(--muted);
  font-size: 0.83rem;
}

/* ============================================
   TECHNOLOGY / LOGO GRID
   ============================================ */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  transition: all var(--transition);
}

.tech-item:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.tech-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tech-dot.blue { background: var(--secondary); }
.tech-dot.teal { background: var(--accent); }
.tech-dot.amber { background: var(--warm); }
.tech-dot.navy { background: var(--primary); }
.tech-dot.red { background: #e53e3e; }
.tech-dot.purple { background: #805ad5; }
.tech-dot.green { background: #38a169; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(165deg, var(--primary) 0%, #143a5c 60%, #0f2b46 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(0, 201, 167, 0.08) 0%, transparent 60%);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  color: white;
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0a1a2e;
  color: rgba(255,255,255,0.65);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 18px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer h4 {
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255,255,255,0.35);
  font-size: 0.83rem;
}

.footer-legal a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ============================================
   CONTACT FORM
   ============================================ */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(26, 111, 181, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   PAGE HEADER (Inner Pages)
   ============================================ */
.page-header {
  padding: 140px 0 80px;
  background: linear-gradient(165deg, #0a1e32 0%, #0f2b46 40%, #143a5c 100%);
  position: relative;
  overflow: hidden;
}

.page-header::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.02'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: white;
  margin-bottom: 16px;
}

.page-header p {
  color: rgba(255,255,255,0.6);
  font-size: 1.15rem;
  max-width: 550px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.88rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.45);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: rgba(255,255,255,0.25);
}

.breadcrumb .current {
  color: var(--accent);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--secondary), var(--accent));
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.timeline-item h4 {
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Values Grid */
.value-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.value-card h4 {
  margin-bottom: 12px;
}

.value-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-number {
  font-size: 5rem;
  font-weight: 900;
  color: var(--light-bg);
  line-height: 1;
  margin-bottom: -20px;
  position: relative;
  z-index: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--light-bg);
  border-radius: var(--radius);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.contact-info-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  fill: none;
}

.contact-info-card h4 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.contact-info-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Map placeholder */
.map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  background: var(--light-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  overflow: hidden;
}

/* ============================================
   LEGAL PAGES (Privacy, Terms)
   ============================================ */
.legal-content {
  padding: 80px 0;
}

.legal-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 12px 0 20px 24px;
  color: var(--muted);
  line-height: 1.85;
}

.legal-content ul li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-meta {
  padding: 24px 28px;
  background: var(--light-bg);
  border-radius: var(--radius);
  margin-bottom: 40px;
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-meta strong {
  color: var(--primary);
}

/* ============================================
   BACKGROUND PATTERNS
   ============================================ */
.bg-light {
  background: var(--light-bg);
}

.bg-pattern {
  background-image: 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='%231a6fb5' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.35s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   MISCELLANEOUS
   ============================================ */
.divider {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  margin: 24px 0;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(26, 111, 181, 0.08);
  color: var(--secondary);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-accent {
  background: rgba(0, 201, 167, 0.1);
  color: var(--accent);
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--secondary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 100;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .card { padding: 28px 24px; }
}

/* Hide/show at breakpoints */
.hide-mobile { display: block; }
.show-mobile { display: none; }

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