/* ========= Base / tokens ========= */
:root {
  --brand: #252584;
  --brand-2: #2F96D7;
  --ink: #2d2f3a;
  --ink-2: #5d6070;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --shadow: 0 10px 25px rgba(18, 38, 63, .08);
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --safe: env(safe-area-inset-bottom, 0px);
}

/* ========= Preloader Animation ========= */
#preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.5s ease, visibility 0.5s ease;
}

#preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  width: 60px;
  height: auto;
  animation: logoRotateScale 2s ease-in-out forwards;
}

@keyframes logoRotateScale {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.5);
  }

  50% {
    opacity: 1;
    transform: rotate(360deg) scale(1);
  }

  100% {
    opacity: 1;
    transform: rotate(360deg) scale(2);
  }
}

/* Provide room for sticky CTA at the bottom */
html.with-sticky-cta body {
  padding-bottom: calc(var(--stickyPad, 92px) + var(--safe));
}

/* ========= Topbar ========= */
#topbar {
  background: #f4f8ff;
  border-bottom: 1px solid rgba(31, 111, 209, .08);
  font-size: 14px;
}

.topbar-line {
  min-height: 38px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #1a6ca9;
  margin-right: 16px;
  text-decoration: none;
}

.topbar-item i {
  color: #1a6ca9;
}

.social-links a {
  color: #1a6ca9;
  margin-left: 10px;
  font-size: 14px;
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #1a6ca9;
  margin-right: 14px;
  text-decoration: none;
  font-weight: 600;
}

/* Hide the text CTAs on mobile; desktop only */
@media (max-width: 991px) {
  .topbar-cta {
    display: none !important;
  }
}

/* ========= Header spacing ========= */
.header-white .header-row {
  padding: 14px 0;
}

/* ========= Hero / Intro Section ========= */
#intro {
  background: url('../img/bg/bg.webp') center center no-repeat;
  background-size: cover;
  background-attachment: scroll;
  min-height: 100vh;
  padding: 30px 0 30px;
  position: relative;
  color: #fff;
  display: flex;
  align-items: flex-start;
  transition: background-image 0.6s ease-in-out;
}

@media (min-width: 1024px) {
  #intro {
    background-size: 100% 100%;
  }
}

#intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

#intro .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin-bottom: 36px;
  font-weight: 400;
}

.IntroTextSlide {
  display: none;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-get-started {
  background: #fff;
  color: #252584;
  padding: 16px 40px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid #fff;
}

.btn-get-started:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.btn-learn-more {
  background: transparent;
  color: #fff;
  padding: 16px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-learn-more:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  #intro {
    min-height: auto;
    padding: 120px 0 30px;
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-get-started,
  .btn-learn-more {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 767px) {
  #intro {
    background-image: url('../img/bg/bg_mob.webp');
    padding: 100px 0 30px;
    min-height: 70vh;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 16px;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .intro-info p {
    font-size: 16px;
  }
}

/* ========= Sections ========= */
.section-header h3 {
  font-weight: 800;
  color: #2e2f44;
  text-align: center;
  margin-bottom: 28px;
}

.section-bg {
  background: var(--bg-soft);
}

/* ========= Services Boxes (existing) ========= */
#services .row {
  display: flex;
  flex-wrap: wrap;
}

#services .row>[class*="col-"] {
  margin-bottom: 30px;
  display: flex;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

@media (max-width: 991px) {
  #services .row>[class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  #services .row>[class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.box.ServicesCol {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.box .icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 10px;
}

.box .title {
  font-weight: 700;
  margin-bottom: 16px;
}

.box .description {
  flex: 1;
  overflow-y: auto;
  max-height: 280px;
}

.box .description li {
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.5;
}

/* ========= Footer ========= */
#footer {
  background: #0c1421;
  color: #cfe3f1;
}

#footer a {
  color: #a8d7ff;
}

#footer .form .form-control {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #dfe8f3;
  height: 48px;
}

#footer .form textarea.form-control {
  height: auto;
}

#footer .btn-primary {
  background: #252584;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
}

#footer .social-links a {
  color: #9cc7f0;
  font-size: 18px;
  margin-right: 12px;
}

/* ========= Sticky CTA ========= */
#sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(12px + var(--safe));
  display: flex;
  justify-content: center;
  gap: 14px;
  z-index: 9999;
  pointer-events: none;
  /* allow clicks only on buttons */
}

#sticky-cta .cta-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  text-decoration: none;
  color: #fff;
}

#sticky-cta .cta-call {
  background: #242583;
}

#sticky-cta .cta-wa {
  background: #22c15e;
}

#sticky-cta .cta-btn i {
  font-size: 18px;
}

/* Slightly smaller on small phones */
@media (max-width:420px) {
  #sticky-cta .cta-btn {
    font-size: 15px;
    padding: 12px 16px;
  }
}

/* ========= Tawk kill (CSS) ========= */
[id*="tawk"],
[class*="tawk"],
iframe[title*="chat"],
iframe[src*="tawk"],
div[style*="tawk"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* ========= Utility tweaks ========= */
.w2-image {
  height: auto;
}

.about-img img {
  width: 100%;
  height: auto;
}

/* ========= About / Overview Section ========= */
#about,
#why-us {
  padding: 50px 0;
}

#about .row,
#why-us .row {
  align-items: flex-start;
}

#about .about-img,
#why-us .about-img {
  position: relative;
  margin-bottom: 0;
}

#about .about-content,
#why-us .about-content {
  padding: 0 20px;
}

#about .about-img img,
#why-us .about-img img {
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, .12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  width: 100%;
  height: auto;
}

#about .about-img img:hover,
#why-us .about-img img:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}

#about .about-content h2,
#why-us .about-content h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: #2e2f44;
  margin-bottom: 24px;
  line-height: 1.2;
  position: relative;
  padding-bottom: 16px;
}

#about .about-content h2:after,
#why-us .about-content h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #252584 0%, #1bb1dc 100%);
  border-radius: 2px;
}

#about .about-content p,
#why-us .about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 20px;
}

#about .about-content p:last-child,
#why-us .about-content p:last-child {
  margin-bottom: 0;
}

/* Philosophy, Vision & Values Cards */
#about-values .card {
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  margin-bottom: 24px;
}

@media (max-width: 767px) {
  #about-values .card {
    margin-bottom: 20px;
  }

  #about-values .row>div {
    margin-bottom: 16px;
  }
}

#about-values .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .15) !important;
}

#about-values .card h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 16px 0 8px;
  color: #252584;
}

#about-values .card p {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

#about-values .card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#about-values .card ul li {
  padding: 6px 0;
  font-size: 15px;
  color: #4b5563;
  line-height: 1.6;
}

#about-values .iconify {
  transition: transform 0.3s ease;
}

#about-values .card:hover .iconify {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 991px) {

  #about,
  #why-us {
    padding: 60px 0;
  }

  #about .row,
  #why-us .row {
    flex-direction: column;
    gap: 0;
  }

  #about .about-img,
  #why-us .about-img {
    margin-bottom: 32px;
  }

  #about .about-content,
  #why-us .about-content {
    padding: 0;
    margin-bottom: 24px;
  }
}

/* ====== HEADER / TOPBAR ====== */
#header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 9990;
  box-shadow: 0 2px 15px rgba(0, 0, 0, .08);
}

#topbar {
  background: #f4f8ff;
  border-bottom: 1px solid rgba(31, 111, 209, .08);
  font-size: 14px;
}

.topbar-line {
  min-height: 38px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #1a6ca9;
  margin-right: 16px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.topbar-item:hover {
  color: #252584;
}

.topbar-item i {
  color: #1a6ca9;
  font-size: 14px;
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #1a6ca9;
  margin-right: 14px;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.topbar-cta:hover {
  background: rgba(31, 111, 209, .1);
  color: #252584;
}

.social-links a {
  color: #1a6ca9;
  margin-left: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #252584;
  transform: translateY(-2px);
}

@media(max-width:991px) {
  .topbar-cta {
    display: none !important
  }
}

.header-white .header-row {
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
}

/* ====== FOOTER ====== */
#footer {
  background: #0c1421;
  color: #cfe3f1
}

#footer a {
  color: #a8d7ff
}

#footer .form .form-control {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #dfe8f3;
  height: 48px
}

#footer .form textarea.form-control {
  height: auto
}

#footer .btn-primary {
  background: #252584;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700
}

#footer .social-links a {
  color: #9cc7f0;
  font-size: 18px;
  margin-right: 12px
}

/* ====== STICKY CTA ====== */
:root {
  --safe: env(safe-area-inset-bottom, 0px)
}

html.with-sticky-cta body {
  padding-bottom: calc(var(--stickyPad, 92px)+var(--safe))
}

#sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(12px + var(--safe));
  display: flex;
  justify-content: center;
  gap: 14px;
  z-index: 9999;
  pointer-events: none
}

#sticky-cta .cta-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  text-decoration: none;
  color: #fff
}

#sticky-cta .cta-call {
  background: #242583
}

#sticky-cta .cta-wa {
  background: #22c15e
}

#sticky-cta .cta-btn i {
  font-size: 18px
}

@media(max-width:420px) {
  #sticky-cta .cta-btn {
    font-size: 15px;
    padding: 12px 16px
  }
}

/* Hide any residual chat bubble + dev modal button */
[id*="tawk"],
[class*="tawk"],
iframe[title*="chat"],
iframe[src*="tawk"],
div[style*="tawk"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important
}

#OpenMessageModalBtn {
  display: none !important
}

/* =========================================================
   1) KILL any stray, old quick-links that sit OUTSIDE header
   (they’re the “WhatsApp us | Call us” you see at extreme top-left)
   ========================================================= */
body>a.topbar-cta,
body>a.topbar-item,
body>.quick-links,
body>.topbar-quick-links {
  display: none !important;
}

/* A safer belt-and-suspenders version (only hits top-left orphans, not header ones) */
body>a[href*="wa.me"]:not(header *),
body>a[href^="tel:"]:not(header *) {
  display: none !important;
}

/* =========================================================
   2) PROFESSIONAL MAIN NAV LAYOUT
   ========================================================= */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav>ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav>ul>li {
  position: relative;
  white-space: nowrap;
}

.main-nav a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #374151;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a:hover {
  color: #252584;
  background: rgba(57, 156, 212, .06);
}

.main-nav .active>a {
  color: #252584;
  background: rgba(57, 156, 212, .08);
}

/* Contact us CTA button in nav */
.main-nav .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #242583 0%, #399CD4 100%) !important;
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(36, 37, 131, .25);
  transition: all 0.3s ease;
  margin-left: 5px;
}

.main-nav .btn-cta:hover {
  background: linear-gradient(135deg, #399CD4 0%, #242583 100%) !important;
  box-shadow: 0 6px 16px rgba(36, 37, 131, .35);
  transform: translateY(-2px);
  color: #fff !important;
}

.main-nav .active .btn-cta,
.main-nav .btn-cta:active,
.main-nav .btn-cta:focus {
  background: linear-gradient(135deg, #242583 0%, #399CD4 100%) !important;
  color: #fff !important;
}

.main-nav .btn-cta i {
  font-size: 13px;
}

/* Drop-down */
.main-nav .drop-down>a {
  padding-right: 28px;
}

.main-nav .drop-down>a:after {
  content: "▾";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  opacity: .6;
  transition: transform 0.3s ease;
}

.main-nav .drop-down:hover>a:after {
  transform: translateY(-50%) rotate(180deg);
}

.main-nav .drop-down>ul {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .15);
  z-index: 9999;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.main-nav .drop-down:hover>ul {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.main-nav .drop-down ul li {
  margin: 2px 0;
}

.main-nav .drop-down ul li a {
  padding: 10px 16px;
  color: #4b5563;
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px;
}

.main-nav .drop-down ul li a:hover {
  background: #f0f4ff;
  color: #252584;
}

/* Mobile: keep Rapid's mobile-nav JS behavior — hide desktop nav */
@media (max-width: 991px) {
  .main-nav {
    display: none !important;
  }
}

/* =========================================================
   MOBILE NAVIGATION - Fixed sidebar with slide-in animation
   ========================================================= */

/* Mobile nav container - hidden off-screen left by default */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100vh;
  background: #fff;
  padding: 50px 0 0 0;
  overflow-y: auto;
  transition: left 0.3s ease;
  z-index: 9999;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

/* Mobile nav menu items */
.mobile-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav ul li {
  border-bottom: 1px solid #f0f3f8;
}

.mobile-nav ul li a {
  display: block;
  padding: 12px 20px;
  color: #273b56;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li.active>a {
  color: #252584;
  background: #f7f9fc;
}

/* Mobile nav drop-down */
.mobile-nav .drop-down>a {
  position: relative;
}

.mobile-nav .drop-down>a::after {
  content: "▾";
  font-size: 14px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.mobile-nav .drop-down.active>a::after {
  transform: translateY(-50%) rotate(-180deg);
}

.mobile-nav .drop-down>ul {
  display: none;
  background: #f7f9fc;
  padding: 8px 0;
  margin: 0;
  list-style: none;
}

.mobile-nav .drop-down.active>ul {
  display: block;
}

.mobile-nav .drop-down ul li {
  border-bottom: none;
}

.mobile-nav .drop-down ul li a {
  padding: 10px 20px 10px 40px;
  font-size: 14px;
  font-weight: 500;
  color: #5d6070;
}

.mobile-nav .drop-down ul li a:hover {
  color: #252584;
  background: #eef2f8;
}

/* Mobile nav toggle button - hamburger icon */
.mobile-nav-toggle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  width: 44px;
  height: 44px;
  background: #252584;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(31, 111, 209, 0.3);
}

.mobile-nav-toggle:hover {
  background: #1959cf;
  box-shadow: 0 6px 16px rgba(31, 111, 209, 0.4);
}

/* Overlay - darkens background when menu is open */
.mobile-nav-overly {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Active state - slide in the menu and show overlay */
body.mobile-nav-active .mobile-nav {
  left: 0;
}

body.mobile-nav-active .mobile-nav-overly {
  opacity: 1;
  visibility: visible;
}

/* Hide mobile nav elements on desktop */
@media (min-width: 992px) {

  .mobile-nav,
  .mobile-nav-toggle,
  .mobile-nav-overly {
    display: none !important;
  }
}

/* =========================================================
   3) Topbar alignment polish (keeps CTAs on same line as phone/email)
   ========================================================= */
#topbar .topbar-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
}

#topbar .topbar-item,
#topbar .topbar-cta {
  white-space: nowrap;
}

/* Ensure there’s no bullet on the right-side social list */
#topbar .social-links {
  display: inline-flex;
  gap: 12px;
}

#topbar .social-links a {
  text-decoration: none;
}

/* =========================================================
   4) Just in case any user agent styles reintroduce bullets anywhere
   ========================================================= */
.header-white ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ===== FAQ – Professional accordion ===== */
#faq {
  padding: 80px 0;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

#faq .section-header h3 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: .5px;
  color: #1f2937;
  margin-bottom: 16px;
  text-align: center;
}

#faq .section-header {
  margin-bottom: 48px;
  text-align: center;
}

#faq .section-header p {
  font-size: 18px;
  color: #6b7280;
  margin-top: 12px;
}

#faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

#faq-list li {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  transition: all 0.3s ease;
  overflow: hidden;
}

#faq-list li:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  transform: translateY(-2px);
}

#faq-list li a {
  display: block;
  position: relative;
  padding: 24px 64px 24px 24px;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 600;
  color: #1f2937;
  line-height: 1.5;
  text-decoration: none !important;
  transition: color 0.3s ease;
  background: transparent;
}

#faq-list li a:hover {
  color: #252584;
}

/* Hide the old inline icon and render a typographic +/– on the right */
#faq-list li a>i {
  display: none !important;
}

#faq-list li a:after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  line-height: 1;
  color: #252584;
  font-weight: 600;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* When open (Bootstrap removes .collapsed), show a minus and rotate */
#faq-list li a:not(.collapsed):after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
  color: #252584;
}

#faq-list li a:not(.collapsed) {
  color: #252584;
  border-bottom: 1px solid #e5e7eb;
}

/* Answer panel styling */
#faq-list .collapse {
  padding: 0 24px 24px 24px;
  background: #fff;
}

#faq-list .collapse p {
  font-size: 15px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 12px;
}

#faq-list .collapse p:last-child {
  margin-bottom: 0;
}

#faq-list .collapse li {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  padding: 8px 0;
}

#faq-list .collapse h5 {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

#faq-list .collapse ol,
#faq-list .collapse ul {
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 767px) {
  #faq {
    padding: 60px 0;
  }

  #faq-list li a {
    padding: 20px 56px 20px 20px;
  }

  #faq-list li a:after {
    right: 20px;
  }

  #faq-list .collapse {
    padding: 0 20px 20px 20px;
  }
}

/* ===== Testimonials Section ===== */
#testimonials {
  padding: 50px 0;
  background: #fff;
  overflow: hidden;
}

#testimonials .section-header {
  margin-bottom: 30px;
}

#testimonials .section-header h3 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #1f2937;
  text-align: center;
  margin-bottom: 12px;
}

.testimonials-carousel {
  margin: 0 auto;
  max-width: 800px;
}

.testimonial-item {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 20px;
  padding: 32px 28px;
  margin: 0 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-item:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, .12);
  transform: translateY(-5px);
}

.testimonial-item:before {
  content: '"';
  position: absolute;
  top: 24px;
  left: 32px;
  font-size: 80px;
  font-weight: 700;
  color: rgba(31, 111, 209, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-item p {
  font-size: 18px;
  line-height: 1.8;
  color: #374151;
  font-style: italic;
  margin: 0;
  position: relative;
  z-index: 1;
  text-align: center;
  font-weight: 500;
}

/* Owl Carousel custom styling */
.testimonials-carousel .owl-dots {
  text-align: center;
  margin-top: 24px;
}

.testimonials-carousel .owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #cbd5e1;
  border-radius: 50%;
  margin: 0 6px;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.testimonials-carousel .owl-dot.active {
  background: #252584;
  width: 32px;
  border-radius: 6px;
}

.testimonials-carousel .owl-dot:hover {
  background: #94a3b8;
}

/* Responsive */
@media (max-width: 767px) {
  #testimonials {
    padding: 40px 0;
  }

  .testimonial-item {
    padding: 36px 28px;
    margin: 0 8px;
  }

  .testimonial-item:before {
    font-size: 60px;
    top: 20px;
    left: 24px;
  }

  .testimonial-item p {
    font-size: 16px;
  }
}

/* ===== Fix: center icons in service/pricing cards ===== */
.ServicesCol .icon,
.PricingCol .icon,
.pricing-card .icon,
#services .box .icon,
#pricing .box .icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px auto !important;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.ServicesCol .icon i,
.PricingCol .icon i,
.pricing-card .icon i,
#services .box .icon i,
#pricing .box .icon i {
  font-size: 26px;
  line-height: 1;
}

/* If any card container had text-left, force center for the header area only */
.ServicesCol .title,
.PricingCol h4,
.pricing-card h4,
#pricing .box .title {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  color: #2e2f44;
}

/* ===== Pricing Section Styling ===== */
#pricing .row {
  display: flex;
  flex-wrap: wrap;
}

#pricing .row>[class*="col-"] {
  margin-bottom: 30px;
  display: flex;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

@media (max-width: 991px) {
  #pricing .row>[class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  #pricing .row>[class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

#pricing .box.ServicesCol {
  width: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#pricing .box.ServicesCol:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
}

#pricing .box .price {
  font-size: 32px;
  font-weight: 800;
  color: #252584;
  text-align: center;
  margin: 8px 0;
  line-height: 1.2;
}

#pricing .box .price small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;
  margin-top: 4px;
}

#pricing .box .sub {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

#pricing .box .description {
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

#pricing .box .description li {
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
  position: relative;
  padding-left: 24px;
}

#pricing .box .description li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
  font-size: 16px;
}

#pricing .box .cta {
  margin-top: 20px;
  text-align: center;
}

#pricing .box .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #252584;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(31, 111, 209, 0.25);
}

#pricing .box .btn-cta:hover {
  background: #1959cf;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 111, 209, 0.35);
  color: #fff;
}

/* --- Old pricing card CTA fix (keeping for compatibility) --- */
.pricing-card .card-body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pricing-card .icon-badge {
  margin: 0 auto 12px;
  /* keep icon perfectly centered */
}

.pricing-card .btn-cta {
  margin-top: auto;
  /* push CTA to the bottom of the card */
  align-self: center;
  /* center horizontally */
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: #13c1e5;
  /* your turquoise */
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(19, 193, 229, .25);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none !important;
}

.pricing-card .btn-cta:hover {
  background: #10acce;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(19, 193, 229, .32);
}

.pricing-card .btn-cta i {
  font-size: 14px;
  line-height: 0;
}

/* ====== BACK TO TOP BUTTON ====== */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  background: rgba(31, 111, 209, 0.9);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 9980;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(31, 111, 209, 0.2);
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
}

.back-to-top.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(25, 89, 207, 0.95);
  box-shadow: 0 4px 12px rgba(31, 111, 209, 0.3);
  transform: translateY(-2px);
  color: #fff;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.back-to-top:hover i {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 100px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}

.box .title a {
  color: #399CD4;
}