/* Slide Animate Active (fade-in-up) */
.slide-animate-active {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition-delay: 0.2s;
}

/* Slide Animate (fade-in-up) */
.slide-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
/* ============================
  qTech Insurance Hero Section
  ============================ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.plan-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  -webkit-background-clip: text;
  background-clip: text;
  border: 1px solid #e6e6e6;
  min-height: 370px;
  position: relative;
}
.plan-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.13);
  border-color: #007bff;
}
.plan-card-image {
  width: 100%;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f8fb;
  border-bottom: 1px solid #e6e6e6;
}
.plan-card-image img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
  border-radius: 0.5rem;
}
.icon-bg-blue {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #007bff 60%, #00c6ff 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 2px 8px 0 rgba(0,123,255,0.10);
}
.plan-card-body {
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.plan-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: #007bff;
}
.plan-desc {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.1rem;
}
.plan-premium {
  font-size: 1.08rem;
  color: #222;
  background: #f4f8fb;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  margin-top: auto;
  display: inline-block;
}
.plan-premium span {
  color: #007bff;
  font-weight: 500;
}

.plans-page-intro {
  max-width: 780px;
  margin: 0 auto;
}

.plans-showcase-section {
  position: relative;
  background:
    radial-gradient(680px 280px at 8% 0%, rgba(37,99,235,.11) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(680px 280px at 92% 100%, rgba(14,165,233,.12) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.plans-showcase-section .plans-grid-tiered {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.35rem;
}

/* Center rows when fewer cards are present in a 5-column layout */
.plans-showcase-section .plans-grid-tiered > .plan-card-tiered:nth-child(1):nth-last-child(3) {
  grid-column: 2;
}

.plans-showcase-section .plans-grid-tiered > .plan-card-tiered:nth-child(2):nth-last-child(2) {
  grid-column: 3;
}

.plans-showcase-section .plans-grid-tiered > .plan-card-tiered:nth-child(3):nth-last-child(1) {
  grid-column: 4;
}

.plans-showcase-section .plan-card-tiered {
  position: relative;
  border-radius: 18px;
  border: 1px solid #cfe3ff;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
  transform: translateY(0);
}

.plans-showcase-section .plan-card-tiered::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 100%);
}

.plans-showcase-section .plan-card-tiered:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.13);
  border-color: #93c5fd;
}

.plans-showcase-section .plan-card-image {
  height: 160px;
  background: linear-gradient(155deg, #eaf3ff 0%, #f5f9ff 100%);
  border-bottom: 1px solid #dbeafe;
}

.plans-showcase-section .plan-card-image img {
  max-height: 126px;
}

.plans-showcase-section .plan-card-body {
  align-items: flex-start;
  text-align: left;
  padding: 1.2rem 1.15rem .85rem;
}

.plans-showcase-section .plan-title {
  color: #0f172a;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  margin-bottom: .4rem;
}

.plans-showcase-section .plan-desc {
  color: #475569;
  font-size: .85rem;
  line-height: 1.48;
  margin-bottom: .65rem;
}

.plans-showcase-section .plan-premium {
  margin-top: 0;
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
  color: #1e3a8a;
  font-size: .84rem;
  font-weight: 700;
  padding: .46rem .62rem;
}

.plans-showcase-section .plan-premium span {
  color: #1d4ed8;
  font-weight: 700;
}

.plans-showcase-section .plan-card-action-wrap {
  padding: 0 1.15rem 1.1rem;
}

.plans-showcase-section .plan-card-action {
  border-radius: 10px;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .01em;
}

@media (max-width: 1450px) {
  .plans-showcase-section .plans-grid-tiered {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .plans-showcase-section .plans-grid-tiered > .plan-card-tiered {
    grid-column: auto !important;
  }
}

@media (max-width: 1180px) {
  .plans-showcase-section .plans-grid-tiered {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .plans-showcase-section .plans-grid-tiered {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.plans-grid-tiered {
  align-items: stretch;
}

.plan-card-tiered {
  min-height: 100%;
  border: 1px solid #dbeafe;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
}

.plan-card-body-tiered {
  align-items: flex-start;
  text-align: left;
}

.plan-subtitle {
  display: inline-flex;
  padding: 0.28rem 0.64rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e3a8a;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.plan-target,
.plan-detail {
  margin: 0 0 0.7rem;
  font-size: 0.93rem;
  line-height: 1.55;
  color: #334155;
}

.plan-card-tiered .plan-premium {
  margin: 0 0 0.8rem;
}

.plan-perk {
  margin: 0.2rem 0 0;
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 600;
}

.plan-card-action-wrap {
  margin-top: auto;
  padding: 0 1.2rem 1.2rem;
}

.plan-card-action {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.insurance-comparison-wrap {
  margin-top: 2.4rem;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  border: 1px solid #dbeafe;
  border-radius: 18px;
  padding: 1.4rem 1rem 1.2rem;
}

.insurance-comparison-table-wrap {
  overflow-x: auto;
}

.insurance-comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
}

.insurance-comparison-table th,
.insurance-comparison-table td {
  border: 1px solid #e2e8f0;
  padding: 0.78rem 0.72rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.insurance-comparison-table th {
  background: #eff6ff;
  color: #0f172a;
  text-align: left;
}

.insurance-comparison-table tbody td:first-child {
  font-weight: 700;
  color: #1e293b;
  background: #f8fafc;
}

.insurance-subscribe-section {
  background:
    radial-gradient(700px 300px at 8% 0%, rgba(37,99,235,.1) 0%, rgba(255,255,255,0) 62%),
    radial-gradient(640px 280px at 92% 100%, rgba(14,165,233,.11) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.insurance-subscribe-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(420px, 1.45fr);
  gap: 1.25rem;
  align-items: start;
}

.insurance-subscribe-sidecard,
.insurance-subscribe-formcard {
  border: 1px solid #dbeafe;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(15,23,42,.09);
}

.insurance-subscribe-sidecard__body,
.insurance-subscribe-formcard__body {
  padding: 1.15rem 1.1rem 1rem;
}

.insurance-subscribe-title {
  margin: 0 0 .7rem;
  color: #0f172a;
}

.insurance-subscribe-intro {
  margin: -.2rem 0 .9rem;
  color: #475569;
  font-size: .9rem;
  line-height: 1.55;
}

.insurance-subscribe-plan-name {
  margin: 0;
  font-weight: 700;
  color: #0f172a;
  font-size: 1.08rem;
}

.insurance-subscribe-plan-subtitle {
  margin: .28rem 0 .72rem;
  color: #475569;
  line-height: 1.55;
  font-size: .92rem;
}

.insurance-subscribe-amount-chip {
  border: 1px solid #bfdbfe;
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 12px;
  padding: .58rem .72rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}

.insurance-subscribe-amount-chip span {
  color: #1d4ed8;
  font-size: .82rem;
  font-weight: 700;
}

.insurance-subscribe-amount-chip strong {
  color: #1e3a8a;
  font-size: .9rem;
}

.insurance-subscribe-divider {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: .95rem 0;
}

.insurance-subscribe-subheading {
  margin: 0 0 .55rem;
  color: #0f172a;
}

.insurance-subscribe-method-list {
  margin-bottom: 0;
}

.insurance-subscribe-alert {
  padding: .85rem;
  border-radius: 10px;
  margin-bottom: .95rem;
}

.insurance-subscribe-alert--success {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.insurance-subscribe-alert--error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.insurance-subscribe-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin-bottom: 1rem;
}

.insurance-subscribe-hint {
  color: #64748b;
}

.insurance-subscribe-submit {
  font-weight: 700;
  border-radius: 10px;
}

.insurance-subscribe-form {
  display: grid;
  gap: .35rem;
}

.insurance-form-group-title {
  margin: .35rem 0 .55rem;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #1d4ed8;
  font-weight: 800;
}

.insurance-subscribe-form .mb-3 {
  margin-bottom: .85rem;
}

.insurance-subscribe-form label {
  display: block;
  margin-bottom: .34rem;
  color: #0f172a;
  font-weight: 600;
  font-size: .86rem;
}

.insurance-subscribe-form input[type="text"],
.insurance-subscribe-form input[type="email"],
.insurance-subscribe-form input[type="number"],
.insurance-subscribe-form input[type="date"],
.insurance-subscribe-form input[type="file"],
.insurance-subscribe-form select {
  width: 100%;
  min-height: 43px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  padding: .58rem .72rem;
  font-size: .92rem;
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.insurance-subscribe-form input[type="text"]:focus,
.insurance-subscribe-form input[type="email"]:focus,
.insurance-subscribe-form input[type="number"]:focus,
.insurance-subscribe-form input[type="date"]:focus,
.insurance-subscribe-form input[type="file"]:focus,
.insurance-subscribe-form select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.16);
}

.insurance-subscribe-form input[type="file"] {
  padding: .4rem .45rem;
}

.insurance-phone-input-group {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: .55rem;
  align-items: center;
}

.insurance-country-code-select {
  min-width: 170px;
}

.insurance-subscribe-form input[type="file"]::file-selector-button {
  border: 0;
  border-radius: 8px;
  padding: .42rem .68rem;
  margin-right: .64rem;
  background: #dbeafe;
  color: #1e3a8a;
  font-weight: 700;
  cursor: pointer;
}

.insurance-subscribe-accordion {
  display: grid;
  gap: .62rem;
  margin-bottom: .95rem;
}

.insurance-subscribe-accordion-item {
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #f8fbff;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15,23,42,.04);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.insurance-subscribe-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  border: 0;
  background: transparent;
  padding: .78rem .92rem;
  text-align: left;
  cursor: pointer;
}

@media (max-width: 640px) {
  .insurance-subscribe-form-row {
    grid-template-columns: 1fr;
  }

  .insurance-phone-input-group {
    grid-template-columns: 1fr;
  }

  .insurance-country-code-select {
    min-width: 0;
  }
}

.insurance-subscribe-accordion-titlewrap {
  display: flex;
  align-items: center;
  gap: .68rem;
}

.insurance-subscribe-step {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
  color: #1e3a8a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
  flex-shrink: 0;
}

.insurance-subscribe-accordion-toggle .insurance-form-group-title {
  margin: 0;
}

.insurance-subscribe-accordion-meta {
  display: block;
  margin-top: .14rem;
  color: #64748b;
  font-size: .75rem;
  letter-spacing: .01em;
}

.insurance-subscribe-accordion-toggle:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(37,99,235,.22);
}

.insurance-subscribe-accordion-toggle:hover {
  background: rgba(239,246,255,.55);
}

.insurance-subscribe-accordion-indicator {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.insurance-subscribe-accordion-indicator::before {
  content: '+';
  color: #1e40af;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1;
}

.insurance-subscribe-accordion-item.is-open {
  border-color: #93c5fd;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(37,99,235,.10);
}

.insurance-subscribe-accordion-item.is-open .insurance-subscribe-accordion-indicator::before {
  content: '-';
}

.insurance-subscribe-accordion-panel {
  border-top: 1px solid #dbeafe;
  padding: .8rem .9rem .22rem;
}

.insurance-terms-agreement {
  margin: .2rem 0 .9rem;
  padding: .72rem .74rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
}

.insurance-terms-agreement-label {
  display: flex !important;
  align-items: flex-start;
  gap: .55rem;
  margin: 0;
}

.insurance-terms-agreement-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: .1rem;
  accent-color: #1d4ed8;
  flex-shrink: 0;
}

.insurance-terms-agreement-label span {
  color: #0f172a;
  font-size: .88rem;
  line-height: 1.5;
}

.insurance-terms-agreement-label a {
  color: #1d4ed8;
  text-decoration: underline;
  font-weight: 700;
}

.insurance-gateway-section {
  margin-top: 1.45rem;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15,23,42,.07);
  padding: 1.05rem;
}

.insurance-gateway-head h3 {
  margin: 0;
  color: #0f172a;
}

.insurance-gateway-head p {
  margin: .45rem 0 .75rem;
  color: #475569;
  font-size: .93rem;
  line-height: 1.55;
}

.insurance-gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .82rem;
}

.insurance-gateway-card {
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: .9rem .82rem;
}

.insurance-gateway-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(145deg, #2563eb 0%, #0ea5e9 100%);
  box-shadow: 0 10px 18px rgba(37,99,235,.28);
  margin-bottom: .55rem;
}

.insurance-gateway-card h4 {
  margin: 0 0 .38rem;
  color: #0f172a;
  font-size: .97rem;
}

.insurance-gateway-card p {
  margin: 0 0 .58rem;
  color: #475569;
  font-size: .86rem;
  line-height: 1.5;
}

.insurance-gateway-tag {
  display: inline-flex;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: .2rem .55rem;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: .72rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .insurance-subscribe-layout {
    grid-template-columns: 1fr;
  }

  .insurance-gateway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .insurance-subscribe-form-row,
  .insurance-gateway-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .plan-card {
    min-height: 320px;
  }

  .plans-showcase-section .plan-card-image {
    height: 172px;
  }

  .plans-showcase-section .plans-grid-tiered {
    grid-template-columns: 1fr;
  }

  .plans-showcase-section .plan-card-body {
    padding: 1.05rem .95rem .75rem;
  }

  .plans-showcase-section .plan-title {
    font-size: 1.16rem;
  }

  .insurance-comparison-wrap {
    padding: 1rem 0.75rem 0.85rem;
  }
}
/* ============================
  qTech Academy Hero Section
  ============================ */
.coverage-section-bg {
  background: linear-gradient(120deg, #e0e7ef 60%, #f1f5f9 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(59,130,246,0.07);
  margin-bottom: 3rem;
  padding: 2.5rem 0 2.5rem 0;
  position: relative;
  overflow: hidden;
}
.coverage-section-title {
  color: var(--primary);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 16px;
}
.coverage-section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}
.coverage-plans-grid {
  margin-bottom: 2.5rem;
}
/* ============================
# Modern Design System - qTech
============================ */
.coverage-plans-grid {
  position: relative;
  z-index: 2;
}
.coverage-card {
  background: linear-gradient(135deg, #f1f5f9 60%, #e0e7ef 100%);
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(59,130,246,0.07);
  border: 1.5px solid #e0e7ef;
  transition: transform 0.18s cubic-bezier(.4,2,.3,1), box-shadow 0.18s cubic-bezier(.4,2,.3,1);
  overflow: hidden;
}
.coverage-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 16px 48px rgba(59,130,246,0.13);
  border-color: var(--accent);
}
.coverage-card .card-image img,
.coverage-card .icon-bg-blue {
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
.coverage-card .card-body {
  padding-bottom: 2rem;
}
.coverage-premium {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.08rem;
  margin-top: 1.1rem;
}
.rocket-svg {
  position: absolute;
  left: 50%;
  bottom: -60px;
  width: 180px;
  height: 180px;
  transform: translateX(-50%);
  opacity: 0.13;
  z-index: 0;
  animation: rocketFly 7s ease-in-out infinite alternate;
  pointer-events: none;
}
/* =============================
   Animated SVG/Dots/Rocket Backgrounds
============================== */
.section-bg-dots {
  position: relative;
  overflow: hidden;
  background: var(--bg-body);
}
.section-bg-dots::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: url('../img/illustrations/workflow-multitasking.svg') no-repeat center center/contain;
  opacity: 0.10;
  z-index: 0;
  animation: floatDots 8s ease-in-out infinite alternate;
}
.section-bg-dots::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: url('../img/illustrations/analytics-data-points.svg') no-repeat center center/contain;
  opacity: 0.10;
  z-index: 0;
  animation: floatDots2 10s ease-in-out infinite alternate;
}
@keyframes floatDots {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(30px) scale(1.04); }
}
@keyframes floatDots2 {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-24px) scale(1.03); }
}

.section-bg-rocket {
  position: relative;
  overflow: hidden;
  background: var(--bg-body);
}
.section-bg-rocket .rocket-svg {
  position: absolute;
  left: 50%;
  bottom: -60px;
  width: 180px;
  height: 180px;
  transform: translateX(-50%);
  opacity: 0.13;
  z-index: 0;
  animation: rocketFly 7s ease-in-out infinite alternate;
}
@keyframes rocketFly {
  0% { transform: translateX(-50%) translateY(0) scale(1); }
  100% { transform: translateX(-50%) translateY(-30px) scale(1.05) rotate(-3deg); }
}
/* =============================
   Why Insure Your Tech Section
============================== */
.why-insure-section {
  background:
    radial-gradient(900px 400px at 12% -10%, rgba(147,197,253,.22) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(720px 340px at 88% 110%, rgba(125,211,252,.16) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.why-insure-container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 0 .5rem 0;
}
.why-insure-text {
  flex: 1 1 340px;
  min-width: 300px;
  max-width: 540px;
  text-align: left;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 20px;
  padding: 1.45rem 1.35rem 1.2rem;
  box-shadow: 0 14px 34px rgba(15,23,42,.08);
}

.why-insure-kicker {
  display: inline-flex;
  align-items: center;
  padding: .3rem .68rem;
  border-radius: 999px;
  margin-bottom: .7rem;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #1e3a8a;
  background: #dbeafe;
}
.why-insure-text h2 {
  color: var(--primary);
  font-size: 2.08rem;
  margin-bottom: 1.1rem;
  letter-spacing: -0.7px;
  position: relative;
  padding-bottom: 12px;
}
.why-insure-text h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.why-insure-text p {
  color: var(--text-main);
  font-size: 1.03rem;
  line-height: 1.68;
  margin-bottom: .72rem;
}

.why-insure-intro {
  margin-top: .9rem;
  margin-bottom: .85rem;
  color: #1e293b;
  font-weight: 600;
}

.why-insure-text ul.list-check.why-insure-benefits {
  margin-top: .2rem;
  margin-bottom: 0;
  list-style: none;
  padding-left: 0;
}

.why-insure-benefits li {
  margin: .52rem 0;
  padding: .72rem .78rem .72rem 2.12rem;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f7ff 100%);
  color: #1e293b;
  line-height: 1.5;
  position: relative;
}

.why-insure-benefits li::before {
  content: "\f058";
  position: absolute;
  left: .78rem;
  top: .77rem;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #1d4ed8;
  font-size: .9rem;
}
.why-insure-illustration {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-insure-illustration img {
  width: 100%;
  max-width: 410px;
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(30,64,175,.16));
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  border: 1px solid #dbeafe;
  padding: 1rem;
}

/* =============================
   Insurance Quick Actions
============================== */
.insurance-quick-actions-section {
  background:
    radial-gradient(720px 320px at 0% 15%, rgba(59,130,246,.08) 0%, rgba(255,255,255,0) 62%),
    radial-gradient(760px 340px at 100% 85%, rgba(56,189,248,.1) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.insurance-quick-actions-head {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.insurance-quick-actions-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .34rem .72rem;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #dbeafe;
  color: #1e3a8a;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: .6rem;
}

.insurance-quick-actions-head h2 {
  margin: 0 0 .55rem;
  color: #0f172a;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  letter-spacing: -.02em;
}

.insurance-quick-actions-head p {
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.65;
}

.insurance-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.1rem;
}

.insurance-quick-card {
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  padding: 1.25rem 1.1rem 1.1rem;
  box-shadow: 0 12px 28px rgba(15,23,42,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}

.insurance-quick-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(15,23,42,.12);
}

.insurance-quick-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(145deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 10px 20px rgba(37,99,235,.28);
  margin-bottom: .7rem;
  font-size: 1.1rem;
}

.insurance-quick-card h3 {
  margin: 0 0 .5rem;
  color: #0f172a;
  font-size: 1.2rem;
}

.insurance-quick-card p {
  margin: 0 0 .75rem;
  color: #475569;
  line-height: 1.62;
  font-size: .96rem;
}

.insurance-quick-list {
  list-style: none;
  margin: 0 0 .95rem;
  padding: 0;
  display: grid;
  gap: .46rem;
}

.insurance-quick-list li {
  position: relative;
  padding-left: 1.35rem;
  color: #1e293b;
  font-size: .91rem;
  line-height: 1.45;
}

.insurance-quick-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2563eb;
  position: absolute;
  left: .1rem;
  top: .38rem;
  box-shadow: 0 0 0 4px rgba(37,99,235,.14);
}

.insurance-quick-link {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 700;
  font-size: .94rem;
  transition: gap .2s ease, color .2s ease;
}

.insurance-quick-link:hover {
  gap: .62rem;
  color: #1e40af;
}

@media (max-width: 768px) {
  .insurance-quick-actions-head {
    margin-bottom: 1.1rem;
  }

  .insurance-quick-card {
    padding: 1.12rem .95rem .95rem;
  }
}

@media (max-width: 991px) {
  .why-insure-container {
    gap: 1.5rem;
  }

  .why-insure-text {
    max-width: 100%;
  }

  .why-insure-text h2 {
    font-size: 1.82rem;
  }
}
/* =============================
   QTI Insurance Hero Section
============================== */
.hero-insurance {
  background: var(--gradient-hero);
  padding: 3.5rem 0 2.5rem 0;
  position: relative;
  overflow: hidden;
}
.hero-insurance-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-insurance-content {
  flex: 1 1 340px;
  min-width: 300px;
  max-width: 540px;
  z-index: 2;
  text-align: left;
}
.hero-insurance-content h1,
.hero-insurance-content .lead,
.hero-insurance-content .hero-insurance-desc,
.hero-insurance-content .cta-group {
  opacity: 0;
  transform: translateY(14px);
  animation: insuranceHeroReveal .7s ease forwards;
}
.hero-insurance-content .lead { animation-delay: .15s; }
.hero-insurance-content .hero-insurance-desc { animation-delay: .3s; }
.hero-insurance-content .cta-group { animation-delay: .45s; }
.hero-insurance h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
  text-align: left;
  position: relative;
  padding-bottom: 20px;
}
.hero-insurance h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}
.hero-insurance .lead {
  color: #e0e7ef;
  font-size: 1.18rem;
  margin-bottom: 0.7rem;
  text-align: left;
}
.hero-insurance-desc {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
  text-align: left;
}
.hero-insurance .cta-group {
  display: flex;
  gap: 1.1rem;
}
.hero-btn {
  padding: 0.85rem 2.2rem;
  font-size: 1.1rem;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(59,130,246,0.13);
  transition: transform 0.18s cubic-bezier(.4,2,.3,1), box-shadow 0.18s cubic-bezier(.4,2,.3,1);
}
.hero-btn.btn-secondary {
  background: rgba(255,255,255,0.13);
  color: #fff;
  border: 1.5px solid var(--accent);
  box-shadow: 0 2px 8px rgba(59,130,246,0.08);
}
.hero-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(59,130,246,0.18);
}
.hero-insurance-illustration {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.hero-insurance-illustration img {
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(59,130,246,0.10));
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  animation: insuranceHeroFloat 6.5s ease-in-out infinite;
}
.hero-insurance-bg-circle {
  position: absolute;
  right: -120px;
  bottom: -80px;
  width: 340px;
  height: 340px;
  background: var(--accent);
  opacity: 0.08;
  border-radius: 50%;
  z-index: 0;
  animation: insuranceHeroPulse 5s ease-in-out infinite;
}

.hero-insurance-slider-wrap {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 500px;
  z-index: 2;
}

.hero-slider-title {
  margin: 0 0 .7rem;
  color: #dbeafe;
  font-size: .98rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
}

@keyframes insuranceHeroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes insuranceHeroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes insuranceHeroPulse {
  0%, 100% { transform: scale(1); opacity: .08; }
  50% { transform: scale(1.08); opacity: .14; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-insurance-content h1,
  .hero-insurance-content .lead,
  .hero-insurance-content .hero-insurance-desc,
  .hero-insurance-content .cta-group {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-insurance-illustration img,
  .hero-insurance-bg-circle {
    animation: none;
  }
}

/* Insurance Coverage Slider */
.insurance-cover-slider {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.insurance-cover-slider__viewport {
  overflow: hidden;
  border-radius: 18px;
}

.insurance-cover-slider__track {
  display: flex;
  transition: transform .45s ease;
}

.insurance-cover-slide {
  min-width: 100%;
  background: linear-gradient(155deg, rgba(255,255,255,.17) 0%, rgba(255,255,255,.08) 100%);
  border: 1px solid rgba(191,219,254,.45);
  box-shadow: 0 14px 30px rgba(2,6,23,.2);
  backdrop-filter: blur(5px);
  border-radius: 18px;
  padding: 1.55rem 1.35rem 1.45rem;
  text-align: left;
}

.insurance-cover-slide__visual {
  width: 100%;
  height: 138px;
  margin: 0 0 .9rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, rgba(59,130,246,.18) 0%, rgba(30,64,175,.1) 100%);
  border: 1px solid rgba(191,219,254,.45);
  overflow: hidden;
}

.insurance-cover-slide__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .55rem;
  filter: drop-shadow(0 6px 14px rgba(2,6,23,.2));
}

.insurance-cover-slide h3 {
  margin: 0 0 .5rem;
  color: #f8fafc;
  font-size: 1.08rem;
}

.insurance-cover-slide p {
  margin: 0;
  color: #dbeafe;
  font-size: .93rem;
  line-height: 1.62;
}

.insurance-cover-slider__controls {
  margin-top: .8rem;
  display: flex;
  justify-content: center;
  gap: .55rem;
}

.insurance-cover-slider__controls button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(191,219,254,.55);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #dbeafe;
  cursor: pointer;
  transition: all .2s ease;
}

.insurance-cover-slider__controls button:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #93c5fd;
}

.insurance-cover-slider__dots {
  margin-top: .55rem;
  display: flex;
  justify-content: center;
  gap: .45rem;
}

.insurance-cover-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(191,219,254,.6);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.insurance-cover-dot.active {
  width: 22px;
  background: #ffffff;
}

@media (max-width: 991px) {
  .hero-insurance-slider-wrap {
    flex-basis: 100%;
    max-width: 100%;
  }

  .hero-slider-title {
    margin-top: .4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insurance-cover-slider__track {
    transition: none;
  }
}
/* =============================
   QTI Academy Hero Section
============================== */
.hero-academy {
  background: var(--gradient-hero);
  padding: 3.5rem 0 2.5rem 0;
  position: relative;
  overflow: hidden;
}
.hero-academy-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-academy-content {
  flex: 1 1 340px;
  min-width: 300px;
  max-width: 540px;
  z-index: 2;
  text-align: left;
}
.hero-academy h1 {
  color: var(--white);
  font-size: 2.7rem;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
  text-align: left;
  position: relative;
  padding-bottom: 20px;
}
/* Left-aligned underline for hero header */
.hero-academy h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}
.hero-academy .lead {
  color: #e0e7ef;
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
  text-align: left;
}
.hero-academy-desc {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
  text-align: left;
}
.hero-academy .cta-group {
  display: flex;
  gap: 1.1rem;
}
.hero-btn {
  padding: 0.85rem 2.2rem;
  font-size: 1.1rem;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(59,130,246,0.13);
  transition: transform 0.18s cubic-bezier(.4,2,.3,1), box-shadow 0.18s cubic-bezier(.4,2,.3,1);
}
.hero-btn.btn-secondary {
  background: rgba(255,255,255,0.13);
  color: #fff;
  border: 1.5px solid var(--accent);
  box-shadow: 0 2px 8px rgba(59,130,246,0.08);
}
.hero-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(59,130,246,0.18);
}
.hero-academy-illustration {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.hero-academy-illustration img {
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(59,130,246,0.10));
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
}
.hero-academy-bg-circle {
  position: absolute;
  right: -120px;
  bottom: -80px;
  width: 340px;
  height: 340px;
  background: var(--accent);
  opacity: 0.08;
  border-radius: 50%;
  z-index: 0;
}
/*--------------------------------------------------------------
# Modern Design System - QTI
--------------------------------------------------------------*/
:root {
  --primary: #0f172a;          /* Dark Slate */
  --secondary: #334155;        /* Muted Slate */
  --accent: #3b82f6;           /* Tech Blue */
  --accent-hover: #2563eb;
  --success: #10b981;          /* Growth Green */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --radius: 6px; /* Sharper corners for corporate look */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 24px -6px rgba(15, 23, 42, 0.15);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.25);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

* { box-sizing: border-box; 
  margin: 0; 
  padding: 0;
 }

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background: var(--bg-body);
  color: var(--text-main);
  font-family: 'Inter', "Open Sans", sans-serif; /* Cleaner, modern font */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

/* Section Heading Underline */
section h2 {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 1.5rem;
}

section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 50px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

/* Centering now applies to all section h2 headings */

/* Hero Headings Underline */
.hero-small h1 {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 1rem;
}

.hero-small h1::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.hero-content h1 {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 1.5rem;
}

.hero-content h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.hero-content.text-center h1::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Top Bar */
.top-bar {
  background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
  color: #e2e8f0;
  font-size: 0.95rem;
  padding: 0.7rem 0;
  border-bottom: 1.5px solid rgba(255,255,255,0.08);
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar .contact-info {
  display: flex;
  gap: 2rem;
}

.top-bar .contact-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.top-bar .contact-info span a {
  color: inherit;
  text-decoration: none;
}

.top-bar .contact-info span a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.top-bar .contact-info span:hover {
  color: var(--white);
}

.top-bar .contact-info i {
  color: var(--accent);
}

.top-bar .social-links {
  display: flex;
  gap: 0.75rem;
}

.top-bar .social-links a {
  color: #bfdbfe;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(.4,2,.3,1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(15,23,42,.28);
  border: 1px solid rgba(148,163,184,.35);
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(15,23,42,0.12);
  position: relative;
  overflow: hidden;
}

.top-bar .social-links a:hover {
  color: var(--white);
  background: #2563eb;
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.24);
  z-index: 2;
}

/* Navigation */
header {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.05rem 2rem;
  transition: padding .25s ease;
}
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 46px;
  width: auto;
  transition: height .25s ease;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: var(--primary);
  margin-bottom: 4px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.05rem;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: .01em;
  padding: .38rem .58rem;
  border-radius: 8px;
  transition: color 0.25s ease, background-color 0.25s ease;
}

nav a:hover {
  color: var(--accent);
  background: rgba(59,130,246,.08);
}

nav a.active {
  color: #1d4ed8;
  background: rgba(59,130,246,.14);
  box-shadow: inset 0 0 0 1px rgba(59,130,246,.2);
}

nav a i {
  margin-right: 0.4rem;
}

.portal-btn {
  background: var(--gradient-accent);
  color: var(--white) !important;
  padding: 0.56rem 1.05rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

header.header-compact {
  background-color: rgba(255,255,255,.94);
  box-shadow: 0 8px 18px rgba(15,23,42,.08);
}

header.header-compact nav {
  padding-top: .72rem;
  padding-bottom: .72rem;
}

header.header-compact .logo img {
  height: 40px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 58, 138, 0.85) 100%), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 85vh; /* Increased height for better presence */
  display: flex;
  align-items: center;
}

.hero::before {
  display: none;
}

.hero::after {
  display: none;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-small {
  background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
}

.hero-small h1 {
  color: var(--white);
}

.carousel-slide {
  display: none;
  padding: 4rem 2rem;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.carousel-slide.active {
  display: flex;
}

/* Slide Content Animations */
.carousel-slide.active .hero-content > * {
  opacity: 0;
  animation: slideUpFade 0.8s ease forwards;
}

.carousel-slide.active .hero-content h1 { animation-delay: 0.1s; }
.carousel-slide.active .hero-content p { animation-delay: 0.3s; }
.carousel-slide.active .hero-content .cta-group { animation-delay: 0.5s; }

.carousel-slide.active .hero-visual {
  opacity: 0;
  animation: fadeInZoom 1s ease forwards 0.2s;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInZoom {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Fade Animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.hero-content {
  flex: 1;
  z-index: 2;
  max-width: 600px;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  position: relative;
}

.hero-visual img {
  width: 100%;
  max-width: 460px;
  height: auto;
  /* Optimized for unDraw Illustrations */
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
  animation: float 6s ease-in-out infinite;
}

/* SVG Specific Animations */
.svg-float {
  animation: float 6s ease-in-out infinite;
}

/* Pulse Animation for Security Shield */
.svg-pulse {
  animation: pulse-svg 3s infinite ease-in-out;
}

@keyframes pulse-svg {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}

/* Carousel Controls */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  z-index: 10;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.5);
}

.carousel-dots {
  text-align: center;
  position: absolute;
  bottom: 20px;
  width: 100%;
  z-index: 10;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.dot.active, .dot:hover {
  background-color: var(--white);
  width: 30px;
  border-radius: 10px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.cta-group {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 4px; /* Corporate radius */
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 0.9rem 2.4rem;
  text-decoration: none;
  border-radius: 4px; /* Corporate radius */
  font-weight: 600;
  transition: background-color 0.3s;
  cursor: pointer;
}

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* Layout Utilities */
.section-padding {
  padding: 7rem 2rem;
}

.bg-white {
  background-color: var(--bg-card);
}

.bg-light {
  background-color: var(--bg-body);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.two-col {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.two-col > div {
  flex: 1;
  min-width: 300px;
}

.rounded-shadow {
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  width: 100%;
  height: auto;
}

.hover-scale {
  transition: transform 0.5s ease;
}

.hover-scale:hover {
  transform: scale(1.02);
}

p.lead {
  font-size: 1.2rem;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Services Grid */
.services-grid {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.services-grid h2 {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 2rem;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.card-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
  cursor: pointer;
}

.card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(15, 23, 42, 0.5) 100%);
  transition: all 0.3s ease;
}

.card-image::before {
  content: 'View Details';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card:hover .card-image::after {
  background: linear-gradient(to bottom, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.5) 100%);
}

.card:hover .card-image::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.icon-bg-blue {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.icon-bg-green {
  background: linear-gradient(135deg, var(--success), #34d399);
}

.card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.2);
}

.card.highlight {
  border: 1px solid var(--accent);
}

.card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.read-more {
  margin-top: auto;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-family: inherit;
  transition: border-color 0.3s;
  background: #f8fafc;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.9rem;
}

/* Banner Link */
.banner-link {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.banner-link img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.banner-link:hover img {
  transform: scale(1.02);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.floating-tech {
  width: 300px;
  height: 300px;
  animation: float 6s ease-in-out infinite;
}

.rotating-circle {
  transform-origin: center;
  animation: rotate 20s linear infinite;
}

.animated-icon {
  transition: transform 0.3s ease;
}

.card:hover .animated-icon {
  transform: scale(1.2) rotate(5deg);
}

/* Scroll Reveal Animation Classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================
   Homepage Hero Carousel
=============================== */
.hero.hero-carousel-section {
    color: var(--white);
  min-height: auto;
}

.carousel-container {
    position: relative;
    width: 100%;
  min-height: auto;
    display: flex;
    align-items: center;
}

/* Override existing carousel-slide for homepage */
.hero-carousel-section .carousel-slide {
  padding: 6rem 2rem 4rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fix: Hide inactive slides to prevent stacking overlap */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s;
    z-index: 1;
}

.hero-carousel-section .carousel-slide.active {
    position: relative; /* Take up space in the document flow */
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-carousel-section .carousel-slide .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-carousel-section .hero-content h1 {
  font-size: 3rem;
}

.hero-carousel-section .carousel-slide .container.layout-reversed {
    flex-direction: row-reverse;
}

.hero-carousel-section .container.layout-reversed .hero-content {
    text-align: right;
}

/* Adjust underline for right-aligned text */
.hero-carousel-section .container.layout-reversed .hero-content h1::after {
    left: auto;
    right: 0;
}

/* Adjust button group for right-aligned text */
.hero-carousel-section .container.layout-reversed .hero-content .cta-group {
    justify-content: flex-end;
}

.slide-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #60a5fa;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.visual-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1300px; /* Align with container + padding */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
    padding: 0 1rem;
}

.carousel-nav button {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.carousel-nav button:hover {
    background: var(--accent);
    transform: scale(1.1);
}

/* =============================
   Homepage Core Pillars Section
=============================== */
.pillars-section {
    padding: 7rem 2rem;
    background: var(--bg-body);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.pillar-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.pillar-card .icon { font-size: 3rem; color: var(--accent); margin-bottom: 1.5rem; display: inline-block; transition: transform 0.3s ease; }
.pillar-card:hover .icon { transform: scale(1.1) rotate(-5deg); }
.pillar-card h3 { margin-bottom: 1rem; color: var(--primary); font-size: 1.5rem; }
.pillar-card p { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.pillar-card a { color: var(--accent); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; transition: gap 0.3s ease; }
.pillar-card a:hover { gap: 8px; text-decoration: underline; }

/* Staggered animation for pillar cards */
.pillars-grid .pillar-card.reveal-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.pillars-grid .pillar-card.reveal-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.pillars-grid .pillar-card.reveal-on-scroll:nth-child(3) { transition-delay: 0.3s; }

/* =============================
   Homepage CTA Section
=============================== */
.home-cta-section { padding: 6rem 2rem; background: var(--gradient-hero); color: white; text-align: center; border-top: 4px solid var(--accent); }
.home-cta-section h2 { font-size: 2.8rem; margin-bottom: 1rem; font-weight: 700; letter-spacing: -1px; text-shadow: 1px 1px 3px rgba(0,0,0,0.2); color: var(--white); }
.home-cta-section p { margin-bottom: 2.5rem; opacity: 0.9; font-size: 1.2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.home-cta-section .cta-btn { background: var(--gradient-accent); color: white; padding: 1rem 2.5rem; text-decoration: none; border-radius: 50px; font-weight: 600; font-size: 1.1rem; display: inline-block; transition: all 0.3s ease-in-out; box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3); border: none; }
.home-cta-section .cta-btn:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(59, 130, 246, 0.5); }

/* =============================
   Back to Top Button
=============================== */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--white);
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent-hover);
  transform: scale(1.1) translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

/* Utilities */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.mb-3 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }
.w-100 { width: 100%; }

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .top-bar {
    display: none;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1rem 0;
    text-align: center;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 1rem 0;
  }

  .carousel-slide { flex-direction: column; text-align: center; padding-top: 2rem; }
  .hero { min-height: auto; }
  .hero-visual { margin-top: 2rem; }

  .section-padding {
    padding: 3rem 1.5rem;
  }

  .hero-small {
    padding: 60px 0 40px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .two-col {
    gap: 2rem;
  }

  .card-body {
    padding: 1.5rem;
  }

  .feature-card {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .section-padding {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .btn-primary, .btn-secondary {
    padding: 0.6rem 1.5rem;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
    display: block;
  }

  .cta-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  .two-col > div {
    min-width: 100%;
  }
}

/* Footer */
.qth-footer {
  position: relative;
  background:
    radial-gradient(circle at 18% 12%, rgba(56,189,248,.16) 0%, transparent 40%),
    radial-gradient(circle at 86% 86%, rgba(59,130,246,.2) 0%, transparent 42%),
    linear-gradient(145deg, #0f1b35 0%, #1e3a8a 58%, #1d4ed8 100%);
  color: #dbe7ff;
  padding: 3.2rem 2rem 1.25rem;
  margin-top: 3.4rem;
  box-shadow: 0 -8px 28px rgba(15,23,42,.24);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  overflow: hidden;
}

.qth-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(0deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: .16;
  pointer-events: none;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(180px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.qth-footer-logo {
  height: 42px;
  margin-bottom: .9rem;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.qth-footer-motto {
  margin: 0;
  color: #e2e8f0;
  font-size: .92rem;
  line-height: 1.55;
  max-width: 320px;
}

.qth-footer-badges {
  margin-top: .95rem;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.qth-footer-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .28rem .58rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.38);
  background: rgba(15,23,42,.26);
  color: #e2e8f0;
  font-size: .7rem;
  letter-spacing: .02em;
  font-weight: 600;
}

.footer-section h4 {
  color: #ffffff;
  margin-bottom: .85rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: .12em;
}

.footer-section .social-links {
  display: flex;
  gap: 0.6rem;
}

.footer-section .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(15,23,42,.28);
  border: 1px solid rgba(148,163,184,.32);
  color: #bfdbfe;
  font-size: 1.05rem;
  margin-right: 0.2rem;
  transition: all 0.25s cubic-bezier(.4,2,.3,1);
  box-shadow: 0 2px 8px rgba(15,23,42,.22);
  position: relative;
  overflow: hidden;
}

.footer-section .social-links a:hover {
  background: #2563eb;
  border-color: #3b82f6;
  color: var(--white);
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.34);
  z-index: 2;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.62rem;
  font-size: .86rem;
  line-height: 1.4;
}

.footer-section a {
  color: #c7d2fe;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-section a:hover {
  color: #ffffff;
}

.qth-footer-contact ul li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: .45rem;
  align-items: start;
  color: #dbeafe;
}

.qth-footer-contact ul li i {
  color: #93c5fd;
  margin-top: .15rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(191,219,254,.26);
  font-size: .88rem;
  color: #bfdbfe;
  letter-spacing: 0.01em;
  opacity: 0.96;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  margin: .2rem 0;
}

.qth-footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
}

.qth-footer-legal-links a {
  color: #dbeafe;
  text-decoration: none;
}

.qth-footer-legal-links a:hover {
  color: #ffffff;
}

/* Insurance Footer Variant */
.insurance-footer {
  margin-top: 2.6rem;
  background:
    radial-gradient(circle at 12% 10%, rgba(14,165,233,.2) 0%, transparent 40%),
    radial-gradient(circle at 88% 88%, rgba(37,99,235,.24) 0%, transparent 44%),
    linear-gradient(140deg, #0b1730 0%, #153b8f 62%, #0f4abf 100%);
}

.insurance-footer .footer-content {
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(170px, 1fr));
  gap: 1.8rem;
}

.insurance-footer-title-row {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .7rem;
}

.insurance-footer-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .26rem .58rem;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #dbeafe;
  background: rgba(30,64,175,.45);
  border: 1px solid rgba(147,197,253,.45);
}

.insurance-footer .qth-footer-logo {
  margin-bottom: 0;
  height: 38px;
}

.insurance-footer-brand .qth-footer-motto {
  max-width: 360px;
}

.insurance-footer-badges span {
  background: rgba(15,23,42,.32);
  border-color: rgba(147,197,253,.36);
}

.insurance-footer .footer-section h4 {
  color: #e2e8f0;
}

.insurance-footer .footer-section ul li {
  margin-bottom: .58rem;
}

.insurance-footer .qth-footer-contact ul li {
  color: #dbeafe;
}

.insurance-footer .footer-bottom {
  border-top-color: rgba(191,219,254,.32);
}

@media (max-width: 992px) {
  .insurance-footer .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .insurance-footer .footer-content {
    grid-template-columns: 1fr;
  }

  .insurance-footer-title-row {
    margin-bottom: .55rem;
  }
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
  }
}

@media (max-width: 640px) {
  .qth-footer {
    padding: 2.3rem 1.2rem 1rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    margin-top: 1.45rem;
  }
}

/* Utility Classes & Components */
.list-check {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.list-check li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
}

.list-check li::before {
  content: '\f058'; /* fa-check-circle */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--success);
  font-size: 1.2rem;
}

.bg-dark-slate {
  background-color: var(--secondary);
  color: var(--white);
}

.bg-dark-slate h1,
.bg-dark-slate h2,
.bg-dark-slate h3 {
  color: var(--white);
}

.why-choose-us-section {
  background-color: transparent;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 24px;
  margin: 3rem auto;
  max-width: 1280px;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.05);
}

.feature-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-card i {
  font-size: 2rem;
  color: var(--accent);
  background: rgba(59, 130, 246, 0.1);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover i {
  background: var(--accent);
  color: #fff;
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.content-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.bg-network {
  background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('https://images.unsplash.com/photo-1558494949-efc5e60c9480?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Modal Styles */
.modal {
  display: none; 
  position: fixed; 
  z-index: 2000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.6); 
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}

.modal.show {
  opacity: 1;
}

.modal-content {
  background-color: var(--bg-card);
  margin: auto;
  padding: 2.5rem;
  width: 90%;
  max-width: 600px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  color: #aaa;
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10;
}

.close-modal:hover {
  color: var(--primary);
}

#modalImageContainer img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.bg-dots {
  background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Login Page Styles */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 2rem;
  background-color: var(--bg-body);
}

.main-content{
	width: 100%;
    max-width: 900px;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	display: flex;
    background-color: var(--bg-card);
    overflow: hidden;
}

.company__info{
	background-color: var(--primary);
    background-image: var(--gradient-hero);
	display: flex;
	flex-direction: column;
	justify-content: center;
    align-items: center;
	color: var(--white);
    flex: 1;
    padding: 3rem;
    text-align: center;
}

.company__logo img {
    height: 80px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.company_title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.login_form{
	background-color: var(--bg-card);
    flex: 1.2;
    padding: 3rem;
}

.login_form h2 {
	color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.form__input{
	width: 100%;
	border:0px solid transparent;
	border-radius: 0;
	border-bottom: 1px solid #cbd5e1;
	padding: 1em .5em .5em;
	padding-left: 0.5em;
	outline:none;
	margin: 0 0 1.5em 0;
	transition: all .3s ease;
    color: var(--text-main);
    background: transparent;
}

.form__input:focus{
	border-bottom-color: var(--accent);
	box-shadow: 0 1px 0 0 var(--accent);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.btn-login{
	transition: all .3s ease;
	width: 100%;
	border-radius: var(--radius);
	color: var(--white);
	font-weight: 600;
	background-color: var(--accent);
	border: 1px solid var(--accent);
	margin-top: 1.5em;
	margin-bottom: 1em;
    padding: 0.8rem;
    cursor: pointer;
}

.btn-login:hover, .btn-login:focus{
	background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.login-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.login-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
	.main-content{
        flex-direction: column;
        max-width: 400px;
    }
	.company__info{
		display: none;
	}
    .login_form {
        padding: 2rem;
    }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-notification {
  background: var(--bg-card);
  color: var(--text-main);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  min-width: 300px;
  border-left: 4px solid var(--accent);
  pointer-events: auto;
}

.toast-notification.show { transform: translateX(0); }
.toast-notification.success { border-left-color: var(--success); }
.toast-notification.error { border-left-color: #ef4444; }
.toast-notification i { font-size: 1.2rem; }
.toast-notification.success i { color: var(--success); }
.toast-notification.error i { color: #ef4444; }

.toast-notification.policy {
  align-items: flex-start;
  min-width: 320px;
  max-width: 420px;
  border-left-color: #3b82f6;
}

.toast-notification.policy i {
  color: #2563eb;
  margin-top: .1rem;
}

.policy-toast__content {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.policy-toast__text {
  font-size: .88rem;
  color: #334155;
  line-height: 1.45;
}

.policy-toast__actions {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.policy-toast__actions a,
.policy-toast__actions button {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  text-decoration: none;
  padding: .25rem .55rem;
  border-radius: 8px;
  font-size: .74rem;
  font-weight: 700;
  cursor: pointer;
}

.policy-toast__actions a:hover,
.policy-toast__actions button:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

@keyframes slideInToast {
  from { transform: translateX(120%); }
  to { transform: translateX(0); }
}

/* Academy Auth Pages */
.auth-wrapper {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1rem;
}
.auth-card {
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
}
.auth-header {
    background: var(--primary);
    padding: 1.5rem 1.5rem;
    text-align: center;
    color: #fff;
    background-image: var(--gradient-hero);
}
.auth-header h2 {
    color: #fff;
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
}
.auth-header p {
    opacity: 0.8;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}
.auth-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 0.25rem;
    margin: 1rem 1.5rem;
    border-radius: 8px;
}
.auth-tab {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.auth-tab.active {
    background: #fff;
    color: var(--accent);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.auth-body {
    padding: 0 1.5rem 1.5rem;
}
.form-section {
    display: none;
    animation: fadeIn 0.4s ease-out;
}
.form-section.active {
    display: block;
}
.input-group {
    margin-bottom: 1rem;
    position: relative;
}
.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
}
.input-group:focus-within i {
    color: var(--accent);
}
.input-group input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    border-radius: 0;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: transparent;
}
.input-group input:focus {
    border-bottom-color: var(--accent);
    outline: none;
    background: transparent;
    box-shadow: none;
}
.btn-auth {
    width: 100%;
    padding: 0.75rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}
.btn-auth:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =============================
   FAQ Accordion Styles
=============================== */
.faq-section {
  max-width: 900px;
    margin: 0 auto;
  padding: 1.4rem;
  border-radius: 18px;
  border: 1px solid #dbe7ff;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.faq-page-section {
  margin-top: -1.2rem;
}

.faq-header-actions {
  display: flex;
  gap: .65rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.faq-search-wrapper {
    position: relative;
  margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.faq-search-wrapper i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
.faq-search-wrapper input {
    padding: 1rem 1rem 1rem 3rem;
  border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
  font-size: .98rem;
    transition: all 0.3s ease;
  width: 100%;
}
.faq-search-wrapper input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.faq-category-group {
    margin-bottom: 3rem;
}
.faq-category-group:last-child {
    margin-bottom: 0;
}

.faq-category-title {
  font-size: 1.2rem;
    color: var(--primary);
  margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}
.faq-category-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: .8rem;
    transition: all 0.3s ease;
    overflow: hidden;
}
.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1rem 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
    font-size: .95rem;
    transition: background-color 0.2s, color 0.2s;
}
.faq-question:hover {
    color: var(--accent);
    background-color: #f8fafc;
}

.faq-question::after {
    content: '\f078'; /* fa-chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
    color: var(--accent);
}
.faq-item.active .faq-question {
    color: var(--accent);
    background-color: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding-top 0.4s ease-out, padding-bottom 0.4s ease-out;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    padding-top: 0;
    padding-bottom: 0;
    color: var(--text-main);
    line-height: 1.6;
    font-size: 0.9rem;
}

.faq-item.active .faq-answer {
    padding-top: .95rem;
    padding-bottom: 1.1rem;
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.faq-no-results {
  text-align: center;
  margin-top: 1rem;
  color: #64748b;
  font-weight: 600;
}

/* =============================
   Services Page - Approach Grid
=============================== */
.services-approach-section {
  position: relative;
  overflow: hidden;
  margin-top: -20px;
}

.services-approach-section::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.13) 0%, transparent 72%);
  pointer-events: none;
}

.services-approach-lead {
  max-width: 840px;
  margin: 0 auto;
  color: #475569;
  font-size: .98rem;
  line-height: 1.65;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
    margin-top: 2rem;
}
.approach-card {
    text-align: center;
  padding: 1.35rem 1.15rem 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 14px;
  border: 1px solid #dbe7ff;
  transition: all 0.28s ease;
  box-shadow: 0 6px 24px rgba(15,23,42,.05);
}
.approach-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 28px rgba(15,23,42,.1);
  border-color: #93c5fd;
}
.approach-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto .8rem;
  border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  font-size: 1.3rem;
    background: var(--gradient-accent);
    color: var(--white);
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.28);
}

.approach-step {
  display: inline-block;
  margin-bottom: .28rem;
  color: #64748b;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}
.approach-card h3 {
  font-size: 1rem;
    color: var(--primary);
  margin-bottom: .35rem;
}

.approach-card p {
  margin: 0;
  color: #475569;
  font-size: .86rem;
  line-height: 1.55;
}

/* =============================
   Services Page - Process Timeline
=============================== */
.services-process-section {
  position: relative;
  border-top: 1px solid #dbeafe;
  margin-top: -10px;
}

.services-process-lead {
  max-width: 860px;
  margin: 0 auto;
  color: #475569;
  font-size: .97rem;
  line-height: 1.62;
}

.process-timeline {
    display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
    position: relative;
}
.process-step {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 1.5rem 1.1rem 1.2rem;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15,23,42,.06);
  border: 1px solid #dbe7ff;
    position: relative;
    text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 28px rgba(15,23,42,.11);
  border-color: #93c5fd;
}
.process-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 100%);
    color: var(--white);
  border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  font-size: 1rem;
    font-weight: 700;
  margin: 0 auto .55rem;
  box-shadow: 0 8px 16px rgba(37,99,235,.25);
}

.process-phase {
  display: inline-block;
  margin-bottom: .2rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .67rem;
  font-weight: 700;
}
.process-step h3 {
  font-size: .95rem;
  margin-bottom: .35rem;
  line-height: 1.35;
}

.process-step p {
  margin: 0;
  color: #475569;
  font-size: .84rem;
  line-height: 1.52;
}

@media (max-width: 1200px) {
  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }
}

/* Services - IT Consultancy Refinement */
.service-detail--consultancy .text-content {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,251,255,.98) 100%);
  border: 1px solid #dbe7ff;
  border-radius: 16px;
  padding: 1.1rem 1.05rem 1.15rem;
  box-shadow: 0 10px 26px rgba(15,23,42,.07);
}

.service-detail--consultancy .text-content .lead {
  color: #334155;
  font-size: .98rem;
  line-height: 1.62;
}

.service-detail--consultancy .list-check li {
  margin-bottom: .65rem;
}

.consultancy-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .9rem;
}

.consultancy-chip-row span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .62rem;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: .72rem;
  font-weight: 700;
}

.consultancy-actions {
  margin-top: .8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

/* Services - Software Development Refinement */
.service-detail--software .text-content {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(245,252,255,.98) 100%);
  border: 1px solid #cde8ff;
  border-radius: 16px;
  padding: 1.1rem 1.05rem 1.15rem;
  box-shadow: 0 10px 26px rgba(15,23,42,.07);
}

.service-detail--software .text-content .lead {
  color: #334155;
  font-size: .98rem;
  line-height: 1.62;
}

.service-detail--software .list-check li {
  margin-bottom: .65rem;
}

.software-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .9rem;
}

.software-chip-row span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .62rem;
  border-radius: 999px;
  border: 1px solid #93c5fd;
  background: #e0f2fe;
  color: #0c4a6e;
  font-size: .72rem;
  font-weight: 700;
}

.software-actions {
  margin-top: .8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

/* Services - Gadget Insurance Refinement */
.service-detail--insurance {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(14,165,233,.14) 0%, transparent 34%),
    radial-gradient(circle at 86% 80%, rgba(37,99,235,.12) 0%, transparent 36%),
    linear-gradient(180deg, #ecfeff 0%, #e0f2fe 100%);
  border-top: 1px solid #bae6fd;
  border-bottom: 1px solid #bae6fd;
}

.service-detail--insurance::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(14,116,144,.06) 1px, transparent 1px), linear-gradient(0deg, rgba(14,116,144,.05) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .22;
  pointer-events: none;
}

.service-detail--insurance .container {
  position: relative;
  z-index: 1;
}

.service-detail--insurance .text-content {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(240,249,255,.98) 100%);
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 1.1rem 1.05rem 1.15rem;
  box-shadow: 0 10px 26px rgba(15,23,42,.07);
}

.service-detail--insurance .text-content .lead {
  color: #334155;
  font-size: .98rem;
  line-height: 1.62;
}

.service-detail--insurance .list-check li {
  margin-bottom: .65rem;
}

.insurance-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .9rem;
}

.insurance-chip-row span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .62rem;
  border-radius: 999px;
  border: 1px solid #7dd3fc;
  background: #e0f2fe;
  color: #0c4a6e;
  font-size: .72rem;
  font-weight: 700;
}

.insurance-actions {
  margin-top: .8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

@media (max-width: 768px) {
  .service-detail--consultancy .text-content,
  .service-detail--software .text-content,
  .service-detail--insurance .text-content {
    padding: .95rem;
  }
}

/* =============================
   Services Page - Industries Grid
=============================== */
.services-industries-section {
  position: relative;
  overflow: hidden;
}

.services-industries-section::before {
  content: "";
  position: absolute;
  left: -120px;
  top: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,.12) 0%, transparent 70%);
  pointer-events: none;
}

.services-industries-lead {
  max-width: 860px;
  margin: 0 auto;
  color: #475569;
  font-size: .97rem;
  line-height: 1.62;
}

.industries-grid {
    display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.industry-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe7ff;
  border-radius: 14px;
  padding: 1rem .95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  gap: .58rem;
    font-weight: 600;
  color: #334155;
  transition: all 0.28s ease;
  box-shadow: 0 6px 20px rgba(15,23,42,.05);
  cursor: pointer;
}
.industry-card:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 16px 26px rgba(15,23,42,.18);
  border-color: #3b82f6;
}
.industry-card i {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 1.25rem;
    transition: transform 0.3s ease;
}
.industry-card:hover i {
  transform: scale(1.08);
  background: rgba(255,255,255,.16);
  color: #ffffff;
}

.industry-card span {
  font-size: .9rem;
  line-height: 1.3;
}

.industry-card small {
  font-size: .72rem;
  color: #64748b;
  font-weight: 600;
}

.industry-card:hover small {
  color: #dbeafe;
}

@media (max-width: 992px) {
  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================
   Services Page - Closing CTA
=============================== */
.services-cta-section {
  position: relative;
  padding-top: 4.8rem;
  padding-bottom: 5rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(14,165,233,.1) 0%, transparent 36%),
    radial-gradient(circle at 88% 82%, rgba(59,130,246,.14) 0%, transparent 38%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.services-cta-shell {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(15,23,42,.95) 0%, rgba(30,58,138,.92) 58%, rgba(37,99,235,.9) 100%);
  color: #e2e8f0;
  border: 1px solid rgba(147,197,253,.3);
  border-radius: 20px;
  padding: 2rem 1.5rem 1.7rem;
  box-shadow: 0 18px 34px rgba(15,23,42,.22);
}

.services-cta-shell h2 {
  color: #ffffff;
  margin-top: .35rem;
  margin-bottom: .65rem;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.services-cta-lead {
  max-width: 760px;
  margin: 0 auto;
  color: #cbd5e1;
  line-height: 1.65;
  font-size: .96rem;
}

.services-cta-highlights {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}

.services-cta-highlights span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .33rem .66rem;
  border-radius: 999px;
  border: 1px solid rgba(191,219,254,.35);
  background: rgba(15,23,42,.35);
  color: #dbeafe;
  font-size: .72rem;
  font-weight: 700;
}

.services-cta-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem;
}

.services-cta-actions .btn-primary {
  margin: 0;
}

.services-cta-actions .qth-showcase-card__link {
  background: rgba(15,23,42,.36);
  border-color: rgba(191,219,254,.4);
  color: #dbeafe;
}

.services-cta-actions .qth-showcase-card__link:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

@media (max-width: 768px) {
  .services-cta-shell {
    padding: 1.4rem 1rem 1.25rem;
  }
}

/* =============================
   Admin Dashboard Styles
=============================== */
.admin-container {
    display: flex;
    min-height: 100vh;
    background: #f1f5f9;
    font-family: 'Inter', sans-serif;
}
.admin-sidebar {
    width: 260px;
    background: var(--primary);
    color: #fff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}
.admin-sidebar .logo {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-nav {
    padding: 1rem 0;
    flex: 1;
}
.admin-nav a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    font-size: 0.95rem;
}
.admin-nav a i {
    width: 24px;
    margin-right: 10px;
    text-align: center;
}
.admin-nav a:hover, .admin-nav a.active {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-left-color: var(--accent);
}
.admin-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.admin-topbar {
    height: 64px;
    background: #fff;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #e2e8f0;
}
.admin-main {
    padding: 2rem;
    overflow-y: auto;
    height: calc(100vh - 64px);
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.stat-info h3 { font-size: 1.8rem; margin: 0; color: var(--primary); font-weight: 700; }
.stat-info p { margin: 0; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.bg-blue-light { background: #eff6ff; color: #3b82f6; }
.bg-green-light { background: #f0fdf4; color: #22c55e; }
.bg-purple-light { background: #faf5ff; color: #a855f7; }
.bg-orange-light { background: #fff7ed; color: #f97316; }

.admin-card { background: #fff; border-radius: 8px; box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); border: 1px solid #e2e8f0; overflow: hidden; }
.admin-card-header { padding: 1rem 1.5rem; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; }
.admin-card-header h3 { margin: 0; font-size: 1.1rem; color: var(--primary); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid #f1f5f9; }
.admin-table th { background: #f8fafc; font-weight: 600; color: var(--secondary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover { background: #f8fafc; }
.status-badge { padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; display: inline-block; }
.status-active { background: #dcfce7; color: #166534; }
.status-pending { background: #fef9c3; color: #854d0e; }
.status-inactive { background: #f1f5f9; color: #475569; }

/* =============================
   Admin Dashboard Styles
=============================== */
.admin-container {
    display: flex;
    min-height: 100vh;
    background: #f1f5f9;
    font-family: 'Inter', sans-serif;
}
.admin-sidebar {
    width: 260px;
    background: var(--primary);
    color: #fff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}
.admin-sidebar .logo {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-nav {
    padding: 1rem 0;
    flex: 1;
}
.admin-nav a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    font-size: 0.95rem;
}
.admin-nav a i {
    width: 24px;
    margin-right: 10px;
    text-align: center;
}
.admin-nav a:hover, .admin-nav a.active {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-left-color: var(--accent);
}
.admin-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.admin-topbar {
    height: 64px;
    background: #fff;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #e2e8f0;
}
.admin-main {
    padding: 2rem;
    overflow-y: auto;
    height: calc(100vh - 64px);
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.stat-info h3 { font-size: 1.8rem; margin: 0; color: var(--primary); font-weight: 700; }
.stat-info p { margin: 0; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.bg-blue-light { background: #eff6ff; color: #3b82f6; }
.bg-green-light { background: #f0fdf4; color: #22c55e; }
.bg-purple-light { background: #faf5ff; color: #a855f7; }
.bg-orange-light { background: #fff7ed; color: #f97316; }

.admin-card { background: #fff; border-radius: 8px; box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); border: 1px solid #e2e8f0; overflow: hidden; }
.admin-card-header { padding: 1rem 1.5rem; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; }
.admin-card-header h3 { margin: 0; font-size: 1.1rem; color: var(--primary); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid #f1f5f9; }
.admin-table th { background: #f8fafc; font-weight: 600; color: var(--secondary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover { background: #f8fafc; }
.status-badge { padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; display: inline-block; }
.status-active { background: #dcfce7; color: #166534; }
.status-pending { background: #fef9c3; color: #854d0e; }
.status-inactive { background: #f1f5f9; color: #475569; }

/* =============================
   Admin Dashboard Styles
=============================== */
.admin-container {
    display: flex;
    min-height: 100vh;
    background: #f1f5f9;
    font-family: 'Inter', sans-serif;
}
.admin-sidebar {
    width: 260px;
    background: var(--primary);
    color: #fff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}
.admin-sidebar .logo {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-nav {
    padding: 1rem 0;
    flex: 1;
}
.admin-nav a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    font-size: 0.95rem;
}
.admin-nav a i {
    width: 24px;
    margin-right: 10px;
    text-align: center;
}
.admin-nav a:hover, .admin-nav a.active {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-left-color: var(--accent);
}
.admin-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.admin-topbar {
    height: 64px;
    background: #fff;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #e2e8f0;
}
.admin-main {
    padding: 2rem;
    overflow-y: auto;
    height: calc(100vh - 64px);
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.stat-info h3 { font-size: 1.8rem; margin: 0; color: var(--primary); font-weight: 700; }
.stat-info p { margin: 0; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.bg-blue-light { background: #eff6ff; color: #3b82f6; }
.bg-green-light { background: #f0fdf4; color: #22c55e; }
.bg-purple-light { background: #faf5ff; color: #a855f7; }
.bg-orange-light { background: #fff7ed; color: #f97316; }

.admin-card { background: #fff; border-radius: 8px; box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); border: 1px solid #e2e8f0; overflow: hidden; }
.admin-card-header { padding: 1rem 1.5rem; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; }
.admin-card-header h3 { margin: 0; font-size: 1.1rem; color: var(--primary); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid #f1f5f9; }
.admin-table th { background: #f8fafc; font-weight: 600; color: var(--secondary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover { background: #f8fafc; }
.status-badge { padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; display: inline-block; }
.status-active { background: #dcfce7; color: #166534; }
.status-pending { background: #fef9c3; color: #854d0e; }
.status-inactive { background: #f1f5f9; color: #475569; }

/* Admin Sidebar Toggle Animation */
#sidebar-toggle i {
    transition: transform 0.3s ease;
}
#sidebar-toggle i.rotated {
    transform: rotate(180deg);
}

/* =============================
   Team Section
=============================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.team-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #e2e8f0;
}
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.team-img {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}
.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.team-card:hover .team-img img {
    transform: scale(1.05);
}
.team-info {
    padding: 1.5rem;
}
.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--primary);
}
.team-info .role {
    display: block;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}
.team-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.team-info .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.team-info .social-links a {
    color: var(--secondary);
    transition: color 0.3s;
}
.team-info .social-links a:hover {
    color: var(--accent);
}

/* =============================
   Cookie Consent Banner
=============================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 1rem 0;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cookie-consent-banner.show {
  transform: translateY(0);
}
.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.cookie-content p { margin: 0; font-size: 0.95rem; color: #e2e8f0; }
.cookie-content a { color: var(--accent); text-decoration: none; font-weight: 600; }
.cookie-content a:hover { text-decoration: underline; }
.cookie-content .btn-primary { padding: 0.5rem 1.5rem; font-size: 0.9rem; white-space: nowrap; margin: 0; }

@media (max-width: 768px) {
  .cookie-content { flex-direction: column; text-align: center; gap: 1rem; }
}

/* Update Twitter Icon to X (Font Awesome 6) */
.fa-twitter::before {
    content: "\e61b" !important;
}

/* =============================
   Homepage Featured Products
=============================== */
.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.featured-product-card .card-image {
    height: 250px;
    background: #fff;
    padding: 1rem;
}

.featured-product-card .card-image img {
    object-fit: contain;
}

.featured-product-card .card-body {
    padding: 1.5rem;
}

.featured-product-card .product-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.featured-product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
}
.featured-product-card h3::after {
    display: none;
}

.featured-product-card .product-price {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.featured-product-card .price-sale {
    color: #ef4444;
}

.featured-product-card .price-original {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-left: 5px;
}

.featured-product-card .btn-primary {
    margin-top: auto;
}

/* =============================
   Alerts
=============================== */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-size: 0.95rem;
}
.alert-success {
    color: #15803d;
    background-color: #dcfce7;
    border-color: #bbf7d0;
}
.alert-danger {
    color: #b91c1c;
    background-color: #fee2e2;
    border-color: #fecaca;
}

/* =============================
   Legal & Text Content Pages
=============================== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    text-align: left;
}
.legal-content h2 {
    text-align: center;
    margin-top: 2.5rem;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h2 i { color: var(--accent); margin-right: 10px; }
.legal-content ul { margin-bottom: 1rem; padding-left: 1.5rem; list-style: disc; }
.legal-content .last-updated { margin-top: 2rem; font-style: italic; color: var(--text-muted); }

/* =============================
   Contact Page
=============================== */
.contact-layout { align-items: flex-start; }
.contact-info-item { display: flex; align-items: center; margin-bottom: 1.5rem; }
.contact-info-icon { color: var(--accent); margin-right: 1.5rem; width: 30px; text-align: center; }
.contact-info-content h4 { margin: 0; color: var(--primary); font-size: 1.1rem; }
.contact-info-content p { margin: 0; color: var(--text-muted); }
.contact-info-content a { color: inherit; text-decoration: none; }
.contact-info-content a:hover { text-decoration: underline; color: var(--accent); }

.contact-success-message { padding: 2rem; text-align: center; }
.contact-success-message .icon { color: var(--success); margin-bottom: 1rem; }
.contact-success-message h3 { color: var(--primary); }
.contact-success-message .btn-secondary-outline { margin-top: 1rem; display: inline-block; }
/* ============================================================
   HOMEPAGE � qTech New Design
   ============================================================ */

/* ---- HERO ---- */
.qth-hero { background: linear-gradient(135deg, #0a0f1e 0%, #0f172a 50%, #1e293b 100%); color: #fff; padding: 2.5rem 0 3rem; position: relative; overflow: hidden; isolation: isolate; }
.qth-hero__grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(59,130,246,.15) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; z-index: 0; }
.qth-hero__orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); z-index: 0; }
.qth-hero__orb--top { width: 600px; height: 600px; background: radial-gradient(circle, rgba(59,130,246,.22) 0%, transparent 70%); top: -200px; right: -100px; }
.qth-hero__orb--btm { width: 400px; height: 400px; background: radial-gradient(circle, rgba(99,102,241,.18) 0%, transparent 70%); bottom: -150px; left: -80px; }
.qth-hero__inner { display: grid; grid-template-columns: 55% 45%; gap: 3.5rem; align-items: center; position: relative; z-index: 1; }
.qth-hero__eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(59,130,246,.12); color: #93c5fd; border: 1px solid rgba(59,130,246,.25); padding: .4rem 1.1rem; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 1.5rem; }
.qth-hero__eyebrow-dot { width: 8px; height: 8px; background: #3b82f6; border-radius: 50%; animation: qth-pulse 1.8s ease-in-out infinite; flex-shrink: 0; }
@keyframes qth-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }
.qth-hero__headline { font-size: clamp(2.2rem, 3.8vw, 3.4rem); font-weight: 900; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 1.5rem; color: #fff; }
.qth-hero__headline--accent { background: linear-gradient(90deg, #60a5fa, #818cf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.qth-hero__sub { font-size: 1.05rem; line-height: 1.8; color: #94a3b8; margin-bottom: 2.25rem; max-width: 520px; }
.qth-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.5rem; }
.qth-hero__btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.75rem; border-radius: 10px; font-weight: 700; font-size: .975rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s, opacity .2s; position: relative; overflow: hidden; }
.qth-hero__btn::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.08); opacity: 0; transition: opacity .2s; }
.qth-hero__btn:hover::before { opacity: 1; }
.qth-hero__btn:hover { transform: translateY(-2px); }
.qth-hero__btn--primary { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); color: #fff; box-shadow: 0 4px 20px rgba(59,130,246,.4); }
.qth-hero__btn--primary:hover { box-shadow: 0 6px 28px rgba(59,130,246,.55); color: #fff; }
.qth-hero__btn--ghost { background: rgba(255,255,255,.06); color: #e2e8f0; border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.qth-hero__btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.qth-hero__btn-arrow { font-size: .8em; transition: transform .2s; }
.qth-hero__btn--primary:hover .qth-hero__btn-arrow { transform: translateX(3px); }
.qth-hero__proof { display: flex; align-items: center; gap: .85rem; }
.qth-hero__proof-avatars { display: flex; }
.qth-avatar { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #0f172a; margin-left: -10px; background-size: cover; flex-shrink: 0; }
.qth-avatar:first-child { margin-left: 0; }
.qth-avatar--1 { background-color: #3b82f6; }
.qth-avatar--2 { background-color: #8b5cf6; }
.qth-avatar--3 { background-color: #06b6d4; }
.qth-hero__proof-text { font-size: .88rem; color: #94a3b8; }
.qth-hero__proof-text strong { color: #e2e8f0; }
.qth-hero__visual { display: flex; align-items: center; justify-content: flex-end; padding-left: .6rem; }
.qth-hero__img-frame { position: relative; width: 100%; max-width: 520px; padding: .5rem 0; }
.qth-hero__img-frame .visual-glow { position: absolute; inset: -20px; background: radial-gradient(circle at 50% 50%, rgba(59,130,246,.28) 0%, transparent 65%); border-radius: 50%; z-index: 0; animation: qth-glow-pulse 4s ease-in-out infinite alternate; }
@keyframes qth-glow-pulse { from { opacity: .6; transform: scale(.95); } to { opacity: 1; transform: scale(1.05); } }
.qth-hero__img-frame .svg-float { position: relative; z-index: 1; width: 100%; max-height: 380px; animation: qth-float 6s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(80, 87, 98, 0.2)); }
@keyframes qth-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.qth-stat { position: absolute; background: rgba(15,23,42,.8); backdrop-filter: blur(10px); border: 1px solid rgba(96,165,250,.32); border-radius: 11px; padding: .52rem .72rem; display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; z-index: 2; box-shadow: 0 8px 20px rgba(0,0,0,.32); min-width: 98px; max-width: 140px; animation: qth-float 6s ease-in-out infinite; }
.qth-stat--tl { top: calc(4% - 15px); left: calc(-12% - 15px); animation-delay: -1s; }
.qth-stat--br { bottom: calc(3% - 15px); right: calc(-10% - 15px); animation-delay: -3s; }
.qth-stat--mr { top: calc(58% + 15px); right: calc(-14% - 15px); animation-delay: -1.5s; }
.qth-stat__icon { font-size: .8rem; color: #60a5fa; margin-bottom: .15rem; }
.qth-stat__num { font-size: 1.08rem; font-weight: 800; color: #fff; line-height: 1; }
.qth-stat__lbl { font-size: .66rem; color: #94a3b8; font-weight: 500; white-space: nowrap; }

@media (max-width: 1200px) {
  .qth-hero__visual { padding-left: .45rem; }
  .qth-hero__img-frame { max-width: 460px; }
  .qth-hero__img-frame .svg-float { max-height: 340px; }
  .qth-stat--tl { top: 6%; left: -7%; }
  .qth-stat--br { right: -6%; bottom: 5%; }
  .qth-stat--mr { right: -8%; top: 53%; }
}
.qth-hero__scroll { position: absolute; bottom: 3.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; z-index: 2; }
.qth-hero__scroll span { display: block; width: 2px; height: 8px; background: rgba(255,255,255,.3); border-radius: 999px; animation: qth-scroll-bounce 1.4s ease-in-out infinite; }
.qth-hero__scroll span:nth-child(2) { animation-delay: .15s; }
.qth-hero__scroll span:nth-child(3) { animation-delay: .3s; }
@keyframes qth-scroll-bounce { 0%, 80%, 100% { opacity: .3; transform: scaleY(1); } 40% { opacity: 1; transform: scaleY(1.6); } }
.qth-hero__wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; z-index: 1; }
.qth-hero__wave svg { display: block; width: 100%; height: 60px; }

/* qth hero carousel behavior */
.qth-hero.hero-carousel-section .carousel-container {
  position: relative;
  min-height: 430px;
}
.qth-hero.hero-carousel-section .carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
}
.qth-hero.hero-carousel-section .carousel-slide.active {
  position: relative;
  inset: auto;
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
}
.qth-hero.hero-carousel-section .carousel-slide .container {
  width: 100%;
}
.qth-hero.hero-carousel-section .carousel-slide .qth-hero__inner {
  transform: translateY(-3cm);
}
.qth-hero.hero-carousel-section .carousel-nav {
  position: absolute;
  right: 2rem;
  bottom: 4.75rem;
  display: flex;
  gap: .65rem;
  z-index: 3;
}
.qth-hero.hero-carousel-section .carousel-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(15,23,42,.55);
  color: #e2e8f0;
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qth-hero.hero-carousel-section .carousel-nav button:hover {
  background: rgba(59,130,246,.9);
  color: #fff;
  border-color: rgba(147,197,253,.9);
  transform: translateY(-1px);
}
.qth-hero.hero-carousel-section .carousel-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4.85rem;
  display: flex;
  gap: .45rem;
  z-index: 3;
}
.qth-hero.hero-carousel-section .carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.qth-hero.hero-carousel-section .carousel-dots .dot.active {
  width: 26px;
  background: #60a5fa;
}


/* TRUST BAR */
.qth-trustbar { background: #fff; border-bottom: 1px solid #e2e8f0; padding: .9rem 0; }
.qth-trustbar__inner { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: center; font-size: .9rem; font-weight: 600; color: #475569; }
.qth-trustbar__inner a { color: inherit; text-decoration: none; }
.qth-trustbar__inner a:hover,
.qth-trustbar__inner a:focus-visible { color: #334155; text-decoration: none; }
.qth-trustbar__inner i { color: var(--accent, #3b82f6); margin-right: .4rem; }
.qth-trustbar__sep { color: #cbd5e1; }

/* PILLARS */
.qth-pillars-section { position: relative; overflow: hidden; }
.qth-pillars-section { margin-top: -1.6rem; }
.qth-pillars-section::before {
  content: "";
  position: absolute;
  left: -120px;
  top: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.13) 0%, transparent 70%);
  pointer-events: none;
}
.qth-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .9rem;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.qth-pillars-section #pillars-heading {
  margin-bottom: .6rem;
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
}
.qth-pillars-section .lead {
  max-width: 760px;
  margin: 0 auto;
  color: #64748b;
}

.qth-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.qth-pillar {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem 1.6rem 1.5rem;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(15,23,42,.04);
}
.qth-pillar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
  opacity: .8;
}
.qth-pillar:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 38px rgba(15,23,42,.12);
  border-color: #93c5fd;
}
.qth-pillar--accent {
  background: var(--gradient-accent, linear-gradient(135deg, #3b82f6 0%, #2563eb 100%));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(37,99,235,.35);
}
.qth-pillar--accent::after { background: rgba(255,255,255,.75); }
.qth-pillar--accent h3, .qth-pillar--accent p { color: #fff; }
.qth-pillar--accent .qth-pillar__icon { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; }
.qth-pillar--accent .qth-pillar__link { color: #fff; border-color: rgba(255,255,255,.45); }
.qth-pillar--accent .qth-pillar__link:hover { background: rgba(255,255,255,.18); border-color: #fff; }

.qth-pillar__icon {
  width: 58px;
  height: 58px;
  background: #eff6ff;
  color: var(--accent, #3b82f6);
  border-radius: 14px;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1.1rem;
  transition: transform .25s ease;
}
.qth-pillar:hover .qth-pillar__icon { transform: rotate(-6deg) scale(1.06); }

.qth-pillar h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin: 0 0 .7rem;
  color: var(--primary, #0f172a);
  line-height: 1.3;
}
.qth-pillar p {
  color: #475569;
  line-height: 1.68;
  flex: 1;
  margin: 0 0 1.2rem;
}
.qth-pillar__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--accent, #3b82f6);
  border: 1px solid var(--accent, #3b82f6);
  padding: .55rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
  align-self: flex-start;
}
.qth-pillar__link:hover {
  background: var(--accent, #3b82f6);
  color: #fff;
  transform: translateX(2px);
}

/* INSURANCE CALLOUT */
.qth-callout { background: var(--gradient-hero, linear-gradient(135deg, #0f172a 0%, #1e293b 100%)); color: #fff; padding: 4.5rem 0; position: relative; overflow: hidden; }
.qth-callout__bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.qth-callout__circle { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--accent, #3b82f6); opacity: .08; }
.qth-callout__circle--left { left: -100px; top: 50%; transform: translateY(-50%); }
.qth-callout__circle--right { right: -100px; top: 50%; transform: translateY(-50%); }
.qth-callout__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.qth-callout__icon-wrap { flex-shrink: 0; width: 70px; height: 70px; background: rgba(59,130,246,.18); border: 1px solid rgba(59,130,246,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; color: #60a5fa; }
.qth-callout__text { flex: 1; min-width: 280px; }
.qth-callout__text h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; margin: 0 0 .75rem; color: #fff; }
.qth-callout__text p { color: #cbd5e1; line-height: 1.65; margin: 0; max-width: 560px; }
.qth-callout__action { flex-shrink: 0; }
.qth-callout__btn { display: inline-flex; align-items: center; gap: .6rem; background: var(--gradient-accent, linear-gradient(135deg, #3b82f6 0%, #2563eb 100%)); color: #fff; padding: .9rem 2rem; border-radius: 8px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: opacity .2s, transform .2s; white-space: nowrap; }
.qth-callout__btn:hover { opacity: .9; transform: translateY(-2px); color: #fff; }

/* PRODUCT CARDS */
.qth-product-card { border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.qth-product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(15,23,42,.1); }
.qth-product-card__img { height: 200px; display: flex; align-items: center; justify-content: center; background: #f8fafc; padding: 1rem; border-bottom: 1px solid #f1f5f9; }
.qth-product-card__img img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* HYBRID SHOWCASE */
.qth-showcase-section {
  position: relative;
  margin-top: -4.75rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef4ff 100%);
}
.qth-showcase-section::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.14) 0%, transparent 72%);
  pointer-events: none;
}
.qth-showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .85rem;
}
.qth-showcase-card {
  background: #fff;
  border: 1px solid #dbe7ff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(15,23,42,.06);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.qth-showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(15,23,42,.12);
  border-color: #93c5fd;
}
.qth-showcase-card--product::after,
.qth-showcase-card--impact::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}
.qth-showcase-card__img-wrap {
  height: 132px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .65rem;
}
.qth-showcase-card__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}
.qth-showcase-card:hover .qth-showcase-card__img { transform: scale(1.04); }
.qth-showcase-card__body {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: .85rem .85rem .95rem;
  flex: 1;
}
.qth-showcase-card__meta {
  font-size: .64rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  color: #64748b;
}
.qth-showcase-card__title {
  margin: 0;
  font-size: .9rem;
  line-height: 1.35;
  color: #0f172a;
  font-weight: 800;
}
.qth-showcase-card__text {
  margin: 0;
  color: #475569;
  font-size: .8rem;
  line-height: 1.45;
  flex: 1;
}
.qth-showcase-card__price {
  margin-top: .1rem;
  margin-bottom: .1rem;
}
.qth-price {
  font-size: .92rem;
  font-weight: 800;
  color: #0f172a;
}
.qth-price--sale { color: #dc2626; }
.qth-price--old {
  margin-left: .35rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-size: .76rem;
  font-weight: 600;
}
.qth-showcase-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: #2563eb;
  font-weight: 700;
  font-size: .76rem;
  text-decoration: none;
  border: 1px solid #bfdbfe;
  padding: .35rem .55rem;
  border-radius: 8px;
  transition: all .2s ease;
  align-self: flex-start;
}
.qth-showcase-card__link:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.qth-showcase-card--impact {
  padding: .95rem .85rem .9rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.qth-impact__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  margin-bottom: .6rem;
  border: 1px solid transparent;
}
.qth-showcase-card--consulting .qth-impact__icon { background: #ecfeff; color: #0e7490; border-color: #a5f3fc; }
.qth-showcase-card--insurance .qth-impact__icon { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.qth-showcase-card--academy .qth-impact__icon { background: #eef2ff; color: #4338ca; border-color: #c7d2fe; }

.qth-showcase-cta-wrap {
  margin-top: 1.9rem !important;
}

.qth-showcase-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .68rem 1.05rem;
  border-radius: 999px;
  border: 1px solid #1d4ed8;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37,99,235,.24);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.qth-showcase-cta:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(29,78,216,.3);
}

.qth-showcase-cta__icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.2);
  font-size: .72rem;
}

.qth-showcase-cta__arrow {
  font-size: .68rem;
  transition: transform .2s ease;
}

.qth-showcase-cta:hover .qth-showcase-cta__arrow {
  transform: translateX(2px);
}

/* ABOUT SECTION REFRESH */
.qth-about-section {
  position: relative;
  margin-top: -1.6rem;
  padding-top: 5.6rem;
  background:
    radial-gradient(circle at 8% 10%, rgba(14,165,233,.09) 0%, transparent 36%),
    radial-gradient(circle at 88% 85%, rgba(37,99,235,.1) 0%, transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.qth-about-shell {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.2fr);
  gap: 1.5rem;
  align-items: center;
}

.qth-about-media {
  position: relative;
}

.qth-about-media__frame {
  background: linear-gradient(160deg, #f1f5ff 0%, #eef8ff 100%);
  border: 1px solid #dbeafe;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 12px 32px rgba(15,23,42,.08);
}

.qth-about-media__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.qth-about-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: rgba(15,23,42,.86);
  color: #ffffff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.qth-about-content {
  background: #ffffff;
  border: 1px solid #dbe7ff;
  border-radius: 20px;
  padding: 1.35rem 1.35rem 1.4rem;
  box-shadow: 0 10px 30px rgba(15,23,42,.07);
}

.qth-about-content h2 {
  font-size: clamp(1.35rem, 1.8vw, 1.9rem);
  margin: .2rem 0 .6rem;
  line-height: 1.25;
}

.qth-about-lead {
  font-size: .97rem;
  line-height: 1.55;
  margin-bottom: .95rem;
  color: #334155;
}

.qth-about-story p {
  margin: 0 0 .65rem;
  color: #475569;
  line-height: 1.58;
  font-size: .9rem;
}

.qth-about-pillars {
  margin-top: .95rem;
  display: grid;
  gap: .55rem;
}

.qth-about-pillar {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: .6rem;
  align-items: start;
  padding: .55rem .6rem;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #f8fafc;
}

.qth-about-pillar__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: .85rem;
}

.qth-about-pillar h3 {
  margin: 0 0 .2rem;
  font-size: .85rem;
  line-height: 1.3;
  color: #0f172a;
}

.qth-about-pillar p {
  margin: 0;
  font-size: .79rem;
  color: #475569;
  line-height: 1.4;
}

.qth-about-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.qth-about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .52rem .85rem;
  border-radius: 9px;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  transition: all .2s ease;
}

.qth-about-btn--primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid #1d4ed8;
}

.qth-about-btn--primary:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37,99,235,.23);
}

.qth-about-btn--ghost {
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.qth-about-btn--ghost:hover {
  background: #dbeafe;
  color: #1e40af;
}

/* WHY CHOOSE US REFRESH */
.why-choose-us-section {
  position: relative;
  background:
    radial-gradient(circle at 14% 24%, rgba(14,165,233,.1) 0%, transparent 38%),
    radial-gradient(circle at 84% 78%, rgba(37,99,235,.1) 0%, transparent 36%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border: 1px solid #cfe0ff;
  border-radius: 26px;
  margin: 2.2rem auto;
  max-width: 1280px;
  box-shadow: 0 10px 34px rgba(15,23,42,.08);
  overflow: hidden;
}

.qth-why-lead {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: .98rem;
  line-height: 1.58;
  color: #334155;
}

.qth-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .95rem;
}

.qth-why-card {
  background: rgba(255,255,255,.95);
  border: 1px solid #dbe7ff;
  border-radius: 14px;
  padding: 1.05rem .95rem;
  box-shadow: 0 6px 20px rgba(15,23,42,.06);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.qth-why-card:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: 0 16px 30px rgba(15,23,42,.1);
}

.qth-why-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .65rem;
  color: #1d4ed8;
  background: linear-gradient(145deg, #e0ecff 0%, #eef4ff 100%);
  border: 1px solid #bfd6ff;
  font-size: 1rem;
}

.qth-why-card h3 {
  margin: 0 0 .38rem;
  color: #0f172a;
  font-size: .95rem;
  line-height: 1.35;
}

.qth-why-card p {
  margin: 0;
  color: #475569;
  font-size: .83rem;
  line-height: 1.5;
}

@media (max-width: 1400px) {
  .qth-showcase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1200px) {
  .qth-showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* HOMEPAGE RESPONSIVE */
@media (max-width: 992px) {
  .qth-hero { padding: 2rem 0 2.8rem; }
  .qth-hero.hero-carousel-section .carousel-container { min-height: 320px; }
  .qth-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr); gap: 1.25rem; text-align: left; }
  .qth-hero__visual { display: flex; justify-self: end; max-width: 420px; padding-left: 0; }
  .qth-hero__img-frame { max-width: 420px; }
  .qth-hero__img-frame .svg-float { max-height: 300px; }
  .qth-hero__sub { max-width: 100%; }
  .qth-hero__actions { justify-content: flex-start; }
  .qth-hero__proof { justify-content: flex-start; }
  .qth-hero__scroll { display: none; }
  .qth-hero.hero-carousel-section .carousel-nav { right: 1rem; bottom: 4.4rem; }
  .qth-hero.hero-carousel-section .carousel-dots { bottom: 4.5rem; }
  .qth-hero.hero-carousel-section .carousel-slide .qth-hero__inner { transform: none; }
  .qth-pillars { grid-template-columns: 1fr; }
  .qth-callout__inner { flex-direction: column; text-align: center; }
  .qth-callout__icon-wrap { margin: 0 auto; }
  .qth-callout__text p { max-width: 100%; }
  .qth-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qth-about-section { margin-top: 0; padding-top: 4.8rem; }
  .qth-about-shell { grid-template-columns: 1fr; }
  .qth-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .qth-hero { padding: 1.5rem 0 2.5rem; }
  .qth-hero.hero-carousel-section .carousel-container { min-height: 0; }
  .qth-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .qth-hero__visual { display: none; }
  .qth-hero.hero-carousel-section .carousel-nav { display: none; }
  .qth-hero.hero-carousel-section .carousel-dots { bottom: 3rem; }
  .qth-hero.hero-carousel-section .carousel-slide .qth-hero__inner { transform: none; }
  .qth-hero__headline { font-size: clamp(1.8rem, 8.2vw, 2.35rem); line-height: 1.18; }
  .qth-hero__sub { font-size: 0.98rem; line-height: 1.6; margin-bottom: 1.15rem; }
  .qth-hero__proof { margin-bottom: 1.1rem; }
  .qth-hero.hero-carousel-section .carousel-slide { padding-bottom: 4.75rem; }
  .qth-hero__btn { width: 100%; justify-content: center; }
  .qth-hero__actions { flex-direction: column; }
  .qth-trustbar__sep { display: none; }
  .qth-trustbar__inner { flex-direction: column; gap: .75rem; }
  .qth-showcase-grid { grid-template-columns: 1fr; }
  .qth-about-content { padding: 1.05rem; }
  .qth-about-badge { position: static; margin-top: .55rem; }
  .qth-why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .qth-hero { padding: 1.25rem 0 2.2rem; }
  .qth-hero__eyebrow { font-size: 0.68rem; letter-spacing: 0.04em; padding: 0.35rem 0.75rem; }
  .qth-hero__headline { font-size: clamp(1.6rem, 7.6vw, 2rem); margin-bottom: 0.95rem; }
  .qth-hero__sub { font-size: 0.92rem; margin-bottom: 1rem; }
  .qth-hero__actions { gap: 0.55rem; margin-bottom: 0.95rem; }
  .qth-hero__btn { padding: 0.78rem 1rem; font-size: 0.92rem; }
  .qth-hero__proof { flex-direction: column; gap: 0.45rem; }
  .qth-hero__proof-text { text-align: center; font-size: 0.82rem; }
  .qth-hero.hero-carousel-section .carousel-dots { bottom: 2.45rem; }
}
