
:root {
  --navy: #0B2A4A;
  --royal: #163B6B;
  --crimson: #E63946;
  --soft: #F5F7FA;
  --charcoal: #222222;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; color: var(--charcoal); background:#fff; line-height:1.6; }
a { color: var(--royal); text-decoration: none; } a:hover { text-decoration: underline; }
.container { width: min(1200px, 92%); margin: 0 auto; }

.btn { display:inline-block; padding:12px 18px; border-radius:999px; font-weight:600; border:2px solid transparent; transition: transform .06s, box-shadow .2s, background .2s, color .2s; box-shadow: 0 2px 10px rgba(0,0,0,.04); cursor:pointer; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--crimson); color:#fff; }
.btn-ghost { background:#fff; border-color: var(--royal); color: var(--royal); }
.btn-ghost:hover { background: var(--royal); color:#fff; }
.btn-whatsapp { background:#25D366; color:#fff; }
.btn-dark { background: var(--navy); color:#fff; }

.header { position: sticky; top:0; z-index:1000; background:#fff; border-bottom:1px solid #eef0f4; transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.nav { display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:16px; }
.brand { display:flex; align-items:center; gap:12px; }
.logo-img { height:44px; width:auto; display:block; }
.brand h1 { font-size: 20px; margin:0; color: var(--navy); }
.tagline { font-size: 12px; color:#6b7280; margin-top:-4px; }

.nav-links { display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.nav-links a { padding:8px 12px; border-radius:10px; color: var(--navy); font-weight:600; }
.nav-links a.active, .nav-links a:hover { background: var(--soft); }
.actions { display:flex; gap:10px; flex-wrap:wrap; }
.menu-toggle { display:none; }
@media (max-width: 960px) { .nav { flex-wrap:wrap; } .menu-toggle { display:block; margin-left:auto; padding:8px 12px; border:1px solid #e5e7eb; border-radius:10px; } .nav-links { width:100%; display:none; padding: 8px 0 2px; } .nav-links.open { display:flex; } .logo-img { height:38px; } }

.hero { display:grid; grid-template-columns: repeat(2,1fr); gap:36px; align-items:center; padding:42px 0; }
.hero img { width:100%; height:auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero h2 { font-size: clamp(28px,3.6vw,44px); margin:0 0 12px; color: var(--navy); }
.hero p { font-size:18px; color:#475569; }
.hero-ctas { display:flex; gap:12px; flex-wrap:wrap; margin-top:12px; }
.trustbar { display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.trustbar .pill { background: var(--soft); color: var(--royal); padding:8px 12px; border-radius:999px; font-weight:600; }
@media (max-width: 900px) { .hero { grid-template-columns:1fr; } }

.section { padding:42px 0; }
.section h3 { font-size:28px; color: var(--navy); margin:0 0 8px; }
.section p.lead { color:#556070; max-width:900px; }

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

.card { background:#fff; border:1px solid #eef0f4; border-radius:16px; padding:18px; box-shadow: var(--shadow); }
.card h4 { margin:8px 0; color: var(--royal); }
.card p { margin:0; color:#616b78; }

.feature { display:grid; grid-template-columns: 1fr 2fr; gap:16px; align-items:center; }
@media (max-width: 900px) { .feature { grid-template-columns:1fr; } }

.banner { background: linear-gradient(135deg, #163B6B, #0B2A4A); color:#fff; border-radius:16px; padding:24px; box-shadow: var(--shadow); display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }

footer { background:#0f223a; color:#d1d5db; margin-top:42px; }
footer a { color:#c9e3ff; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 2fr; gap:24px; padding:28px 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns:1fr; } }
small.disclaimer { display:block; margin-top:10px; color:#94a3b8; font-size:12px; }

.table { width:100%; border-collapse: collapse; font-size:15px; }
.table th, .table td { padding:10px; border-bottom:1px solid #eef0f4; text-align:left; }
.table thead th { background: #F5F7FA; }

.carousel { position:relative; overflow:hidden; }
.carousel-track { display:flex; transition: transform .6s ease; }
.carousel .card { min-width: calc(100% - 24px); margin-right:24px; }
.carousel-controls { display:flex; gap:8px; margin-top:12px; }
.carousel button { padding:8px 12px; border-radius:10px; border:1px solid #e5e7eb; background:#fff; }

form { display:grid; gap:10px; }
input, select, textarea { width:100%; padding:12px 14px; border-radius:12px; border:1px solid #e5e7eb; font-size:16px; }
label { font-weight:600; color: #0B2A4A; }
.form-row { display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
@media (max-width: 720px) { .form-row { grid-template-columns:1fr; } }
.success { padding:12px 14px; border-radius:12px; background:#e6fffa; color:#0f766e; border:1px solid #99f6e4; display:none; }

#backToTop { position: fixed; bottom: 18px; right: 18px; display:none; z-index: 100; }
.muted { color:#6b7280; }
.divider { height:1px; background:#eef0f4; margin: 20px 0; }

/* Team avatars */
.avatar { width: 96px; height: 96px; border-radius: 9999px; object-fit: cover; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.card .meta { display:flex; align-items:center; gap:12px; }

/* Services grid images */
.svc-img { width:100%; height:140px; object-fit:cover; border-radius:12px; margin-bottom:10px; }
@media (min-width: 1100px) { .svc-img { height:120px; } }

/* Blog covers */
.blog-cover { width:100%; height:100px; object-fit:cover; object-position: center; border-radius:12px; margin-bottom:6px; }
@media (min-width: 1100px) { .blog-cover { height:100px;} }


.avatar-sm { width: 72px; height: 72px; border-radius: 9999px; object-fit: cover; box-shadow: 0 6px 20px rgba(0,0,0,.10); }
.office-img { width:100%; height:auto; border-radius:16px; box-shadow: var(--shadow); margin: 12px 0 16px; }

/* 50/50 content-image split for About hero */
.hero-split { display:grid; grid-template-columns: 1fr 1fr; gap:36px; align-items:center; }
.hero-split .split-img { width:100%; height:420px; object-fit:cover; border-radius:16px; box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .split-img { height:auto; }
}

@media (max-width: 640px) {
  .blog-cover { height: 80px;}
}

/* Home feature images (smaller, consistent) */
.feature-img { width: 100%; height: 220px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
@media (max-width: 1024px) { .feature-img { height: 200px; } }
@media (max-width: 640px)  { .feature-img { height: 160px; } }

/* Footer logo: optimized for readability on dark background */
.footer-logo { height: 42px; width: auto; display: block; image-rendering: -webkit-optimize-contrast; }
@media (max-width: 640px) { .footer-logo { height: 34px; } }
