/* =========================================
   HEADER / NAVBAR
   ========================================= */

/* If you still use the contact strip (.bg_clr1) later, keep wrapper simple */
.top_main {
  position: relative;
  width: 100%;
  z-index: 20;
}

/* Hide the old light contact strip (like the reference site) */
.top_main .bg_clr1 {
  display: none;
}

/* Main nav row – sticky over hero */
.col_sm1.fix_nav.bg_clr6 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 60;
  background: transparent;
  box-shadow: none;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

/* Inner nav layout */
.col_sm1.fix_nav .top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.96),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0)
  );
  border-radius: 0 0 24px 24px;
  transition: background 0.25s ease, border-radius 0.25s ease;
}

/* Logo left */
.col_sm1.fix_nav .logo {
  margin-right: auto;
  display: flex;
  align-items: center;
}

.col_sm1.fix_nav .logo img {
  height: 80px;
  width: auto;
  display: block;
}

/* Right side (menu + pill) */
.col_sm1.fix_nav .top_right {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.col_sm1.fix_nav .navbarrr {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* When scrolled past hero – solid white bar */
.col_sm1.fix_nav.bg_clr6.nav-solid {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.col_sm1.fix_nav.bg_clr6.nav-solid .top {
  background: none;
  border-radius: 0;
}

/* Desktop vs mobile nav visibility */
@media (min-width: 901px) {
  .navbar5.m_dis_none { display: none !important; }
  .navbarrr.d_dis_yes { display: block !important; }
}

@media (max-width: 900px) {
  .col_sm1.fix_nav .top {
    padding: 14px 16px;
    border-radius: 0;
  }
  .navbarrr.d_dis_yes { display: none !important; }
  .navbar5.m_dis_none { display: block !important; }
}
/* ============================
   MOBILE NAVIGATION (navbar5)
   ============================ */

/* Show mobile nav only on small screens */
.navbar5 {
  display: none;
}

@media (max-width: 992px) {
  .navbarrr {           /* your desktop menu wrapper */
    display: none;
  }

  .navbar5 {
    display: block;
    position: relative;
    z-index: 900;
  }
}

/* Container */
.navbar5 header.dark {
  position: relative;
}

/* ===== HAMBURGER & CLOSE ICONS ===== */

.navbar5 .ic.menu,
.navbar5 .ic.close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
}

/* hamburger lines */
.navbar5 .ic.menu .line {
  display: block;
  height: 2px;
  width: 22px;
  margin: 7px auto;
  border-radius: 999px;
  background: #02294a;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* hide close icon by default */
.navbar5 .ic.close {
  display: none;
}

/*====== MENU PANEL ======*/

.navbar5 .main-nav {
  position: fixed;
  inset: 0;
  padding-top: 80px;              /* space for icon */
  background: rgba(2, 17, 34, 0.94);
  backdrop-filter: blur(12px);
  list-style: none;
  margin: 0;
  padding-left: 0;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* menu items */
.navbar5 .main-nav > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar5 .main-nav > li > a {
  display: block;
  padding: 14px 24px;
  font-size: 0.98rem;
  text-transform: capitalize;
  letter-spacing: 0.04em;
  color: #f5f7fb;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.navbar5 .main-nav > li > a span {
  display: inline-block;
}

/* hover / active */
.navbar5 .main-nav > li > a:hover,
.navbar5 .main-nav > li.active > a {
  background: rgba(255, 255, 255, 0.06);
  color: #4fd1c5;
  padding-left: 30px;
}

/* sub-menu (Products) */
.navbar5 .sub-menu-block {
  padding: 4px 0 10px 24px;
}

.navbar5 .sub-menu-lists {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.navbar5 .sub-menu-lists li a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: rgba(243, 246, 255, 0.85);
  text-decoration: none;
}

.navbar5 .sub-menu-lists li a:hover {
  color: #ffffff;
}

/* ====== OPEN STATE ======
   Your JS should add .nav-open to <header class="dark"> 
   when the menu is opened and remove it when closed.
*/
.navbar5 header.dark.nav-open .main-nav {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* toggle icons when open */
.navbar5 header.dark.nav-open .ic.menu {
  display: none;
}
.navbar5 header.dark.nav-open .ic.close {
  display: block;
}

/* Simple “X” shape for close icon */
.navbar5 .ic.close::before,
.navbar5 .ic.close::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 9px;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #f5f7fb;
  transform-origin: center;
}

.navbar5 .ic.close::before {
  transform: rotate(45deg);
}
.navbar5 .ic.close::after {
  transform: rotate(-45deg);
}

/* Optional: dim page behind when nav open */
body.nav-overlay-active {
  overflow: hidden;
}

/* =========================================
   DESKTOP MENU (cssmenu)
   ========================================= */

#cssmenu > ul {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

/* Top-level items */
#cssmenu > ul > li {
  position: relative;
}

#cssmenu > ul > li > a {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #222;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
  color: #000;
  opacity: 0.7;
}

/* Only the .nav-cta item is a black pill button */
#cssmenu > ul > li.nav-cta > a {
  padding: 8px 20px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#cssmenu > ul > li.nav-cta > a:hover {
  background: #111;
}

/* Dropdown menus */
#cssmenu ul ul {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  min-width: 220px;
  background: #ffffff;
  border-radius: 16px;
  padding: 10px 0;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.35);
  z-index: 9999;
}

#cssmenu > ul > li:hover > ul {
  display: block;
}

#cssmenu ul ul li {
  width: 100%;
}

#cssmenu ul ul li a {
  display: block;
  padding: 8px 18px;
  font-size: 13px;
  color: #444;
  white-space: nowrap;
}

#cssmenu ul ul li a:hover {
  background: #f5f5f5;
}

/* =========================================
   HERO BANNER (WOW Slider)
   ========================================= */

.banner {
  position: relative;
  height: 100vh;
  min-height: 440px;
  margin-top: 0 !important;
  overflow: hidden;
}

/* Slider full height */
#wowslider-container1 {
  width: 100%;
  height: 100%;
  margin: 0 !important;
  position: relative;
}

#wowslider-container1 .ws_images,
#wowslider-container1 .ws_images ul,
#wowslider-container1 .ws_images li {
  width: 100% !important;
  height: 100% !important;
}

#wowslider-container1 .ws_images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bottom white fade */
.banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    #ffffff 90%
  );
  pointer-events: none;
}

/* Center hero text vertically */
.banner .hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner .hero-content {
  text-align: center;
  padding: 0 1.5rem;
  max-width: 720px;
}

/* MAIN HERO HEADING WITH SOFT DARK HALO */
.banner .hero-content h1 {
  margin: 0 0 0.6rem;
  font-family: "DM Serif Text", system-ui, serif;
  font-size: clamp(2.6rem, 4.4vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #ffffff;

  /* SOFT CINEMATIC HALO AROUND TEXT */
  text-shadow:
    0 0 8px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(0, 0, 0, 0.65),
    0 0 38px rgba(0, 0, 0, 0.75);
}

/* Sub line (also with soft halo) */
.banner .hero-content p {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;

  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.55),
    0 0 14px rgba(0, 0, 0, 0.65);
}


@media (max-width: 600px) {
  .banner {
    height: 80vh;
  }
}

.banner .hero-content {
  animation: fadeup 0.9s ease-out both;
}

@keyframes fadeup {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FADE SLIDER ANIMATION */
#wowslider-container1 .ws_images ul {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

#wowslider-container1 .ws_images li {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  inset: 0;
  transition: opacity 1.1s ease-in-out;
}

#wowslider-container1 .ws_images li.active {
  opacity: 1;
}

/* =========================================
   WELCOME SECTION (.who)
   ========================================= */

.top2 .who {
  box-sizing: border-box;
}

/* First row spacing */
.top2 .who:first-of-type {
  padding-top: 60px;
}

/* Left image (desktop) */
.wel_mob_none.col_sm8.who {
  float: left;
  width: 44%;
  padding-right: 3%;
}

.wel_mob_none.col_sm8.who img {
  display: block;
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* Right text */
.col_sm88.who {
  float: left;
  width: 53%;
}

.col_sm88.who h1 {
  font-family: "DM Serif Text", system-ui, serif;
  font-size: clamp(2rem, 2.6vw, 2.3rem);
  color: #111827;
  margin-bottom: 8px;
}

.col_sm88.who .section-description {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 16px;
}

.col_sm88.who p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 10px;
}

/* Lower "core principles" text block */
.col_sm1.who {
  clear: both;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.col_sm1.who h5 {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 14px;
}

.col_sm1.who h5 strong {
  font-weight: 600;
  color: #111827;
}



/* =========================================
   STATS SECTION (75+ yrs, 500+ clients, etc.)
   ========================================= */


.stats-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
  text-align: center;
}

.stat-card {
  flex: 1 1 0;
  padding: 0 28px;
}

.stat-card:not(:last-child) {
  border-right: 1px solid #e5e7eb;
}

/* Hide previous icons (clean minimal style) */
.stat-card .stat-icon {
  display: none;
}

/* Big numbers */
.stat-card .stat-number {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  font-weight: 500;
  color: #111827;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

/* Labels */
.stat-card .stat-label {
  font-size: 0.9rem;
  color: #6b7280;
}

@media (max-width: 900px) {
  .stats-container {
    max-width: 600px;
    flex-wrap: wrap;
  }

  .stat-card {
    flex: 1 1 50%;
    margin-bottom: 24px;
    border-right: none;
  }

  .stat-card:nth-child(odd) {
    border-right: 1px solid #e5e7eb;
  }
}

@media (max-width: 600px) {
  .stats-container {
    max-width: 100%;
    flex-direction: column;
  }

  .stat-card {
    flex: 1 1 100%;
    border-right: none;
    padding: 10px 0;
  }

  .stat-card:nth-child(odd) {
    border-right: none;
  }
}

/* =========================
   STATS – MOBILE CENTER FIX
   ========================= */

@media (max-width: 600px) {

  .stats-container {
    margin: 0 auto !important;
    padding: 0 16px;
    align-items: center;
    text-align: center;
  }

  .stat-card {
    width: 100%;
    max-width: 320px;   /* keeps it visually centered */
    margin: 0 auto 20px;
    padding: 0;
  }

  .stat-card:last-child {
    margin-bottom: 0;
  }
}

/* =========================================
   OUR CORE VALUES
   ========================================= */

.values-section {
  padding: 80px 0;
  background: #ffffff;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 50px;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f3f4f6;
  border-radius: 20px;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 600;
  color: #111827;
  margin: 14px 0;
}

.section-description {
  font-size: 1rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}

.value-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 30px 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
  text-align: center;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  border-color: #d1d5db;
}

/* Icon circle */
.value-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon i {
  font-size: 22px;
  color: #ffffff;
}

/* Card text */
.value-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111827;
}

.value-card p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.65;
  max-width: 340px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .value-card {
    padding: 26px 18px;
  }
}

/* =========================================
   SERVICES (OWL CAROUSEL CARDS)
   ========================================= */

.services-section {
  padding: 80px 0 90px;
  background: #ffffff;
}

.services-section .top2.pro {
  max-width: 1180px;
  margin: 0 auto;
}

/* Header */
.services-header {
  text-align: center;
  margin-bottom: 40px;
}

.services-subtitle {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
  margin-bottom: 10px;
}

.services-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 600;
  color: #111827;
}

/* Carousel container */
.services-carousel {
  margin-top: 20px;
}

/* Card */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.18);
}

/* Image */
.service-image {
  position: relative;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
}

.service-image figure {
  margin: 0;
}

.service-image img {
  width: 100%;
  height: 230px;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

/* Zoom on hover */
.service-card:hover .service-image img {
  transform: scale(1.05);
}

/* Gradient overlay on hover */
.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.02),
    rgba(0, 0, 0, 0.35)
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover .service-image::after {
  opacity: 1;
}

/* Content */
.service-content {
  padding: 18px 20px 20px;
  text-align: left;
}

.service-content h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

/* Learn more pill */
.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #111827;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f3f4f6;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.learn-more-btn i {
  font-size: 0.85rem;
}

.service-card:hover .learn-more-btn {
  background: #111827;
  color: #ffffff;
  transform: translateX(2px);
}

/* Owl dots (if used) */
.services-section .owl-dots {
  margin-top: 22px;
}

.services-section .owl-dot span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d1d5db;
  margin: 4px;
}

.services-section .owl-dot.active span {
  width: 16px;
  background: #111827;
}

@media (max-width: 768px) {
  .service-image img {
    height: 210px;
  }
}

/* =========================================
   "WHAT CRC DOES AS YOUR BROKER" SECTION
   ========================================= */

.hero1 {
  background: #ffffff;
  padding: 80px 0 100px;
}

.hero1 .top2 {
  max-width: 1100px;
  margin: 0 auto;
  text-align: justify;
}

/* Round image */
.hero1 img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 25px;
  display: block;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Heading */
.hero1 h1 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #111827;
  margin-bottom: 36px;
  padding: 0 10px;
}

/* Paragraphs */
.hero1 .testi p {
  text-align: justify;
  font-size: 1rem;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 18px;
}

/* Remove old borders */
.hero1 .brd_left {
  border: none !important;
  padding: 0 !important;
}

/* Container */
.hero1 .col_sm9.testi {
  max-width: 850px;
  margin: 0 auto;
}

/* Bullet prefix */
.hero1 .testi p::before {
  content: "• ";
  color: #111827;
  font-weight: bold;
}

/* Divider below section */
.hero1::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 1100px;
  height: 1px;
  background: #e5e7eb;
  margin: 60px auto 0;
}

@media (max-width: 768px) {
  .hero1 img {
    width: 90px;
    height: 90px;
  }

  .hero1 .testi p {
    font-size: 0.96rem;
  }
}

//* ===========================
   INSURER LOGO STRIP – DUNA STYLE
   =========================== */

/* outer strip (your existing markup) */
.col_sm1 .top2.pro {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px 70px;
  text-align: center;
}

/* small grey heading "Insurer" (you already had something similar) */
.top2.pro > h1 {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8f8c8c;
  margin-bottom: 32px;
  text-align: center;
}

/* viewport for the marquee */
.col_sm1 .top2.pro .col_sm1 {
  overflow: hidden;
  position: relative;
}



.col_sm1 .top2.pro .col_sm1::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.col_sm1 .top2.pro .col_sm1::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

/* track with all logos */
#content-slider.content-slider {
  display: flex;
  align-items: center;
  gap: 70px;
  min-width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  /* animation is added via JS by toggling class .logo-marquee-ready */
}

#content-slider.content-slider li {
  flex: 0 0 auto;
}

/* logo card */
#content-slider .products_col_sm3 {
  width: 120px;
}

#content-slider img {
  width: 100%;
  height: 42px;
  object-fit: contain;
  display: block;

  opacity: 0.6;
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
  background: transparent;
}

#content-slider img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

/* animation */
#content-slider.logo-marquee-ready {
  animation: logo-marquee 80s linear infinite;
}

#content-slider.logo-marquee-ready:hover {
  animation-play-state: paused;
}

@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* mobile – a bit closer together */
@media (max-width: 640px) {
  #content-slider .products_col_sm3 {
    width: 90px;
  }

  #content-slider.content-slider {
    gap: 40px;
  }
}


/* =========================================
   CTA STRIP – EXPLORE / TALK TO ADVISOR
   ========================================= */

.hero-slider {
  position: relative;
  max-width: 1120px;
  margin: 40px auto 70px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

/* Background image area */
.hero-slider .slides {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.hero-slider .slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.85);
}

/* dark vignette overlay */
.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.45)
  );
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Content overlay */
.hero-slider .hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-slider .hero-content {
  pointer-events: auto;
  text-align: center;
}

/* Buttons */
.hero-slider .hero-buttons {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero-slider .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.9rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 500;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

/* Primary button */
.hero-slider .btn.primary {
  background: #111827;
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.5);
}

.hero-slider .btn.primary:hover {
  background: #000000;
  transform: translateY(-1px);
}

/* Secondary button */
.hero-slider .btn.secondary {
  background: #ffffff;
  color: #111827;
  border-color: rgba(209, 213, 219, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
}

.hero-slider .btn.secondary:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  transform: translateY(-1px);
}

/* Mobile layout */
@media (max-width: 640px) {
  .hero-slider {
    margin: 30px 16px 50px;
    border-radius: 22px;
  }

  .hero-slider .slides {
    height: 200px;
  }

  .hero-slider .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-slider .btn {
    width: 100%;
    max-width: 260px;
  }
}

/* =========================================
   FOOTER – WHITE MULTI-COLUMN
   ========================================= */

.bg_clr3 {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 60px 0 70px;
  color: #111827;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.bg_clr3 .top2 {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

/* Columns */
.ftr_txt2,
.ftr_txt3,
.ftr_txt {
  flex: 1 1 18%;
  min-width: 180px;
}

/* Headings */
.bg_clr3 h1 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
  margin-bottom: 16px;
}

/* Logo + intro text */
.ftr_txt2 img {
  width: 140px;
  height: auto;
  margin-bottom: 18px;
}

.ftr_txt2 p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #6b7280;
  text-align: justify;
}

/* Links list */
.ftr_menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ftr_menu ul li {
  margin-bottom: 8px;
}

.ftr_menu ul li a {
  font-size: 0.9rem;
  text-decoration: none;
  color: #111827;
  transition: color 0.18s ease, transform 0.18s ease;
}

.ftr_menu ul li a:hover {
  color: #000000;
  transform: translateX(3px);
}

/* Contact text */
.ftr_txt p,
.ftr_txt .link {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #4b5563;
  text-align: justify;
}

.ftr_txt .link:hover {
  color: #000000;
}

/* Map styling */
.ftr_txt iframe {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

/* Responsive footer columns */
@media (max-width: 900px) {
  .bg_clr3 .top2 {
    flex-direction: column;
    gap: 30px;
  }

  .ftr_txt2,
  .ftr_txt3,
  .ftr_txt {
    min-width: 100%;
  }
}

/* =========================================
   BOTTOM BLACK FOOTER BAR – CENTERED TEXT
   ========================================= */

.bg_clr5 {
  background: #038499;
  padding: 24px 0;
  color: #e5e7eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  text-align: center;
}

.bg_clr5 .top2 {
  max-width: 1200px;
  margin: 0 auto;
}

.ftr_lt_txt {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #ffffff;
  text-align: center;
  width: 100%;
}

/* Hide old right-aligned block */
.ftr_lt_txt.ftr_right {
  display: none;
}

/* Links inside text */
.ftr_lt_txt .link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.ftr_lt_txt .link:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .bg_clr5 {
    padding: 20px 0;
  }

  .ftr_lt_txt {
    font-size: 0.82rem;
  }
}
/* =========================
   NAV HOVER + UNDERLINE
   ========================= */

/* prepare for underline */
#cssmenu > ul > li > a {
  position: relative;
}

/* animated underline (except CTA) */
#cssmenu > ul > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: width 0.18s ease;
}

#cssmenu > ul > li:hover > a::after,
#cssmenu > ul > li.active > a::after {
  width: 18px;
}

/* do not show underline on CTA pill */
#cssmenu > ul > li.nav-cta > a::after {
  display: none;
}

/* =========================
   GLASSY DROPDOWN FOR MEGA ITEMS
   (Products, Login)
   ========================= */

#cssmenu > ul > li.mega-parent > ul {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 18px;
  padding: 12px 0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.6);
}

#cssmenu > ul > li.mega-parent > ul li a {
  color: #e5e7eb;
}

#cssmenu > ul > li.mega-parent > ul li a:hover {
  background: rgba(31, 41, 55, 0.95);
}

/* CTA pill micro motion */
#cssmenu > ul > li.nav-cta > a {
  transition: background 0.18s ease, box-shadow 0.18s ease,
              transform 0.15s ease;
}

#cssmenu > ul > li.nav-cta > a:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
/* Learn more arrow movement */
.learn-more-btn i {
  transition: transform 0.2s ease;
}

.service-card:hover .learn-more-btn i {
  transform: translateX(3px);
}

/* Slight "press" animation for hero CTA buttons */
.hero-slider .btn:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: none;
}
/* default already 35s from your animation; tweak per viewport */
@media (max-width: 768px) {
  .client-marquee #content-slider.marquee-animate {
    animation-duration: 25s;
  }
}

@media (min-width: 1200px) {
  .client-marquee #content-slider.marquee-animate {
    animation-duration: 40s;
  }
}
/* smoother scroll + better anchor offsets */
html {
  scroll-behavior: smooth;
}

/* when scrolled to by #hash links, keep them below the navbar */
.stats-section,
.values-section,
.services-section,
.hero1,
.client-marquee,
.who {
  scroll-margin-top: 110px;
}
/* =========================================
   SERVICES PAGE – BASE
   ========================================= */

body.services-page {
  background: #ffffff;
  color: #111827;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* Use same max-width framing as other new sections */
body.services-page .top2 {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* =========================================
   HERO BANNER (SHORT, LIKE DUNA)
   ========================================= */

/* Override home.css full-screen banner only on services page */
body.services-page .banner {
  position: relative;
  margin-top: 80px;          /* space under fixed nav */
  height: 320px;
  min-height: 260px;
  overflow: hidden;
}

body.services-page .banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Soft white fade at bottom */
body.services-page .banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    #ffffff 90%
  );
  pointer-events: none;
}

/* =========================================
   SECTION 1 – CRC SERVICES / 7-POINT APPROACH
   (Duna-style two-column block)
   ========================================= */

body.services-page .main_heading h1 {
  font-family: "DM Serif Text", system-ui, serif;
  font-size: clamp(2.2rem, 3vw, 2.6rem);
  text-align: left;
  margin: 0 0 28px;
  color: #111827;
}

/* Turn the first content block into a grid:
   left = text, right = card-like image */
body.services-page .main_heading + br + .col_sm1 {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

/* Left column (text) */
body.services-page .main_heading + br + .col_sm1 .messge {
  float: none;
  width: auto;
}

/* Heading "The 7-point CRC Approach" */
body.services-page .main_heading + br + .col_sm1 .messge h1 {
  font-family: "DM Serif Text", system-ui, serif;
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  line-height: 1.1;
  margin-bottom: 16px;
  color: #111827;
}

/* Paragraph list – make it look like clean numbered copy */
body.services-page .main_heading + br + .col_sm1 .messge p {
  font-size: 1rem;
  line-height: 1.8;
  color: #4b5563;
}

/* Right column image – soft card like Duna */
body.services-page .main_heading + br + .col_sm1 .who {
  float: none;
  width: auto;
  background: #f4f3ef;
  border-radius: 26px;
  padding: 26px 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

body.services-page .main_heading + br + .col_sm1 .who img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

/* Remove old clearfix layout impact in this block */
body.services-page .main_heading + br + .col_sm1 .clear {
  display: none;
}

/* Outer section spacing */
body.services-page .col_sm1:first-of-type {
  padding: 70px 0 60px;
}

/* =========================================
   SECTION 2 – CRC APPROACH (BG_IMG4)
   Duna-style: light background + two columns
   ========================================= */

body.services-page .bg_img4 {
  background: #f9fafb;       /* soft grey like Duna */
  padding: 70px 0 80px;
}

/* Two-column layout: image stack left, text right */
body.services-page .bg_img4 .top2 {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: flex-start;
}

/* Left imagery column – remove floats */
body.services-page .bg_img4 .who {
  float: none;
  width: auto;
}

body.services-page .bg_img4 .who img {
  width: 100%;
  display: block;
  border-radius: 22px;
  margin-bottom: 18px;
}

/* Right content column */
body.services-page .bg_img4 .crc {
  float: none;
  width: auto;
}

/* Heading */
body.services-page .bg_img4 .crc h1 {
  font-family: "DM Serif Text", system-ui, serif;
  font-size: clamp(2rem, 2.7vw, 2.3rem);
  line-height: 1.1;
  margin-bottom: 16px;
  color: #111827;
}

/* Body text */
body.services-page .bg_img4 .crc .body-text {
  font-size: 1rem;
  line-height: 1.9;
  color: #4b5563;
  margin-bottom: 18px;
}

/* Bold labels */
body.services-page .bg_img4 .crc .body-text strong {
  font-weight: 600;
  color: #111827;
}

/* Bullet list styled like Duna feature bullets */
body.services-page .bg_img4 .bullet2 ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.services-page .bg_img4 .bullet2 li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 0.96rem;
  color: #4b5563;
  line-height: 1.7;
}

body.services-page .bg_img4 .bullet2 li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 0;
  font-size: 1.1rem;
  line-height: 1.2;
  color: #111827;
}

/* Remove legacy spacing clears inside this section */
body.services-page .bg_img4 .clear {
  display: none;
}

/* =========================================
   RESPONSIVE TWEAKS
   ========================================= */

@media (max-width: 960px) {
  /* Stack hero and approach sections on smaller screens */
  body.services-page .main_heading + br + .col_sm1,
  body.services-page .bg_img4 .top2 {
    grid-template-columns: 1fr;
  }

  body.services-page .main_heading h1 {
    text-align: center;
  }

  body.services-page .main_heading + br + .col_sm1 .who {
    max-width: 420px;
    margin: 0 auto 10px;
  }
}

@media (max-width: 640px) {
  body.services-page .col_sm1:first-of-type {
    padding: 50px 0 50px;
  }

  body.services-page .bg_img4 {
    padding: 50px 0 60px;
  }
}
/* =========================
   SMOOTH DESKTOP DROPDOWN
   ========================= */

/* base state: hidden, but kept in flow for animation */
#cssmenu ul ul {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: #ffffff;
  border-radius: 16px;
  padding: 10px 0;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.35);
  z-index: 9999;

  /* make it always "there" so it can animate */
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}

/* when hovering parent li – fade + slide up */
#cssmenu > ul > li:hover > ul {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* dropdown item styles (keep as before, just here for completeness) */
#cssmenu ul ul li {
  width: 100%;
}

#cssmenu ul ul li a {
  display: block;
  padding: 8px 18px;
  font-size: 13px;
  color: #444;
  white-space: nowrap;
  text-decoration: none;
}

#cssmenu ul ul li a:hover {
  background: #f5f5f5;
}
/* =========================
   FOOTER SOCIAL ICONS
   ========================= */

.bg_clr3 .s_icon {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* remove old &nbsp; spacing if any */
.bg_clr3 .s_icon .link {
  margin: 0;
}

/* circle buttons */
.bg_clr3 .s_icon .link i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #f3f4f6;
  color: #111827;
  font-size: 15px;

  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* hover – subtle pop + brand-ish tint */
.bg_clr3 .s_icon .link:hover i {
  background: #111827;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25);
}

/* make sure they align nicely on small screens */
@media (max-width: 768px) {
  .bg_clr3 .s_icon {
    justify-content: flex-start;   /* or center if you prefer */
  }
}
/* ========================================
   HOME INTRO TEXT BLOCK (ALIGNMENT & SPACING)
   ======================================== */

.col_sm88.who {
  float: left;
  width: 53%;
  padding-left: 32px;
  box-sizing: border-box;
  text-align: left;           /* ensures ALL text is left aligned */
}

/* heading */
.col_sm88.who h1 {
  font-family: "DM Serif Text", system-ui, serif;
  font-size: clamp(2rem, 2.6vw, 2.3rem);
  color: #111827;
  margin: 0 0 8px;
  text-align: left;
  letter-spacing: -0.5px;
}

/* tagline line */
.col_sm88.who p:first-of-type {
  font-style: italic;
  color: #6b7280;
  margin: 0 0 18px;
}

/* normal paragraphs */
.col_sm88.who p {
  font-size: 1rem;
  line-height: 1.82;
  color: #374151;
  margin: 0 0 16px;          /* equal spacing between each para */
  text-align: justify;       /* clean block alignment like your screenshot */
  text-justify: inter-word;  /* reduce uneven spacing between words */
}

/* spacing fix for last paragraph */
.col_sm88.who p:last-of-type {
  margin-bottom: 0;
}




/* ============================
   FOOTER LAYOUT TWEAKS
   ============================ */

/* keep all footer columns aligned at the top */
.bg_clr3 .top2 {
  align-items: flex-start;
}

/* first column (logo + intro text) – give it a nice readable width */
.ftr_txt2 {
  flex: 1 1 360px;
  max-width: 260px;           /* controls line length of the paragraph */
}

/* intro paragraph under the logo */
.ftr_txt2 p {
  margin: 0px 0 0;
  max-width: 340px;           /* keeps the text block neat */
  text-align: justify;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #4b5563;
}

/* make sure headings + link columns also stay left aligned */
.ftr_txt3,
.ftr_txt {
  text-align: left;
}
/* =========================
   MOBILE FIX – HOME INTRO
   ========================= */

@media (max-width: 768px) {

  /* text column */
  .col_sm88.who {
    float: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
    text-align: center;
  }

  /* heading */
  .col_sm88.who h1 {
    text-align: center;
  }

  /* tagline */
  .col_sm88.who p:first-of-type {
    text-align: center;
  }

  /* normal paragraphs */
  .col_sm88.who p {
    text-align: center;
  }

  /* image column (if any) */
  .col_sm img,
  .col_sm88 img {
    display: block;
    margin: 0 auto 16px;
  }
}
/* =====================================
   FOOTER – FORCE CENTER (MOBILE FIX)
   ===================================== */

@media (max-width: 900px) {

  /* Remove float system */
  .bg_clr3 .top2,
  .bg_clr3 .top2 * {
    float: none !important;
  }

  /* Stack all columns */
  .bg_clr3 .top2 {
    display: block !important;
    text-align: center !important;
  }

  .ftr_txt2,
  .ftr_txt3,
  .ftr_txt,
  .col_sm33,
  .col_sm1 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 28px !important;
    text-align: center !important;
  }

  /* Logo center */
  .ftr_txt2 img {
    display: block;
    margin: 0 auto 16px;
  }

  /* Paragraphs center */
  .ftr_txt2 p,
  .ftr_txt p {
    text-align: center !important;
  }

  /* Links center */
  .ftr_menu ul {
    padding: 0;
    margin: 0;
  }

  .ftr_menu ul li {
    display: block;
  }

  .ftr_menu ul li a {
    display: inline-block;
  }

  /* Map center */
  .ftr_txt iframe {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 360px;
  }
}
/* =========================================
   WELCOME SECTION – HIDE IMAGE ON MOBILE
   ========================================= */

@media (max-width: 768px) {

  /* Hide left image column */
  .wel_mob_none.col_sm8.who {
    display: none !important;
  }

  /* Make text full width */
  .col_sm88.who {
    width: 100% !important;
    float: none !important;
  }

  /* Center text nicely */
  .col_sm88.who h1,
  .col_sm88.who .section-description,
  .col_sm88.who p {
    text-align: center;
  }

  /* Reduce top spacing */
  .top2 .who:first-of-type {
    padding-top: 30px;
  }
}
/* Mobile footer logo text fix */
@media (max-width: 768px) {
  .ftr_txt2 {
    text-align: center;
  }

  .ftr_txt2 img {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .ftr_txt2 p {
    text-align: center;   /* 👈 main fix */
    max-width: 90%;
    margin: 0 auto;
  }
}
/* =========================================
   MOBILE HERO FIX – PRODUCTS PAGE
   ========================================= */

@media (max-width: 600px) {

  /* HERO HEIGHT FIX */
  .banner {
    height: 220px !important;
    min-height: 220px !important;
  }

  /* WOW slider images fix */
  #wowslider-container1,
  #wowslider-container1 .ws_images,
  #wowslider-container1 .ws_images ul,
  #wowslider-container1 .ws_images li {
    height: 220px !important;
  }

  /* IMAGE SHOULD FILL PROPERLY */
  #wowslider-container1 .ws_images img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
  }

  /* REMOVE CENTER TEXT OVER IMAGE (MOBILE) */
  .banner .hero-overlay {
    display: none !important;
  }

  /* HEADING BLOCK BELOW IMAGE */
  body.products-page .main_heading {
    padding-top: 24px;
    text-align: center;
  }

  body.products-page .main_heading h1 {
    font-size: 2rem;
    text-align: center;
  }

  body.products-page .main_heading p {
    margin: 0 auto;
    text-align: center;
    padding: 0 14px;
  }
}
