/* Shared theme — used by index.html and pro/index.html */
:root {
  --primary: #1a4071;
  --accent: #20b1ac;
  --muted: #7f7f7f;
  --deep: #112949;
  --navy-900: #112949;
  --navy-800: #1a4071;
  --navy-700: #1a4f8c;
  --navy-600: #2d5a9a;
  --navy-50: #eef3f9;
  --teal-700: #14868b;
  --teal-600: #20b1ac;
  --teal-500: #20b1ac;
  --teal-400: #5ececa;
  --teal-50: rgba(32, 177, 172, 0.1);
  --ink: #112949;
  --grey-900: #1e1e2f;
  --grey-800: #1e293b;
  --grey-700: #334155;
  --grey-600: #475569;
  --grey-500: #64748b;
  --grey-400: #94a3b8;
  --grey-300: #cbd5e1;
  --grey-200: #e2e8f0;
  --grey-100: #f1f5f9;
  --grey-50: #f8fafc;
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 12px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(10, 31, 68, 0.18);
  --shadow-glow: 0 0 0 1px rgba(32, 177, 172, 0.3), 0 8px 24px -8px rgba(32, 177, 172, 0.35);
  --shadow-card: 0 30px 60px rgba(15, 23, 42, 0.12);
  --radius: 10px;
  --radius-lg: 14px;
  --container: 1240px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --bs-primary: #1a4071;
  --bs-primary-rgb: 26, 64, 113;
  --bs-body-font-family: "Poppins", -apple-system, system-ui, sans-serif;
  --bs-body-color: #1e1e2f;
  --bs-body-bg: #f7f8fb;
  --bs-link-color: var(--primary);
  --bs-link-hover-color: var(--accent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top left, rgba(32, 177, 172, 0.08), transparent 45%),
    radial-gradient(circle at bottom right, rgba(26, 64, 113, 0.08), transparent 40%), #f7f8fb;
  color: var(--grey-900);
  font-family: "Poppins", -apple-system, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
.section-title {
  font-family: "Arial Black", "Segoe UI", sans-serif;
  font-weight: 700;
  color: var(--grey-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
}

h2,
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

p {
  margin: 0 0 1rem;
  color: var(--grey-700);
  line-height: 1.65;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* Eyebrow / section labels */
.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: "Poppins", sans-serif;
  margin-bottom: 0.75rem;
}

.eyebrow::before,
.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
}

.section-subtitle.left {
  margin-left: 0;
  margin-right: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #13355d);
  color: #fff;
  box-shadow: 0 15px 25px rgba(17, 41, 73, 0.2);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #13355d, #1f5fa1);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: rgba(26, 64, 113, 0.3);
  background: transparent;
}

.btn-outline-primary:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.btn-light {
  background: #fff;
  color: var(--primary);
  border-color: var(--grey-200);
}

.btn-light:hover {
  border-color: var(--grey-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: var(--primary);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 15.5px;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

.rounded-pill {
  border-radius: 50rem;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border-bottom: 1px solid rgba(26, 64, 113, 0.08);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark,
.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a4071, #14868b, #20b1ac);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  box-shadow: 0 12px 25px rgba(26, 64, 113, 0.25);
  flex-shrink: 0;
}

.nav-logo-text,
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
}

.nav-logo-text small,
.brand-text small {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-700);
  border-radius: 8px;
  transition: all 0.15s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: rgba(32, 177, 172, 0.08);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--grey-50);
  color: var(--grey-700);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grey-200);
}

.nav-mobile-panel {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--grey-200);
  box-shadow: var(--shadow-xl);
  z-index: 99;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 18px 24px 24px;
}

.nav-mobile-panel.active {
  display: block;
}

.nav-mobile-link {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--grey-900);
  border-radius: 8px;
}

.nav-mobile-link:hover {
  background: var(--grey-50);
  color: var(--teal-700);
}

.nav-mobile-cta {
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--grey-100);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Hero */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.bg-grid-dark {
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.hero-dark {
  background: radial-gradient(circle at 25% 20%, rgba(32, 177, 172, 0.25), transparent 55%),
    linear-gradient(135deg, var(--deep), #1a4f8c);
  color: #fff;
}

.hero-dark::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -15%;
  width: 45%;
  height: 150%;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(25deg);
  border-radius: 20px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero-dark p,
.hero-dark .hero-lead {
  color: #e1e6ff;
  font-size: 1.1rem;
}

.hero-dark .eyebrow {
  color: var(--accent);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}

/* Sections */
.section {
  padding: 96px 0;
  position: relative;
}

.section-white {
  background: #fff;
}

.section-cream {
  background: #f7f8fb;
}

/* Cards */
.shadow-card,
.feature {
  border: none;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.shadow-card:hover,
.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 65px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(32, 177, 172, 0.2);
}

.hero .shadow-card {
  color: var(--grey-900);
}

.hero .shadow-card h5 {
  color: var(--grey-900);
}

.hero .shadow-card p,
.hero .shadow-card li {
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.shadow-card {
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.shadow-card a {
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
}

.shadow-card a:hover {
  color: var(--accent);
}

/* Services section — 3 cards top row, 2 cards bottom row */
.services-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.services-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.services-row-3 {
  grid-template-columns: 1fr;
}

.services-row-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .services-row-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(26, 64, 113, 0.05), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(26, 64, 113, 0.08);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-600), var(--teal-400));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 65px rgba(15, 23, 42, 0.18);
  border-color: rgba(32, 177, 172, 0.35);
}

.service-card:hover::before {
  opacity: 1;
}

.service-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 14px;
}

.service-card h4 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.service-card p {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: color 0.15s ease, gap 0.15s ease;
}

.service-card-link:hover {
  color: var(--accent);
  gap: 10px;
}

.plans-grid .shadow-card {
  border: 1px solid rgba(32, 177, 172, 0.25);
  text-align: center;
  min-height: 210px;
}

/* Industries */
.industries-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.industries-list .item {
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  font-weight: 500;
  border: 1px solid rgba(26, 64, 113, 0.12);
  transition: border-color 0.2s, transform 0.2s;
}

.industries-list .item:hover {
  border-color: rgba(32, 177, 172, 0.35);
  transform: translateY(-2px);
}

/* Contact */
.contact-card {
  background: linear-gradient(135deg, rgba(32, 177, 172, 0.1), #fff);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 25px 55px rgba(15, 23, 42, 0.1);
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.contact-card li {
  margin-bottom: 0.8rem;
}

.contact-card a {
  font-weight: 600;
  color: var(--primary);
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.badge-primary {
  background: var(--primary);
  color: #fff;
}

.badge-accent {
  background: var(--accent);
  color: #fff;
}

.badge-navy {
  background: #334155;
  color: #fff;
}

.badge-teal {
  background: linear-gradient(135deg, #14868b, #20b1ac);
  color: #fff;
}

.badge-blue {
  background: #1a4f8c;
  color: #fff;
}

/* Footer */
.footer {
  background: var(--deep);
  color: #dbe8ff;
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a4071, #14868b, #20b1ac);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-tag {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
  max-width: 300px;
}

.footer-col h5 {
  color: #fff;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 9px;
}

.footer-col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: #fff;
}

/* Floating chat */
.floating-chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1055;
}

.chat-panel {
  display: none;
  width: 280px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
  padding: 1.5rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(32, 177, 172, 0.15);
}

.chat-panel h6 {
  font-weight: 600;
  color: var(--primary);
}

.chat-panel .contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.chat-panel .contact-link a {
  color: var(--primary);
  font-weight: 600;
}

.chat-panel .contact-link a:hover {
  color: var(--accent);
}

/* Forms (bootstrap bridge) */
.form-label {
  font-weight: 500;
  color: var(--grey-700);
}

.form-control,
.form-select {
  border-radius: 14px;
  border-color: rgba(26, 64, 113, 0.15);
  padding: 0.85rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(32, 177, 172, 0.25);
}

.modal-content {
  border: none;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}

.modal-title {
  font-family: "Arial Black", "Segoe UI", sans-serif;
  color: var(--primary);
}

@media (max-width: 1024px) {
  .nav-mobile-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .nav-cta .btn:not(.btn-primary) {
    display: none;
  }

  .hero-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .card-grid-3,
  .card-grid-4,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-row-3,
  .services-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .card-grid-2,
  .card-grid-3,
  .card-grid-4,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .services-row-3,
  .services-row-2 {
    grid-template-columns: 1fr;
  }

  .nav-cta .btn-primary {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ctas .btn {
    width: 100%;
  }
}
