/* ===== VARIABLES ===== */
:root {
  --primary: #0f172a;
  --accent: #1e3a8a;
  --accent-light: #dbeafe;
  --accent-dark: #1e40af;
  --success: #10b981;
  --info: #3b82f6;
  --warning: #f59e0b;
  --text-muted: #64748b;
  --bg: #f8fafc;
  --card-bg: white;
  --border: #e2e8f0;
  --dark: #020617;
  --card: #ffffff;
  --muted: #64748b;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #f1f5f9;
    --accent: #3b82f6;
    --accent-light: #1e3a8a;
    --accent-dark: #60a5fa;
    --success: #34d399;
    --info: #60a5fa;
    --warning: #fbbf24;
    --text-muted: #94a3b8;
    --bg: #0f172a;
    --card-bg: #1e293b;
    --border: #334155;
    --dark: #020617;
    --card: #1e293b;
  }
}

/* ===== TYPOGRAPHY ===== */
.lang-ja {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
}

.lang-ja .logo,
.lang-ja .section-head,
.lang-ja .card-title,
.lang-ja .step-title,
.lang-ja h1,
.lang-ja h2,
.lang-ja h3 {
  font-family: 'Noto Sans JP', 'Bodoni Moda', serif;
  font-weight: 700;
}

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

html, body {
  max-width: 100%;
  overflow-x: hidden;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--primary);
  line-height: 1.75;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding-top: 80px;
  width: 100%;
  overflow-x: hidden;
}

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

/* ===== LAYOUT ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 20px 5%;
  background: -webkit-linear-gradient(315deg, #1e3a8a 0%, #3b82f6 100%);
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  height: 80px;
  width: 100%;
  box-sizing: border-box;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  font-family: 'Bodoni Moda', serif;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  text-decoration: none;
  color: white;
  min-width: 200px;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e3a8a;
  font-weight: bold;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.logo:hover .logo-icon {
  background: rgba(255, 255, 255, 0.9);
  transform: rotate(15deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.1rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: white;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  padding-bottom: 6px;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active,
.nav-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Language Toggle */
.language-toggle {
  display: flex;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lang-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
  min-width: 44px;
  text-align: center;
  font-family: inherit;
  touch-action: manipulation;
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.lang-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  width: 100%;
  box-sizing: border-box;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1493976040374-85c8e12f0c0e?auto=format&fit=crop&q=80&w=2000') center/cover;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

.hero-title {
  font-family: 'Bodoni Moda', serif;
  font-size: 3.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  display: flex;
  flex-direction: column;
}

.hero-line-1, .hero-line-2 {
  display: block;
}

.hero-line-1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.hero-line-2 {
  font-size: 2.5rem;
  opacity: 0.9;
}

.hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 48px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--card-bg);
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 10;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--accent-dark);
  transform: rotate(90deg);
}

.modal-header {
  padding: 40px 40px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.modal-category {
  background: var(--accent);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-meta {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.modal-title {
  font-family: 'Bodoni Moda', serif;
  font-size: 2.2rem;
  margin: 0 40px 30px;
  line-height: 1.2;
  color: var(--primary);
}

.modal-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 30px;
}

.modal-body {
  padding: 0 40px 40px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--primary);
}

.modal-body p {
  margin-bottom: 20px;
}

/* ===== COMPONENTS ===== */
.white-card {
  background: var(--card-bg);
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  margin-bottom: 48px;
  border: 1px solid var(--border);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.white-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border-color: var(--accent-light);
}

@media (prefers-color-scheme: dark) {
  .white-card {
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  }
  .white-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  }
}

.section-head {
  font-family: 'Bodoni Moda', serif;
  font-size: 3rem;
  margin-bottom: 48px;
  line-height: 1.1;
  position: relative;
  display: inline-block;
}

.section-head::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.card-title {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.75rem;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

/* ===== SERVICE PILLARS ===== */
.service-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
  margin: 64px 0;
}

.pillar-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px;
  border-left: 6px solid var(--accent);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.pillar-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  border-left-color: var(--accent-dark);
}

.pillar-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  color: var(--accent);
  font-size: 2rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.pillar-card:hover .pillar-icon {
  background: var(--accent);
  color: white;
  transform: rotate(10deg) scale(1.1);
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  flex-grow: 1;
}

.pillar-list li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding-left: 28px;
}

.pillar-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-list li::before {
  transform: translateX(4px);
}

/* ===== CONSULTING PROCESS ===== */
.consulting-process {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 48px 0;
  position: relative;
  padding-left: 40px;
}

.consulting-process::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: var(--accent-light);
  opacity: 0.5;
}

.consulting-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bodoni Moda', serif;
  font-size: 1.5rem;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.consulting-step:hover .step-number {
  transform: scale(1.1) rotate(5deg);
  background: var(--accent-dark);
}

.step-content {
  flex: 1;
  padding-top: 8px;
}

.step-title {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--accent);
}

/* ===== AFRICA NETWORK SECTION ===== */
.network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin: 48px 0;
}

.network-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 32px;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.network-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.country-flag {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1;
}

.network-card h3 {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.entity-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 16px 0;
}

/* ===== BUTTONS ===== */
.btn-main {
  background: var(--accent);
  color: white;
  padding: 18px 40px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.3);
  font-family: inherit;
  touch-action: manipulation;
  text-decoration: none;
}

.btn-main:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(30, 58, 138, 0.4);
}

.btn-main:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  padding: 16px 36px;
  border: 2px solid var(--accent);
  font-weight: 600;
  cursor: pointer;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: inherit;
  touch-action: manipulation;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
}

/* ===== METRICS & WHY US ===== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.metric-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.metric-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.metric-value {
  font-family: 'Bodoni Moda', serif;
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1;
}

.metric-card p {
  font-weight: 600;
  margin: 0;
  font-size: 1.1rem;
}

/* ===== QUOTE SECTION ===== */
.quote-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  padding: 80px 48px;
  border-radius: 24px;
  margin: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.quote-section::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 40px;
  font-family: 'Bodoni Moda', serif;
  font-size: 12rem;
  opacity: 0.1;
  line-height: 1;
}

.quote-text {
  font-family: 'Bodoni Moda', serif;
  font-size: 2rem;
  line-height: 1.4;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.quote-author {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

/* ===== SERVICE TABS ===== */
.service-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border);
  padding-bottom: 20px;
}

.tab-btn {
  padding: 14px 32px;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  touch-action: manipulation;
}

.tab-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.2);
}

.tab-btn:hover:not(.active) {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

/* ===== FORM STYLES ===== */
.input-group {
  margin-bottom: 32px;
}

.input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  background: var(--card-bg);
  color: var(--primary);
  transition: all 0.3s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.input-group textarea {
  min-height: 200px;
  resize: vertical;
  line-height: 1.6;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* ===== ROI CALCULATOR SPECIFIC STYLES ===== */

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 48px 0;
}

@media (max-width: 1024px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.input-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.4;
}

/* Range Slider */
.range-slider-container {
    position: relative;
    padding-top: 30px;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.range-value {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--accent);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 32px 0 48px;
}

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.result-card {
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(30, 58, 138, 0.1) 100%);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.result-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.result-content {
    flex: 1;
}

.result-value {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
    margin-bottom: 4px;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Insights Card */
.insights-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    border: 2px solid var(--accent);
    margin-top: 40px;
}

.insights-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.insight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}

.insight-item:last-child {
    border-bottom: none;
}

.insight-item i {
    margin-top: 4px;
    flex-shrink: 0;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 16px;
    }
    
    .cta-buttons .btn-main,
    .cta-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ===== BLOG/INSIGHTS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.blog-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  border-color: var(--accent-light);
}

.blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-content {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.blog-category {
  background: var(--accent-light);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 60px 0 40px;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  background: var(--card-bg);
  width: 100%;
  box-sizing: border-box;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

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

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease;
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-line-1 {
    font-size: 2.8rem;
  }
  
  .hero-line-2 {
    font-size: 2rem;
  }
  
  .section-head {
    font-size: 2.5rem;
  }
  
  .service-pillars {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
  
  .container {
    padding: 0 20px;
  }
  
  .nav-links {
    gap: 20px;
  }
  
  .logo-main {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
    overflow-x: hidden;
    font-size: 16px;
  }
  
  nav {
    height: 70px;
    padding: 15px 20px;
    position: fixed;
    z-index: 1000;
    width: 100%;
  }
  
  .nav-container {
    width: 100%;
  }
  
  .container {
    width: 100%;
    padding: 0 15px;
    overflow-x: hidden;
  }
  
  .hero {
    padding: 50px 0 40px;
    margin-top: 0;
    width: 100%;
  }
  
  .hero-content {
    padding: 0 15px;
  }
  
  .white-card {
    width: 100%;
    padding: 30px 20px;
    margin-bottom: 30px;
  }
  
  .section-head {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }
  
  .section-head::after {
    width: 60px;
    bottom: -8px;
  }
  
  .logo {
    min-width: auto;
    gap: 8px;
  }
  
  .logo-icon {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
  
  .logo-main {
    font-size: 0.9rem;
    display: block;
    flex-direction: column;
  }
  
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  
  .hero-line-1 {
    font-size: 2.2rem;
  }
  
  .hero-line-2 {
    font-size: 1.6rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.4;
  }
  
  .service-pillars {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
  }
  
  .pillar-card {
    padding: 30px 20px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .network-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .consulting-process {
    padding-left: 0;
    margin: 30px 0;
  }
  
  .consulting-process::before {
    display: none;
  }
  
  .consulting-step {
    flex-direction: column;
    gap: 15px;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .quote-section {
    padding: 50px 20px;
    margin: 50px 0;
  }
  
  .quote-text {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .service-tabs {
    flex-direction: column;
    gap: 10px;
  }
  
  .tab-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .footer-links {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }
  
  .input-group textarea {
    min-height: 150px;
  }
  
  .input-group input,
  .input-group select,
  .input-group textarea {
    font-size: 16px;
    padding: 15px;
  }
  
  .btn-main, .btn-secondary {
    padding: 15px 20px;
    font-size: 0.9rem;
    width: 100%;
    margin: 5px 0;
    min-height: 50px;
  }
  
  .calculator-grid {
    gap: 30px;
  }
  
  footer {
    padding: 40px 0 30px;
    margin-top: 40px;
  }
  
  .card-title {
    font-size: 1.5rem;
  }
  
  .mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
  }
  
  .nav-links {
    display: none;
  }
  
  .modal-content {
    margin: 20px;
    max-height: 85vh;
  }
  
  .modal-title {
    font-size: 1.8rem;
    margin: 0 20px 20px;
  }
  
  .modal-header,
  .modal-body {
    padding: 20px;
  }
  
  .modal-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 60px;
    font-size: 15px;
  }
  
  nav {
    height: 60px;
    padding: 15px;
  }
  
  .container {
    padding: 0 15px !important;
  }
  
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  .hero-line-1 {
    font-size: 1.8rem;
  }
  
  .hero-line-2 {
    font-size: 1.3rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .card-title {
    font-size: 1.4rem;
  }
  
  .calculator-grid {
    gap: 20px;
  }
  
  .section-head {
    font-size: 1.8rem;
  }
  
  .section-head::after {
    width: 50px;
    bottom: -6px;
    height: 3px;
  }
  
  .white-card {
    padding: 25px 15px;
    border-radius: 15px;
  }
  
  .pillar-card {
    padding: 25px 15px;
    border-radius: 15px;
  }
  
  .pillar-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .pillar-list li {
    padding: 10px 0;
    font-size: 0.95rem;
  }
  
  .quote-text {
    font-size: 1.3rem;
  }
  
  .input-group label {
    font-size: 0.85rem;
  }
  
  .footer-links {
    gap: 15px;
  }
  
  .footer-links a {
    font-size: 0.9rem;
  }
  
  footer div {
    font-size: 0.85rem;
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
  touch-action: manipulation;
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: -webkit-linear-gradient(315deg, #1e3a8a 0%, #3b82f6 100%);
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 998;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    pointer-events: none;
  }
  
  .nav-links.active {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .nav-links a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    min-height: 56px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: white;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
    pointer-events: auto;
  }
  
  .nav-links a:last-child {
    border-bottom: none;
  }
  
  .language-toggle {
    margin-top: 20px;
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    pointer-events: auto;
  }
}
/* ===== ROI CALCULATOR FIXES ===== */
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 48px 0;
}

@media (min-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Fix results grid for mobile */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 32px 0 48px;
}

/* Make the ROI calculator white-card responsive */
.white-card .range-slider-container {
    position: relative;
    padding-top: 40px;
}

.range-slider {
    width: 100%;
    margin: 10px 0;
}

.range-value {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
}
/* ===== SERVICES PAGE STYLES ===== */
.services-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    border-radius: 0 0 20px 20px;
    margin-bottom: 40px;
}

.services-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-family: 'Bodoni Moda', serif;
}

.services-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.service-category {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.service-category h2 {
    color: #1e3a8a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3b82f6;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-feature {
    background: #f8fafc;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
}

.service-feature h4 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

.service-feature ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.service-feature ul li {
    padding: 8px 0;
    color: #4b5563;
}

.service-feature ul li::before {
    content: "✓ ";
    color: #3b82f6;
    font-weight: bold;
    margin-right: 8px;
}

.local-partners h3 {
    color: #1e3a8a;
    margin-bottom: 20px;
    margin-top: 30px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.partner-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #10b981;
}

.partner-card h4 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

.partner-card strong {
    color: #3b82f6;
}

.partner-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.partner-card ul li {
    padding: 8px 0;
    color: #4b5563;
}

.partner-card ul li::before {
    content: "→ ";
    color: #10b981;
    font-weight: bold;
    margin-right: 8px;
}
