﻿:root {
  --brand-blue: #0b5ed7;
  /* --brand-blue-dark: #0a3fa0; */
  --brand-blue-dark: #272c4f; 
  --brand-blue-soft: #e8f0ff;
  --brand-cyan: #a8d0e8;
  --brand-orange: #ff6b4a;
  --brand-green: #25d366;
  --text-dark: #0f172a;
  --text-muted: #6b7280;
  --card-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background: #eef3fb;
  color: var(--text-dark);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

h2 {
  font-size: 2rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  font-size: 0.95rem;
}

a {
  text-decoration: none;
}

.section {
  padding: 72px 0;
}

.section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

#services.section {
  padding-top: 40px;
}

.shadow-soft {
  box-shadow: var(--soft-shadow);
}

.btn-cta {
  background: var(--brand-orange);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 12px 20px rgba(255, 107, 74, 0.25);
}

.btn-cta:hover {
  background: #f15836;
  color: #fff;
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #0f5132;
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: 12px;
  padding: 10px 14px;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.25);
  color: #0f5132;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.navbar-hero {
  /* background: var(--brand-blue); */
  background: radial-gradient(circle at top left, #f7fbff 0%, #dfe9ff 55%, #c8dcff 100%);

}
.nav-link{
  color: var(--text-dark);
}

.hero {
  background: radial-gradient(circle at top left, #f7fbff 0%, #dfe9ff 55%, #c8dcff 100%);
}

.hero.section {
  padding: 28px 0;
}

.hero .display-4 {
  font-size: clamp(1.7rem, 3.3vw, 3.1rem);
}

.hero-shield-icon {
  font-size: 1.1em;
}


.hero-image {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  position: relative;
}

.img-fluid{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.hero-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cbd5f5;
}

.hero-dots span.active {
  width: 18px;
  background: var(--brand-blue);
}

.service-card {
  border: none;
  background: transparent;
  border-radius: 18px;
  min-height: 220px;
  perspective: 1000px;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.service-card-face {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
  backface-visibility: hidden;
}

.service-card-front {
  background: #fff;
  color: var(--text-dark);
}

.service-card-back {
  background: var(--brand-orange);
  color: var(--text-dark);
  transform: rotateY(180deg);
}

.service-card-back p {
  color: rgba(15, 23, 42, 0.88);
  line-height: 1.5;
}

.services-carousel .carousel-item {
  padding: 10px 6px 24px;
}

.services-row {
  margin-bottom: 20px;
  --bs-gutter-x: 20px;
  --bs-gutter-y: 0;
}

.carousel {
  overflow: visible;
}

.carousel-inner {
  overflow: visible;
}

.services-carousel .carousel-item {
  overflow: visible;
}

.services-row--secondary {
  margin-bottom: 100;
}

/* .services-carousel-indicators {
  position: static;
  margin-top: 18px;
  justify-content: center;
  gap: 6px;
}

.services-carousel-indicators [data-bs-target] {
  background-color: #c9d6f3;
  border-radius: 999px;
  width: 8px;
  height: 8px;
}

.services-carousel-indicators .active {
  background-color: #1f5fe0;
  width: 20px;
  height: 8px;
} */

.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card.is-flipped .service-card-inner {
  transform: rotateY(180deg);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}

.service-icon .bi {
  font-size: 1.15rem;
  line-height: 1;
}

.why-section {
  /* background: linear-gradient(120deg, #3b82f6, #1d4ed8); */
  color: #fff;
}

.why-section .section-title {
  color: var(--text-dark);
}

.why-card {
  background: #fff;
  color: var(--text-dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
}

.why-card img {
  height: 210px;
  width: 100%;
  object-fit: cover;
}

.why-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 30px;
}

.why-value-item {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 16px;
}

.why-values-grid .why-value-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.why-value-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.why-value-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 74, 0.12);
  color: var(--brand-orange);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
}

.why-value-icon .bi {
  font-size: 1rem;
  line-height: 1;
  display: block;
}

.why-value-icon .bi-arrow-repeat {
  transform: translateX(0);
}

.why-value-title {
  color: var(--brand-blue-dark);
  font-weight: 900;
  margin-bottom: 0;
}




.why-value-copy {
  color: var(--text-muted);
  line-height: 1.6;
}

.why-steps {
  background: #0b3b93;
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--card-shadow);
}

.why-profile {
  background: transparent;
  height: 100%;
}

.why-profile-card {
  /* background: linear-gradient(180deg, #1f6fe0 0%, #1b57b8 100%); */
  background: var(--brand-blue-dark);
  border-radius: 22px;
  padding: 36px;
  color: #fff;
  box-shadow: var(--card-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-profile-photo {
  width: 130px;
  height: 130px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
  align-self: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.why-profile-photo img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
}

.why-profile-title {
  font-weight: 800;
  text-align: center;
  margin-bottom: 0;
}

.why-profile-copy {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 0;
}

.why-profile-mission {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 16px 18px;
}

.why-profile-label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  /* color: #ffdfcc; */
  color: var(--brand-orange);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.why-profile-mission p {
  margin-bottom: 0;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.why-steps > p {
  line-height: 1.6;
}

.why-step {
  display: flex;
  gap: 14px;
  align-items: center;
}

.why-step-circle {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  aspect-ratio: 1 / 1;
  flex: 0 0 56px;
  border-radius: 999px;
  background: #fff;
  color: #0b3b93;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.why-step-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.why-step-title {
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
}

.why-step-copy {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.5;
}

.quote-section {
  background: linear-gradient(180deg, #e9f1ff 0%, #f6f9ff 100%);
}

.quote-card {
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
  border: none;
}

.progress-mini {
  height: 6px;
  border-radius: 999px;
  background: #dbe4ff;
  overflow: hidden;
}

.progress-mini span {
  display: block;
  height: 100%;
  width: 33%;
  background: var(--brand-orange);
}

.faq-pills .btn {
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border: 1px solid #e2e8f0;
  color: #475569;
  background: #fff;
  flex: 0 0 auto;
}

.faq-pills .btn.active {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
}

.faq-pills-wrap {
  position: relative;
}

.faq-pills-wrap::before,
.faq-pills-wrap::after {
  /* Side fades to hint horizontal scroll on mobile. */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.faq-pills-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0));
}

.faq-pills-wrap::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0));
}

.faq-pills-wrap.can-scroll-left::before {
  opacity: 1;
}

.faq-pills-wrap.can-scroll-right::after {
  opacity: 1;
}

.faq-pills {
  max-height: 86px;
  overflow: hidden;
  flex-wrap: wrap;
}

.faq-pill-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: var(--text-dark);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--soft-shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.faq-pill-arrow--left {
  left: 6px;
}

.faq-pill-arrow--right {
  right: 6px;
}

.faq-pill-arrow.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.accordion-item {
  border: none;
  border-radius: 16px !important;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  color: var(--text-dark);
  background: #fff;
}

.accordion-button:not(.collapsed) {
  background: #fff;
  color: var(--brand-blue);
}

.accordion-body {
  color: var(--text-muted);
}

.testimonial-card {
  border: none;
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
}

.verified {
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 600;
}

.partners-grid img {
  max-height: 38px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  /* filter: grayscale(1); */
  /* opacity: 0.7;
  transition: all 0.2s ease; */
}

.partners-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
}

footer {
  background: linear-gradient(120deg, #0b3b93, #083079);
  color: #fff;
}

footer a {
  color: #c7dcff;
}

footer a:hover {
  color: #fff;
}

.footer-ssn {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
  padding-top: 20px;
}

.footer-ssn-item {
  grid-column: span 1;
  display: grid;
  gap: 4px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-ssn-label {
  font-weight: 600;
  opacity: 0.8;
}

.footer-ssn-value {
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-ssn-divider {
  grid-column: span 1;
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.4);
  justify-self: center;
}

.footer-ssn-logo {
  grid-column: span 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* filter: grayscale(0.2);  */
  /* max-width: 1px; */
  transition: all 0.2s ease; 
}

.footer-ssn-logo img {
  max-height: 46px;
  width: auto;
  filter: brightness(1.1);
}

.footer-pill {
  background: var(--brand-orange);
  border-radius: 999px;
  padding: 8px 16px;
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-fab {
  position: fixed;
  right: 28px;
  bottom: 76px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--brand-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.35);
  z-index: 1030;
}

.whatsapp-fab:hover {
  color: #fff;
  background: #1fb658;
}

@media (max-width: 991px) {
  .section {
    padding: 56px 0;
  }

  #services.section {
    padding-top: 44px;
  }

  .hero.section {
    padding: 56px 0;
  }

  .services-row--secondary {
    display: none;
  }

  .services-row {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 20px;
  }

  .service-card {
    min-height: 205px;
  }

  .service-card-inner {
    min-height: 205px;
  }

  .service-card:hover .service-card-inner {
    transform: none;
  }

  .service-card.is-flipped .service-card-inner {
    transform: rotateY(180deg);
  }

  .why-values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-values-grid .why-value-item {
    border-bottom: 1px solid #e2e8f0;
  }

  .why-values-grid .why-value-item:last-child {
    border-bottom: none;
  }

  .why-steps {
    padding: 28px;
  }


  .why-profile-card {
    padding: 28px;
  }

  .why-profile-photo {
    width: 110px;
    height: 110px;
  }


  .why-step-title {
    font-size: 1.05rem;
  }

  .partners-grid img {
    max-height: 34px;
  }

  .faq-pills {
    max-height: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 4px 44px 4px 8px;
    white-space: nowrap;
  }

  /* Hide scrollbar in Webkit + Firefox. */
  .faq-pills::-webkit-scrollbar {
    display: none;
  }

  .faq-pills {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .faq-pill-arrow {
    display: inline-flex;
  }

  .footer-ssn {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-ssn-divider {
    width: 100%;
    height: 1px;
  }
}
