:root {
  --primary: #2b88e3;
  --primary-dark: #136ca8;
  --primary-deep: #3169d2;
  --secondary: #5494e3;
  --secondary-soft: #84aef0;
  --primary-soft: #eef4ff;
  --text-dark: #172033;
  --text-heading: #12345d;
  --text-muted: #687286;
  --border: #dbe7f8;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(43, 136, 227, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: 0.2s ease;
}

a:hover { color: var(--primary-dark); }

.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: var(--primary-dark);
  --bs-btn-active-bg: var(--primary-dark);
  --bs-btn-active-border-color: var(--primary-dark);
  box-shadow: 0 12px 26px rgba(43, 136, 227, 0.22);
}

.btn-outline-primary {
  --bs-btn-color: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
}

.topbar {
  background: linear-gradient(90deg, var(--primary-deep), var(--primary), var(--secondary));
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  padding: 10px 0;
}
.topbar a, .topbar span { color: rgba(255, 255, 255, 0.9); }
.topbar i { color: #ffffff; margin-right: 6px; }
.topbar-right { display: flex; gap: 22px; }

.navbar {
  min-height: 78px;
  backdrop-filter: blur(10px);
}
.navbar .nav-link {
  font-weight: 600;
  color: #30465f;
  padding-left: 14px !important;
  padding-right: 14px !important;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--primary); }

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
}
.brand-logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
}
.footer-brand-img {
  background: #ffffff;
  border-radius: 18px;
  padding: 8px 12px;
  box-shadow: 0 14px 34px rgba(255,255,255,0.15);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0 86px;
  background:
    radial-gradient(circle at 10% 12%, rgba(49,105,210,0.12), transparent 26%),
    radial-gradient(circle at 90% 6%, rgba(84,148,227,0.14), transparent 25%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 85%);
}
.hero-section::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -130px;
  top: -80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(84,148,227,0.12), rgba(43,136,227,0.03));
}
.hero-section::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -120px;
  bottom: -220px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(49,105,210,0.08), rgba(43,136,227,0.02));
}
.hero-section .container { position: relative; z-index: 1; }

.hero-badge,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-deep);
  background: #edf3ff;
  border: 1px solid #dce8ff;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.83rem;
  padding: 8px 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.section-label.light {
  color: #ffffff;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  font-weight: 900;
  color: var(--text-heading);
}
.hero-subtitle {
  font-size: 1.14rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-top: 20px;
}
.hero-contact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-contact-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  color: #30465f;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(43,136,227,0.10);
}
.hero-contact-card i { color: var(--primary); }
.hero-mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  color: #30465f;
  font-weight: 700;
}
.hero-mini-points div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-mini-points i { color: var(--primary); }

.hero-carousel-wrap { position: relative; }
.hero-carousel {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(28, 65, 120, 0.18);
  border: 1px solid rgba(219,231,248,0.9);
  background: #dfeafd;
}
.hero-slide {
  position: relative;
  min-height: 520px;
}
.hero-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,52,93,0.15) 0%, rgba(18,52,93,0.54) 75%, rgba(18,52,93,0.72) 100%),
    linear-gradient(120deg, rgba(49,105,210,0.18), rgba(43,136,227,0.06));
}
.hero-slide-content {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  color: #ffffff;
  z-index: 2;
}
.hero-slide-label {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.hero-slide-content h3 {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin-bottom: 10px;
}
.hero-slide-content p {
  max-width: 520px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
}
.hero-indicators { margin-bottom: 16px; }
.hero-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  margin: 0 5px;
  background-color: rgba(255,255,255,0.58);
}
.hero-indicators .active { background-color: #ffffff; }
.carousel-control-prev,
.carousel-control-next {
  width: 12%;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.18);
  background-size: 52% 52%;
  backdrop-filter: blur(6px);
}
.hero-feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--border);
  color: #30465f;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(43,136,227,0.10);
}
.feature-chip i { color: var(--primary); }

.section { padding: 92px 0; }
.bg-soft-blue { background: #f5f8ff; }
.bg-dark-blue {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 26%),
    linear-gradient(135deg, var(--primary-deep), var(--primary), var(--secondary));
}
.section-title {
  margin-top: 14px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text-heading);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  max-width: 780px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 710px;
}

.stats-strip { padding: 28px 0; background: white; }
.stat-box {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  background: white;
  box-shadow: 0 10px 32px rgba(43,136,227,0.08);
  height: 100%;
}
.stat-box strong {
  display: block;
  font-size: 1.55rem;
  color: var(--primary-deep);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.stat-box span {
  display: block;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 4px;
}

.about-section .lead { color: #30465f; font-weight: 500; }
.about-checks { display: grid; gap: 12px; }
.about-checks div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #30465f;
  font-weight: 650;
}
.about-checks i { color: var(--primary); margin-top: 5px; }
.about-card {
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary), var(--secondary));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.1);
}
.about-card-header {
  height: 54px;
  background: rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
}
.about-card-header span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.62);
}
.about-terminal {
  padding: 34px;
  color: #ffffff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  min-height: 320px;
}
.about-terminal p { margin-bottom: 14px; }
.about-terminal span { color: #eef6ff; margin-right: 8px; }
.about-terminal .success { color: #ebfff5; margin-top: 28px; }

.solution-card,
.service-card,
.why-item,
.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 14px 40px rgba(43,136,227,0.10);
}
.solution-card { padding: 30px; transition: 0.25s ease; }
.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.solution-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #eef3ff;
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 24px;
}
.solution-card h3,
.service-card h3,
.why-item h3,
.process-card h3 {
  font-size: 1.22rem;
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}
.solution-card p,
.service-card p,
.why-item p,
.process-card p { color: var(--text-muted); }
.solution-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}
.service-card {
  padding: 30px;
  height: 100%;
  transition: 0.2s ease;
}
.service-card:hover {
  border-color: #c7daf7;
  transform: translateY(-4px);
}
.service-card > i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 18px;
}

.process-card {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 26px;
  padding: 30px;
  background: rgba(255,255,255,0.08);
  height: 100%;
}
.process-card span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255,255,255,0.14);
  color: #eef6ff;
  font-weight: 900;
  margin-bottom: 24px;
}
.process-card h3 { color: white; }
.process-card p { color: rgba(255,255,255,0.72); margin-bottom: 0; }

.why-item { padding: 28px; height: 100%; }
.why-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
  display: inline-block;
}

.cta-section { padding-top: 0; }
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 54px;
  border-radius: 34px;
  color: white;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 25%),
    linear-gradient(135deg, var(--primary-deep), var(--primary), var(--secondary));
  box-shadow: var(--shadow);
}
.cta-box h2 {
  font-weight: 900;
  letter-spacing: -0.04em;
  max-width: 760px;
}
.cta-box p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 0;
  max-width: 760px;
}

.contact-info-list { display: grid; gap: 16px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text-dark);
  box-shadow: 0 10px 32px rgba(43,136,227,0.08);
}
.contact-info-item > span {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #eef3ff;
  color: var(--primary);
  font-size: 1.25rem;
}
.contact-info-item small {
  display: block;
  color: var(--text-muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.contact-info-item strong { color: var(--text-heading); }
.contact-info-item p { margin: 4px 0 0; color: var(--text-muted); }
.contact-card { padding: 36px; }
.contact-card h3 {
  font-weight: 900;
  color: var(--text-heading);
}
.form-label {
  font-weight: 800;
  color: #30465f;
}
.form-control {
  min-height: 52px;
  border-radius: 16px;
  border-color: #dce8f5;
  padding: 12px 16px;
}
textarea.form-control { min-height: 150px; }
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.22rem rgba(43,136,227,0.15);
}
.form-alert {
  display: none;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
}
.form-alert.success {
  display: block;
  background: #e9fff4;
  color: #0a7b47;
  border: 1px solid #c2f3dc;
}
.form-alert.error {
  display: block;
  background: #fff1f1;
  color: #b42318;
  border: 1px solid #ffd1d1;
}

.footer-section {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary), var(--secondary));
  color: rgba(255,255,255,0.88);
  padding: 70px 0 28px;
}
.footer-section h4 {
  color: white;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 18px;
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-section a { color: rgba(255,255,255,0.88); }
.footer-section a:hover { color: white; }
.footer-contact i { color: #eef6ff; margin-right: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 44px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.74);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: white;
  box-shadow: 0 12px 28px rgba(43,136,227,0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.2s ease;
  z-index: 10;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .hero-section { padding: 76px 0 58px; }
  .hero-slide,
  .hero-slide img { min-height: 430px; height: 430px; }
  .section { padding: 70px 0; }
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 38px;
  }
}

@media (max-width: 575.98px) {
  .brand-logo-img {
    height: 42px;
    max-width: 178px;
  }
  .footer-brand-img {
    height: 48px;
    padding: 7px 10px;
  }
  .hero-title { font-size: 2.45rem; }
  .hero-contact-card a {
    width: 100%;
    justify-content: center;
  }
  .hero-mini-points { gap: 10px 14px; }
  .hero-slide,
  .hero-slide img {
    min-height: 360px;
    height: 360px;
  }
  .hero-slide-content {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
  .hero-slide-content h3 { font-size: 1.45rem; }
  .hero-feature-strip { gap: 10px; }
  .feature-chip {
    width: 100%;
    justify-content: center;
  }
  .contact-card,
  .solution-card,
  .service-card,
  .why-item { border-radius: 22px; }
  .contact-card { padding: 24px; }
  .cta-box {
    padding: 30px;
    border-radius: 26px;
  }
}


/* Updated logo sizing for long company-name logo */
.navbar .navbar-brand {
  flex: 0 0 auto;
  max-width: 420px;
  width: 100%;
  margin-right: 24px;
}
.brand-logo {
  width: 100%;
}
.brand-logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 360px;
  max-height: 92px;
  object-fit: contain;
}
.footer-logo {
  display: inline-flex;
  width: 100%;
  max-width: 480px;
}
.footer-brand-img {
  background: #ffffff;
  border-radius: 18px;
  padding: 10px 14px;
  box-shadow: 0 14px 34px rgba(255,255,255,0.15);
  width: 100%;
  max-width: 440px;
  height: auto;
}
@media (min-width: 992px) {
  .navbar .navbar-brand { max-width: 420px; }
  .brand-logo-img { max-width: 360px; max-height: 92px; }
}
@media (max-width: 991.98px) {
  .navbar .navbar-brand { max-width: 300px; }
  .brand-logo-img { max-width: 280px; max-height: 74px; }
}
@media (max-width: 575.98px) {
  .navbar .navbar-brand { max-width: 240px; }
  .brand-logo-img {
    max-width: 220px;
    max-height: 62px;
  }
  .footer-logo { max-width: 280px; }
  .footer-brand-img {
    max-width: 260px;
    height: auto;
    padding: 8px 10px;
  }
}


/* Footer transparent logo + maps + WhatsApp */
.transparent-footer-logo {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.map-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 14px 40px rgba(43,136,227,0.10);
  padding: 28px;
}

.map-title {
  color: var(--text-heading);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.map-embed {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #dbe7f8;
  background: #eef4ff;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 82px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.32);
  z-index: 11;
}

.floating-whatsapp i {
  font-size: 1.3rem;
  line-height: 1;
}

.floating-whatsapp:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.38);
}

@media (max-width: 575.98px) {
  .map-card {
    padding: 20px;
    border-radius: 22px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 78px;
    padding: 12px 15px;
  }

  .floating-whatsapp span {
    display: none;
  }
}


/* V5 refinements: transparent logo, Google Maps, WhatsApp floating button */
.navbar {
  min-height: 88px;
}

.navbar .navbar-brand {
  max-width: 460px;
  margin-right: 28px;
}

.brand-logo-img {
  max-width: 410px;
  max-height: 86px;
  object-fit: contain;
}

.footer-logo {
  max-width: 520px;
}

.footer-brand-img {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  max-width: 480px;
}

.footer-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(43,136,227,0.10), transparent 26%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 100%) !important;
  color: #30465f !important;
}

.footer-section h4 {
  color: var(--text-heading) !important;
}

.footer-section a {
  color: #30465f !important;
}

.footer-section a:hover {
  color: var(--primary) !important;
}

.footer-contact i {
  color: var(--primary) !important;
}

.footer-bottom {
  border-top: 1px solid #dbe7f8 !important;
  color: #687286 !important;
}

.map-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(43,136,227,0.10);
  overflow: hidden;
}

.map-card-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.map-card-header h3 {
  color: var(--text-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 14px 0 4px;
}

.map-card-header p {
  color: var(--text-muted);
  margin: 0;
}

.map-embed {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #eef4ff;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff !important;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.32);
  border: 1px solid rgba(255,255,255,0.28);
}

.whatsapp-float i {
  font-size: 1.35rem;
}

.whatsapp-float:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.42);
}

@media (max-width: 991.98px) {
  .navbar .navbar-brand {
    max-width: 340px;
  }

  .brand-logo-img {
    max-width: 320px;
    max-height: 76px;
  }

  .map-card-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .navbar .navbar-brand {
    max-width: 250px;
  }

  .brand-logo-img {
    max-width: 235px;
    max-height: 62px;
  }

  .footer-logo {
    max-width: 300px;
  }

  .footer-brand-img {
    max-width: 285px;
  }

  .map-card {
    padding: 18px;
    border-radius: 24px;
  }

  .map-embed {
    height: 310px;
    border-radius: 18px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 78px;
    padding: 13px;
  }

  .whatsapp-float span {
    display: none;
  }
}
