/* ===================================================
   Sparkle Soft-Tech Pvt. Ltd. — Landing Page Styles
   =================================================== */

:root {
  --blue: #1747d1;
  --blue-600: #1035a6;
  --blue-050: #eef3ff;
  --cyan: #16b8d4;
  --accent: #ff7a1a;
  --ink: #0d1425;
  --body: #5a6474;
  --line: #e7ebf3;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(13, 20, 37, 0.06);
  --shadow: 0 18px 45px rgba(16, 53, 166, 0.12);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family:
    "Manrope",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  color: var(--ink);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.section {
  padding: 96px 0;
  position: relative;
}
.section.about,
.section.why,
.section.testimonials {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 60px;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.76rem;
  color: var(--blue);
  display: inline-block;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
}
.grad {
  background: linear-gradient(100deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background 0.18s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(23, 71, 209, 0.28);
}
.btn-primary:hover {
  background: var(--blue-600);
}
.btn-ghost {
  border-color: #cdd7ee;
  color: var(--ink);
  background: #fff;
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-light {
  background: #fff;
  color: var(--blue);
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #c8d2e8;
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}
.topbar-links {
  display: flex;
  gap: 20px;
}
.topbar-links a:hover {
  color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #1f63d6 0%, #1c4bc0 45%, #16307e 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.site-header.scrolled {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(13, 20, 37, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 105px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 105px;
  height: 100%;
  object-fit: contain;
}
.brand-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: #fff;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}
.brand-text strong {
  color: #fff;
  font-weight: 800;
}
.brand-text small {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav ul {
  display: flex;
  gap: 28px;
}
.nav-link {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.93rem;
  color: #fff;
  position: relative;
  padding: 8px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #fff;
  transition: width 0.25s var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-cta {
  padding: 11px 22px;
}
.site-header .nav-cta {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(13, 20, 37, 0.18);
}
.site-header .nav-cta:hover {
  background: #f0f4ff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin: 5px auto;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 0;
  background:
    radial-gradient(
      1000px 520px at 88% -8%,
      rgba(22, 184, 212, 0.16),
      transparent 60%
    ),
    radial-gradient(
      760px 440px at 6% 8%,
      rgba(23, 71, 209, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, #f2f6ff 0%, #ffffff 78%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 70px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue-600);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  letter-spacing: -0.03em;
}
.lead {
  margin: 22px 0 30px;
  font-size: 1.1rem;
  max-width: 33em;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.7rem;
  color: var(--ink);
}
.hero-stats span {
  font-size: 0.84rem;
  max-width: 12em;
}

.hero-visual {
  position: relative;
}
.hero-img {
  width: 100%;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
}
.hero-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink);
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.chip-1 {
  top: 26px;
  left: -26px;
}
.chip-2 {
  bottom: 34px;
  right: -22px;
  animation-delay: 1.5s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  gap: 26px;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: scroll 38s linear infinite;
}
.marquee-track span {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #a9b6d4;
}
.marquee-track span:nth-child(odd) {
  color: #fff;
}
@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.about-media {
  position: relative;
}
.about-media img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.about-badge {
  position: absolute;
  right: -18px;
  bottom: -22px;
  background: var(--blue);
  color: #fff;
  padding: 16px 22px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.about-badge strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.15rem;
}
.about-badge span {
  font-size: 0.8rem;
  opacity: 0.9;
}
.about-text p {
  margin-bottom: 16px;
}
.about-text h2 {
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
}
.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}
.value-list span {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue-600);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 8px 15px;
  border-radius: 999px;
}

/* ---------- Services ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    border-color 0.22s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-media {
  overflow: hidden;
}
.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.card:hover .card-media img {
  transform: scale(1.06);
}
.card-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.card p {
  font-size: 0.93rem;
}
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}
.btn-mini {
  flex: 1;
  text-align: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  border: 1.5px solid transparent;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    transform 0.18s var(--ease);
}
.btn-mini:hover {
  transform: translateY(-2px);
}
.btn-mini-primary {
  background: var(--blue);
  color: #fff;
}
.btn-mini-primary:hover {
  background: var(--blue-600);
}
.btn-mini-ghost {
  border-color: #cdd7ee;
  color: var(--ink);
}
.btn-mini-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ---------- Modules ---------- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.module {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}
.module:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.module img {
  width: 100%;
  aspect-ratio: 339 / 450;
  object-fit: cover;
}
.module figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  background: linear-gradient(transparent, rgba(13, 20, 37, 0.82));
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.why-media {
  position: relative;
  padding-bottom: 40px;
  padding-right: 40px;
}
.why-media > img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.why-media-2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55% !important;
  border: 6px solid #fff;
}
.why-text h2 {
  margin-bottom: 24px;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
}
.why-list {
  display: grid;
  gap: 16px;
}
.why-list li {
  position: relative;
  padding-left: 40px;
}
.why-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-050);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.8rem;
}
.why-list b {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  font-size: 1rem;
}
.why-list span {
  font-size: 0.9rem;
}

/* ---------- Testimonials slider ---------- */
.testi-slider {
  --per-view: 3;
  display: flex;
  align-items: center;
  gap: 16px;
}
.testi-viewport {
  overflow: hidden;
  flex: 1;
}
.testi-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s var(--ease);
}
.testi {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * 24px) / var(--per-view));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.testi-nav {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s var(--ease);
}
.testi-nav:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}
.testi-nav:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
  background: #fff;
  color: var(--blue);
}
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 30px;
}
.testi-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #c9d3ea;
  transition:
    width 0.25s var(--ease),
    background 0.25s;
}
.testi-dots button.active {
  width: 26px;
  border-radius: 999px;
  background: var(--blue);
}
.testi p {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 18px;
}
.testi footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(
    120deg,
    var(--blue-600),
    var(--blue) 55%,
    var(--cyan)
  );
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
}
.cta-inner p {
  margin: 14px 0 26px;
  opacity: 0.92;
  font-size: 1.05rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 50px;
}
.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
.info-ico {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: linear-gradient(135deg, var(--blue-050), #fff);
  border: 1px solid var(--line);
}
.info-ico svg {
  width: 22px;
  height: 22px;
}
.info-item h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 5px;
}
.info-item a:hover {
  color: var(--blue);
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.socials a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--blue);
  transition: 0.2s var(--ease);
}
.socials a svg {
  width: 20px;
  height: 20px;
}
.socials a:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: translateY(-3px);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.contact-map {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 100%;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 450px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  transition:
    border 0.18s,
    background 0.18s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 71, 209, 0.1);
}
.field input.invalid,
.field textarea.invalid {
  border-color: #e23d3d;
  background: #fff5f5;
}
.form-note {
  margin-top: 14px;
  color: #1a8a4a;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #a9b4c9;
  padding: 68px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
}
.brand--footer {
  margin-bottom: 16px;
}
.brand--footer img {
  width: 40px;
  height: 40px;
}
.brand--footer .brand-text,
.brand--footer .brand-text strong {
  color: #fff;
}
.site-footer p {
  font-size: 0.9rem;
  max-width: 30em;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.site-footer li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--cyan);
}
.site-footer a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 44px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.84rem;
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  z-index: 60;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s var(--ease);
}
.whatsapp-float:hover {
  transform: scale(1.1) rotate(4deg);
}

/* ---------- Call now float ---------- */
.call-float {
  position: fixed;
  right: 22px;
  bottom: 88px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
  z-index: 60;
  box-shadow: 0 10px 26px rgba(23, 71, 209, 0.5);
  transition: transform 0.2s var(--ease);
  animation: call-ring 1.6s ease-in-out infinite;
}
.call-float:hover {
  transform: scale(1.1);
}
@keyframes call-ring {
  0%, 60%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(-12deg); }
  20%, 40% { transform: rotate(12deg); }
}
@media (prefers-reduced-motion: reduce) {
  .call-float { animation: none; }
}

/* ---------- Why Choose (icon grid) ---------- */
.why-icons {
  background: linear-gradient(135deg, var(--blue-600), var(--blue) 55%, var(--cyan));
  padding-block: 64px;
}
.why-icons-head {
  text-align: center;
  margin-bottom: 44px;
}
.why-icons-head h2 {
  color: #fff;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.3;
}
.why-icons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  text-align: center;
}
.why-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.why-icon-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.why-icon-card p {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
}
@media (max-width: 860px) {
  .why-icons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .why-icons-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Enquire Now side tab ---------- */
.enquire-float {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right bottom;
  background: var(--blue, #1747d1);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 10px 22px;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 60;
  text-decoration: none;
  white-space: nowrap;
  transition: padding 0.2s var(--ease), background 0.2s var(--ease);
}
.enquire-float:hover {
  padding-right: 30px;
  background: #0f3aad;
}
@media (max-width: 640px) {
  .enquire-float {
    font-size: 13px;
    padding: 8px 16px;
  }
  .enquire-float:hover {
    padding-right: 22px;
  }
}

/* ---------- Onload popup ---------- */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 20, 37, 0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.popup-overlay.open {
  opacity: 1;
  visibility: visible;
}
.popup-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: var(--shadow);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s var(--ease);
}
.popup-overlay.open .popup-box {
  transform: translateY(0) scale(1);
}
.popup-box h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.popup-box p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.popup-box .form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
}
.popup-box .form-control:focus {
  outline: none;
  border-color: #8b3777;
}
.popup-box .btn-block {
  width: 100%;
  padding: 13px 20px;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  cursor: pointer;
}
.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--body);
  cursor: pointer;
}
.popup-close:hover {
  color: var(--ink);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 1000px) {
  .hero-grid,
  .about-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testi-slider {
    --per-view: 2;
  }
  .module-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-visual {
    order: -1;
    max-width: 520px;
  }
  .about-badge {
    right: 12px;
  }
  .why-media {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .topbar-links a:last-child {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #1c4bc0 0%, #16307e 100%);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(-140%);
    transition: transform 0.35s var(--ease);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav-link {
    display: block;
    padding: 15px 2px;
  }
  .nav-cta {
    margin-top: 16px;
  }
  .section {
    padding: 68px 0;
  }
  .cards-grid,
  .module-grid {
    grid-template-columns: 1fr;
  }
  .testi-slider {
    --per-view: 1;
    gap: 8px;
  }
  .testi-nav {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  .module img {
    aspect-ratio: 16 / 10;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 22px;
  }
  .hero-chip {
    display: none;
  }
  .about-badge {
    position: static;
    display: inline-block;
    margin-top: 16px;
  }
  .why-media-2 {
    position: static;
    width: 100% !important;
    margin-top: 16px;
    border: 0;
  }
  .why-media {
    padding: 0;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .topbar-inner span {
    font-size: 0.74rem;
  }
  .brand-text {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .hero-chip {
    animation: none;
  }
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
