:root {
  --brand: #0a66ff;
  --brand-dark: #084acc;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --text: #0f172a;
  --muted: #475569;
  --accent: #0a66ff;
  --ok: #16a34a;
  --danger: #dc2626;
  --shadow: 0 10px 30px rgba(2,6,23,.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1200px, 92vw); margin: 0 auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(120%) blur(8px); background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(2,6,23,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-fallback { font-weight: 800; letter-spacing: .4px; }

.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: #0b1220; opacity: .95; }
.nav-links .btn.small { padding: 8px 14px; font-size: 14px; }

.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 36px; gap: 5px; flex-direction: column; justify-content: center; align-items: center; }
.nav-toggle span { display:block; width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .18s ease, opacity .18s ease; }

/* Hero */
.hero { position: relative; min-height: 70vh; display: grid; place-items: stretch; background: #000; }
.hero picture { position: absolute; inset: 0; z-index: 0; }
.hero picture img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) contrast(1.05) saturate(1.05); }
.hero-inner { position: absolute; inset: 0; z-index: 1; display: grid; align-content: center; gap: 18px; padding: clamp(40px, 7vw, 90px) 0; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin: 0; }
.hero p { max-width: 760px; color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); }
.hero-ctas { display: flex; gap: 12px; margin-top: 8px; }
.hero-meta { display: flex; gap: 10px; align-items: center; margin-top: 8px; color: var(--muted); }
.hero-meta .divider { opacity: .5; }

/* Enhance hero text readability */
.hero h1, .hero p, .hero-ctas, .hero-meta { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.hero-meta a { color: #e2e8f0; }

/* Trust bar */
.trust { background: #0b1117; border-top: 1px solid rgba(2,6,23,.06); border-bottom: 1px solid rgba(2,6,23,.06); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px 0; text-align: center; font-weight: 600; color: #e5e7eb; }

/* Sections */
.section { padding: clamp(48px, 8vw, 96px) 0; background: var(--surface); }
.section.alt { background: var(--surface-alt); }
.section-title { font-size: clamp(22px, 3vw, 32px); margin: 0 0 8px; }
.section-lead { color: var(--muted); margin: 0 0 26px; }

.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.cards .card { background: #0f141a; border: 1px solid rgba(255,255,255,.06); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.cards .card img { aspect-ratio: 16/9; object-fit: cover; }
.cards .card-body { padding: 16px; }
.cards .card h3 { margin: 0 0 8px; font-size: 18px; }
.cards .card p { color: var(--muted); margin: 0; }

/* About */
.about .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.about .stats > div { background:#ffffff; border:1px solid rgba(255, 255, 255, 0.06); border-radius:10px; padding:12px; text-align:center; }
.about .stats strong { font-size: 20px; display:block; }
.about .stats span { color: var(--muted); font-size: 13px; }

.values h3 { margin: 12px 0 6px; font-size: 18px; }
.checklist { padding-left: 18px; color: var(--muted); }
.checklist li { margin: 6px 0; }

/* Pill list */
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { background:#0f141a; border:1px solid rgba(255,255,255,.08); color:#000000; padding:8px 12px; border-radius: 999px; font-size: 14px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-grid a { display:block; border-radius: 10px; overflow: hidden; border:1px solid rgba(255,255,255,.06); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .25s ease; filter: saturate(1.05); }
.gallery-grid img:hover { transform: scale(1.03); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.75); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 60; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow); border:1px solid rgba(255,255,255,.2); }
.lightbox-close { position: absolute; top: 16px; right: 16px; background: rgba(0,0,0,.65); color: #fff; border:1px solid rgba(255,255,255,.18); width: 40px; height: 40px; border-radius: 999px; font-size: 22px; line-height: 1; display:grid; place-items:center; cursor: pointer; }

/* Contact */
.contact .contact-list { list-style:none; padding: 0; margin: 8px 0 18px; color: var(--muted); }
.contact .contact-list li { margin: 6px 0; display:flex; align-items: flex-start; gap: 10px; }
.contact .contact-list .icon { width: 18px; height: 18px; color: var(--brand); margin-top: 3px; }
.form { background:#0f141a; border:1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 16px; box-shadow: var(--shadow); }
.form h3 { margin: 0 0 10px; }
.form-row { display:flex; flex-direction:column; gap:6px; margin:10px 0; }
.form input, .form textarea { background: #fff; color: var(--text); border: 1px solid rgba(2,6,23,.12); border-radius: 10px; padding: 10px 12px; outline: none; }
.form input:focus, .form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13,110,253,.2); }
.form .error { color: var(--danger); min-height: 16px; font-size: 12px; }
.form .form-success { color: var(--ok); margin-top: 8px; }
.form .form-error { color: var(--danger); margin-top: 8px; }
.quick-actions { display:flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* New: make contact section background slightly accented */
.section.contact.alt { background: linear-gradient(180deg, var(--surface-alt), #fff 40%, #fff); }

/* New: form accent variant to stand out */
.form-accent {
  background: #ffffff;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: 0 20px 50px rgba(2,6,23,.12);
}
.form-accent h3 { font-size: 22px; }
.form-subtitle { margin: 2px 0 10px; color: var(--muted); font-size: 14px; }
.form-badges { display:flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.badge { background: rgba(10,102,255,.08); color: var(--brand-dark); border: 1px solid rgba(10,102,255,.18); padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }

/* New: two column fields */
.two-col { display:grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two-col .field { display:flex; flex-direction: column; }

/* Label icons */
.form label.with-icon { display:flex; align-items:center; gap:8px; font-weight: 600; }
.form label .icon { width: 18px; height: 18px; color: var(--brand); }

/* Footer */
.site-footer { background: #f5f7fb; border-top: 1px solid rgba(2,6,23,.06); padding: 22px 0; color: #334155; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-brand img { width: 34px; height: 34px; object-fit: contain; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: #334155; }

/* Buttons */
.btn { display:inline-block; padding: 12px 18px; border-radius: 10px; border:1px solid transparent; text-decoration:none; font-weight: 600; color: white; background: #0f172a; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease, color .25s ease; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { 
  background: rgba(255,255,255,.42);
  border-color: rgba(2,6,23,.18);
  color: #0b1220;
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: 0 6px 18px rgba(2,6,23,.08);
}
.btn-ghost:hover { 
  background: rgba(255,255,255,.65);
  border-color: rgba(2,6,23,.28);
  box-shadow: 0 10px 24px rgba(2,6,23,.12);
}

/* Back to top */
.back-to-top { position: fixed; right: 18px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; border: 0; box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: .2s ease; }
.back-to-top.show { opacity: 1; pointer-events: auto; }

/* Utilities */
.grid-3 > * { min-width: 0; }
body.nav-open { overflow: hidden; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; left: 0; right: 0; top: 60px; background: #ffffff; border-bottom: 1px solid rgba(2,6,23,.08); border-radius: 0; padding: 12px 4vw 16px; flex-direction: column; gap: 10px; display: none; box-shadow: 0 10px 30px rgba(2,6,23,.08); }
  .nav-links a { color: #0b1220; font-weight: 600; padding: 10px 8px; }
  .nav-links .btn.small { align-self: stretch; text-align: center; }
  .nav-links.show { display: flex; animation: menuSlide .18s ease both; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 100vh; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .footer-links { justify-content: center; row-gap: 8px; }
  .footer-social { display: flex; justify-content: center; gap: 10px; }
}

/* Glassmorphism helpers */
.glass {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border-radius: 14px;
}

/* Apply glass to header, cards, and form subtly */
.site-header { backdrop-filter: blur(10px) saturate(140%); background: rgba(255,255,255,.92); }
.cards .card, .form, .pill-list li { background: #ffffffcc; border: 1px solid rgba(2,6,23,.06); }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes floatY { 0%{ transform: translateY(0) } 50%{ transform: translateY(-6px) } 100%{ transform: translateY(0) } }
@keyframes caretBlink { 0%, 100% { opacity: .7 } 50% { opacity: 0 } }
@keyframes menuSlide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.show { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

.typing-cursor::after { content: '|'; display: inline-block; margin-left: 2px; opacity: .7; animation: caretBlink 1s step-end infinite; }

.hero h1 { animation: fadeUp .8s ease .1s both; }
.hero p { animation: fadeUp .8s ease .2s both; }
.hero-ctas { animation: fadeUp .8s ease .3s both; }
.back-to-top { animation: floatY 3s ease-in-out infinite; }

/* Glass hero overlay accent */
.hero-overlay { box-shadow: inset 0 -120px 200px rgba(0,0,0,.5); } 

/* About – extended */
.kpis { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.kpi { background:#0f141a; border:1px solid rgba(2,6,23,.12); color:#e2e8f0; border-radius:12px; padding:12px; text-align:center; box-shadow: var(--shadow); }
.kpi strong { font-size: 20px; display:block; color:#0f172a; background:#fff; border-radius: 8px; padding:6px 8px; margin-bottom:8px; }

.feature-cards .card { background:#fff; border:1px solid rgba(2,6,23,.08); }
.feature-cards .card-body { padding:16px; }

.chart-grid { align-items: start; gap: 24px; }
.chart-card { background:#fff; border:1px solid rgba(2,6,23,.08); border-radius:12px; padding:14px; box-shadow: var(--shadow); }
.donut { width: 200px; height: 200px; border-radius: 50%; margin: 8px auto 10px; position: relative; box-shadow: inset 0 0 0 10px #fff; }
.donut-center { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); background:#fff; width: 110px; height: 110px; border-radius: 50%; display:grid; place-items:center; text-align:center; border:1px solid rgba(2,6,23,.08); }
.donut-center strong { font-size: 20px; line-height: 1; }
.donut-center span { color: var(--muted); font-size: 12px; }
.legend { list-style:none; padding:0; margin:10px 0; display:grid; gap:6px; }
.legend li { display:flex; align-items:center; gap:8px; color:#334155; }
.legend .swatch { width:14px; height:14px; border-radius:4px; display:inline-block; border:1px solid rgba(2,6,23,.12); }
.note { color: var(--muted); font-size: 13px; margin-top: 6px; }

.bar-chart { display:flex; align-items:flex-end; gap: 10px; height: 180px; padding: 10px; background: linear-gradient(180deg, rgba(2,6,23,.02), transparent); border:1px solid rgba(2,6,23,.06); border-radius: 12px; }
.bar-chart .bar { width: 28px; background: linear-gradient(180deg, var(--brand), var(--brand-dark)); height: var(--v); border-radius: 8px 8px 0 0; display:flex; align-items:flex-end; justify-content:center; color:#fff; position: relative; box-shadow: var(--shadow); }
.bar-chart .bar .label { position: absolute; bottom: -22px; color:#334155; font-size: 12px; transform: rotate(-35deg); transform-origin: top left; }

/* Responsive additions */
@media (max-width: 1024px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .donut { width: 180px; height: 180px; }
  .bar-chart { height: 160px; }
} 

/* Service cards clickable */
.service-card { cursor: pointer; border:1px solid rgba(2,6,23,.08); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background:#fff; }
.service-card .card-body { display:flex; flex-direction: column; gap:8px; }
.service-card:hover { transform: translateY(-2px); transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 12px 30px rgba(2,6,23,.12); }
.service-card .show-details { align-self: flex-start; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; place-items: center; z-index: 80; padding: 16px; }
.modal.open { display: grid; animation: fadeIn .2s ease both; }
.modal-dialog { width: min(960px, 96vw); background: #fff; border-radius: 16px; border:1px solid rgba(2,6,23,.08); box-shadow: 0 24px 60px rgba(2,6,23,.25); position: relative; overflow: hidden; }
.modal-close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(2,6,23,.12); background:#fff; cursor: pointer; font-size: 22px; line-height: 1; display:grid; place-items:center; }
.modal-body { padding: 20px 20px 16px; max-height: 82vh; overflow: auto; }
.modal-body h3 { margin: 0 0 8px; font-size: 24px; }
.modal-actions { display:flex; gap:10px; margin-top: 16px; position: sticky; bottom: 0; background: linear-gradient(180deg, rgba(255,255,255,.0), #fff 40%); padding-top: 10px; }

/* Prose typography for rich content */
.prose { color:#0b1220; }
.prose p { margin: 0 0 12px; }
.prose h4 { font-size: 18px; margin: 16px 0 8px; }
.prose ul { padding-left: 20px; margin: 10px 0; }
.prose li { margin: 6px 0; }
.prose .muted { color: var(--muted); font-size: 14px; }

/* Responsive modal */
@media (max-width: 760px) {
  .modal-body { padding: 16px; }
} 

/* Policies page enhancements */
.policy-card { padding: 16px; }
.policy-title { display:flex; align-items:center; gap:10px; margin: 0 0 8px; }
.policy-icon { width: 24px; height: 24px; color: var(--brand); display:inline-flex; align-items:center; justify-content:center; }

/* Icon utilities */
.icon { width: 1.1em; height: 1.1em; display: inline-flex; align-items: center; justify-content: center; color: currentColor; flex: 0 0 auto; }
.with-icon { display: inline-flex; align-items: center; gap: 8px; }
.list-with-icons li { display: flex; align-items: flex-start; gap: 10px; }

/* Contextual icon tweaks */
.hero-meta .icon { opacity: .9; }
.contact .contact-list .icon { color: var(--brand); }
.form .with-icon { gap: 8px; } 

@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
} 

/* Hamburger active state */
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Contact page: small-screen improvements */
@media (max-width: 600px) {
  .contact .contact-list li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .contact .contact-list a { display: inline-block; margin-right: 8px; overflow-wrap: anywhere; }
  .quick-actions { gap: 8px; }
  .quick-actions .btn { flex: 1 1 100%; text-align: center; }
} 