/* Alpha Nexus India Enterprises — Brand Theme */
:root {
  --blue: #0B4D91;
  --green: #16A34A;
  --gold: #F4B400;
  --navy: #0F2D5B;
  --sky: #3BB2F6;
  --soft-green: #D1FAE5;
  --soft-gold: #FEF3C7;
  --off-white: #F8FAFC;
  --text: #1e293b;
  --muted: #64748b;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(15, 45, 91, 0.12);
  --radius: 14px;
  --container: 1140px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Top bar */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.88);
  font-size: .85rem;
  padding: .55rem 0;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.topbar a:hover { color: var(--gold); }

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.25rem;
}

.topbar-contact {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.topbar-contact svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, .92);
  backdrop-filter: blur(14px);
  border-bottom: 0;
  margin-bottom: 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.brand-logo,
.brand img {
  height: 62px;
  width: auto;
  max-width: min(300px, 62vw);
  object-fit: contain;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--navy);
  color: var(--white);
  min-width: 64px;
  height: 40px;
  padding: 0 .75rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-menu a {
  padding: .45rem .7rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: 8px;
  transition: background .2s, color .2s;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  background: rgba(11, 77, 145, .08);
  color: var(--blue);
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--green)) !important;
  color: var(--white) !important;
  margin-left: .35rem;
}

.nav-cta:hover {
  filter: brightness(1.05);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #0a3d73);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(11, 77, 145, .28);
}

.btn-green {
  background: linear-gradient(135deg, var(--green), #15803d);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(22, 163, 74, .28);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(244, 180, 0, .28);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* Hero + Slider */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  margin-top: 0;
}

.hero-slider {
  background: var(--navy);
  margin-top: -1px; /* remove hairline gap under header */
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
  display: grid;
  align-items: end;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 45, 91, .88) 0%, rgba(11, 77, 145, .72) 45%, rgba(22, 163, 74, .45) 100%),
    linear-gradient(to top, rgba(15, 45, 91, .55), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 3.25rem 0 4.5rem;
  max-width: 720px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .2s, transform .2s;
}

.slider-btn:hover {
  background: rgba(244, 180, 0, .9);
  color: var(--navy);
}

.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: .55rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: transform .2s, background .2s;
}

.slider-dot.is-active {
  background: var(--gold);
  transform: scale(1.25);
}

/* Home gallery */
.home-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  min-height: 240px;
  box-shadow: 0 12px 30px rgba(15, 45, 91, .12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform .45s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 45, 91, .82), transparent 55%);
}

.gallery-item span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.about-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow);
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.about-visual-card {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(15, 45, 91, .88);
  color: var(--white);
  border-radius: 16px;
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}

.about-visual-card h3 {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.about-visual-card p {
  margin: 0;
  opacity: .9;
  font-size: .92rem;
}

.hero-brand {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 .6rem;
  animation: rise .8s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 1rem;
  max-width: 18ch;
  animation: rise .8s .12s ease both;
}

.hero p {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,.9);
  max-width: 42ch;
  animation: rise .8s .22s ease both;
}

.hero .btn-group { animation: rise .8s .32s ease both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Page hero (inner pages) */
.page-hero {
  background:
    linear-gradient(135deg, var(--navy), var(--blue) 60%, #0a6b3a);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(244, 180, 0, .18);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0 0 .5rem;
  position: relative;
}

.page-hero p {
  margin: 0;
  max-width: 54ch;
  color: rgba(255,255,255,.88);
  position: relative;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #fff, var(--soft-green) 180%);
}

.section-navy {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.25rem;
}

.section-head .eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin: 0 0 .65rem;
  line-height: 1.2;
}

.section-navy .section-head h2 { color: var(--white); }
.section-navy .section-head .eyebrow { color: var(--gold); }

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-navy .section-head p { color: rgba(255,255,255,.82); }

/* Service grid — interaction containers, not decorative cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: 1.35rem 1.25rem;
  background: var(--white);
  border: 1px solid rgba(15, 45, 91, .08);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 45, 91, .04);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  min-height: 100%;
}

.service-item:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 163, 74, .35);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(11,77,145,.12), rgba(22,163,74,.14));
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 800;
}

.service-item h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--navy);
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  flex: 1;
}

.service-item .link {
  color: var(--blue);
  font-weight: 700;
  font-size: .9rem;
}

.service-item-photo {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

.service-photo {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.service-item-photo:hover .service-photo img {
  transform: scale(1.06);
}

.service-photo-badge {
  position: absolute;
  left: .85rem;
  bottom: .85rem;
  min-width: 40px;
  height: 34px;
  padding: 0 .65rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(15, 45, 91, .88);
  color: var(--gold);
  font-weight: 800;
  font-size: .85rem;
}

.service-body {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: 1.15rem 1.2rem 1.3rem;
  flex: 1;
}

.service-note {
  font-size: .85rem !important;
  color: var(--blue) !important;
  flex: 0 !important;
}

/* Feature strips */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-block {
  padding: 1.5rem 1.2rem;
  border-radius: var(--radius);
  color: var(--white);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  animation: rise .7s ease both;
}

.feature-block:nth-child(1) { background: linear-gradient(160deg, var(--blue), #083668); }
.feature-block:nth-child(2) { background: linear-gradient(160deg, var(--green), #0f6b32); }
.feature-block:nth-child(3) { background: linear-gradient(160deg, #d4a006, #b45309); color: var(--navy); }
.feature-block:nth-child(4) { background: linear-gradient(160deg, var(--navy), #163a70); }

.feature-block strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: block;
  margin-bottom: .35rem;
}

.feature-block span {
  font-size: .9rem;
  opacity: .92;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center;
}

.split-panel {
  background:
    linear-gradient(145deg, rgba(11,77,145,.95), rgba(15,45,91,.98)),
    radial-gradient(circle at 30% 20%, rgba(244,180,0,.25), transparent 45%);
  color: var(--white);
  border-radius: 22px;
  padding: 2.25rem;
  min-height: 320px;
  box-shadow: var(--shadow);
}

.split-panel h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 1rem;
}

.values-list li {
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  display: flex;
  gap: .65rem;
  align-items: flex-start;
}

.values-list li::before {
  content: "+";
  color: var(--gold);
  font-weight: 800;
}

/* Partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.partner-item {
  background: var(--white);
  border: 1px solid rgba(15, 45, 91, .1);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}

.partner-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.partner-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto .85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .85rem;
  color: var(--white);
  letter-spacing: .02em;
}

.partner-item h3 {
  margin: 0 0 .25rem;
  font-size: .98rem;
  color: var(--navy);
}

.partner-item p {
  margin: 0;
  font-size: .8rem;
  color: var(--muted);
}

/* Forms */
.form-shell {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.form-intro {
  background: linear-gradient(160deg, var(--navy), var(--blue));
  color: var(--white);
  border-radius: 22px;
  padding: 2rem;
}

.form-intro h2 {
  font-family: var(--font-display);
  margin: 0 0 .75rem;
}

.form-intro ul { margin-top: 1.25rem; }
.form-intro li {
  padding: .4rem 0;
  opacity: .92;
}

.form-box {
  background: var(--white);
  border-radius: 22px;
  padding: 1.75rem;
  border: 1px solid rgba(15, 45, 91, .08);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field { margin-bottom: 1rem; }

.field label {
  display: block;
  font-weight: 700;
  font-size: .88rem;
  color: var(--navy);
  margin-bottom: .4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  border: 1px solid rgba(15, 45, 91, .18);
  border-radius: 10px;
  font: inherit;
  background: var(--off-white);
  transition: border-color .2s, box-shadow .2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 77, 145, .15);
  background: var(--white);
}

.field textarea { min-height: 110px; resize: vertical; }

.consent {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--muted);
  margin: .5rem 0 1.1rem;
}

.consent input { margin-top: .25rem; }

.alert {
  padding: .9rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.alert-success {
  background: var(--soft-green);
  color: #166534;
  border: 1px solid #86efac;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid rgba(15, 45, 91, .08);
}

.contact-item h3 {
  margin: 0 0 .5rem;
  color: var(--navy);
  font-size: 1rem;
}

.contact-item p,
.contact-item a {
  margin: 0;
  color: var(--muted);
}

.contact-item a:hover { color: var(--blue); }

.map-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 45, 91, .1);
  min-height: 360px;
  background: #e2e8f0;
}

.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* Legal */
.legal-content {
  background: var(--white);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(15, 45, 91, .08);
}

.legal-content h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.35rem;
  margin: 1.75rem 0 .75rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: .5rem 0 1rem;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3.5rem 0;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 .75rem;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 48ch;
  opacity: .9;
}

/* Floating actions */
.float-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  transition: transform .2s, box-shadow .2s;
}

.float-btn svg {
  width: 26px;
  height: 26px;
  display: block;
}

.float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
}

.float-call { background: var(--blue); }
.float-wa { background: #25D366; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.82);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h4 {
  color: var(--white);
  margin: 0 0 1rem;
  font-size: 1rem;
}

.site-footer p { margin: 0 0 .75rem; font-size: .92rem; }

.site-footer a {
  display: block;
  padding: .28rem 0;
  font-size: .92rem;
  transition: color .2s;
}

.site-footer a:hover { color: var(--gold); }

.socials {
  display: flex;
  gap: .55rem;
  margin-top: 1rem;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.1);
  font-size: .75rem;
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  font-size: .85rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .service-grid,
  .feature-row,
  .partner-grid,
  .contact-grid,
  .footer-grid,
  .home-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .form-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle { display: grid; place-items: center; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid rgba(15, 45, 91, .1);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open { display: flex; }

  .nav-menu a {
    padding: .75rem .9rem;
  }

  .nav-cta { margin-left: 0; text-align: center; }

}

@media (max-width: 640px) {
  .service-grid,
  .feature-row,
  .partner-grid,
  .contact-grid,
  .footer-grid,
  .form-row,
  .home-gallery {
    grid-template-columns: 1fr;
  }

  .hero-inner { padding: 2.75rem 0 4rem; }
  .slider-btn { display: none; }
  .slider-dots { bottom: .85rem; }

  .topbar {
    font-size: .78rem;
    padding: .65rem 0;
  }

  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
  }

  .topbar-links {
    flex-direction: column;
    gap: .35rem;
  }

  .topbar .container > div:last-child {
    display: none;
  }

  .float-btn {
    width: 52px;
    height: 52px;
  }

  .float-btn svg {
    width: 24px;
    height: 24px;
  }
}
