html {
  scroll-behavior: smooth;
}
html, body {
  margin: 0;
  padding: 0;
}


.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
  will-change: transform, opacity;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #1f2937;
}

html, body {
  overflow-x: hidden;
}

html.menu-open,
body.menu-open {
  overflow: hidden;
  height: 100%;
  touch-action: none;
}


/* === NAVBAR ======= */
.top-nav {
  background: #ffffff;
  border-bottom: 0.0625rem solid #e5e7eb; /* 1px */
  height: 4.1875rem; /* 67px */
  margin: 0;
  padding: 0;


}

.nav-container {
  max-width: 75rem; /* 1200px */
  margin: auto;
  padding: 0.8375rem 1.25rem; /* 15px 20px */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.nav-logo img {
  height: 2.25rem; /* 36px */
  width: auto;
}

.brand-text {
  font-size: 1.5625rem; /* 25px */
  font-weight: 700;
  letter-spacing: 0.01875rem; /* 0.3px */
  margin-left: 0.375rem; /* 6px */
}

.brand-text .fact {
  color: #1f4fa3;
}

.brand-text .nest {
  color: #2dd4bf;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1875rem; /* 35px */
}

.nav-links a.active {
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  color: #1f4fa3;
  font-weight: 500;
  padding: 0.375rem 0.25rem; /* 6px 4px */
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #2dd4bf;
}

.desktop-dropdown > span {
  color: #1f4fa3;
  font-weight: 500;
}

.desktop-dropdown > span:hover {
  color: #2dd4bf;
}

.menu-toggle {
  margin-left: auto;
}


.nav-cta {
  background-color: #2DD4BF;
  color: #003b3d;
  padding: 0.625rem 1.25rem; /* 10px 20px */
  border-radius: 0.5rem; /* 8px */
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.nav-cta:hover {
  background-color: #22C1AE;
  box-shadow: 0 0.5rem 1.25rem rgba(45, 212, 191, 0.45); /* 8px 20px */
  transform: translateY(-0.0625rem); /* -1px */
}

.btn-primary:hover {
  background-color: #244c86;
  transform: translateY(-0.125rem); /* -2px */
  box-shadow: 0 0.625rem 1.5rem rgba(47, 95, 167, 0.35); /* 10px 24px */
}



/* ====== HERO SECTION ========= */

.hero-section {
  padding: 4rem 3.125rem; /* 90px 50px */
}

.hero-container {
  max-width: 75rem; /* 1200px */
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.875rem; /* 30px */
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem; /* 50px */
  line-height: 1.2;
  color: #1f4fa3;
}

.hero-content h1 span {
  color: #2dd4bf;
}

.hero-content p {
  margin-top: 1.25rem; /* 20px */
  font-size: 1.25rem; /* 20px */
  max-width: 32.5rem; /* 520px */
  color: #4b5563;
}

.hero-buttons {
  margin-top: 3.125rem; /* 50px */
}

.btn-primary {
  background: #1f4fa3;
  color: #ffffff;
  padding: 0.75rem 1.375rem; /* 12px 22px */
  border-radius: 0.375rem; /* 6px */
  text-decoration: none;
  font-weight: 600;
  margin-right: 0.9375rem; /* 15px */
}

.btn-secondary {
  text-decoration: none;
  color: #2563eb;
  font-weight: 600;
}

.hero-video {
  width: 100%;
  max-width: 30rem; /* 480px */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}


/* ====== SERVICES SECTION ========= */

.services-section {
  
  padding: 1.25rem 0 2.5rem; /* 20px 0 40px */
  border-top-left-radius: 5rem; /* 80px */
  border-top-right-radius: 5rem; /* 80px */
}

.services-section .container {
  max-width: 75rem; /* 1200px */
  margin: auto;
  padding: 0 1.25rem; /* 20px */
}

.section-title {
  font-size: 2.875rem; /* 46px */
  font-weight: 800;
  color: #1f4fa3;
  margin-bottom: 2.5rem; /* 40px */
}

.services-slider {
  display: flex;
  gap: 2rem; /* 32px */
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0.625rem 1.25rem; /* 0 10px 20px */
  scroll-behavior: smooth;
}

.services-slider::-webkit-scrollbar {
  display: none;
}

.service-card {
  background: #f0fdfa;
  min-width: 22.5rem; /* 360px */
  padding: 3rem 1.25rem; 
  border-radius: 1.25rem;
  box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.08); /* 10px 30px */
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
  overflow: hidden;
}

.service-card:hover {
  box-shadow: 0 1.5625rem 3.75rem rgba(0,0,0,0.15); /* 25px 60px */
}

.service-card .icon {
  font-size: 1.875rem; /* 30px */
  margin-bottom: 1.25rem; /* 20px */
}

.service-card h3 {
  font-size: 1.375rem; /* 22px */
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 1rem; /* 16px */
}

.service-card p {
  font-size: 0.86875rem; /* 15.5px */
  line-height: 1.7;
  color: #475569;
  flex-grow: 1;
  margin-bottom: 4rem; /* 16px */
}

.fade-up a {
  margin-top: 1.75rem; /* 28px */
  font-weight: 600;
   text-decoration: none;
     color: #244c86;
}

.fade-up a:hover {
  text-decoration: underline;
  color:#2dd4bf ;
}


/* ===== SERVICES SLIDER CONTROLS ===== */

.services-slider-wrapper {
  position: relative;
}

.services-slider {
  overflow: hidden;       
}


.services-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: none;
  background: #2dd4bf;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 5;
}

.services-arrow.prev {
  left: -1.25rem;
}

.services-arrow.next {
  right: -1.25rem;
}

/* ===== SERVICES DOTS ===== */
.services-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.services-dots .dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #94a3b8; /* visible grey */
  cursor: pointer;
}

.services-dots .dot.active {
  background: #2dd4bf; /* brand blue */
}

/* Disabled arrow state */
.services-arrow.disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}




/* ===============================
   WHY CHOOSE FACTNEST – EDITORIAL
================================ */
.why-section {
  padding: 5rem 3rem;
  background: #f8fafc;
}

.why-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
}

/* LEFT */

.why-title {
  font-size: 3rem;
  font-weight: 800;
  color: #1f4fa3;
  margin-bottom: 1.2rem;
}

.why-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #475569;
  max-width: 28rem;
}

/* RIGHT */

.why-right {
  display: flex;
  flex-direction: column;
}

.why-item {
  border-bottom: 1px solid rgba(15,23,42,0.1);
}

.why-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.why-icon {
  font-size: 1.6rem;
  color: #2dd4bf;
  transition: transform 0.3s ease;
}

.why-body {
  display: none;
  padding-bottom: 1.8rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 36rem;
}

.why-item.active .why-body {
  display: block;
}

.why-item.active .why-icon {
  transform: rotate(180deg);
}

.qwerty{
  font-size: 2.5rem;
  font-weight: 900;

}

/* RESPONSIVE */

@media (max-width: 900px) {
  .why-wrapper {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .why-title {
    font-size: 2.3rem;
  }
}



/* ====== ABOUT-SECTION========= */

.about-strong {
  background: #f0fdfa;
  padding: 0.625rem 3.75rem;
}

.about-heading {
  font-size: 3rem;
  font-weight: 900;
  color: #1f4fa3;
}

.about-statement {
  max-width: 47.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 1.875rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.75rem;
}

.about-highlight h4 {
  font-size: 1.125rem;
  font-weight: 800;
  color: #1f4fa3;
  margin-bottom: 0.625rem;
}

.about-highlight p {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.875rem;
}

.about-strong {
  padding: 4rem 3rem;
  background:
    radial-gradient(circle at top left,
      rgba(45,212,191,0.08),
      transparent 45%),
    #ffffff;
}

.about-heading {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.2rem;
}

.about-statement {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 3rem;
}

/* HIGHLIGHTS GRID */
.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* CARD STYLE */
.about-highlight {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1.25rem;

  /* NEW */
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 1.25rem 3rem rgba(15, 23, 42, 0.08),
    inset 0 0 0 1px rgba(255,255,255,0.6);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.about-highlight:hover {
  transform: translateY(-0.5rem);
  box-shadow:
    0 2.5rem 4rem rgba(15, 23, 42, 0.14);
}


.about-highlight h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f4fa3;
  margin-bottom: 0.6rem;
}

.about-highlight p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
}

.about-highlight.primary {
  background: linear-gradient(
    135deg,
    rgba(31,79,163,0.08),
    rgba(45,212,191,0.08)
  );
  border-left: 4px solid #1f4fa3;
}




/* ================= CONTACT SECTION ================= */

.contact-section {
  padding: 4rem 0;
  background: #f9fbff;
}

.contact-heading {
  text-align: center;
  font-size: 2.25rem; /* 36px */
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.contact-subtext {
  text-align: center;
  max-width: 40.6rem; /* 650px */
  margin: 0 auto 0rem;
  color: #555;
  font-size: 1rem;
}

/* ================= CONTACT WRAPPER ================= */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.125rem; 
  background: #fff;
  padding: 1.125rem;
  border-radius: 1.25rem;
  box-shadow: 0 1.25rem 3.125rem rgba(0,0,0,0.06);
}

/* ================= CONTACT INFO ================= */

.contact-info h3 {
  font-size: 1.5rem; /* 24px */
  margin-bottom: 0.9rem;
  color: #0f172a;
}

.contact-info p {
  color: #555;
  margin-bottom: 1.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 0.75rem;
  color: #333;
  font-size: 0.9rem;
}

/* Left content polish */
.contact-info-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Contact details list */
.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: .25rem;
}

.contact-details .icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.6rem;
  background: #e6fffa;
  color: #0f766e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-details strong {
  display: block;
  font-size: 0.85rem;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.contact-details span {
  font-size: 0.85rem;
  color: #475569;
}


/* ================= CONTACT FORM ================= */

.contact-section {
  display: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid #ddd;
  font-size: 0.9rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2dd4bf;
}

.contact-form button {
  padding: 0.9rem;
  border-radius: 0.75rem;
  border: none;
  background: #2dd4bf;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #20bfa8;
}

/* ================= INLINE SUCCESS MESSAGE (OPTIONAL) ================= */

.form-success {
  display: none;
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.6rem;
  background: #e6fffa;
  color: #065f46;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  border: 1px solid #99f6e4;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(0.4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact section hidden by default */
.contact-section {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6); 
  z-index: 999;
  overflow-y: auto;
  padding: 2rem 1rem;
}

/* Inner container (actual white box) */
.contact-section .container {
  background: #ffffff;
  border-radius: 1.5rem;
  max-width: 42rem;
  margin: auto;
  padding: 2rem;
  animation: contactFade 0.4s ease;
}

/* Animation */
@keyframes contactFade {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ================= THANK YOU FULL WIDTH ================= */

.contact-thankyou {
  display: none;
  padding: 1rem 2.5rem;
  background: #f9fbff;
}

/* Card */
.thankyou-card {
  max-width: 48rem;
  margin: 0 auto;
  background: #ffffff;
  padding: 3.5rem 2.5rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.08);
}

/* Icon */
.thankyou-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #2dd4bf;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text */
.thankyou-card h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f172a;
}

.thankyou-card p {
  font-size: 1rem;
  color: #475569;
  max-width: 34rem;
  margin: 0 auto;
  line-height: 1.7;
}




/* ======= COMPLIANCE'S SECTION =========== */

.compliance-section {
  background: #ffffff;
  padding: 1.25rem 3.75rem;
}

.compliance-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1rem;
  align-items: flex-start;
}

.compliance-title {
  font-size: 2.875rem;
  font-weight: 900;
  color: #1f4fa3;
  margin-bottom: 1.125rem;
}

.compliance-lead {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.7;
  }

.compliance-note {
  margin-top: 1.375rem;
  font-size: 0.90625rem;
  font-weight: 600;
  color: #1f4fa3;
}

.compliance-right {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  
}

.compliance-card {
  
  padding: 2.4rem;
  border-radius: 1.2rem;
  max-width: 28rem;
  box-shadow: 0 1.5rem 3.5rem rgba(15, 23, 42, 0.12);
  transition: opacity 0.4s ease;
}

.compliance-card {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fbfdff 100%
  );
  border-radius: 1.5rem;
  padding: 2.8rem;
  box-shadow:
    0 2.5rem 4.5rem rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(15, 23, 42, 0.04);
}

.compliance-right {
  position: relative;
}

.compliance-right::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 2rem;
  width: 2px;
  height: 70%;
  background: linear-gradient(
    180deg,
    rgba(31,79,163,0.4),
    rgba(45,212,191,0.4)
  );
}



.compliance-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.8rem;
}

.compliance-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #475569;
}

.compliance-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.6rem;
}

.compliance-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.compliance-dots .dot {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.compliance-dots .dot.active {
  background: #1f4fa3;
  transform: scale(1.2);
}


.compliance-dots .dot.active {
  background: #1f4fa3;
}

/* ========== FOOTER ========== */

.clean-footer {
  background: #d9f9f2;
  border-radius: 1.75rem;
  margin: 2.5rem 1.5rem;
  padding: 3.75rem 2.5rem 1.875rem;
  font-family: "Segoe UI", sans-serif;
}

.clean-footer-container {
  max-width: 75rem;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
}

.footer-logo img {
  height: 2rem;
}

.footer-logo span {
  line-height: 2;
}

.footer-logo .fact {
  color: #2B5794;
}

.footer-logo .nest {
  color: #2dd4bf;
}

.footer-brand p {
  margin-top: 0.875rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #475569;
  max-width: 22.5rem;
}

.footer-social {
  margin-top: 0.875rem;
  display: flex;
  gap: 1.5rem;
}


.footer-links h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  color: #2B5794;
 margin-top: 10px;
}

.footer-links a {
  display: block;
  text-decoration: none;
  font-size: 1rem;
  color: #475569;
  margin-bottom: 0.625rem;
  font-weight: 500;

}

.footer-links a:hover {
  color: #2dd4bf;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 0.0625rem solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 500;
}


.bottom-links a {
  margin-left: 1.125rem;
  text-decoration: none;
  color: #64748b;
  font-size: 1rem;
 
}

.bottom-links a:hover {
  color: #0f172a;
}

.footer-social {
  display: flex;
  margin-top: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #e6fffa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2B5794;
  font-size: 1.3rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: #2dd4bf;
  color: #003b3d;
  transform: translateY(-2px);
}


* {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

p, input, textarea {
  user-select: text;
}



/* Close btn in contact */
.contact-section {
  position: relative;
}

.contact-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #334155;
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 100;
}

.contact-close:hover {
  background: #2dd4bf;
  color: #003b3d;
  transform: rotate(90deg);
}


/* ----- Updated contact form */
.contact-section {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.contact-section.active {
  display: flex; /* ya grid */
}

/* overlay */
.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  z-index: 1;
}

/* main modal container */
.contact-container {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 24px;
}

/* 🔥 CLOSE BUTTON FIX */
.contact-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #2dd4bf;
  color: #003b3d;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;

  z-index: 9999;          /* MOST IMPORTANT */
  pointer-events: auto;  /* 🔥 CLICK ENABLE */
}

.contact-close:hover {
  background: #22c1ae;
}



/* ===== REQUEST VERIFICATION CTA ===== */
.request-verification-btn {
  background-color: #2dd4bf;
  color: #003b3d;
  padding: 0.625rem 1.25rem; /* 10px 20px */
  border-radius: 0.6rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  margin-left: 12px;
}

.request-verification-btn:hover {
  background-color: #22c1ae;
  box-shadow: 0 8px 20px rgba(45, 212, 191, 0.45);
  transform: translateY(-1px);
}


/*  menu- update*/
.mobile-menu {
  background: #f9fafb;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border-radius: 18px;
  transform: scale(0.98);
}

.mobile-menu a,
.mobile-menu .dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 18px;
  margin-bottom: 12px;

  background: #ffffff;
  border-radius: 14px;

  font-weight: 500;
  color: #1f3a5f;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
}

.mobile-menu a:active,
.mobile-menu .dropdown-toggle:active {
  transform: scale(0.97);
  background: #f0f4ff;
}

.mobile-menu .arrow {
  font-size: 14px;
  opacity: 0.6;
}
.mobile-menu .dropdown-menu {
  margin-top: 6px;
  padding-left: 10px;
}

.mobile-menu .dropdown-menu a {
  background: #f9fafb;
  font-size: 14px;
  margin-bottom: 8px;
}

.mobile-menu a:last-of-type {
  background: #eef4ff;
  color: #1d4ed8;
  font-weight: 600;
}


.hero-section .request-verification-btn {
  display: none;
}

/* ======= Base Colour */
:root{
  --brand-blue:#1f4fa3;
  --brand-teal:#2dd4bf;
  --light-bg:#f8fafc;
  --card-bg:#f1f7ff;
  --text-dark:#0f172a;
  --text-muted:#475569;
}

/* ------Background check for Everyone---------    */

/* ===== Services Section ===== */
.services-section-alt {
  padding: 3.5rem 4rem;
  background: #ffffff;
}

/* Title */
.services-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3.5rem;
}

.services-title span {
  display: block;
  width: 4.5rem;
  height: 0.25rem;
  background: var(--brand-teal);
  margin: 0.9rem auto 0;
  border-radius: 0.25rem;
}

/* Grid */
.services-grid-alt {
  display: grid;
  gap: 2rem;              /* 🔥 tighter spacing */
  align-items: stretch;
  padding: 0 1.5rem;
}


@media (min-width: 1024px) {
  .services-grid-alt {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services-section-alt{
    padding: 2rem 1rem;
  }
}

/* Card */
.service-box {
  background: var(--card-bg);
  padding: 2.2rem 2rem;   /* 🔥 reduced padding */
  text-align: center;
  border-radius: 1.1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-box:hover {
  transform: translateY(-0.35rem);
  box-shadow: 0 1rem 2.5rem rgba(31,79,163,.12);
}

/* Icon */
.service-box .icon {
  width: 3.2rem;          /* 🔥 smaller icon */
  height: 3.2rem;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  border: 2px solid var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  background: #ffffff;
}

.service-box:nth-child(even) .icon {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
}

.service-box svg {
  width: 1.4rem;
  height: 1.4rem;
}

/* Text */
.service-box h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

.service-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.6rem;
  flex-grow: 1;
}

/* Button */
.btn-red {
  display: inline-block;
  background: var(--brand-blue);
  color: #ffffff;
  padding: 0.7rem 1.6rem;   /* 🔥 slimmer button */
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.6rem;
  margin-top: auto;
  transition: transform .2s ease, box-shadow .2s ease;
  font-size: 0.85rem;
}


.btn-red:hover {
  transform: translateY(-0.15rem);
  box-shadow: 0 0.6rem 1.4rem rgba(0,0,0,.15);
}

/*  */

/* ===============================
   WHY CHOOSE FACTNEST – REFINED
================================ */

.why-factnest-refined {
  padding: 3rem 4rem;
  background: linear-gradient(180deg, #f0fdfa 0%, #f0fdfa 100%);
}

.refined-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem; 
  align-items: center;
}

/* ---------- CONTENT ---------- */

.refined-content h2 {
  font-size: 2.5rem;      /* 40px */
  font-weight: 800;
  color: #1f4fa3;
  margin-bottom: 0.875rem; /* 14px */
}

.refined-content h2 span {
  color: #2dd4bf;
}

.refined-content .subtitle {
  font-size: 1.0625rem;   /* 17px */
  line-height: 1.7;
  color: #475569;
  max-width: 32.5rem;     /* 520px */
  margin-bottom: 2.5rem; /* 40px */
}

/* ---------- FEATURE CARDS ---------- */

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.375rem;          /* 22px */
  margin-bottom: 2.5rem; /* 40px */
}

.feature-card {
  background: #ffffff;
  padding: 1.375rem 1.25rem; /* 22px 20px */
  border-radius: 1rem;       /* 16px */
  box-shadow: 0 0.625rem 1.875rem rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-0.375rem); /* -6px */
  box-shadow: 0 1.25rem 2.8125rem rgba(15, 23, 42, 0.12);
}

.feature-card h4 {
  font-size: 1.0625rem;   /* 17px */
  font-weight: 600;
  color: #1f4fa3;
  margin-bottom: 0.5rem; /* 8px */
}

.feature-card p {
  font-size: 0.90625rem; /* 14.5px */
  line-height: 1.6;
  color: #64748b;
}


/* ---------- IMAGE ---------- */

.refined-image {
  position: relative;
}

/* .refined-image::before {
  content: "";
  position: absolute;
  inset: -2rem;
  background: radial-gradient(
    circle at center,
    rgba(45, 212, 191, 0.15),
    transparent 70%
  );
  z-index: 0;
} */

.refined-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: none;            
    opacity: 0.92;               
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 62rem) { /* 992px */
  .refined-grid {
    grid-template-columns: 1fr;
    gap: 3.125rem; /* 50px */
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    gap: 1.875rem; /* 30px */
  }

  .refined-content h2 {
    font-size: 2.125rem; /* 34px */
    
  }
  .refined-image img{
    width: 100%;
  }
}

@media ( max-width: 768px  ){
  .why-factnest-refined{
    padding: 2rem 1rem;
  }
  .refined-content h2 {
    font-size: 2rem;
  }
  .feature-card{
    padding: 0.3rem 1.25rem;
  }
}

/* <!-- New section  --> */
/* ===============================
   FACTNEST PLATFORM OVERVIEW
================================ */

.fn-platform-overview {
  padding: 4rem 3rem;
  background: #ffffff;
  overflow: hidden;
}

.fn-container {
  max-width: 1200px;
  margin: 0 auto;
}

.fn-overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

/* ---------- VISUAL ---------- */

.fn-overview-visual {
  position: relative;
 
}

.fn-overview-visual::before {
  content: "";
  position: absolute;
  inset: -2rem;
  background: radial-gradient(
    circle at center,
    rgba(45, 212, 191, 0.15),
    transparent 70%
  );
  z-index: 0;
}

.fn-overview-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 34rem;
  border-radius: 1.5rem;
  opacity: 0.95;
}

/* ---------- CONTENT ---------- */

.fn-overview-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #64748b;
  margin-bottom: 1rem;
}

.fn-overview-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.fn-overview-title span {
  color: #1f4fa3;
}

.fn-overview-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  max-width: 32rem;
  margin-bottom: 2.5rem;
}

/* ---------- ACTIONS ---------- */

.fn-overview-actions {
  display: flex;
  gap: 1.25rem;
}

.fn-btn {
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.fn-btn-primary {
  background: #1f4fa3;
  color: #ffffff;
}

.fn-btn-primary:hover {
  background: #173b80;
}

.fn-btn-outline {
  border: 2px solid #1f4fa3;
  color: #1f4fa3;
}

.fn-btn-outline:hover {
  background: #1f4fa3;
  color: #ffffff;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {
  .fn-overview-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fn-overview-actions {
    justify-content: center;
  }

  .fn-overview-title {
    font-size: 2rem;
  }
  .fn-overview-visual{
    order: 2;
  }

  .fn-overview-visual::before {
    inset: -1rem;
  }
  .fn-platform-overview{
    padding: 2rem 1rem;
  }
  .fn-overview-grid{
    gap: 2rem;
  }
}


/* Footer _ right */
.fn-footer-cta h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.fn-footer-cta p {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 1rem;
}

.fn-footer-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.fn-footer-form input {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  font-size: 0.9rem;
}

.fn-footer-form button {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: #1e3a8a;
  color: #fff;
  font-size: 0.9rem;
}

.fn-footer-form {
  display: flex;
  flex-direction: column;   /* 👈 upar–niche */
  gap: 0.75rem;
  max-width: 20rem;         /* optional, clean look */
}

.fn-footer-form input,
.fn-footer-form button {
  width: 100%;
}
