/* ==========================
   CSS Reset & Base Normalize
   ========================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding-left: 1.2rem; }
button { font: inherit; border: none; background: transparent; color: inherit; cursor: pointer; }
:root {
  /* Brand */
  --brand-primary: #12324B;
  --brand-secondary: #0E6B5B;
  --brand-accent: #F5F7FA;
  /* Tech Futuristic Palette */
  --bg: #0B1C28;              /* deep navy */
  --surface: #0F2A3A;         /* card surface */
  --surface-2: #13384A;       /* hover surface */
  --text: #E7F0F6;            /* light text */
  --text-muted: #A8C3D1;      /* muted text */
  --line: #1BE7E7;            /* neon cyan */
  --warning: #FFB02E;
  --danger: #FF5573;
  --success: #1AC6A3;
  /* Shadows */
  --shadow-soft: 0 6px 16px rgba(0,0,0,0.25);
  --shadow-glow: 0 0 0 1px rgba(27,231,231,0.25), 0 0 18px rgba(27,231,231,0.12);
}

/* ==========================
   Typography
   ========================== */
html { font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Verdana, Geneva, Tahoma, sans-serif; /* body */
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: "Trebuchet MS", Tahoma, sans-serif; letter-spacing: 0.2px; margin: 0 0 12px 0; }
h1 { font-size: 28px; line-height: 1.2; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
p { margin: 0 0 12px 0; color: var(--text); }
.subheadline { color: var(--text-muted); font-size: 16px; }
strong { color: #fff; }

/* Links & Focus */
a:hover { opacity: 0.92; }
:focus-visible { outline: 2px solid var(--line); outline-offset: 2px; }

/* ==========================
   Layout Primitives (Flex-only)
   ========================== */
.container { width: 100%; display: flex; justify-content: center; padding: 0 16px; }
.content-wrapper { width: 100%; max-width: 1200px; display: flex; flex-direction: column; gap: 20px; }

/* Mandatory spacing and alignment patterns */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ==========================
   Header & Navigation
   ========================== */
header { position: sticky; top: 0; z-index: 50; background: rgba(11,28,40,0.92); backdrop-filter: saturate(140%) blur(6px); border-bottom: 1px solid rgba(255,255,255,0.06); }
header .content-wrapper { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 34px; width: auto; filter: drop-shadow(0 0 8px rgba(27,231,231,0.08)); }

.main-nav { display: none; align-items: center; gap: 14px; }
.main-nav a { padding: 10px 12px; color: var(--text); border-radius: 10px; transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.main-nav a:hover { background: var(--surface); box-shadow: var(--shadow-glow); }

.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; color: var(--text); background: var(--surface); box-shadow: var(--shadow-soft); }
.mobile-menu-toggle:hover { box-shadow: var(--shadow-glow); }

/* Mobile menu overlay */
.mobile-menu { position: fixed; inset: 0; background: rgba(6,14,20,0.7); display: flex; align-items: stretch; justify-content: flex-end; transform: translateX(100%); transition: transform 0.35s ease; z-index: 100; pointer-events: none; }
.mobile-menu.open { transform: translateX(0); pointer-events: auto; }
.mobile-menu .mobile-nav { background: #0E2433; width: 86%; max-width: 360px; display: flex; flex-direction: column; gap: 2px; padding: 20px; border-left: 1px solid rgba(255,255,255,0.06); box-shadow: -8px 0 20px rgba(0,0,0,0.35); }
.mobile-menu-close { align-self: flex-end; width: 42px; height: 42px; margin-bottom: 10px; border-radius: 10px; background: var(--surface); color: var(--text); }
.mobile-nav a { display: flex; align-items: center; padding: 14px 12px; border-radius: 10px; color: var(--text); background: transparent; }
.mobile-nav a:hover { background: var(--surface); box-shadow: var(--shadow-glow); }

/* ==========================
   Hero Sections
   ========================== */
.hero { padding: 56px 0 28px; background-color: #0E2433; border-bottom: 1px solid rgba(255,255,255,0.06); }
.hero .content-wrapper { gap: 16px; }
.hero h1 { font-size: 26px; color: #fff; }
.hero .subheadline { font-size: 16px; }

.key-benefits { display: flex; flex-direction: column; gap: 8px; list-style: none; padding: 0; }
.key-benefits li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--surface); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; box-shadow: var(--shadow-soft); }
.key-benefits li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); box-shadow: 0 0 8px rgba(27,231,231,0.6); }

/* ==========================
   Buttons
   ========================== */
.btn-primary, .main-nav .btn-primary { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; border-radius: 12px; background: var(--brand-secondary); color: #ffffff; font-weight: 700; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 8px 18px rgba(14,107,91,0.35); transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease; }
.btn-primary:hover { background: #0c5d50; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(14,107,91,0.45), var(--shadow-glow); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; border-radius: 12px; background: transparent; color: var(--line); border: 1px solid var(--line); box-shadow: var(--shadow-glow); font-weight: 700; transition: background 0.2s ease, color 0.2s ease; }
.btn-secondary:hover { background: rgba(27,231,231,0.08); }

.cta-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================
   Sections & Cards
   ========================== */
section { margin-bottom: 48px; }
.text-section { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--surface); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; box-shadow: var(--shadow-soft); }
.text-section a { color: var(--line); text-decoration: underline; text-underline-offset: 2px; }
.text-section a:hover { text-decoration: none; }

.feature-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.feature-grid .text-section { flex: 1 1 260px; min-width: 260px; }

.service-cards { display: flex; flex-wrap: wrap; gap: 20px; }
.service-cards .text-section { flex: 1 1 280px; min-width: 260px; border-left: 3px solid var(--brand-secondary); }

.contact-inline { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.contact-inline p { display: flex; align-items: center; gap: 10px; margin: 0; }
.contact-inline img { width: 18px; height: 18px; opacity: 0.9; }

.proof-points ul,
.case-results,
.before-after,
.kpi-highlights,
.deliverables,
.expectations,
.next-steps,
.history-timeline { display: flex; flex-direction: column; gap: 10px; padding-left: 18px; }

.process-steps { display: flex; flex-direction: column; gap: 10px; padding-left: 18px; }
.process-steps li { margin-left: 2px; }

/* Testimonials - Light on Dark Rule: light card, dark text */
.testimonial-list { display: flex; flex-wrap: wrap; gap: 20px; }
.testimonial-card { background: var(--brand-accent); color: #0B1C28; border: 1px solid #E2E8F0; border-radius: 14px; box-shadow: 0 6px 16px rgba(2,6,12,0.1); max-width: 100%; }
.testimonial-card p { color: #0B1C28; }
.testimonial-card .author { color: #1F3340; font-weight: 700; }

/* Lists inside light testimonials */
.case-results li,
.kpi-highlights li { color: var(--text); }

/* ==========================
   Footer
   ========================== */
footer { border-top: 1px solid rgba(255,255,255,0.06); background: #0A1A25; padding: 28px 0; }
footer .content-wrapper { gap: 16px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-nav a { padding: 8px 10px; border-radius: 10px; color: var(--text); }
.footer-nav a:hover { background: var(--surface); box-shadow: var(--shadow-glow); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; color: var(--text-muted); }
.footer-contact img { width: 16px; height: 16px; opacity: 0.9; }
.newsletter-note { display: flex; flex-direction: column; gap: 8px; color: var(--text-muted); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--text-muted); padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); }

/* ==========================
   Tables (generic safe styles if any appear)
   ========================== */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }

/* ==========================
   Cookie Consent Banner & Modal
   ========================== */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120; display: none; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface); color: var(--text); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; box-shadow: var(--shadow-soft), var(--shadow-glow); padding: 14px; }
.cookie-banner.show { display: flex; }
.cookie-banner .cookie-text { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 12px; font-weight: 700; }
.cookie-actions .btn-accept { background: var(--success); color: #001314; }
.cookie-actions .btn-reject { background: #163646; color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.cookie-actions .btn-settings { background: transparent; color: var(--line); border: 1px solid var(--line); box-shadow: var(--shadow-glow); }
.cookie-actions .btn:hover { filter: brightness(1.05); }

.cookie-modal-overlay { position: fixed; inset: 0; background: rgba(6,14,20,0.6); display: none; align-items: center; justify-content: center; z-index: 130; }
.cookie-modal-overlay.show { display: flex; }
.cookie-modal { width: min(640px, 92%); background: #0F2736; color: var(--text); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.45), var(--shadow-glow); display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.cookie-modal .modal-header { display: flex; align-items: center; justify-content: space-between; }
.cookie-modal .modal-content { display: flex; flex-direction: column; gap: 12px; }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; background: #113345; border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; }
.cookie-category .hint { color: var(--text-muted); font-size: 13px; }
.toggle { display: inline-flex; align-items: center; width: 46px; height: 26px; border-radius: 20px; background: #394B57; border: 1px solid rgba(255,255,255,0.12); position: relative; }
.toggle .knob { width: 22px; height: 22px; border-radius: 50%; background: #fff; margin: 1px; transition: transform 0.2s ease; }
.toggle.active { background: var(--success); }
.toggle.active .knob { transform: translateX(20px); }
.cookie-modal .modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* ==========================
   Forms (generic)
   ========================== */
input, textarea, select { width: 100%; padding: 12px; border-radius: 12px; background: #0F2736; color: var(--text); border: 1px solid rgba(255,255,255,0.12); }
input::placeholder, textarea::placeholder { color: #7FA0AE; }

/* ==========================
   Utilities
   ========================== */
.muted { color: var(--text-muted); }
.surface { background: var(--surface); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; }
.p-0 { padding: 0 !important; }
.mt-0 { margin-top: 0 !important; }

/* ==========================
   Responsive (Mobile-first)
   ========================== */
@media (min-width: 480px) {
  h1 { font-size: 30px; }
}

@media (min-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 24px; }
  .hero { padding: 72px 0 40px; }
  .main-nav { display: flex; }
  .mobile-menu-toggle { display: none; }
  .feature-grid, .service-cards, .testimonial-list { gap: 24px; }
  .text-image-section { flex-direction: row; }
  .hero .content-wrapper { flex-direction: column; }
}

@media (min-width: 1024px) {
  h1 { font-size: 42px; }
  h2 { font-size: 28px; }
}

/* ==========================
   Page-specific fine-tuning
   ========================== */
/* Proof points & KPI highlight chips */
.proof-points ul li,
.case-results li,
.kpi-highlights li,
.expectations li,
.next-steps li,
.history-timeline li,
.deliverables li,
.before-after li { padding: 8px 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; }

/* Privacy note box */
.privacy-note { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: #0F2736; border: 1px solid rgba(255,255,255,0.08); border-left: 3px solid var(--warning); border-radius: 12px; color: var(--text); }
.privacy-note a { color: var(--line); text-decoration: underline; }

/* Footer: make address and lines neat */
address { font-style: normal; color: var(--text-muted); }

/* Decorative neon edge for hero wrapper on large screens */
@media (min-width: 1024px) { .hero .content-wrapper { border-left: 4px solid var(--line); padding-left: 18px; box-shadow: var(--shadow-glow); border-radius: 10px; } }

/* ==========================
   Accessibility contrast adjustments
   ========================== */
/* Ensure high contrast for text links on dark surfaces */
a { color: #CDE9F3; }
a:hover { color: #FFFFFF; }

/* ==========================
   Ensuring gaps between content blocks
   ========================== */
section .content-wrapper > * + * { margin-top: 0; }
/* Add minimum spacing between cards and blocks */
.text-section, .testimonial-card { margin-bottom: 20px; }

/* ==========================
   Prevent any overlapping
   ========================== */
/* Provide consistent spacing and wrapping */
.content-wrapper, .feature-grid, .service-cards, .testimonial-list, .contact-inline, .footer-top, .footer-bottom { gap: 20px; flex-wrap: wrap; }

/* ==========================
   Print basics
   ========================== */
@media print { header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; } body { background: #fff; color: #000; } .text-section, .testimonial-card { border-color: #ccc; background: #fff; color: #000; } }
