/* Home page only — mirrors React HomePage sections (App + Hero + About + Services + …) */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.section-title {
  font-family: "Syne", "DM Sans", sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
  color: #0c2d5c;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out;
}

@media (max-width: 640px) {
  .section { padding: 30px 14px; }
  .section-title { font-size: 1.7rem; margin-bottom: 22px; }
}

/* Hero — extra layers matching Hero.tsx */
body[data-page="home"] .hero {
  position: relative;
  min-height: calc(92vh - var(--navbar-row-h) - env(safe-area-inset-top, 0px));
  padding-top: 0;
}

.hero-beta-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  margin: 0;
  padding: 8px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: #f8fafc;
  background: linear-gradient(90deg, #0c2d5c 0%, #0b4a7a 50%, #005a9c 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin-top: 14px;
  max-width: min(100%, 640px);
}

.hero-trust-pill {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 28, 54, 0.35);
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.gradient-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.06;
}

.sphere-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #005a9c, #0c4a7a);
  top: -100px;
  left: -100px;
}

.sphere-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #0c4a7a, #005a9c);
  bottom: -50px;
  right: -50px;
}

.sphere-3 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #005a9c, #0c2d5c);
  bottom: 100px;
  left: 50%;
}

body[data-page="home"] .hero-content {
  padding-top: 2.25rem;
  opacity: 0;
  transform: translateY(30px);
}

body[data-page="home"] .hero-content.visible {
  animation: fadeInUp 1s ease-out forwards;
}

.hero-carousel-main {
  min-width: 0;
}

.hero-slide {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: clamp(160px, 22vh, 240px);
}

.hero-carousel-nav {
  align-self: center;
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  body[data-page="home"] .hero {
    min-height: calc(80vh - 86px);
  }
  body[data-page="home"] .hero-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 24px;
  }
  body[data-page="home"] .hero .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .sphere-1, .sphere-2, .sphere-3 {
    filter: blur(60px);
  }
}

a.service-details-btn {
  text-decoration: none;
  display: block;
  text-align: center;
  box-sizing: border-box;
}


.services-flip-hint {
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
  max-width: 640px;
  margin: -28px auto 28px;
  line-height: 1.5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 24px);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

#services.section {
  padding-top: 22px;
}

/* 3D flip container */
.service-flip-scene {
  min-height: 380px;
  perspective: 1200px;
  animation: fadeInUp 0.6s ease-out both;
}

.service-flip-inner {
  position: relative;
  width: 100%;
  min-height: 380px;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
  border-radius: 8px;
  outline: none;
}

.service-flip-inner:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.35);
}

.service-flip-inner.is-flipped {
  transform: rotateY(180deg);
}

/* Mouse / trackpad: flip on hover (touch uses click only) */
@media (hover: hover) and (pointer: fine) {
  .service-flip-scene:hover .service-flip-inner {
    transform: rotateY(180deg);
  }

  /* Let clicks hit the back face while hover-flipped */
  .service-flip-scene:hover .service-card-front {
    pointer-events: none;
  }
}

.service-card-face {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 28px 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.service-card-front {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(8, 28, 54, 0.06);
  text-align: center;
  align-items: stretch;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card-front .service-icon-wrap {
  align-self: center;
}

.service-card-front h3,
.service-card-front p,
.service-card-front .service-tap-hint-front {
  width: 100%;
}

.service-flip-scene:hover .service-card-front {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(8, 28, 54, 0.07);
}

.service-flip-inner.is-flipped .service-card-front {
  pointer-events: none;
}

.service-card-back {
  background: linear-gradient(165deg, #f1f5f9 0%, #ffffff 55%);
  border: 1px solid #005a9c;
  box-shadow: 0 4px 20px rgba(8, 28, 54, 0.1);
  transform: rotateY(180deg);
  text-align: left;
  align-items: stretch;
  overflow: hidden;
}

.service-icon-wrap {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  transition: transform 0.25s ease;
}

.service-icon-wrap--card .service-glyph-svg {
  width: 4.5rem;
  height: 4.5rem;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(8, 28, 54, 0.1));
}

.service-flip-scene:hover .service-icon-wrap {
  transform: scale(1.06);
}

.service-status {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  align-self: center;
}

.service-status--beta {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.service-status--soon {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.service-framework-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 0 0 10px;
}

.service-framework-tags--back {
  justify-content: flex-start;
  margin: 0 0 12px;
}

.service-framework-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: #0c2d5c;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 8px;
}

.service-card-front h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #0c2d5c;
  font-family: "Syne", "DM Sans", sans-serif;
}

.service-card-front p {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.service-tap-hint {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #94a3b8;
  margin-top: auto;
  padding-top: 14px;
  font-weight: 500;
}

/* “Hover or” only where hover flip applies */
.service-hint-hover {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .service-hint-hover {
    display: inline;
  }
}

.service-tap-hint-back {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  margin-top: 10px;
  text-align: center;
}

.card-hover-effect {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 90, 156, 0.05), rgba(12, 45, 92, 0.04));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  border-radius: 8px;
}

.service-flip-scene:hover .card-hover-effect {
  opacity: 1;
}

/* Back face */
.service-back-title {
  font-size: 1.15rem;
  font-family: "Syne", "DM Sans", sans-serif;
  color: #0c2d5c;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.service-back-overview {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 12px;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.service-back-features {
  margin: 0 0 12px;
  padding-left: 1.15rem;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
  flex-shrink: 0;
}

.service-back-features li {
  margin-bottom: 6px;
}

.service-back-actions {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-shrink: 0;
}

.service-details-btn {
  border: none;
  background: #005a9c;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.service-details-btn:hover {
  background: #004080;
}

.service-details-btn:focus-visible {
  outline: 2px solid #0c2d5c;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-flip-scene,
  .service-flip-inner {
    min-height: 340px;
  }

  #services.section {
    padding-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-flip-inner {
    transition-duration: 0.01ms;
  }

  .service-flip-scene,
  .service-icon,
  .card-hover-effect,
  .service-card-front {
    transition: none;
  }
}


.about {
  background: #ffffff;
}

.about-container {
  max-width: 1180px;
}

/* â€”â€” Section header â€”â€” */
.about-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.about-section-title.section-title {
  margin-bottom: 0.75rem;
}

.about-header-tagline {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #64748b;
}

/* â€”â€” Two-column layout â€”â€” */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}

/* â€”â€” Left: copy + feature grid â€”â€” */
.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.about-lead-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-family: "Syne", "DM Sans", sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: #0c2d5c;
  margin: 0;
  letter-spacing: -0.02em;
}

.about-prose {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-prose p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #64748b;
}

/* 2Ã—2 feature grid */
.about-feature-grid {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-feature-card {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.125rem 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-feature-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(8, 28, 54, 0.06);
}

.about-feature-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.about-feature-body {
  min-width: 0;
}

.about-feature-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0c2d5c;
  line-height: 1.3;
}

.about-feature-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #64748b;
}

/* â€”â€” Right: spotlight â€”â€” */
.about-spotlight {
  min-width: 0;
}

.about-spotlight-card {
  position: relative;
  height: 100%;
  min-height: 380px;
  background:
    linear-gradient(160deg, rgba(230, 240, 250, 0.52) 0%, rgba(225, 236, 246, 0.48) 100%),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1400&h=1200&q=80")
      center/cover no-repeat;
  background-blend-mode: overlay, normal;
  border: 1px solid #d4e4f0;
  border-radius: 16px;
  padding: clamp(1.2rem, 2.4vw, 1.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  overflow: hidden;
}

.about-spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(246, 250, 255, 0.22) 0%,
    rgba(239, 246, 252, 0.48) 30%,
    rgba(233, 241, 249, 0.74) 68%,
    rgba(230, 239, 247, 0.86) 100%
  );
  pointer-events: none;
}

.about-spotlight-content {
  position: relative;
  z-index: 1;
  width: min(92%, 460px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(181, 201, 220, 0.68);
  border-radius: 14px;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.about-spotlight-icon-wrap {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #c5d9e8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(12, 45, 92, 0.08);
}

.about-spotlight-icon {
  width: 3rem;
  height: 3rem;
  color: #005a9c;
}

.about-spotlight-title {
  margin: 0;
  font-family: "Syne", "DM Sans", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #071b3b;
  letter-spacing: -0.02em;
}

.about-spotlight-desc {
  margin: 0;
  max-width: 300px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #143357;
}

.about-spotlight-points {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 300px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.about-spotlight-points li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #102c4e;
}

.about-spotlight-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #005a9c;
  opacity: 0.85;
}

.about-spotlight-cta {
  margin-top: 0.25rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  color: #ffffff;
  background: #0c2d5c;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.about-spotlight-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.about-spotlight-badges span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0c2d5c;
  border: 1px solid #c7d8e6;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
}

.about-spotlight-cta:hover {
  background: #005a9c;
}

.about-spotlight-cta:focus-visible {
  outline: 2px solid #005a9c;
  outline-offset: 3px;
}

/* â€”â€” Responsive â€”â€” */
@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-spotlight-card {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .about-header {
    margin-bottom: 2rem;
  }

  .about-feature-grid {
    grid-template-columns: 1fr;
  }

  .about-layout {
    gap: 2rem;
  }

  .about-prose p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .about-feature-card {
    padding: 1rem;
  }

  .about-spotlight-card {
    min-height: 220px;
    padding: 1.75rem 1.25rem;
  }
}


.why-atharv {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #f1f5f9;
}

.why-atharv-intro {
  text-align: center;
  max-width: 640px;
  margin: -20px auto 36px;
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.65;
}

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

.why-atharv-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 22px 20px;
  box-shadow: 0 1px 3px rgba(8, 28, 54, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.why-atharv-card:hover {
  border-color: #005a9c;
  box-shadow: 0 8px 24px rgba(8, 28, 54, 0.07);
}

.why-atharv-card h3 {
  font-family: "Syne", "DM Sans", sans-serif;
  font-size: 1.1rem;
  color: #0c2d5c;
  margin-bottom: 10px;
}

.why-atharv-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}


.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.value-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 28px 22px;
  border-radius: 6px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out forwards;
  box-shadow: 0 1px 3px rgba(8, 28, 54, 0.06);
}

.value-card:nth-child(1) {
  animation-delay: 0s;
}
.value-card:nth-child(2) {
  animation-delay: 0.1s;
}
.value-card:nth-child(3) {
  animation-delay: 0.2s;
}
.value-card:nth-child(4) {
  animation-delay: 0.3s;
}
.value-card:nth-child(5) {
  animation-delay: 0.4s;
}

.value-card:hover {
  border-color: #005a9c;
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(8, 28, 54, 0.08);
}

.value-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #005a9c;
  background: #eef6fc;
  border: 1px solid #d2e3f1;
  border-radius: 14px;
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.value-card:hover .value-icon {
  transform: scale(1.05);
  color: #0c2d5c;
  background: #e7f2fb;
  border-color: #bfd7ea;
}

.value-card h3 {
  font-size: 1.2rem;
  color: #0c2d5c;
  font-family: "Syne", "DM Sans", sans-serif;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.value-card:hover h3 {
  color: #005a9c;
}

.value-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.65;
  transition: color 0.2s ease;
}

.value-card:hover p {
  color: #475569;
}

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .value-card {
    padding: 22px 18px;
  }
}

@media (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}


.leadgen-section {
  background: #f8fafc;
}

.leadgen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.leadgen-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 1px 4px rgba(8, 28, 54, 0.06);
}

.leadgen-card h3 {
  color: #0c2d5c;
  margin-bottom: 8px;
}

.leadgen-card p {
  color: #64748b;
  margin-bottom: 12px;
}

.leadgen-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.leadgen-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
}

.leadgen-input:focus {
  outline: none;
  border-color: #005a9c;
  box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.12);
}

.leadgen-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  background: #005a9c;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.leadgen-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.leadgen-meta {
  font-size: 12px;
  color: #475569;
}


/* Contact â€” institutional light theme */
.contact-section {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  padding: 34px 18px;
  width: 100%;
  border-top: 1px solid #f1f5f9;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  font-family: "Syne", "DM Sans", sans-serif;
  color: #0c2d5c;
  margin-bottom: 1rem;
}

.contact-header h2 span {
  color: #005a9c;
  -webkit-text-fill-color: #005a9c;
  background: none;
}

.contact-header p {
  color: #64748b;
  font-size: 1.1rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 3px rgba(8, 28, 54, 0.06);
}

.info-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(8, 28, 54, 0.06);
}

.icon-box {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box svg {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px;
  color: #005a9c;
  display: block;
}

.info-text {
  flex: 1;
}

.info-text h3 {
  color: #64748b;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 4px 0;
  font-weight: 600;
}

.info-text p,
.info-text a {
  color: #0c2d5c;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.5;
  margin: 0;
}

.break-all {
  word-break: break-all;
}

.contact-form-wrapper {
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(8, 28, 54, 0.06);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #475569;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #1e293b;
  font-size: 1rem;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #005a9c;
  box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.12);
}

.button-group {
  display: flex;
  gap: 15px;
  flex-direction: column;
}

@media (min-width: 600px) {
  .button-group {
    flex-direction: row;
  }
}

.contact-section .button-group .btn {
  flex: 1;
  padding: 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  border: none;
  font-size: 1rem;
  transition: all 0.2s;
}

.contact-section .button-group .btn-primary {
  background: #005a9c;
  color: white;
}

.contact-section .button-group .btn-primary:hover {
  background: #004080;
}

.contact-section .button-group .btn-secondary {
  background: transparent;
  border: 1px solid #e2e8f0;
  color: #0c2d5c;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-section .button-group .btn-secondary:hover {
  border-color: #005a9c;
  background: #f8fafc;
}

/* Anchors styled as LeadGen / About CTAs */
a.leadgen-btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

a.about-spotlight-cta {
  text-decoration: none;
  display: inline-block;
  box-sizing: border-box;
  cursor: pointer;
}

/* —— Home: latest news strip (first section, /api/news) —— */
.home-news-strip {
  background: #f8fafc;
  padding: 10px 0 14px;
  border-bottom: 1px solid #e2e8f0;
}

.home-news-strip .container {
  max-width: 100%;
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}

.home-news-strip-inner {
  background: #ffffff;
  border: 1px solid #d7e4f0;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 6px 18px rgba(12, 45, 92, 0.08);
}

.home-news-strip-label {
  margin: 0 0 8px;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c2d5c;
}

.home-news-strip .home-news-grid {
  margin-top: 0;
}

.home-news-marquee {
  width: 100%;
  overflow: hidden;
  border: 1px solid #dbe7f2;
  border-radius: 8px;
  background: #ffffff;
}

.home-news-marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  padding: 8px 10px;
  animation: homeNewsMarquee 28s linear infinite;
  will-change: transform;
}

.home-news-marquee:hover .home-news-marquee-track {
  animation-play-state: paused;
}

.home-news-marquee-item {
  text-decoration: none;
  color: #0c2d5c;
  font-size: 0.86rem;
  line-height: 1.2;
}

.home-news-marquee-item:hover {
  text-decoration: underline;
  color: #005a9c;
}

.home-news-marquee-sep {
  color: #94a3b8;
  font-size: 0.95rem;
}

@keyframes homeNewsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-news-section {
  background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 55%);
  border-bottom: 1px solid #e2e8f0;
  padding-top: 30px;
  padding-bottom: 30px;
}

.home-news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.home-news-title {
  margin-bottom: 0;
  text-align: left;
  flex: 1 1 200px;
}

.home-news-more {
  font-size: 0.95rem;
  font-weight: 600;
  color: #005a9c;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 4px;
}

.home-news-more:hover {
  text-decoration: underline;
}

.home-news-loading {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: #64748b;
}

.home-news-error {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.home-news-error.cs-error a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.home-news-grid {
  margin-top: 2px;
}

.home-news-ticker {
  width: 100%;
  overflow: hidden;
  border: 1px solid #d8e6f2;
  border-radius: 8px;
  background: #fff;
}

.home-news-ticker-track {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: max-content;
  padding: 8px;
  animation: homeNewsTicker 38s linear infinite;
}

.home-news-ticker:hover .home-news-ticker-track {
  animation-play-state: paused;
}

.home-news-ticker-item {
  min-width: min(76vw, 300px);
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.home-news-ticker-item:hover {
  border-color: #c5d9e8;
  box-shadow: 0 8px 20px rgba(12, 45, 92, 0.08);
}

.home-news-ticker-title {
  font-weight: 700;
  color: #0c2d5c;
  line-height: 1.35;
  font-size: 0.92rem;
}

.home-news-ticker-summary {
  color: #475569;
  font-size: 0.83rem;
  line-height: 1.35;
}

.home-news-ticker-date {
  margin-top: auto;
  color: #64748b;
  font-size: 0.74rem;
}

@keyframes homeNewsTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .home-news-ticker-track {
    animation: none;
  }
}

.home-news-empty {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 0.98rem;
}

@media (max-width: 640px) {
  .home-news-strip {
    padding: 8px 12px 12px;
  }

  .home-news-strip-inner {
    padding: 8px;
  }

  .home-news-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .leadgen-grid {
    grid-template-columns: 1fr;
  }

  .leadgen-card {
    padding: 16px;
  }

  .contact-section {
    padding: 26px 14px;
  }

  .contact-header {
    margin-bottom: 36px;
  }

  .contact-header h2 {
    font-size: 1.8rem;
  }

  .contact-header p {
    font-size: 0.98rem;
  }

  .contact-content {
    gap: 28px;
  }

  .contact-form-wrapper {
    padding: 20px 16px;
  }

  .info-item {
    padding: 16px;
    gap: 12px;
  }

  .icon-box {
    width: 40px;
    height: 40px;
  }

  .info-text p,
  .info-text a {
    font-size: 0.95rem;
  }
}

