/* ===========================
   Hero Section
   =========================== */

.hero-section {
  padding: 60px 0 60px;
  background:
    radial-gradient(circle at 70% 10%, #ddeeff 0%, transparent 45%),
    radial-gradient(circle at 10% 70%, #d6f5ef 0%, transparent 45%),
    #ffffff;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
  color: #0d0d0d;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #555e6e;
}

.btn-cta {
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  background-color: #253858;
  border-color: #253858;
  color: #ffffff;
  transition: all 0.2s ease;
}

.btn-cta:hover {
  background-color: #253858;
  border-color: #253858;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

/* Update these rules in your CSS */

.btn-sec.btn-cta {
  background-color: #ffffff !important;
  border: 2px solid #23374D !important;
  color: #23374D !important;
}

.btn-sec.btn-cta:hover {
  background-color: #23374D !important;
  border-color: #23374D !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(35, 55, 77, 0.35) !important;
}

.video-wrapper {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}


/* ===========================
   Features Section
   =========================== */

.features-section {
  padding: 60px 0;
  background-color: #f8fafc;
}


.features-section .container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .features-section .container-fluid {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1200px) {
  .features-section .container-fluid {
    padding-left: 100px;
    padding-right: 100px;
  }
}


.features-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #0d0d0d;
  letter-spacing: -0.4px;
}

.features-subtitle {
  font-size: 0.97rem;
  line-height: 1.7;
  color: #555e6e;
}

.feature-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: #eff6ff;
  border-radius: 12px;
}

.feature-card-title {
  font-size: 18px;
  color: #0d0d0d;
}

.feature-card-text {
  font-size: 18px;
  line-height: 1.65;
  color: #555e6e;
}

.icon-blue {
  filter: hue-rotate(110deg) saturate(2);
}


/* ===========================
   Why Section
   =========================== */

.why-section {
  padding: 60px 0;
  background-color: #f8fafc;
}

/* FIXED RESPONSIVE PADDING: Removed hardcoded 100px padding */
.why-section .container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .why-section .container-fluid {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1200px) {
  .why-section .container-fluid {
    padding-left: 100px;
    padding-right: 100px;
  }
}

.why-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #0d0d0d;
  letter-spacing: -0.4px;
}

.why-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #555e6e;
}

.font-bold {
  font-weight: 700;
}

.why-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: box-shadow 0.2s ease;
}

.why-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.why-card-title {
  font-size: 18px;
  color: #0d0d0d;
  margin-bottom: 6px;
}

.why-card-text {
  font-size: 16px;
  line-height: 1.65;
  color: #555e6e;
}

.why-cta-card {
  background-color: #ffffff;
  border-radius: 20px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-cta-title {
  font-size: 40px;
  /* line-height: 1.2; */
  font-weight: 700;
  color: #23374D;
}

.why-cta-text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.why-cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: #ffffff;
  color: #1d4ed8;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.why-cta-btn:hover {
  background-color: #f1f5f9;
  color: #1e3a8a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}


/* ===========================
   Book a Demo Card (white card, inside why-section)
   =========================== */

.demo-cta-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
  min-height: 360px;
  scroll-margin-top: 80px;
}

.demo-cta-title {
  font-size: 1.75rem;
  line-height: 1.2;
  color: #111827;
}

.demo-cta-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6b7280;
}

.demo-cta-card .demo-form .form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #111827;
  margin-bottom: 6px;
}

.demo-cta-card .demo-form .form-control {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 14px;
  height: auto;
  font-size: 0.95rem;
  color: #374151;
  background-color: #ffffff;
}

.demo-cta-card .demo-form .form-control::placeholder {
  color: #9ca3af;
}

.demo-cta-card .demo-form .form-control:focus {
  border-color: #3b5bfd;
  box-shadow: 0 0 0 3px rgba(59, 91, 253, 0.12);
  outline: none;
}

.demo-cta-card .demo-form textarea.form-control {
  resize: none;
  min-height: 110px;
}

.demo-cta-card .btn-demo-submit {
  /* background-color: #3b5bfd; */
  border: none;
  background-color: #23374d;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px;
  border-radius: 8px;
  margin-top: 8px;
  transition: background-color 0.2s ease;
}

.demo-cta-card .btn-demo-submit:hover {
  /* background-color: #23374d; */
  transition: background-color 0.2s ease;
  color: #ffffff;
}


/* ===========================
   FAQ Section
   =========================== */

.faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.faq-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #0d0d0d;
  letter-spacing: -0.4px;
}

.faq-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #555e6e;
}

.faq-cta-btn {
  background-color: #253858;
  border-color: #253858;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.faq-cta-btn1 {
  background-color: #ffffff;
  border-color: #253858;
  color: #253858;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.faq-cta-btn:hover {
  background-color: #253858;
  border-color: #253858;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.fw-bold {
  font-weight: 700 !important;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}


/* ===========================
   FAQ Accordion
   =========================== */

.faq-section .accordion-item {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 12px;
}

.faq-section .accordion-header {
  margin: 0;
}

.faq-section .accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 18px;
  color: #0d0d0d;
  text-align: left;
  background-color: #fff;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
  cursor: pointer;
  outline: none;
  box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
  color: #2563eb;
  background-color: #f0f5ff;
  box-shadow: none;
}

.faq-section .accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d0d0d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
}

.faq-section .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

.faq-section .accordion-collapse {
  overflow: hidden;
  transition: height 0.35s ease;
}

.faq-section .accordion-collapse.collapse {
  display: none;
}

.faq-section .accordion-collapse.collapse.show,
.faq-section .accordion-collapse.collapsing {
  display: block;
}

.faq-section .accordion-body {
  padding: 1rem 1.25rem;
  font-size: 18px;
  line-height: 1.65;
  color: #555e6e;
}

@media (max-width: 767.98px) {
  .faq-section {
    padding: 40px 0;
  }

  .faq-section .accordion-button {
    font-size: 16px;
    padding: 0.875rem 1rem;
  }

  .faq-section .accordion-body {
    font-size: 15px;
    padding: 0.875rem 1rem;
  }
}


/* ===========================
   Section Head / Eyebrow
   =========================== */

.section-head {
  margin-bottom: 48px;
  width: fit-content;
  text-align: center;
  margin-left: auto;
  padding: 10px;
  margin-right: auto;
  /* border: none; */
  /* border-width: 2px !important; */
  /* border-color: #253858 !important; */
  color: #253858 !important;
  /* border-radius: 50px; */
  font-weight: 600;
}

/* ===========================
   Aesthetic Form Validation & Toast Notifications
   =========================== */

/* Toast Container */
.qsquare-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  pointer-events: none;
}

/* Toast Body */
.qsquare-toast {
  display: flex;
  align-items: center;
  min-width: 280px;
  max-width: 420px;
  padding: 14px 18px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #4b5563;
  margin-bottom: 10px;
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.qsquare-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.qsquare-toast.success {
  border-left-color: #10b981 !important;
  /* Emerald */
}

.qsquare-toast.error {
  border-left-color: #ef4444 !important;
  /* Rose */
}

.qsquare-toast-icon {
  margin-right: 12px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qsquare-toast-content {
  font-size: 0.88rem;
  color: #374151;
  font-weight: 500;
  line-height: 1.4;
}

@keyframes qsquareFadeIn {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom validation bubble styled like native browser tooltip */
.demo-cta-card .demo-form .form-group {
  position: relative;
}

.custom-validation-bubble {
  position: absolute;
  top: calc(100% - 2px);
  left: 15px;
  z-index: 100;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #7a7a7a;
  border-radius: 4px;
  padding: 8px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.8rem;
  color: #000000;
  pointer-events: none;
  animation: bubbleFadeIn 0.2s ease-out;
}

.custom-validation-bubble .bubble-arrow {
  position: absolute;
  top: -6px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #7a7a7a;
}

.custom-validation-bubble .bubble-arrow::after {
  content: '';
  position: absolute;
  top: 1px;
  left: -6px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #ffffff;
}

.custom-validation-bubble .bubble-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: #e65100;
  /* Dark orange warning icon background */
  color: #ffffff;
  font-weight: bold;
  font-size: 0.75rem;
  border-radius: 2px;
  margin-right: 8px;
  flex-shrink: 0;
}

.custom-validation-bubble .bubble-message {
  font-weight: 400;
  line-height: 1.4;
}

@keyframes bubbleFadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-cta-btn .arrow-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.faq-cta-btn:hover .arrow-icon {
  transform: translateX(6px);
}

.faq-cta-btn1 .arrow-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.faq-cta-btn1:hover .arrow-icon {
  transform: translateX(6px);
}