/* ==========================================================================
   Ankur Digital Hub - Modern, Responsive & Enhanced Stylesheet
   ========================================================================== */

:root {
  --navy: #16226b;
  --navy-dark: #0e1644;
  --navy-light: #243497;
  --orange: #ff6a13;
  --orange-hover: #e55604;
  --orange-light: #fff2ea;
  --green: #1e8e3e;
  --purple: #5b2a9b;
  --ink: #1a1f4d;
  --muted: #5d6491;
  --line: #e3e8fb;
  --soft: #f4f7ff;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 4px 12px rgba(22, 34, 107, 0.05);
  --shadow-md: 0 10px 30px rgba(22, 34, 107, 0.08);
  --shadow-lg: 0 20px 48px rgba(22, 34, 107, 0.14);
  --shadow-orange: 0 10px 24px rgba(255, 106, 19, 0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Container & Width System (User Requirement: 80% width on Desktop)
   ========================================================================== */

.wrap {
  width: 92%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 14px;
}

/* Desktop: Screen ka 80% width with clean centering */
@media (min-width: 1024px) {
  .wrap {
    width: 80% !important;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: 0;
  }
}

/* ==========================================================================
   Top Announcement Bar (Desktop/Tablet)
   ========================================================================== */

.top-bar {
  background: var(--navy-dark);
  color: #dbe2ff;
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-bar .tb-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-bar .tb-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-bar a {
  color: #ffb98a;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.top-bar a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

header.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

header.nav.scrolled {
  box-shadow: 0 4px 20px rgba(22, 34, 107, 0.08);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(22, 34, 107, 0.12);
  transition: transform 0.2s ease;
}

.brand:hover img {
  transform: rotate(5deg) scale(1.05);
}

.menu {
  display: flex;
  gap: 4px;
  align-items: center;
}

.menu a {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--ink);
  transition: all 0.18s ease;
}

.menu a:hover {
  background: var(--soft);
  color: var(--orange);
}

.menu a.on {
  background: rgba(255, 106, 19, 0.12);
  color: var(--orange);
  font-weight: 700;
}

/* Animated Hamburger Button */
.burger {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 10px;
  position: relative;
  border-radius: 10px;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  z-index: 110;
  transition: background 0.2s;
}

.burger:hover {
  background: var(--soft);
}

.burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 4px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Backdrop Overlay for Mobile Nav */
.nav-backdrop {
  position: fixed;
  inset: 0;
  top: 72px;
  background: rgba(14, 22, 68, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 900px) {
  .burger {
    display: flex;
  }
  .menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 6vw 24px;
    border-bottom: 2px solid var(--line);
    box-shadow: 0 24px 40px rgba(22, 34, 107, 0.15);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.3s;
    z-index: 99;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .menu a {
    padding: 13px 18px;
    font-size: 1.05rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .menu a.btn {
    margin-top: 10px;
    justify-content: center;
    padding: 14px 20px;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: #ffffff !important;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 13px 26px;
  border-radius: 14px;
  box-shadow: var(--shadow-orange);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 0;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 106, 19, 0.45);
  background: var(--orange-hover);
}

.btn:active {
  transform: translateY(0);
}

.btn.navy {
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(22, 34, 107, 0.25);
}

.btn.navy:hover {
  background: var(--navy-light);
  box-shadow: 0 14px 28px rgba(22, 34, 107, 0.35);
}

.btn.line {
  background: #ffffff;
  color: var(--navy) !important;
  border: 2px solid var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn.line:hover {
  background: var(--soft);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  padding: 60px 0 70px;
  background: linear-gradient(180deg, #fff5ed 0%, #ffffff 80%);
  overflow: hidden;
}

/* 40% Opacity Background Image with Continuous Scrolling Animation */
.hero-bg-art {
  position: absolute;
  inset: -40px;
  background-image: url('/header-bg.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.4; /* 40% opacity as requested */
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
  animation: heroDrift 25s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroDrift {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(-20px, -12px); }
  100% { transform: scale(1.15) translate(20px, 15px); }
}

.hero::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 19, 0.18), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 34, 107, 0.14), transparent 70%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 36px;
  align-items: center;
  min-height: 520px;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.chip {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.chip:nth-child(1) { background: var(--navy); }
.chip:nth-child(2) { background: var(--green); }
.chip:nth-child(3) { background: var(--purple); }

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}

h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange), #ff8a3d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  max-width: 560px;
  line-height: 1.7;
}

.row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* 3D Stage & Orbiting Badges */
.stage {
  position: relative;
  width: 100%;
  height: min(460px, 85vw);
  display: grid;
  place-items: center;
  perspective: 1100px;
  margin-inline: auto;
}

.pivot {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.disc {
  position: absolute;
  width: min(380px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd9be, #dce4ff);
  transform: translateZ(-80px);
  box-shadow: 0 40px 80px rgba(22, 34, 107, 0.2);
}

.logo {
  width: min(340px, 66vw);
  transform: translateZ(50px);
  filter: drop-shadow(0 24px 34px rgba(22, 34, 107, 0.35));
  animation: bob 5s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateZ(50px) translateY(0); }
  50% { transform: translateZ(50px) translateY(-14px); }
}

@property --t {
  syntax: '<angle>';
  inherits: true;
  initial-value: 0deg;
}

.ring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(66deg) translateZ(10px);
  animation: orb 28s linear infinite;
}

@keyframes orb {
  to { --t: 360deg; }
}

.ring i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 1.5rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(22, 34, 107, 0.22);
  transform: rotateZ(calc(var(--a) + var(--t))) translateX(min(210px, 40vw)) rotateZ(calc(-1 * (var(--a) + var(--t)))) rotateX(-66deg);
}

@media (max-width: 900px) {
  .hero {
    padding: 40px 0 50px;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .chips {
    justify-content: center;
  }
  .lead {
    margin-inline: auto;
  }
  .row {
    justify-content: center;
  }
  .stage {
    height: min(360px, 80vw);
  }
  .ring i {
    width: 44px;
    height: 44px;
    margin: -22px;
    font-size: 1.25rem;
    transform: rotateZ(calc(var(--a) + var(--t))) translateX(min(145px, 34vw)) rotateZ(calc(-1 * (var(--a) + var(--t)))) rotateX(-66deg);
  }
}

/* ==========================================================================
   Quick Info Strip
   ========================================================================== */

.strip {
  background: var(--navy-dark);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  text-align: center;
}

.strip .wrap > div, .strip-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  transition: transform 0.2s, background 0.2s;
}

.strip .wrap > div:hover, .strip-item:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.strip b {
  display: block;
  color: #ffb98a;
  font-size: 1.02rem;
  margin-bottom: 2px;
}

.strip span {
  font-size: 0.84rem;
  color: #d6dcff;
}

@media (max-width: 900px) {
  .strip .wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .strip .wrap {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .strip b {
    font-size: 0.92rem;
  }
  .strip span {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   Page Headers (Internal Pages)
   ========================================================================== */

.pagehead {
  background: linear-gradient(130deg, var(--navy-dark) 0%, var(--navy) 60%, #2a3c9e 100%);
  color: #ffffff;
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pagehead::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 106, 19, 0.25);
  filter: blur(40px);
}

.crumb {
  font-size: 0.84rem;
  color: #ffb98a;
  font-weight: 600;
  position: relative;
  margin-bottom: 8px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 14px;
  border-radius: 99px;
}

.pagehead h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative;
}

.pagehead p {
  color: #d6dcff;
  max-width: 640px;
  margin: 12px auto 0;
  position: relative;
  font-size: 1.05rem;
}

/* ==========================================================================
   Sections, Kickers, & Grids
   ========================================================================== */

section {
  padding: 76px 0;
}

.soft {
  background: var(--soft);
}

.kicker {
  text-align: center;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

h2 {
  text-align: center;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}

.sub {
  text-align: center;
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto 42px;
  font-size: 1.04rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 26px;
}

/* Cards */
.card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: transform 0.22s ease-out, box-shadow 0.22s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 5px;
  background: var(--c, var(--orange));
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(22, 34, 107, 0.15);
}

.ic {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  font-size: 1.85rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c, var(--orange)) 20%, #ffffff), color-mix(in srgb, var(--c, var(--orange)) 6%, #ffffff));
  margin-bottom: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin: 12px 0 8px;
  font-size: 1.18rem;
  color: var(--navy);
  font-weight: 700;
}

.card p, .card li {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.card ul {
  margin: 12px 0 0 18px;
}

.card li {
  margin: 4px 0;
}

.go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  font-weight: 700;
  color: var(--c, var(--orange));
  font-size: 0.94rem;
  transition: transform 0.18s;
}

.card:hover .go {
  transform: translateX(4px);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--c, var(--orange));
  padding: 4px 12px;
  border-radius: 99px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  counter-reset: s;
}

.step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 24px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  top: -18px;
  left: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-orange);
}

.step h3 {
  color: var(--navy);
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.92rem;
  color: var(--muted);
}

.note {
  max-width: 820px;
  margin: 36px auto 0;
  background: #fff8f2;
  border: 1px solid #ffd9bf;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  color: #7a4217;
  font-size: 0.92rem;
  text-align: center;
  line-height: 1.6;
}

/* ==========================================================================
   Call To Action (CTA) Banner
   ========================================================================== */

.cta {
  background: linear-gradient(135deg, var(--orange) 0%, #ff8533 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 50px 6vw;
  text-align: center;
  box-shadow: 0 20px 50px rgba(255, 106, 19, 0.35);
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.cta h2 {
  color: #ffffff;
  margin-bottom: 8px;
}

.cta p {
  color: #fff4ec;
  margin-bottom: 26px;
  font-size: 1.08rem;
}

.cta .btn {
  background: #ffffff;
  color: var(--navy) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.cta .btn:hover {
  background: var(--soft);
  transform: translateY(-2px);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq {
  max-width: 840px;
  margin: auto;
  display: grid;
  gap: 14px;
}

details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

details[open] {
  border-color: rgba(255, 106, 19, 0.4);
  box-shadow: 0 8px 24px rgba(22, 34, 107, 0.06);
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--orange);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Contact & Two-column Layouts
   ========================================================================== */

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 860px) {
  .two {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.info {
  display: grid;
  gap: 16px;
}

.info div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.info div:hover {
  transform: translateY(-2px);
}

.info b {
  color: var(--navy);
  font-size: 1.02rem;
  display: block;
  margin-bottom: 4px;
}

.info small {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow-md);
}

input, select, textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 19, 0.15);
}

#msg {
  font-weight: 600;
  min-height: 1.4em;
  text-align: center;
  font-size: 0.95rem;
  padding: 4px 0;
}

.about-p {
  max-width: 860px;
  margin: auto;
  color: var(--muted);
  font-size: 1.08rem;
  text-align: center;
  line-height: 1.75;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  margin-top: auto;
  background: var(--navy-dark);
  color: #dfe4ff;
  padding: 60px 0 90px;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer .cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 36px;
}

@media (max-width: 768px) {
  footer {
    padding-bottom: 110px; /* Safe padding for mobile bottom action bar */
  }
  footer .cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

footer img {
  width: 68px;
  height: 68px;
  background: #ffffff;
  border-radius: 50%;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

footer h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 14px;
  font-weight: 700;
}

footer a {
  display: block;
  color: #ffb98a;
  margin: 6px 0;
  transition: color 0.15s;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

footer .tg {
  color: #ffffff;
  font-weight: 700;
  margin: 6px 0 10px;
  font-size: 0.96rem;
}

.copy {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  opacity: 0.8;
  font-size: 0.85rem;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */

.wa {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 90;
  background: #25d366;
  color: #ffffff !important;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.85rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPulse 3s infinite;
}

.wa:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
}

@keyframes waPulse {
  0%, 100% {
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 10px 36px rgba(37, 211, 102, 0.7);
  }
}

@media (max-width: 768px) {
  .wa {
    bottom: 82px; /* Positioned right above the mobile sticky quick action bar */
    right: 16px;
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   Mobile Bottom Quick Actions Bar (1-Tap Call, WhatsApp, Map, Card)
   ========================================================================== */

.mobile-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 66px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    box-shadow: 0 -4px 18px rgba(22, 34, 107, 0.08);
    padding: 0 6px;
  }

  .m-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--navy);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 12px;
    flex: 1;
    text-align: center;
    transition: background 0.15s, transform 0.15s;
  }

  .m-item:active {
    transform: scale(0.92);
    background: var(--soft);
  }

  .m-item .m-ic {
    font-size: 1.25rem;
    line-height: 1;
  }

  .m-item.m-wa {
    color: #128c7e;
  }

  .m-item.m-wa .m-ic {
    font-size: 1.35rem;
  }
}

/* ==========================================================================
   Scroll Reveal Animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
