/* Sanjivani BC — Phase 1 frontend
   Visual match for the public Sanjivani CSP marketing site. */

:root {
  --ink: #0e314c;
  --muted: #6084a4;
  --pink: #ee0979;
  --orange: #ff6a00;
  --teal: #23bdb8;
  --green: #43e794;
  --bar: #cdf1d8;
  --dot: #44ce6f;
  --tint: #f7fafd;
  --tint-2: #f6f4f8;
  --line: #eeeeee;
  --footer: #000802;
  --gold: #eae563;
  --header-h: 92px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--pink);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 12px;
}

p {
  line-height: 1.7;
  margin: 0 0 15px;
  color: var(--muted);
  font-weight: 300;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: min(1140px, calc(100% - 30px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.ptb-70 {
  padding: 70px 0;
}

.bg-tint {
  background: var(--tint);
}

.bg-soft {
  background: var(--tint-2);
}

.text-center {
  text-align: center;
}

.bar {
  height: 5px;
  width: 90px;
  background: var(--bar);
  margin: 15px 0 20px;
  position: relative;
  border-radius: 30px;
}

.bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2.6px;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: var(--dot);
  animation: bar-dot 3s linear infinite;
}

.section-title .bar,
.bar.center {
  margin-left: auto;
  margin-right: auto;
}

@keyframes bar-dot {
  0% { left: 0; }
  50% { left: calc(100% - 10px); }
  100% { left: 0; }
}

.sub-title {
  display: block;
  color: var(--pink);
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}

.btn {
  display: inline-block;
  font-weight: 700;
  border: none;
  padding: 14.5px 30px;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1.2;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  position: relative;
  z-index: 1;
  background: transparent;
  transition: 0.5s;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--pink) 0%, var(--orange) 100%);
  transition: 0.5s;
}

.btn:hover,
.btn:focus-visible {
  color: #fff;
}

.btn:hover::before,
.btn:focus-visible::before {
  background: linear-gradient(135deg, var(--teal) 0%, var(--green) 100%);
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: 0.4s;
}

.site-header.is-sticky {
  position: fixed;
  background: #fff;
  box-shadow: 0 2px 28px rgba(0, 0, 0, 0.06);
  animation: fade-down 0.45s ease;
}

@keyframes fade-down {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo img {
  width: 180px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 8px;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a,
.login-btn {
  font-family: "Raleway", sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #e5e1e1;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-list > li > a i {
  font-size: 10px;
}

.nav-list > li > a:hover,
.nav-list > li > a:focus-visible,
.nav-list > li > a.active,
.login-btn:hover,
.login-btn:focus-visible {
  color: #fff;
}

.site-header.is-sticky .nav-list > li > a,
.site-header.is-sticky .login-btn {
  color: var(--ink);
}

.site-header.is-sticky .nav-list > li > a:hover,
.site-header.is-sticky .nav-list > li > a:focus-visible,
.site-header.is-sticky .nav-list > li > a.active,
.site-header.is-sticky .login-btn:hover,
.site-header.is-sticky .login-btn:focus-visible {
  color: var(--pink);
}

.login-btn i {
  color: var(--gold);
}

.site-header.is-sticky .login-btn i {
  color: var(--pink);
}

.header-actions {
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.submenu {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 230px;
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  padding: 14px 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s;
  z-index: 20;
}

.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu,
.has-sub.open > .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.submenu a {
  display: block;
  padding: 8px 14px;
  color: var(--ink);
  font-family: "Raleway", sans-serif;
  font-size: 15.5px;
  font-weight: 500;
}

.submenu a:hover,
.submenu a:focus-visible,
.submenu a.active {
  color: var(--pink);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: #fff;
  transition: 0.25s;
}

.site-header.is-sticky .nav-toggle span {
  background: var(--ink);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0e314c url("../assets/img/banner2.jpeg") center / cover no-repeat;
  position: relative;
  padding: 140px 0 180px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 8, 20, 0.72) 0%, rgba(0, 8, 20, 0.28) 70%, rgba(0, 8, 20, 0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero h1 {
  color: #fff;
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 0;
}

.hero p {
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: 400;
  max-width: 460px;
  margin-top: 20px;
}

.hero .btn {
  margin-top: 30px;
}

/* Feature boxes */
.feature-boxes {
  margin-top: -100px;
  position: relative;
  z-index: 2;
  padding-bottom: 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card {
  text-align: center;
  padding: 48px 28px 40px;
}

.feature-card + .feature-card {
  border-left: 1px solid var(--line);
}

.feature-card .icon {
  font-size: 46px;
  margin-bottom: 16px;
}

.icon-coral { color: #fb7756; }
.icon-gold { color: #facd60; }
.icon-teal { color: #1ac0c6; }

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

/* Split sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
}

.split.reverse .split-copy {
  order: 2;
}

.split-copy {
  padding: 10px 6vw 10px 8vw;
}

.split.reverse .split-copy {
  padding: 10px 8vw 10px 4vw;
}

.split h2,
.split h3,
.split h4 {
  font-size: 32px;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 18px 0 24px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink);
  font-weight: 500;
}

.check-list i {
  color: var(--pink);
  margin-top: 3px;
}

.media-frame {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.media-frame img.photo {
  width: min(100%, 460px);
  border-radius: 8px;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 30px rgba(14, 49, 76, 0.12);
}

.media-frame .ring {
  position: absolute;
  width: min(78%, 380px);
  opacity: 0.9;
  z-index: 0;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-group {
  margin: 0;
}

.form-control {
  width: 100%;
  height: 52px;
  border: 1px solid #e4e8ee;
  background: #fff;
  border-radius: 4px;
  padding: 10px 14px;
  color: var(--ink);
  font-size: 15px;
}

textarea.form-control {
  height: 150px;
  resize: vertical;
  padding-top: 14px;
}

.form-control:focus {
  outline: 2px solid rgba(238, 9, 121, 0.25);
  border-color: var(--pink);
}

.field-error {
  color: #c62828;
  font-size: 13px;
  margin: 6px 0 0;
  font-weight: 400;
}

.form-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

#application-received {
  font-size: 17px;
}

/* Stats */
.stats {
  text-align: center;
}

.section-title {
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-title h2,
.section-title h3 {
  font-size: 36px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat h3 {
  color: var(--pink);
  font-size: 35px;
  margin-bottom: 4px;
}

.stat p {
  color: var(--ink);
  font-weight: 500;
}

.cta-box {
  margin-top: 45px;
}

.cta-box h4 {
  font-size: 26px;
  margin-bottom: 8px;
}

.cta-box h5,
.cta-box h6 {
  font-weight: 500;
  color: var(--ink);
}

.cta-box h5 {
  font-size: 18px;
}

.cta-box h6 {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 20px;
}

/* Page banner */
.page-banner {
  position: relative;
  background: #0e314c center / cover no-repeat;
  padding: 200px 0 110px;
  text-align: center;
  z-index: 1;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.page-banner.bg-about {
  background-image: url("../assets/img/page-title-bg1.jpg");
}

.page-banner.bg-inner {
  background-image: url("../assets/img/page-title-bg2.jpg");
}

.page-banner h1,
.page-banner h2 {
  color: #fff;
  font-size: 40px;
  max-width: 760px;
  margin: 0 auto;
}

.page-banner p {
  color: #fff;
  margin-top: 10px;
  font-weight: 400;
}

/* Service cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: 6px;
  padding: 32px 24px;
  box-shadow: 0 8px 24px rgba(14, 49, 76, 0.06);
  height: 100%;
}

.service-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
}

.service-card .icon.pink { background: #f78acb; color: #fff; }
.service-card .icon.mint { background: #cdf1d8; color: #0e314c; }
.service-card .icon.lilac { background: #c679e3; }
.service-card .icon.rust { background: #eb6b3d; }

.service-card h3 {
  font-size: 20px;
}

.diff-list {
  display: grid;
  gap: 16px;
}

.diff-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.diff-item .icon {
  flex: 0 0 54px;
  height: 54px;
  border-radius: 8px;
  background: #c679e3;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  position: relative;
  z-index: 1;
}

.contact-info li {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--ink);
  align-items: flex-start;
}

.contact-info .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  flex: 0 0 48px;
}

.contact-info span {
  display: block;
  font-weight: 700;
  font-family: "Raleway", sans-serif;
  margin-bottom: 4px;
}

.map-wash {
  position: relative;
}

.map-wash .map-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.map-wash .map-bg img {
  width: min(520px, 70%);
  margin: 0 auto;
}

/* Status table */
.status-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.status-table th,
.status-table td {
  border: 1px solid #eee;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.status-table th {
  width: 25%;
  background: #fafafa;
  font-family: "Raleway", sans-serif;
}

.status-table tr.band th {
  background: #f4f7fb;
}

.badge {
  display: inline-block;
  background: #43a047;
  color: #fff;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 14px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: #fff;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1fr;
  gap: 30px;
}

.site-footer p,
.site-footer li,
.site-footer span {
  color: #d1d1d1;
}

.site-footer h3 {
  color: #fff;
  margin-bottom: 18px;
}

.site-footer h3 .accent {
  display: block;
  width: 45px;
  height: 3px;
  background: var(--pink);
  margin-top: 10px;
}

.footer-logo {
  width: 190px;
  margin-bottom: 20px;
}

.reg-box {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--pink);
  padding: 15px;
}

.reg-box p {
  margin: 0;
  font-size: 13px;
  color: #fff;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.socials a:hover {
  color: #fff;
  transform: translateY(-4px);
}

.socials .fb { background: #3b5998; }
.socials .ig { background: #e1306c; }
.socials .in { background: #0077b5; }

.footer-links a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
}

.footer-links a i {
  color: var(--pink);
}

.footer-links a:hover {
  color: var(--pink);
  padding-left: 5px;
}

.footer-links a.emphasis {
  color: var(--pink);
  font-weight: 700;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-icon-box {
  background: rgba(238, 9, 121, 0.15);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  flex: 0 0 40px;
}

.footer-contact strong {
  color: #fff;
}

.footer-contact a {
  color: #fff;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--pink);
}

/* Floating controls */
.float-status {
  position: fixed;
  width: 85px;
  height: 85px;
  right: 25px;
  bottom: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  z-index: 900;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.float-status:hover,
.float-status:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--green));
  transform: scale(1.08);
}

.go-top {
  position: fixed;
  right: 28px;
  bottom: 130px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 2px;
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 900;
  transition: 0.3s;
}

.go-top.show {
  opacity: 1;
  visibility: visible;
}

.go-top:hover,
.go-top:focus-visible {
  background: linear-gradient(135deg, var(--teal), var(--green));
}

/* Login */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: #0e314c url("../assets/img/banner2.jpeg") center / cover no-repeat;
}

.login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 32, 0.72);
}

.login-card {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  background: #fff;
  border-radius: 8px;
  padding: 36px 32px 32px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.login-card img {
  width: 180px;
  margin: 0 auto 12px;
}

.login-card h1 {
  font-size: 28px;
  margin-bottom: 22px;
}

.login-card .form-group {
  margin-bottom: 14px;
  text-align: left;
}

.login-card .btn {
  width: 100%;
  margin-top: 6px;
}

.back-home {
  display: inline-block;
  margin-top: 16px;
  font-weight: 500;
}

.login-message {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 4px;
  background: #f7fafd;
  color: var(--ink);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1280px) {
  .logo img {
    width: 146px;
  }

  .nav-list > li > a,
  .login-btn {
    font-size: 15px;
    padding: 8px 8px;
  }
}

@media (max-width: 991px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    max-height: calc(100vh - 70px);
    overflow: auto;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list > li > a,
  .login-btn,
  .site-header.is-sticky .nav-list > li > a,
  .site-header.is-sticky .login-btn {
    color: var(--ink);
    padding: 12px 22px;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    padding: 0 0 8px 16px;
    min-width: 0;
  }

  .has-sub.open > .submenu {
    display: block;
  }

  .hero h1 {
    font-size: 40px;
  }

  .feature-grid,
  .card-grid,
  .stat-grid,
  .footer-grid,
  .split,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-card + .feature-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .split-copy,
  .split.reverse .split-copy {
    padding: 10px 16px 30px;
    order: 2;
  }

  .feature-boxes {
    margin-top: -60px;
  }

  .logo img {
    width: 150px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
  }

  p {
    font-size: 14px;
    line-height: 1.8;
  }

  .ptb-70 {
    padding: 50px 0;
  }

  .hero {
    min-height: 0;
    height: auto;
    padding: 160px 0 200px;
    text-align: center;
  }

  .hero-content,
  .hero p {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 35px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 15px;
  }

  .page-banner {
    padding: 150px 0 70px;
  }

  .page-banner h1,
  .page-banner h2,
  .section-title h2,
  .section-title h3,
  .split h2,
  .split h3,
  .split h4 {
    font-size: 26px;
  }

  .check-list,
  .form-grid,
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 14px 25px;
    font-size: 13px;
  }

  .float-status {
    width: 72px;
    height: 72px;
    right: 14px;
    bottom: 16px;
    font-size: 12px;
  }

  .go-top {
    right: 16px;
    bottom: 100px;
  }

  .site-footer {
    padding: 50px 0 24px;
  }
}

@media (max-width: 480px) {
  .check-list,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .status-table th,
  .status-table td {
    display: block;
    width: 100%;
  }
}
