:root {
  --primary: #1f5fe0;
  --primary-dark: #1448ad;
  --accent: #ffd447;
  --accent-soft: #fff6d1;
  --bg: #0f1735;
  --surface: #f7f9ff;
  --muted: #5a6b85;
  --border: #d5e3ff;
  --shadow: 0 18px 50px rgba(22,60,120,0.16);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 120px; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(31,95,224,0.12), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255,212,71,0.16), transparent 32%),
    linear-gradient(135deg, #f4f7ff 0%, #f8fbff 45%, #eef4ff 100%);
  color: #121828;
  scroll-behavior: smooth;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, 92vw); margin: 0 auto; }
.section { padding: 88px 0; position: relative; overflow: hidden; scroll-margin-top: 120px; }
h1 { font-size: clamp(2.4rem, 3vw, 3rem); margin: 0 0 14px; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 2.5vw, 2.3rem); margin: 0 0 12px; }
h3 { margin: 0 0 8px; font-size: 1.1rem; }
p { margin: 0 0 12px; }
.lead { font-size: 1.1rem; color: #2f2c30; }
.muted { color: var(--muted); }

header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: clamp(62px, 8vw, 82px); width: auto; display: block; }
.nav-links { display: flex; gap: 16px; flex-wrap: wrap; font-weight: 600; color: #1b2a44; }
.nav-links a { padding: 10px 12px; border-radius: 10px; position: relative; overflow: hidden; }
.nav-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-links a:hover { background: var(--accent-soft); color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); }
.cta-top .call-now { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); font-weight: 700; }

.ambient { position: fixed; inset: 0; pointer-events: none; background:
  radial-gradient(circle at 70% 30%, rgba(31,95,224,0.18), transparent 36%),
  radial-gradient(circle at 30% 70%, rgba(255,212,71,0.16), transparent 40%);
  z-index: -1;
  opacity: 0.8;
  animation: floatAmbient 16s ease-in-out infinite alternate;
}

.hero { padding-top: 96px; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px; align-items: center; }
.hero-copy { max-width: 560px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--accent-soft); color: #1d3156; font-weight: 700; letter-spacing: 0.2px; }
.hero-card { background: rgba(255,255,255,0.92); border: 1px solid var(--border); border-radius: 18px; padding: 18px; box-shadow: 0 24px 70px rgba(0,0,0,0.12); backdrop-filter: blur(6px) saturate(1.1); }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.btn { padding: 13px 18px; border-radius: 12px; font-weight: 700; border: none; cursor: pointer; font-size: 1rem; transition: transform .18s ease, box-shadow .18s ease, background-position .4s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; background-size: 200% 200%; box-shadow: 0 15px 38px rgba(31,95,224,0.26); }
.btn-primary:hover { background-position: 100% 0; }
.btn-secondary { background: #fff; color: var(--primary); border: 1px solid var(--border); }
.whatsapp { background: #25d366; color: #fff; }
.hero-media img { border-radius: 20px; height: 100%; object-fit: cover; }
.glass { position: relative; background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78)); border-radius: 22px; padding: 14px; box-shadow: 0 26px 80px rgba(0,0,0,0.14); border: 1px solid rgba(255,255,255,0.65); overflow: hidden; }
.glass::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,212,71,0.3); border-radius: 18px; pointer-events: none; }

.grid { display: grid; gap: 18px; }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); position: relative; overflow: hidden; z-index: 0; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; animation: fadeUp .8s ease forwards; opacity: 0; backdrop-filter: saturate(1.05); }
.card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 20px 60px rgba(0,0,0,0.14); border-color: rgba(31,95,224,0.2); }
.card::before { content: ""; position: absolute; top: 0; left: 18px; height: 4px; width: 64px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 999px; opacity: 0.75; }
.service-card .media img { height: 160px; width: 100%; object-fit: cover; border-radius: 14px 14px 0 0; }
.service-card .body { padding: 14px 16px 16px; }

.gallery-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gallery-item { position: relative; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--border); cursor: pointer; }
.gallery-item img { height: 190px; width: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); filter: saturate(1.05); }
.gallery-caption { position: absolute; inset: auto 0 0 0; padding: 12px; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.72)); color: #fff; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.2px; }

.why-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.why-card { padding: 16px; background: linear-gradient(145deg, #fff, #f4f8ff); }
.why-card h3 { color: var(--primary); }

.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step { padding: 18px; }
.step-number { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #1d3156; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }

.service-area { padding: 22px; background: linear-gradient(145deg, #f3f8ff, #fffbe6); }

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; align-items: start; }
.contact-card { padding: 18px; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: #1d3156; font-weight: 700; }

.clients-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.client-card { position: relative; text-align: center; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.client-logo-wrap { width: 160px; height: 120px; display: grid; place-items: center; padding: 12px; border-radius: 12px; background: #f4f7ff; border: 1px solid var(--border); }
.client-logo { max-width: 100%; max-height: 100%; object-fit: contain; }
.client-badge { position: absolute; top: 14px; left: 14px; display: inline-block; background: var(--primary); color: #fff; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; }
.client-card .client-logo-wrap { margin-top: 26px; }
.client-name { font-weight: 700; color: #122552; letter-spacing: 0.2px; }

.testimonials { background: linear-gradient(135deg, rgba(31,95,224,0.08), rgba(255,212,71,0.12)); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 28px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 10px; }
.testimonial-card { position: relative; overflow: hidden; padding: 18px 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.testimonial-card::before { content: '“'; position: absolute; top: 18px; left: 16px; font-size: 32px; color: var(--accent); font-weight: 800; opacity: 0.9; }
.testimonial-content { padding-left: 30px; color: #1c2840; line-height: 1.6; }
.testimonial-author { display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: var(--primary); margin-top: auto; gap: 10px; }
.testimonial-role { font-weight: 700; color: var(--muted); font-size: 0.92rem; }

footer { background: #0f1f44; color: #e9f0ff; padding: 32px 0 14px; margin-top: 32px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; align-items: start; padding: 0 4vw; }
.footer-grid::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(255,212,71,0.08), transparent 40%), radial-gradient(circle at 80% 60%, rgba(31,95,224,0.14), transparent 45%); opacity: 0.6; z-index: 0; }
footer a { color: #e9f0ff; text-decoration: none; }
.footer-brand { display: flex; gap: 14px; align-items: center; position: relative; z-index: 1; }
.footer-brand .brand-logo { height: 72px; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: 0 14px 40px rgba(0,0,0,0.18); }
.brand-mark { display: none; }
.footer-title { font-weight: 800; letter-spacing: 0.2px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.footer-col h4 { margin: 0 0 4px; font-size: 1rem; letter-spacing: 0.2px; }
.footer-col span { color: #c9d6f3; }
.footer-col a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.12); display: grid; place-items: center; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); }
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.social-icon:hover { background: rgba(255,212,71,0.22); color: #0f1f44; }
.footer-bottom { text-align: center; margin-top: 20px; color: #c9d6f3; font-size: 0.95rem; position: relative; z-index: 1; }

.narrow { max-width: 860px; }

/* Section glow and accents */
.section::before { content: ""; position: absolute; inset: 8% 15%; background: radial-gradient(circle at 30% 20%, rgba(31,95,224,0.12), transparent 40%), radial-gradient(circle at 70% 70%, rgba(255,212,71,0.12), transparent 45%); filter: blur(6px); z-index: -1; animation: floatGlow 16s ease-in-out infinite alternate; }
.section:nth-of-type(even)::before { background: radial-gradient(circle at 60% 20%, rgba(255,212,71,0.16), transparent 40%), radial-gradient(circle at 30% 70%, rgba(31,95,224,0.12), transparent 45%); }

/* Soft entrance animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.section h2 { position: relative; display: inline-block; padding-bottom: 6px; }
.section h2::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 56%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 999px; opacity: 0.9; }
.hero-card, .glass, .pill, .btn { animation: fadeUp .8s ease forwards; opacity: 0; }
.hero-card { animation-delay: .05s; }
.glass { animation-delay: .1s; }
.btn { animation-delay: .15s; }

/* Hover accents */
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.gallery-item:hover .gallery-caption { background: linear-gradient(180deg, transparent, rgba(0,0,0,0.82)); }
.card::after { content: ""; position: absolute; inset: auto 12px 12px auto; width: 90px; height: 90px; background: radial-gradient(circle at center, rgba(31,95,224,0.14), transparent 60%); border-radius: 20px; opacity: 0; transition: opacity .2s ease; pointer-events: none; z-index: -1; }
.card:hover::after { opacity: 1; }

@keyframes floatAmbient {
  from { transform: translateY(-6px) scale(1); }
  to { transform: translateY(10px) scale(1.03); }
}
@keyframes floatGlow {
  from { transform: translateY(0) translateX(0); }
  to { transform: translateY(10px) translateX(6px); }
}

@media (max-width: 720px) {
  .nav { flex-wrap: wrap; }
  .nav-links { width: 100%; justify-content: flex-start; }
  .btn, .call-now { width: 100%; text-align: center; }
}
