/* =========================================================
   AS Utility Financial Pvt. Ltd. — Stylesheet
   Palette derived from brand logo tones (navy / teal / amber)
   ========================================================= */

:root {
    /* Brand palette */
    --navy-900: #021121;
    --navy-800: #113A63;
    --navy-700: #16497C;
    --teal-600: #0F9B8E;
    --teal-500: #14B3A4;
    --teal-100: #E3F6F3;
    --amber-500: #F2A93B;
    --amber-100: #FDF1DE;
    --ink-900: #1B1F27;
    --ink-600: #4B5563;
    --ink-400: #6B7280;
    --line: #E6E9EE;
    --bg-page: #F7F8FA;
    --bg-card: #FFFFFF;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 10px rgba(11, 42, 74, 0.06);
    --shadow-md: 0 12px 30px rgba(11, 42, 74, 0.10);
    --shadow-lg: 0 24px 60px rgba(11, 42, 74, 0.14);
    --gradient-brand: linear-gradient(135deg, #8f2d91 0%, #0c59a7 55%, #5d1393 100%);
    /* --gradient-brand: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--teal-600) 100%);
    --gradient-cta: linear-gradient(120deg, var(--navy-900) 0%, var(--teal-600) 100%);*/
    --gradient-cta: linear-gradient(120deg, var(--navy-900) 0%, #940f9b 100%);
    --font-display: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--bg-page);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  color: var(--navy-900);
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { color: var(--ink-600); }

a { text-decoration: none; color: inherit; }

.container-xl { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.text-teal { color: var(--teal-600); }

/* -------------------- Buttons -------------------- */
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-cta);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn-brand:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }

.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--line);
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.btn-outline-brand:hover { border-color: var(--teal-600); background: var(--teal-100); color: var(--navy-900); }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  backdrop-filter: blur(6px);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.18); color: #fff; border-color: #fff; }

/* -------------------- Navbar -------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
}
.site-header .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .brand-logo img { height: 70px; width: auto; display: block; }
.site-header .brand-logo .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-left: 10px;
  transition: color 0.35s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(11,42,74,0.08);
  padding: 12px 0;
}
.site-header.scrolled .brand-logo .brand-name { color: var(--navy-900); }

.nav-links { display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.92);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.site-header.scrolled .nav-links a { color: var(--ink-900); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--teal-600);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--teal-500); }
.site-header.scrolled .nav-links a.active { color: var(--teal-600); }

.nav-cta-wrap { display: flex; align-items: center; gap: 18px; }

.navbar-toggler-custom {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
}
.navbar-toggler-custom span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.site-header.scrolled .navbar-toggler-custom span { background: var(--navy-900); }
.navbar-toggler-custom span:nth-child(1) { top: 0; }
.navbar-toggler-custom span:nth-child(2) { top: 10px; }
.navbar-toggler-custom span:nth-child(3) { top: 20px; }
.navbar-toggler-custom.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.navbar-toggler-custom.open span:nth-child(2) { opacity: 0; }
.navbar-toggler-custom.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: #fff;
  z-index: 1100;
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  transition: right 0.4s var(--ease);
  padding: 90px 30px 30px;
}
.mobile-menu.open { right: 0; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0 0 30px; }
.mobile-menu ul li { border-bottom: 1px solid var(--line); }
.mobile-menu ul li a { display: block; padding: 16px 0; font-weight: 600; color: var(--navy-900); font-size: 1.05rem; }
.mobile-backdrop {
  position: fixed; inset: 0;
  background: rgba(11,42,74,0.5);
  z-index: 1090;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.mobile-backdrop.open { opacity: 1; visibility: visible; }

@media (max-width: 991.98px) {
  .nav-links { display: none; }
  .nav-cta-wrap .btn-brand { display: none; }
  .navbar-toggler-custom { display: block; }
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-brand);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 90px;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
}
.hero-shape.s1 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(20,179,164,0.35), transparent 70%); top: -80px; right: 10%; }
.hero-shape.s2 { width: 260px; height: 260px; background: radial-gradient(circle, rgba(242,169,59,0.25), transparent 70%); bottom: -60px; left: 4%; }
.hero-particle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  animation: floaty 8s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-26px); opacity: 0.9; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  margin-bottom: 22px;
}

.hero-heading {
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-lead {
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-glass-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 34px;
  max-width: 420px;
  width: 100%;
  color: #fff;
}
.hero-glass-card .service-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.hero-glass-card .service-row:last-child { border-bottom: none; }
.hero-glass-card .icon-chip {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.floating-stat-card {
  position: absolute;
  bottom: -26px;
  left: -30px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floating-stat-card .num { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--navy-900); }
.floating-stat-card .lbl { font-size: 0.78rem; color: var(--ink-400); }

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue .line { width: 1px; height: 34px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: #fff; animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 100% { top: 100%; } }

/* Carousel controls restyle */
.hero .carousel-indicators { bottom: 90px; }
.hero .carousel-indicators [data-bs-target] {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; margin: 0 5px;
}
.hero .carousel-indicators .active { background: var(--teal-500); width: 24px; border-radius: 4px; }

/* -------------------- Section shell -------------------- */
.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.eyebrow {
  color: var(--teal-600);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  display: inline-block;
}
.section-heading { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 16px; }
.section-sub { color: var(--ink-400); font-size: 1.02rem; max-width: 560px; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* -------------------- About -------------------- */
.about-visual { position: relative; }
.about-visual .img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.about-visual .img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-visual .deco-shape {
  position: absolute;
  width: 160px; height: 160px;
  background: var(--gradient-cta);
  border-radius: var(--radius-lg);
  top: -24px; right: -24px;
  z-index: -1;
  opacity: 0.85;
}
.about-stat-float {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px 24px;
  text-align: center;
}
.about-stat-float .num { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--teal-600); }
.about-stat-float .lbl { font-size: 0.78rem; color: var(--ink-400); }

.stat-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; }
.stat-mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.stat-mini .num { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--navy-900); }
.stat-mini .lbl { font-size: 0.82rem; color: var(--ink-400); margin-top: 2px; }

/* -------------------- Services -------------------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: transform 0.35s var(--ease);
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.06); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; margin-bottom: 18px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; color: var(--navy-900); font-weight: 600; font-size: 0.88rem; }
.service-link i { transition: transform 0.3s var(--ease); }
.service-card:hover .service-link i { transform: translateX(4px); }

/* -------------------- Why choose us -------------------- */
.feature-block { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature-block:last-child { border-bottom: none; }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--teal-100);
  color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.feature-block h4 { font-size: 1.02rem; margin-bottom: 6px; }
.feature-block p { font-size: 0.9rem; margin-bottom: 0; }

/* -------------------- How it works -------------------- */
.steps-track { position: relative; }
.steps-track::before {
  content: "";
  position: absolute;
  top: 32px; left: 32px; right: 32px;
  height: 2px;
  background: var(--line);
}
@media (max-width: 767.98px) { .steps-track::before { display: none; } }
.step-item { text-align: center; position: relative; }
.step-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--teal-600);
  color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  margin: 0 auto 22px;
  position: relative; z-index: 1;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.step-item:hover .step-circle { background: var(--gradient-cta); color: #fff; }
.step-item h4 { font-size: 1.05rem; margin-bottom: 8px; }
.step-item p { font-size: 0.9rem; max-width: 240px; margin: 0 auto; }

/* -------------------- Contact -------------------- */
.contact-info-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info-card:last-child { border-bottom: none; }
.contact-info-card .icon-box {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--teal-100); color: var(--teal-600);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0;
}
.contact-info-card h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--navy-900); }
.contact-info-card p { margin-bottom: 0; font-size: 0.95rem; }

.map-placeholder {
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  min-height: 220px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--ink-400);
  background: #fff;
  text-align: center;
  padding: 30px;
  margin-top: 30px;
}
.map-placeholder i { font-size: 1.8rem; margin-bottom: 10px; color: var(--teal-600); }

/* -------------------- Enquiry form -------------------- */
.enquiry-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 42px;
}
.form-floating-icon { position: relative; }
.form-floating-icon i {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--ink-400); font-size: 1rem;
}
.form-control-brand, .form-select-brand {
  border-radius: 12px;
  border: 1.5px solid var(--line);
  padding: 12px 16px 12px 44px;
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form-control-brand:focus, .form-select-brand:focus {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(15,155,142,0.15);
}
textarea.form-control-brand { padding-left: 16px; }
.form-label-brand { font-size: 0.85rem; font-weight: 600; color: var(--navy-900); margin-bottom: 6px; }
.required-mark { color: #E05252; }

.form-alert { display: none; border-radius: 12px; padding: 14px 18px; font-size: 0.9rem; margin-bottom: 20px; }
.form-alert.success { background: var(--teal-100); color: var(--teal-600); }
.form-alert.error { background: #FCEBEB; color: #C0392B; }

/* -------------------- CTA banner -------------------- */
.cta-banner {
  background: var(--gradient-cta);
  border-radius: var(--radius-lg);
  padding: 64px 50px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 30px; }
.cta-banner .deco-dot {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-banner .d1 { width: 220px; height: 220px; top: -80px; left: -60px; }
.cta-banner .d2 { width: 160px; height: 160px; bottom: -60px; right: -30px; }

/* -------------------- Footer -------------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 70px 0 0; }
.site-footer h5 { color: #fff; font-family: var(--font-display); font-size: 1rem; margin-bottom: 20px; }
.site-footer .footer-logo img { height: 66px; margin-bottom: 16px; }
.site-footer .footer-desc { font-size: 0.9rem; color: rgba(255,255,255,0.6); max-width: 280px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: color 0.25s var(--ease); }
.site-footer ul li a:hover { color: var(--teal-500); }
.social-icons { display: flex; gap: 10px; margin-top: 20px; }
.social-icons a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease);
}
.social-icons a:hover { background: var(--teal-600); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 50px;
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.84rem;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 22px; }

/* -------------------- Back to top -------------------- */
.back-to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  z-index: 900;
  border: none;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* -------------------- Counters -------------------- */
[data-counter] { font-variant-numeric: tabular-nums; }

/* -------------------- Accessibility -------------------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: 2px;
}

@media (max-width: 767.98px) {
  .section { padding: 64px 0; }
  .cta-banner { padding: 46px 24px; }
  .enquiry-card { padding: 26px; }
  .floating-stat-card, .about-stat-float { position: static; margin-top: 16px; display: inline-flex; animation: none; }
  .hero-glass-card { margin-top: 30px; }
}
