/* Amit Agnihotri — Premium Digital Growth Brand */
:root {
  --primary: #2563EB;
  --primary-dark: #1d4ed8;
  --sky: #0EA5E9;
  --light: #F8FAFC;
  --grey: #E2E8F0;
  --text: #0F172A;
  --muted: #475569;
  --white: #FFFFFF;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 30px rgba(37, 99, 235, 0.10);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.14);
  --gradient: linear-gradient(135deg, #2563EB 0%, #0EA5E9 100%);
  --gradient-soft: linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.75rem); line-height: 1.1; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); line-height: 1.2; }
h3 { font-size: 1.35rem; }
.lead { color: var(--muted); font-size: 1.15rem; }
p { color: var(--muted); }
a { color: var(--primary); text-decoration: none; transition: all .2s ease; }
a:hover { color: var(--primary-dark); }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  padding: .9rem 0;
  transition: all .3s ease;
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--grey);
}
.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text) !important;
  letter-spacing: -0.02em;
}
.navbar-brand .accent { color: var(--primary); }
.navbar .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  font-size: .96rem;
  margin: 0 .15rem;
  padding: .5rem .9rem !important;
  border-radius: 8px;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary) !important;
  background: var(--light);
}

/* ---------- Buttons ---------- */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: 10px;
  padding: .75rem 1.5rem;
  font-size: .98rem;
  transition: all .25s ease;
  border: 2px solid transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
}
.btn-primary-blue {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37,99,235,0.28);
}
.btn-primary-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37,99,235,0.42);
  color: #fff;
}
.btn-outline-blue {
  background: #fff;
  color: var(--primary);
  border-color: var(--grey);
}
.btn-outline-blue:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--light);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover { background: var(--light); color: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 9rem 0 5rem;
  background:
    radial-gradient(900px 500px at 90% 10%, rgba(14,165,233,0.18), transparent 60%),
    radial-gradient(800px 500px at -10% 50%, rgba(37,99,235,0.14), transparent 60%),
    linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem; border-radius: 999px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.2);
  color: var(--primary);
  font-size: .85rem; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 1.25rem;
}
.hero .trust {
  display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.75rem;
  color: var(--muted); font-size: .92rem; font-weight: 500;
}
.hero .trust span { display: inline-flex; align-items: center; gap: .4rem; }
.hero .trust i { color: var(--primary); }

/* Hero floating cards */
.float-cards { position: relative; min-height: 460px; }
.float-card {
  background: #fff;
  border: 1px solid var(--grey);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  position: absolute;
  width: 78%;
  transition: transform .4s ease;
}
.float-card:hover { transform: translateY(-6px); }
.float-card .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gradient); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: .85rem;
}
.float-card h4 { font-size: 1.05rem; margin: 0 0 .25rem; }
.float-card p { font-size: .9rem; margin: 0; color: var(--muted); }
.float-card.fc-1 { top: 0; left: 0; animation: floatY 6s ease-in-out infinite; }
.float-card.fc-2 { top: 38%; right: 0; animation: floatY 6s ease-in-out infinite 1.5s; }
.float-card.fc-3 { bottom: 0; left: 8%; animation: floatY 6s ease-in-out infinite 3s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 991px) {
  .float-cards { min-height: auto; display: grid; gap: 1rem; margin-top: 2rem; }
  .float-card { position: static; width: 100%; animation: none; }
}

/* ---------- Sections ---------- */
section { padding: 5rem 0; }
.section-light { background: var(--light); }
.section-gradient { background: var(--gradient-soft); }
.eyebrow-dark {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: .75rem;
}

/* ---------- Stats ---------- */
.stats-band {
  background: var(--gradient);
  color: #fff;
  padding: 3.5rem 0;
}
.stat-item { text-align: center; padding: .5rem; }
.stat-item .num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800; color: #fff; line-height: 1;
}
.stat-item .lbl {
  color: rgba(255,255,255,0.85);
  font-size: .95rem; margin-top: .4rem; font-weight: 500;
}

/* ---------- Service Cards ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--grey);
  border-radius: 16px;
  padding: 1.9rem 1.6rem;
  height: 100%;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--gradient);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.1rem;
  box-shadow: 0 8px 20px rgba(37,99,235,0.25);
}
.service-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.service-card p { color: var(--muted); margin-bottom: 1rem; font-size: .96rem; }
.service-card .link {
  font-weight: 600; color: var(--primary);
  display: inline-flex; align-items: center; gap: .4rem;
}
.service-card .link:hover { gap: .7rem; }

/* ---------- Why-us / Features ---------- */
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .65rem 0; color: var(--text); font-weight: 500;
}
.feature-list li i {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem;
}
.why-image {
  width: 100%; border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* ---------- Process / Timeline ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 3rem;
}
.process-grid::before {
  content: ""; position: absolute;
  top: 36px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--sky));
  opacity: .25;
  z-index: 0;
}
.process-step {
  background: #fff;
  border: 1px solid var(--grey);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all .3s ease;
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.process-step .num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 1.3rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(37,99,235,0.3);
}
.process-step h4 { font-size: 1.15rem; margin-bottom: .35rem; }
.process-step p { font-size: .92rem; margin: 0; }
@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
}

/* ---------- Portfolio ---------- */
.portfolio-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--gradient-soft);
  cursor: pointer;
}
.portfolio-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.portfolio-card:hover img { transform: scale(1.06); }
.portfolio-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,0.85) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem; color: #fff;
  opacity: 0; transition: opacity .3s ease;
}
.portfolio-card:hover .overlay { opacity: 1; }
.portfolio-card .overlay h4 { color: #fff; margin: 0 0 .25rem; font-size: 1.1rem; }
.portfolio-card .overlay span { color: rgba(255,255,255,0.85); font-size: .9rem; }

/* ---------- Case Studies ---------- */
.case-card {
  background: #fff;
  border: 1px solid var(--grey);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  transition: all .3s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.case-card .tag {
  display: inline-block;
  background: rgba(37,99,235,0.08); color: var(--primary);
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  padding: .25rem .7rem; border-radius: 999px;
  margin-bottom: .9rem; text-transform: uppercase;
}
.case-card h4 { font-size: 1.15rem; margin-bottom: .5rem; }
.case-card .result {
  margin-top: 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.case-card .result-label { font-size: .85rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff; border: 1px solid var(--grey);
  border-radius: 16px; padding: 1.75rem; height: 100%;
}
.testimonial .stars { color: #FBBF24; margin-bottom: .75rem; font-size: 1rem; }
.testimonial p { color: var(--text); font-style: italic; margin-bottom: 1.25rem; }
.testimonial .who { display: flex; align-items: center; gap: .85rem; }
.testimonial .avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: 'Poppins', sans-serif;
}
.testimonial .who strong { color: var(--text); display: block; font-style: normal; }
.testimonial .who small { color: var(--muted); }

/* ---------- Audit band ---------- */
.audit-band {
  background: var(--gradient);
  border-radius: 24px;
  padding: 3.5rem;
  color: #fff;
  position: relative; overflow: hidden;
}
.audit-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at top right, #000, transparent 70%);
}
.audit-band > * { position: relative; z-index: 1; }
.audit-band h2 { color: #fff; }
.audit-band p { color: rgba(255,255,255,0.9); }
.audit-band .checklist { list-style: none; padding: 0; margin: 1.25rem 0; }
.audit-band .checklist li {
  padding: .4rem 0 .4rem 2rem; position: relative;
  color: rgba(255,255,255,0.95);
}
.audit-band .checklist li::before {
  content: "✓"; position: absolute; left: 0; top: .4rem;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem;
}

/* ---------- FAQ ---------- */
.faq .accordion-item {
  background: #fff;
  border: 1px solid var(--grey);
  border-radius: 14px !important;
  margin-bottom: .85rem;
  overflow: hidden;
}
.faq .accordion-button {
  font-family: 'Poppins', sans-serif;
  font-weight: 600; color: var(--text);
  padding: 1.1rem 1.3rem;
  background: #fff;
  border-radius: 14px !important;
  box-shadow: none !important;
}
.faq .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: var(--light);
}
.faq .accordion-button::after {
  background-size: 1rem;
}
.faq .accordion-body { color: var(--muted); padding: 0 1.3rem 1.2rem; }

/* ---------- Final CTA ---------- */
.final-cta {
  background:
    radial-gradient(700px 350px at 100% 0%, rgba(14,165,233,0.4), transparent 60%),
    linear-gradient(135deg, #0F172A 0%, #1d4ed8 100%);
  color: #fff;
  padding: 5rem 0;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,0.85); }

/* ---------- Forms ---------- */
.form-control, .form-select {
  border: 1.5px solid var(--grey);
  border-radius: 10px;
  padding: .85rem 1rem;
  font-size: 1rem;
  background: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}
.form-label { font-weight: 600; color: var(--text); margin-bottom: .4rem; }
.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey);
}
.form-alert {
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.2);
  color: var(--primary);
  padding: .85rem 1rem; border-radius: 10px;
  font-weight: 500;
}

/* ---------- Page header ---------- */
.page-header {
  background: var(--gradient-soft);
  padding: 8rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--grey);
}
.page-header p { max-width: 700px; margin: 1rem auto 0; }

/* ---------- Contact info ---------- */
.contact-info-card {
  background: #fff; border: 1px solid var(--grey);
  border-radius: 14px; padding: 1.5rem; height: 100%;
  display: flex; gap: 1rem; align-items: flex-start;
  transition: all .3s ease;
}
.contact-info-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-info-card .ic {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.contact-info-card h5 { margin: 0 0 .2rem; font-size: 1rem; }
.contact-info-card p { margin: 0; font-size: .95rem; }

/* ---------- Footer ---------- */
footer {
  background: #0F172A;
  color: rgba(255,255,255,0.7);
  padding: 4.5rem 0 1.5rem;
}
footer h5 {
  color: #fff; font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 1rem;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
footer a { color: rgba(255,255,255,0.7); display: inline-block; padding: .25rem 0; }
footer a:hover { color: #fff; }
footer p { color: rgba(255,255,255,0.7); }
footer .brand-foot {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem; color: #fff; font-weight: 700;
}
footer .brand-foot .accent { color: var(--sky); }
footer .socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: .5rem;
}
footer .socials a:hover { background: var(--primary); color: #fff; }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem; padding-top: 1.5rem;
  font-size: .9rem; color: rgba(255,255,255,0.55);
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  z-index: 999; transition: transform .25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float::after {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%; border: 2px solid rgba(37,211,102,0.5);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: all .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .hero { padding: 7rem 0 3rem; }
  .audit-band { padding: 2.25rem 1.5rem; }
  .form-card { padding: 1.75rem; }
  .whatsapp-float { width: 54px; height: 54px; font-size: 1.6rem; bottom: 16px; right: 16px; }
  section { padding: 3.5rem 0; }
}

/* ---------- Legacy/subpage compatibility ---------- */
.audit-hero {
  background: var(--gradient);
  color: #fff; padding: 9rem 0 4rem;
}
.audit-hero h1, .audit-hero h2 { color: #fff; }
.audit-hero .lead { color: rgba(255,255,255,0.92); }
.audit-hero .gold { color: #fff; font-weight: 700; }
.checklist { list-style: none; padding: 0; }
.checklist li {
  padding: .5rem 0 .5rem 2rem; position: relative;
  color: rgba(255,255,255,0.95);
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: .5rem;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem;
}
.cta-band {
  background: var(--gradient);
  color: #fff; border-radius: 24px; padding: 3.5rem;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); }
