:root {
  --navy: #0b1f4d;
  --navy-soft: #173d84;
  --white: #ffffff;
  --red: #d72638;
  --green: #25d366;
  --blue: #0d6efd;
  --text-dark: #1f2937;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 0;
}

.top-contact-bar {
  background-color: #061432;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  padding: 0.3rem 0;
}

.top-contact-bar .container {
  justify-content: center !important;
  gap: 1.6rem;
}

.top-contact-left,
.top-social-links {
  justify-content: center;
}

.top-contact-bar a,
.top-contact-bar span {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.top-contact-bar a:hover {
  color: var(--white);
}

.contact-separator {
  margin: 0 0.9rem;
  opacity: 0.5;
}

.top-social-links a {
  margin-left: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
}

.text-navy {
  color: var(--navy) !important;
}

.brand-logo {
  color: var(--navy);
  font-size: 1.15rem;
  padding: 0 !important;
  margin-right: 0.15rem;
  line-height: 1;
}

.navbar-logo {
  width: 240px;
  height: auto;
  max-height: 68px;
  display: block;
  object-fit: contain;
}

.navbar.py-3 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.navbar .nav-link {
  color: #1f2937;
  font-size: 0.95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--red);
}

.navbar.scrolled {
  box-shadow: 0 8px 24px rgba(7, 18, 45, 0.1) !important;
}

@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu,
  .navbar .dropdown:focus-within > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.hero-section {
  min-height: 78vh;
  background:
    linear-gradient(rgba(11, 31, 77, 0.78), rgba(11, 31, 77, 0.78)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
}

.hero-panel {
  border: 1px solid rgba(11, 31, 77, 0.08);
}

.service-section h2,
.about-section h2 {
  color: var(--navy);
}

.partner-slider-section {
  overflow: hidden;
}

.partner-slider-card {
  background-color: #fff;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(11, 31, 77, 0.07);
}

.partner-slider-card h3 {
  color: var(--navy);
}

.partner-slider-wrap {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.partner-slider-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: partner-logo-scroll 30s linear infinite;
}

.partner-slider-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 1rem;
}

.partner-logo-item {
  width: 170px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 12px;
  background-color: #fff;
  border: 1px solid #e8edf6;
  box-shadow: 0 6px 16px rgba(11, 31, 77, 0.08);
}

.partner-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes partner-logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.service-card {
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1rem 2rem rgba(11, 31, 77, 0.15) !important;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(11, 31, 77, 0.08);
  color: var(--navy);
  font-size: 1.4rem;
}

.stats-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.experience-strip {
  border-radius: 18px;
  padding: 1.1rem 1.3rem;
  background: linear-gradient(135deg, #ffffff 0%, #eef3ff 100%);
  border: 1px solid rgba(11, 31, 77, 0.1);
  box-shadow: 0 10px 24px rgba(11, 31, 77, 0.08);
}

.experience-typing {
  font-size: clamp(1rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-transform: uppercase;
}

.experience-typing-target::after {
  content: "|";
  display: inline-block;
  margin-left: 0.2rem;
  animation: typingCaret 0.8s step-end infinite;
}

@keyframes typingCaret {
  50% {
    opacity: 0;
  }
}

.stat-box {
  border-radius: 14px;
  padding: 1.4rem 1rem;
  background-color: #fff;
  box-shadow: 0 8px 24px rgba(11, 31, 77, 0.07);
}

.stat-box h3 {
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.stat-box p {
  margin-bottom: 0;
  color: #5f6b7b;
}

.footer-section {
  background-color: var(--navy);
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.since-badge {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Times New Roman", Georgia, serif;
  font-style: italic;
  letter-spacing: 0.06em;
  font-size: 1.18rem;
}

.since-bottom {
  margin-top: 0.35rem;
}

.footer-social-links {
  gap: 0.65rem;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.16);
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.footer-social-links a:hover {
  background-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.footer-social-links i {
  font-size: 1.1rem;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 1091;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-drawer {
  position: fixed;
  left: -320px;
  top: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background-color: #fff;
  z-index: 1092;
  display: flex;
  flex-direction: column;
  transition: left 0.3s ease;
  box-shadow: 10px 0 30px rgba(11, 31, 77, 0.16);
}

.mobile-drawer.open {
  left: 0;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #eef1f7;
}

.mobile-drawer-body {
  padding: 0.5rem 0.75rem 1rem;
  overflow-y: auto;
}

.drawer-parent,
.drawer-link {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0.75rem 0.8rem;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
}

.drawer-parent:hover,
.drawer-link:hover {
  background-color: #f4f7fd;
}

.drawer-submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem 1.75rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.drawer-submenu.open {
  max-height: 200px;
}

.drawer-submenu a {
  display: block;
  padding: 0.45rem 0;
  color: #4b5563;
  text-decoration: none;
}

.drawer-cta {
  margin-top: auto;
  padding: 0.9rem;
  border-top: 1px solid #eef1f7;
}

.no-scroll {
  overflow: hidden;
}

.mobile-action-bar {
  z-index: 1085;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.15);
}

.desktop-float-btn {
  position: fixed;
  bottom: 16px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(11, 31, 77, 0.25);
  z-index: 1086;
}

.desktop-float-left {
  left: 18px;
}

.desktop-float-right {
  right: 18px;
}

.float-whatsapp {
  background-color: #2FB44B;
  padding: 4px;
  overflow: hidden;
}

.float-whatsapp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.float-call {
  background-color: var(--blue);
}

.desktop-float-btn i {
  font-size: 1.55rem;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.whatsapp-btn {
  background-color: var(--green);
}

.whatsapp-btn img {
  width: 20px;
  height: 20px;
  margin-right: 0 !important;
  flex-shrink: 0;
}

.call-btn {
  background-color: var(--blue);
}

.whatsapp-btn:hover,
.call-btn:hover {
  color: var(--white);
  filter: brightness(0.95);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.kasko-hero {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.kasko-image-wrap {
  position: relative;
}

.kasko-image-wrap::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(215, 38, 56, 0.12);
  right: -16px;
  top: -16px;
  z-index: -1;
}

.kasko-hero-img {
  border: 1px solid #e9eef7;
}

.content-card {
  background-color: #fff;
  border-radius: 16px;
  border: 1px solid #ebeff6;
  box-shadow: 0 14px 28px rgba(12, 31, 77, 0.06);
}

.highlight-card {
  background: linear-gradient(145deg, #0b1f4d, #173d84);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(8, 25, 66, 0.28);
}

.feature-card {
  background-color: #fff;
  border-radius: 14px;
  border: 1px solid #ebeff6;
  padding: 1.2rem;
  box-shadow: 0 10px 24px rgba(11, 31, 77, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(11, 31, 77, 0.12);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--navy);
  background-color: rgba(23, 61, 132, 0.1);
}

.cta-banner {
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(130deg, #0b1f4d 0%, #173d84 70%, #d72638 100%);
  box-shadow: 0 20px 40px rgba(11, 31, 77, 0.25);
}

.assistant-quick-strip {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-bottom: 1px solid #eef2fb;
}

.assistant-quick-card {
  background-color: #fff;
  border: 1px solid #e8edf7;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(11, 31, 77, 0.06);
}

.assistant-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.assistant-quick-btn {
  border-width: 2px;
  font-weight: 600;
}

.assistant-sticky-btn {
  position: fixed;
  right: 18px;
  bottom: 90px;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #173d84, #d72638);
  color: #fff;
  box-shadow: 0 12px 28px rgba(8, 25, 66, 0.35);
  z-index: 1090;
}

.assistant-sticky-btn i {
  font-size: 1.1rem;
}

.assistant-sticky-text {
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: 180px;
  text-align: left;
}

.assistant-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 43, 0.58);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.assistant-modal.show {
  opacity: 1;
  visibility: visible;
}

.assistant-modal-card {
  width: min(96vw, 620px);
  background: #fff;
  border-radius: 18px;
  border: 1px solid #ebeff6;
  box-shadow: 0 22px 44px rgba(7, 18, 45, 0.3);
  max-height: 92vh;
  overflow: auto;
}

.assistant-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1rem 0.7rem;
}

.assistant-progress-wrap {
  padding: 0 1rem 0.8rem;
}

.assistant-progress-track {
  width: 100%;
  height: 8px;
  background: #edf1f9;
  border-radius: 999px;
  overflow: hidden;
}

.assistant-progress-bar {
  width: 33%;
  height: 100%;
  background: linear-gradient(135deg, #173d84, #d72638);
  transition: width 0.25s ease;
}

.assistant-progress-text {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.assistant-question-area {
  padding: 0 1rem 0.8rem;
}

.assistant-question-card {
  background-color: #f8fbff;
  border: 1px solid #e8edf6;
  border-radius: 14px;
  padding: 0.9rem;
}

.assistant-option-list {
  display: grid;
  gap: 0.55rem;
}

.assistant-option-card {
  width: 100%;
  border: 1px solid #dde6f4;
  background: #fff;
  border-radius: 12px;
  padding: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
}

.assistant-option-card:hover {
  border-color: #c6d5ef;
  background: #f7faff;
}

.assistant-option-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #173d84;
  background: rgba(23, 61, 132, 0.1);
  flex-shrink: 0;
}

.assistant-option-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.assistant-option-text strong {
  font-size: 0.93rem;
  color: #0f172a;
}

.assistant-option-text small {
  font-size: 0.76rem;
  color: #64748b;
}

.assistant-option-arrow {
  margin-left: auto;
  color: #94a3b8;
  font-size: 0.8rem;
}

.assistant-result-card {
  background-color: #f8fbff;
  border: 1px solid #e8edf6;
  border-radius: 14px;
  padding: 1rem;
}

.assistant-result-badge {
  display: inline-flex;
  align-items: center;
  background: #e7f8ee;
  color: #1f8d53;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.assistant-modal-footer {
  padding: 0 1rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}

.phone-prefix {
  font-weight: 700;
  color: var(--navy);
  background-color: #f3f6fc;
  border-color: #dee5f2;
}

.submit-status-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 43, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s ease;
  z-index: 1200;
}

.submit-status-modal.show {
  opacity: 1;
  visibility: visible;
}

.submit-status-card {
  width: min(92vw, 430px);
  background: #fff;
  border-radius: 16px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 40px rgba(7, 18, 45, 0.25);
}

.submit-status-modal.show .submit-status-card {
  transform: translateY(0) scale(1);
}

.submit-status-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: pulseIn 0.35s ease;
}

.submit-status-icon.success {
  background: #e6f9ee;
  color: #0f9d58;
}

.submit-status-icon.error {
  background: #ffecef;
  color: #d72638;
}

@keyframes pulseIn {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 991.98px) {
  body {
    padding-bottom: 72px;
  }

  .hero-section {
    min-height: 68vh;
  }

  .navbar-logo {
    width: 180px;
    height: auto;
    max-height: 56px;
  }

  .kasko-image-wrap::after {
    width: 100px;
    height: 100px;
    right: -10px;
    top: -10px;
  }

  .partner-logo-item {
    width: 140px;
    height: 72px;
  }

  .assistant-quick-card {
    padding: 0.9rem;
  }

  .assistant-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .assistant-sticky-btn {
    right: 12px;
    bottom: 84px;
    padding: 0.68rem 0.78rem;
    border-radius: 14px;
  }

  .assistant-sticky-text {
    display: none;
  }
}
