/* Sowynet bespoke Bootstrap theme overrides */
:root,
[data-bs-theme="dark"] {
  --sowynet-primary: #3582d6;
  --sowynet-primary-soft: rgba(53, 130, 214, 0.18);
  --sowynet-ink: #050c1b;
  --sowynet-slate: #0b152d;
  --sowynet-card: rgba(9, 16, 34, 0.92);
  --sowynet-border: rgba(255, 255, 255, 0.06);
  --sowynet-highlight: rgba(255, 255, 255, 0.12);

  --bs-body-font-family: 'Montserrat', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.65;
  --bs-body-bg: #050c1b;
  --bs-body-color: #e6ecf7;
  --bs-body-color-rgb: 230, 236, 247;
  --bs-heading-color: #f8f9fa;
  --bs-link-color: #63a9ff;
  --bs-link-hover-color: #8ac0ff;
  --bs-primary: #3582d6;
  --bs-primary-rgb: 53, 130, 214;
  --bs-info: #3582d6;
  --bs-info-rgb: 53, 130, 214;
  --bs-secondary: #0f223f;
  --bs-secondary-rgb: 15, 34, 63;
  --bs-danger: #ff4f64;
  --bs-border-color: rgba(255, 255, 255, 0.08);
  --bs-border-radius: 0.75rem;
  --bs-border-radius-lg: 1rem;
  --bs-btn-border-radius: 0.65rem;
  --bs-btn-padding-y: 0.65rem;
  --bs-btn-padding-x: 1.4rem;
  --bs-btn-font-weight: 600;
  --bs-muted-color: rgba(226, 233, 245, 0.7);
}

body {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  line-height: var(--bs-body-line-height);
}

a {
  color: var(--bs-link-color);
  transition: color 0.2s ease-in-out;
}

a:hover,
a:focus {
  color: var(--bs-link-hover-color);
}

strong,
.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
  color: var(--bs-heading-color);
}

p {
  color: rgba(230, 236, 247, 0.82);
}

::selection {
  background: rgba(53, 130, 214, 0.35);
  color: #f8f9fa;
}

.badge {
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.card {
  background: var(--sowynet-card);
  border: 1px solid var(--sowynet-border);
  border-radius: 1.25rem;
  box-shadow: 0 40px 80px -70px rgba(0, 0, 0, 0.8);
}

.bg-body {
  background-color: rgba(7, 16, 34, 0.88) !important;
}

.bg-body-tertiary {
  background-color: rgba(11, 21, 45, 0.92) !important;
}

section.clean-block {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.btn-info {
  background: linear-gradient(145deg, rgba(53, 130, 214, 0.92), rgba(40, 100, 170, 0.92));
  border-color: rgba(53, 130, 214, 0.8);
  color: #0b152d;
  box-shadow: 0 18px 40px -25px rgba(53, 130, 214, 0.95);
}

.btn-info:hover,
.btn-info:focus {
  background: linear-gradient(145deg, rgba(62, 150, 232, 0.95), rgba(46, 114, 196, 0.95));
  border-color: rgba(53, 130, 214, 0.9);
  color: #050c1b;
}

.btn-outline-info {
  color: var(--bs-info);
  border-color: rgba(53, 130, 214, 0.45);
  background: rgba(53, 130, 214, 0.08);
}

.btn-outline-info:hover,
.btn-outline-info:focus {
  color: #0b152d;
  background: var(--bs-info);
  border-color: rgba(53, 130, 214, 0.85);
  box-shadow: 0 18px 32px -24px rgba(53, 130, 214, 0.95);
}

.btn-outline-light {
  color: #f8f9fa;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: #050c1b;
  background: #f8f9fa;
  border-color: #f8f9fa;
}

.form-control,
.form-select {
  background: rgba(8, 17, 37, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--bs-body-color);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(53, 130, 214, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(53, 130, 214, 0.15);
}

.dropdown-menu {
  background: rgba(7, 15, 35, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.dropdown-item {
  color: rgba(226, 233, 245, 0.85);
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
  background: rgba(53, 130, 214, 0.18);
  color: #f8f9fa;
}

.navbar.clean-navbar {
  background: rgba(8, 15, 33, 0.85) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -18px rgba(5, 12, 27, 0.9);
}

.navbar.clean-navbar .nav-link {
  color: rgba(226, 233, 245, 0.85) !important;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.navbar.clean-navbar .nav-link:hover,
.navbar.clean-navbar .nav-link:focus {
  color: #f8f9fa !important;
  opacity: 1;
}

.navbar.clean-navbar .btn-info {
  box-shadow: 0 14px 30px -20px rgba(53, 130, 214, 0.9);
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #f8f9fa;
  background: radial-gradient(140% 140% at 0% 0%, rgba(53, 130, 214, 0.45) 0%, rgba(11, 23, 49, 0.95) 35%, rgba(5, 12, 27, 0.98) 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 85% 15%, rgba(53, 130, 214, 0.12) 0%, transparent 60%);
  z-index: 0;
}

.hero-section .container,
.hero-section .row,
.hero-section .card {
  position: relative;
  z-index: 1;
}

.hero-section .badge {
  padding: 0.5rem 1.1rem;
  background: rgba(53, 130, 214, 0.12);
}

.hero-section .display-4 {
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  line-height: 1.15;
}

.hero-section .lead {
  max-width: 36rem;
  color: rgba(236, 243, 255, 0.78);
}

.hero-section .partnership-card {
  background: var(--sowynet-card);
  border: 1px solid rgba(53, 130, 214, 0.25);
  backdrop-filter: blur(16px);
  color: #f8f9fa;
  box-shadow: 0 40px 80px -60px rgba(53, 130, 214, 0.45);
}

.hero-section .partnership-card .text-secondary {
  color: rgba(236, 243, 255, 0.7) !important;
}

.hero-section .partnership-card hr {
  border-color: rgba(255, 255, 255, 0.14);
}

.hero-section .partnership-card .badge {
  background: rgba(53, 130, 214, 0.25);
  color: #101a2c;
}

.metrics-band {
  background: linear-gradient(180deg, rgba(14, 25, 48, 0.96) 0%, rgba(6, 11, 23, 0.95) 100%);
  border-top: 1px solid var(--sowynet-border);
  border-bottom: 1px solid var(--sowynet-border);
  text-align: center;
}

.metrics-band .display-6 {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  color: var(--sowynet-primary);
}

.metrics-band p {
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(222, 229, 242, 0.78);
}

.services-overview .feature-card,
.process-map .process-step,
.results-showcase .results-card,
.testimonial-deck .testimonial-card {
  background: var(--sowynet-card);
  border: 1px solid var(--sowynet-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.services-overview .feature-card:hover,
.process-map .process-step:hover,
.results-showcase .results-card:hover,
.testimonial-deck .testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(53, 130, 214, 0.35);
  box-shadow: 0 34px 56px -40px rgba(53, 130, 214, 0.9);
}

.services-overview .feature-card .text-secondary,
.process-map .process-step .text-secondary,
.results-showcase .results-card .text-secondary,
.testimonial-deck .testimonial-card .text-secondary {
  color: rgba(222, 229, 242, 0.78);
}

.services-overview .feature-card ul {
  padding-left: 1rem;
}

.services-overview .feature-card li {
  margin-bottom: 0.4rem;
}

.results-showcase {
  background: radial-gradient(110% 130% at 10% 5%, rgba(53, 130, 214, 0.22) 0%, rgba(6, 12, 27, 0.94) 55%, rgba(5, 10, 22, 0.98) 100%);
}

.testimonial-deck {
  background: rgba(11, 19, 36, 0.92);
}

.testimonial-deck .testimonial-card {
  min-height: 100%;
}

.cta-section {
  background: linear-gradient(135deg, rgba(5, 12, 27, 0.95) 0%, rgba(16, 37, 74, 0.92) 100%);
  border-top: 1px solid var(--sowynet-border);
  border-bottom: 1px solid var(--sowynet-border);
}

.cta-section h2 {
  max-width: 32rem;
}

.cta-section .btn-info {
  min-width: 12rem;
}

.ai-summary {
  background: linear-gradient(135deg, rgba(7, 16, 34, 0.95) 0%, rgba(18, 38, 74, 0.92) 65%, rgba(11, 24, 52, 0.98) 100%);
  border-bottom: 1px solid var(--sowynet-border);
}

.ai-summary .summary-card {
  background: rgba(8, 17, 37, 0.96);
  border: 1px solid rgba(53, 130, 214, 0.25);
  border-radius: 1.25rem;
  box-shadow: 0 40px 60px -55px rgba(53, 130, 214, 0.6);
}

.ai-summary .summary-card p {
  color: rgba(226, 233, 245, 0.78);
}

.ai-summary .summary-card .text-info {
  color: var(--sowynet-primary) !important;
  min-width: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ai-faq {
  border-top: 1px solid var(--sowynet-border);
  border-bottom: 1px solid var(--sowynet-border);
}

.ai-faq .accordion-item {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.ai-faq .accordion-button {
  background: rgba(10, 20, 44, 0.8);
  color: #f8f9fa;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.ai-faq .accordion-button:not(.collapsed) {
  color: #f8f9fa;
  background: rgba(53, 130, 214, 0.16);
  box-shadow: inset 0 -1px 0 rgba(53, 130, 214, 0.25);
}

.ai-faq .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(53, 130, 214, 0.25);
}

.ai-faq .accordion-body {
  background: rgba(6, 14, 34, 0.88);
}

.page-footer {
  background: rgba(4, 9, 22, 0.95);
  border-top: 1px solid rgba(53, 130, 214, 0.12);
}

.page-footer .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.page-footer .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-footer .h5 {
  color: #f8f9fa;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.3rem !important;
}

.page-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.page-footer p {
  color: rgba(222, 229, 242, 0.75);
}

.page-footer a {
  color: rgba(222, 229, 242, 0.8);
  transition: color 0.2s ease;
}

.page-footer a:hover,
.page-footer a:focus {
  color: #f8f9fa;
}

.page-footer .text-info {
  color: var(--sowynet-primary) !important;
}

.page-footer .d-flex.gap-3 {
  gap: 1rem !important;
}

.page-footer .d-flex.gap-3 a {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0;
  padding: 1.2rem 0;
}

@media (max-width: 991.98px) {
  .navbar.clean-navbar {
    background: rgba(5, 12, 27, 0.95) !important;
  }

  .hero-section .card {
    margin-top: 2rem;
  }

  .hero-section .lead {
    max-width: 100%;
  }

  .hero-section {
    padding-top: 5.5rem !important;
  }

  .page-footer .row {
    row-gap: 2rem;
  }

  .page-footer .row > [class*="col-"] {
    text-align: center;
  }

  .page-footer .d-flex.gap-3 {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .hero-section .display-4 {
    font-size: 2.35rem;
  }

  .metrics-band .display-6 {
    font-size: 2.25rem;
  }

  .metrics-band p {
    max-width: 100%;
  }
}
