<!-- CRSIF Header (Sticky) + Logo + Mobile Drawer -->
<style>
/* ===== Brand tokens (optional) ===== */
:root{
  --crsif-navy:#0B1D3A;
  --crsif-teal:#00C9FF;
  --crsif-white:#ffffff;

  /* header heights */
  --top-h: 44px;   /* desktop top bar */
  --nav-h: 88px;   /* desktop main bar */
}

/* =========================================
   DESKTOP: fixed top bar + fixed main bar
   ========================================= */
.main-header-one__top{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10001;
  height: var(--top-h);
  display: flex; align-items: center;
  background: #1f2326; color: var(--crsif-white);
  padding: 0 !important;
}

.main-header-one__bottom{
  position: fixed;
  top: var(--top-h); left: 0; right: 0;
  z-index: 10000;
  height: var(--nav-h);
  min-height: var(--nav-h);
  display: flex; align-items: center;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* push page below fixed bars (desktop) */
body{ padding-top: calc(var(--top-h) + var(--nav-h)); }

/* logo sizing + centering */
.logo-box-one,
.main-header-one__bottom-left{ display:flex; align-items:center; }

.logo-box-one img{
  height: 56px;   /* stable desktop height */
  width: auto;
  display: block;
}

/* desktop menu layout */
@media (min-width: 993px){
  .main-menu__list{ display:flex; gap:20px; align-items:center; }
}

/* link polish (both) */
.main-menu__list > li > a{
  color:#222; font-weight:600;
}
.main-menu__list > li > a:hover,
.main-menu__list > li > a:focus{
  color: var(--crsif-teal); outline:none;
}

/* kill theme's sticky clone (we're already fixed) */
.stricky-header{ display:none !important; }

/* =========================================
   MOBILE: compact header + use drawer only
   ========================================= */
@media (max-width: 992px){
  /* remove top bar on phones to save space */
  .main-header-one__top{ display:none !important; }

  /* main bar sits at the very top */
  .main-header-one__bottom{
    top: 0;
    height: 64px;
    min-height: 64px;
  }

  /* page offset for mobile header only */
  body{ padding-top: 64px; }

  /* smaller logo */
  .logo-box-one img{ height: 44px; }

  /* use the theme's hamburger drawer, not desktop list */
  .mobile-nav__toggler{
    display:inline-flex !important;
    font-size:26px;
    padding:8px 12px;
    color:#222;
  }
  .main-menu__list{ display:none !important; }          /* hide desktop menu on phones */

  /* prevent any hover dropdown attempts on phones */
  .menu-item-has-children:hover > .sub-menu{ display:none !important; }

  /* drawer on top of everything */
  .mobile-nav__wrapper{ z-index: 100000 !important; }
}

/* Accessibility */
:focus-visible{ outline:3px solid var(--crsif-teal); outline-offset:2px; }


/* ========= Mobile drawer FIX (place at the very end) ========= */
@media (max-width: 992px){

  /* 1) Hide desktop list only in the fixed header */
  .main-header-one__bottom .main-menu__list{
    display: none !important;
  }

  /* 2) Show and style the list inside the drawer */
  .mobile-nav__container .main-menu__list{
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 8px 0;
  }
  .mobile-nav__container .main-menu__list > li{
    width: 100%;
  }
  .mobile-nav__container .main-menu__list > li > a,
  .mobile-nav__container .submenu-toggle{
    display: block;
    width: 100%;
    color: #222 !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    padding: 12px 16px !important;
  }

  /* Optional: submenu look inside drawer */
  .mobile-nav__container .sub-menu{
    position: static !important;
    display: block !important;     /* let theme JS handle show/hide if it wants */
    background: rgba(0,0,0,.04);
    border-radius: 6px;
    margin: 0 8px 8px;
    padding: 6px 8px;
    box-shadow: none;
  }
  .mobile-nav__container .sub-menu a{
    color: #222 !important;
    padding: 10px 12px !important;
    border-radius: 6px;
  }

  /* 3) Make the drawer panel clearly white with dark text */
  .mobile-nav__content{
    background: #fff !important;
    color: #222 !important;
    padding: 40px 24px;
  }
  .mobile-nav__content a{ color:#222 !important; }

  /* 4) Ensure drawer overlays everything */
  .mobile-nav__wrapper{ z-index: 100000 !important; }
}


/* =========================
   MOBILE DRAWER – final polish
   ========================= */
@media (max-width: 992px){

  /* Layout: make list full-width, tidy spacing */
  .mobile-nav__content{
    background:#fff !important;
    color:#222 !important;
    padding: 32px 20px 40px;
  }
  .mobile-nav__container .main-menu__list{
    display:flex !important;
    flex-direction:column;
    align-items:stretch;         /* <-- full width items */
    gap: 2px;                    /* small vertical rhythm */
    margin:0; padding:0;
    width:100%;
  }
  .mobile-nav__container .main-menu__list > li{
    list-style:none;
    width:100%;
  }
  .mobile-nav__container .main-menu__list > li > a,
  .mobile-nav__container .submenu-toggle{
    display:block;
    width:100%;
    padding: 14px 14px !important;
    font-size:18px !important;
    line-height:1.3 !important;
    color:#1d1d1f !important;
    border-radius:10px;
    text-align:left;
    touch-action: manipulation;
  }
  .mobile-nav__container .main-menu__list > li > a:focus,
  .mobile-nav__container .main-menu__list > li > a:hover{
    background:#f2f4f7;
  }

  /* Submenus: no hover logic; keep steady, no animation */
  .mobile-nav__container .sub-menu{
    position:static !important;
    display:block !important;          /* always visible in drawer */
    margin: 6px 0 10px 0;
    padding: 8px;
    border-radius:10px;
    background:#f6f7f9;
    box-shadow:none !important;
    transition:none !important;        /* kill any slide/opacity transitions */
  }
  .mobile-nav__container .sub-menu a{
    padding:10px 12px !important;
    color:#1d1d1f !important;
    border-radius:8px;
  }
  .mobile-nav__container .sub-menu a:hover,
  .mobile-nav__container .sub-menu a:focus{
    background:#e9eef5;
  }

  /* STOP the desktop hover rule from fighting in the drawer */
  .mobile-nav__container .menu-item-has-children:hover > .sub-menu,
  .mobile-nav__container .menu-item-has-children:focus-within > .sub-menu{
    display:block !important;   /* fixed state; no toggling on hover */
  }

  /* Hide the desktop list in the fixed header (keep just the hamburger) */
  .main-header-one__bottom .main-menu__list{ display:none !important; }

  /* Make sure the drawer sits on top of everything */
  .mobile-nav__wrapper{ z-index:100000 !important; }
}


/* ==============================
   CRSIF Footer Design Enhancement
   ============================== */
.footer-area {
  background: #0B1D3A; /* Deep CRSIF navy */
  color: #f4f6f8;
  position: relative;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

.footer-area h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.8rem;
  letter-spacing: 0.3px;
}

.footer-area p,
.footer-area a {
  color: #cfd8e3;
  font-size: 0.95rem;
  line-height: 1.5;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-area a:hover {
  color: #00C9FF; /* CRSIF teal accent */
}

/* Hover underline sweep */
.footer-area a {
  position: relative;
}
.footer-area a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00C9FF, #E31C23);
  transition: width 0.35s ease-in-out;
}
.footer-area a:hover::after {
  width: 100%;
}

/* Footer Widgets */
.single-footer-widget {
  margin-bottom: 2rem;
}

.footer-widget-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-widget-links ul li {
  margin-bottom: 0.4rem;
}

.footer-widget-links ul li a::before {
  content: "› ";
  color: #E31C23; /* CRSIF red accent */
}

/* Newsletter box */
.footer-newsletter input[type="email"] {
  background: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  width: 100%;
  color: #121212;
  font-size: 0.9rem;
}

.footer-newsletter button.btn-one {
  background: linear-gradient(90deg, #00C9FF, #E31C23);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  color: #ffffff;
  padding: 10px 16px;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(0, 201, 255, 0);
  transition: all 0.35s ease;
}

.footer-newsletter button.btn-one:hover {
  box-shadow: 0 0 12px rgba(0, 201, 255, 0.6);
  opacity: 0.95;
}

/* Social Icons */
.footer-area ul li a i {
  font-size: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.footer-area ul li a i:hover {
  background: linear-gradient(90deg, #00C9FF, #E31C23);
  color: #0B1D3A;
  box-shadow: 0 0 8px rgba(0, 201, 255, 0.6);
  transform: translateY(-2px);
}

/* Footer Bottom Bar */
.footer-bottom {
  background: #09152B;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  color: #cfd8e3;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #00C9FF;
  position: relative;
}
.footer-bottom a:hover {
  color: #E31C23;
}
.footer-bottom a::after {
  background: none; /* disable underline for small footer links */
}

/* Responsive */
@media (max-width: 768px) {
  .footer-newsletter .d-flex {
    flex-direction: column;
    gap: 10px;
  }

  .footer-newsletter button.btn-one {
    width: 100%;
  }

  .footer-area h3 {
    margin-top: 1rem;
  }

  .footer-bottom {
    text-align: center;
  }
}


/* ==============================
   CRSIF Header / Navigation Polish
   (visuals only; no behavior changes)
   ============================== */

:root{
  --crsif-navy:#0B1D3A;
  --crsif-red:#E31C23;
  --crsif-teal:#00C9FF;
  --crsif-text:#121212;
  --crsif-white:#fff;
}

/* Bar backgrounds + subtle shadow to match footer tone */
.main-header-one__top{
  background: #1f2326;
  color: var(--crsif-white);
}
.main-header-one__bottom{
  background: var(--crsif-white);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  z-index: 10000; /* stays above slider */
}

/* Logo sizes (prevents “jumping”) */
.logo-box-one img{
  display:block;           /* removes baseline gap */
  height:56px;             /* desktop */
  width:auto;
}
@media (max-width: 992px){
  .logo-box-one img{ height:44px; }
}

/* Primary nav links */
.main-menu__list > li > a,
.main-menu__list > li > .submenu-toggle{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:14px 10px;
  font-weight:600;
  color:#1a1f36;
  text-decoration:none;
  transition:color .25s ease;
}

/* Active/hover/focus colors */
.main-menu__list > li > a.current,
.main-menu__list > li > a:hover,
.main-menu__list > li > a:focus,
.main-menu__list > li > .submenu-toggle:hover,
.main-menu__list > li > .submenu-toggle:focus{
  color:var(--crsif-navy);
  outline:none;
}

/* Animated underline sweep (teal?red) */
.main-menu__list > li > a::after,
.main-menu__list > li > .submenu-toggle::after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:6px;
  height:2px;
  width:0;
  margin:auto;
  background:linear-gradient(90deg,var(--crsif-teal),var(--crsif-red));
  border-radius:2px;
  transition:width .28s ease-in-out;
}
.main-menu__list > li > a:hover::after,
.main-menu__list > li > a:focus::after,
.main-menu__list > li > a.current::after,
.main-menu__list > li > .submenu-toggle:hover::after,
.main-menu__list > li > .submenu-toggle:focus::after{
  width:100%;
}

/* ===== Submenus (desktop hover / keyboard only) ===== */
.menu-item-has-children{ position:relative; }

.sub-menu{
  position:absolute;
  top:100%; left:0;
  min-width:260px;
  padding:8px;
  background:var(--crsif-white);
  color:var(--crsif-text);
  border-radius:10px;
  box-shadow:0 14px 32px rgba(0,0,0,.18);
  /* prevent “flicker” on hover by avoiding display:none */
  opacity:0;
  visibility:hidden;
  transform:translateY(6px) scale(.98);
  transform-origin:top;
  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility 0s linear .18s;
  pointer-events:none; /* avoid accidental hover loss */
  z-index: 2000;
}

.sub-menu a{
  display:block;
  padding:10px 12px;
  border-radius:8px;
  color:var(--crsif-text) !important;
  font-weight:500;
  line-height:1.3;
  text-decoration:none;
  transition:background .2s ease,color .2s ease;
}
.sub-menu a:hover,
.sub-menu a:focus{
  background:#F2F6FF;
  color:#0B1D3A !important;
  outline:none;
}

/* Show submenu on hover/focus (desktop/keyboard) */
@media (hover:hover) and (pointer:fine){
  .menu-item-has-children:hover > .sub-menu,
  .menu-item-has-children:focus-within > .sub-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0) scale(1);
    transition:
      opacity .18s ease,
      transform .18s ease,
      visibility 0s;
    pointer-events:auto;
  }
}

/* ===== Accessibility ===== */
:focus-visible{ outline:3px solid var(--crsif-teal); outline-offset:2px; }

/* ===== Mobile: rely on the drawer (theme) ===== */
@media (max-width: 992px){
  /* keep header compact; drawer handles the list */
  .main-menu__list{ display:none !important; }
  .mobile-nav__toggler{
    display:inline-flex !important;
    font-size:26px;
    padding:8px 12px;
    color:#222;
  }

  /* Improve mobile drawer look without breaking logic */
  .mobile-nav__wrapper{ z-index:100000 !important; }
  .mobile-nav__content{
    background:#fff;
    color:#222;
  }
  .mobile-nav__content a{
    color:#222;
    font-weight:600;
  }
  .mobile-nav__content a:hover{ color:var(--crsif-teal); }
}

/* ==============================
   CRSIF Footer Mobile Spacing Fix
   ============================== */
@media (max-width: 768px) {

  /* Remove extra gap between footer columns */
  .footer .row > [class*="col-"] {
    margin-bottom: 0.8rem !important; /* tighter vertical rhythm */
  }

  /* Reduce padding between link groups */
  .single-footer-widget {
    margin-bottom: 1rem !important;
  }

  /* Make "Useful Links" and other lists tighter */
  .footer-widget-links ul li {
    margin-bottom: 0.25rem !important;
    line-height: 1.3 !important;
  }

  /* Prevent double spacing if lists stack */
  .footer-widget-links ul {
    margin-bottom: 0 !important;
  }

  /* Align headings and lists closer together */
  .single-footer-widget h3 {
    margin-bottom: 0.5rem !important;
  }

  /* Make sure no weird padding at bottom of footer */
  .footer-bottom {
    margin-top: 1rem !important;
    padding-top: 0.8rem !important;
  }
}

/* ===========================
   Footer Quick Links (CRSIF)
   =========================== */
.footer-quick{
  background: var(--crsif-navy, #0B1D3A);
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-quick__list{
  list-style: none;
  margin: 0;
  padding: 12px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr)); /* mobile: 2 cols */
  gap: .5rem .75rem;
}

.footer-quick__list a{
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 10px 12px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,.06);
  font-weight: 600;
  line-height: 1.2;
}

.footer-quick__list a:hover,
.footer-quick__list a:focus{
  background: rgba(255,255,255,.14);
  color: var(--crsif-teal, #00C9FF);
  outline: none;
}

.footer-quick__list i{
  font-size: 1rem;
  opacity: .9;
}

/* Desktop: 4 columns, a bit more padding */
@media (min-width: 768px){
  .footer-quick__list{
    grid-template-columns: repeat(4, minmax(0,1fr));
    padding: 16px 0;
  }
  .footer-quick__list a{
    padding: 12px 14px;
  }
}

@media (max-width: 768px){
  .footer .row > [class*="col-"]{ margin-bottom: .8rem !important; }
  .single-footer-widget{ margin-bottom: 1rem !important; }
  .single-footer-widget h3{ margin-bottom: .5rem !important; }
  .footer-widget-links ul{ margin-bottom: 0 !important; }
  .footer-widget-links ul li{ margin-bottom: .25rem !important; line-height: 1.3 !important; }
  .footer-bottom{ margin-top: 1rem !important; padding-top: .8rem !important; }
}


/* =========================
   CRSIF Footer polish
   ========================= */

/* Colors (adjust if your theme uses variables) */
:root{
  --footer-bg:#0B1D3A;      /* deep navy */
  --footer-fg:#E8EEF6;      /* light text */
  --footer-head:#FFFFFF;    /* headings */
  --footer-link:#FFFFFF;    /* links */
  --footer-link-hover:#00C9FF;
  --footer-accent:#E31C23;  /* red accent */
}

/* Base footer block */
.footer-area{
  background: var(--footer-bg);
  color: var(--footer-fg);
}
.footer a{ color: var(--footer-link); }
.footer a:hover,
.footer a:focus{ color: var(--footer-link-hover); text-decoration: none; }

/* Top footer spacing */
.footer{ padding: 56px 0 40px; }

/* Column titles */
.footer .title h3{
  color: var(--footer-head);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 14px;
}

/* Widgets & columns */
.single-footer-widget{ margin-bottom: 28px; }
.footer .row > [class*="col-"]{ margin-bottom: 28px; } /* ensure consistent stack gap */

/* Paragraphs under the logo */
.our-company-info__text p{
  margin: 12px 0 0;
  line-height: 1.55;
}

/* Lists: remove theme gaps/bullets and compact */
.footer-widget-links ul{
  margin: 0; padding: 0; list-style: none;
}
.footer-widget-links li{
  margin: 8px 0; line-height: 1.45;
}
.footer-widget-links li a{
  display: inline-flex; gap: 8px; align-items: center;
}
.footer-widget-links li a::before{
  content: "›";
  color: var(--footer-accent);
  font-weight: 700;
  transform: translateY(-1px);
}

/* Contact list with icons aligned */
.footer-widget--contact-info ul{ margin: 0; padding: 0; list-style: none; }
.footer-widget--contact-info li{
  display: flex; gap: 10px;
  margin: 10px 0;
}
.footer-widget--contact-info .icon{
  flex: 0 0 20px;
  display: flex; align-items: start; justify-content: center;
}
.footer-widget--contact-info .text p{ margin: 0; }

/* Social links row */
.footer .social-links{
  display: flex; gap: 12px; margin-top: 10px;
}
.footer .social-links a{
  width: 36px; height: 36px; display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.footer .social-links a:hover{ background: rgba(0,201,255,0.18); }

/* Bottom strip */
.footer-bottom{
  background: rgba(0,0,0,0.18);
  color: var(--footer-fg);
}
.footer-bottom .bottom-inner{ padding: 14px 0; }
.footer-bottom .copyright p{ margin: 0; font-size: 14px; }

/* ========== Mobile tightening (= 767px) ========== */
@media (max-width: 767.98px){
  .footer{ padding: 36px 0 28px; }
  .single-footer-widget,
  .footer .row > [class*="col-"]{ margin-bottom: 16px; } /* remove extra blank space */
  .footer .title h3{ font-size: 18px; margin-bottom: 10px; }
  .footer-widget-links li{ margin: 6px 0; }
  .footer-widget--contact-info li{ margin: 8px 0; }
  .footer .social-links a{ width: 34px; height: 34px; }
}

/* ========== Tablet (768–991px): keep tidy columns) ========== */
@media (min-width:768px) and (max-width:991.98px){
  .footer{ padding: 44px 0 32px; }
  .single-footer-widget{ margin-bottom: 20px; }
}



/* ========== CRSIF Header & Menu (sticky + compact) ========== */

/* default desktop header height */
:root { --header-h: 96px; }

/* top bar height polish */
.main-header-one__top { padding: 6px 0 !important; }

/* sticky header (menu visible while scrolling) */
.main-header-one__bottom{
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: #fff;
  min-height: var(--header-h);
  display: flex; align-items: center;
  padding: 0 !important; margin: 0 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* prevent content hiding behind header */
body { padding-top: var(--header-h); }

/* logo alignment / sizing */
.logo-box-one,
.main-header-one__bottom-left { display: flex; align-items: center; }
.logo-box-one img { max-height: 64px; width: auto; display: block; }

/* kill theme’s sticky clone (avoid duplicate bars / spacing) */


/* slider / hero should sit right under header */
.main-slider, .main-slider-one, .banner-area, .hero-section {
  margin-top: 0 !important; padding-top: 0 !important;
}

/* ===== Desktop navigation ===== */
@media (min-width: 993px){
  .main-menu__list { display: flex; gap: 18px; align-items: center; }
  .main-menu__list > li > a { padding: 18px 10px !important; line-height: 1.2 !important; }

  .menu-item-has-children { position: relative; }
  .sub-menu{
    position: absolute; top: 100%; left: 0;
    min-width: 260px; background: #fff; border-radius: 10px;
    box-shadow: 0 12px 24px rgba(0,0,0,.18);
    padding: 8px; display: none; z-index: 10000;
  }
  .menu-item-has-children:hover > .sub-menu{ display: block; }
  .sub-menu a{
    display: block; padding: 10px 12px; border-radius: 8px; color: #222 !important;
  }
  .sub-menu a:hover{ background: #F2F6FF; }
}

/* ===== Mobile header + menu ===== */
@media (max-width: 992px){
  /* shorter header on mobile */
  :root { --header-h: 72px; }
  .main-header-one__bottom{ min-height: var(--header-h); }

  .main-menu-box { width: 100%; }
  .main-menu__list{
    display: flex !important; flex-direction: column; align-items: stretch;
    gap: 0 !important; margin: 0 !important; padding: 8px 0 !important;
    text-align: left !important;
  }
  .main-menu__list > li{
    margin: 0 !important; padding: 0 !important; border: none !important; position: static !important;
  }
  .main-menu__list > li > a,
  .submenu-toggle{
    display: block; padding: 12px 16px !important;
    font-size: 18px !important; line-height: 1.25 !important;
    height: auto !important; background: transparent; color: #222 !important;
  }

  /* submenus act like accordions; JS should toggle .open */
  .sub-menu{
    position: static !important; display: none !important;
    margin: 0 12px 8px !important; padding: 6px 8px !important;
    border-radius: 8px; background: rgba(0,0,0,.04) !important; box-shadow: none !important;
  }
  .sub-menu.open { display: block !important; }
  .sub-menu a { color: #222 !important; padding: 10px 12px !important; border-radius: 6px; }

  /* keep logo from dropping on small screens */
  .logo-box-one img { max-height: 48px; }

  /* hide the phone block to avoid crowding */
  .main-header-one__bottom-right-number { display: none !important; }
}

/* smooth state change for any theme clones (if re-enabled) */
.stricked-menu { transition: all .3s ease; }

/* visible keyboard focus */
:focus-visible { outline: 3px solid #00C9FF; outline-offset: 2px; }


/* Stack the dark top bar ABOVE the sticky menu */
:root{
  --topbar-h: 44px;        /* tweak if your top bar is taller/shorter */
  /* --header-h is already defined in your current CSS */
}

.main-header-one__top{
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 10001;                 /* a bit above the menu */
  background: #1f2326;            /* keep your dark bar color */
  color: #fff;
  padding: 6px 0 !important;
}

/* Move the sticky menu down, right below the top bar */
.main-header-one__bottom{
  top: var(--topbar-h) !important;
  z-index: 10000;
}

/* Push the page content below BOTH bars */
body{
  padding-top: calc(var(--topbar-h) + var(--header-h)) !important;
}

/* Optional: on small screens, hide or unstick the top bar to save space */
@media (max-width: 992px){
  :root{ --topbar-h: 0px; }         /* no extra offset */
  .main-header-one__top{ display: none !important; }  /* hide top bar */
  .main-header-one__bottom{ top: 0 !important; }      /* menu at very top */
  body{ padding-top: var(--header-h) !important; }
}

/* =========================
   Back to Top Button (CRSIF)
   ========================= */

#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--footer-accent, #E31C23);
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.35s ease-in-out;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background: var(--footer-link-hover, #00C9FF);
  transform: translateY(-3px);
}

#backToTop:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  #backToTop {
    width: 44px;
    height: 44px;
    bottom: 18px;
    right: 18px;
    font-size: 18px;
  }
}


/* About Hero */
.about-hero{position:relative; padding:90px 0 70px;}
.about-hero__bg{position:absolute; inset:0; background-size:cover; background-position:center;}
.about-hero__overlay{position:absolute; inset:0; background:linear-gradient(180deg,rgba(11,29,58,.65),rgba(11,29,58,.35) 40%,rgba(11,29,58,.0));}
.about-hero__content{position:relative; color:#fff; max-width:900px;}
.about-hero__title{font-size:42px; line-height:1.15; margin:0 0 10px;}
.about-hero__subtitle{font-size:18px; opacity:.95; margin:0 0 18px;}
.about-hero__cta{display:flex; gap:12px; align-items:center; flex-wrap:wrap;}
.btn-one--alt{background:#fff !important; color:#0B1D3A !important;}
.btn-link{color:#00C9FF; text-decoration:none; font-weight:600}

/* Breadcrumb */
.breadcrumb-nav{position:relative; margin-bottom:16px}
.breadcrumb-list{list-style:none; margin:0; padding:0; display:flex; gap:8px; flex-wrap:wrap; color:#cfe3ff}
.breadcrumb-list li a{color:#cfe3ff; text-decoration:none}
.breadcrumb-list li+li::before{content:"/"; opacity:.6; margin:0 6px}

/* About Intro */
.about-intro .lead{font-size:18px; margin-bottom:18px}
.about-cards{display:grid; gap:14px; margin-top:12px}
.about-card{background:#F6F8FB; border-radius:12px; padding:16px 18px; box-shadow:0 2px 10px rgba(0,0,0,.05)}
.about-card h3{margin:0 0 6px; font-size:18px}

/* Panels + lists */
.about-panels{display:grid; gap:16px}
.about-panel{background:#fff; border-radius:12px; padding:16px 18px; box-shadow:0 2px 10px rgba(0,0,0,.05)}
.about-panel h3{margin:0 0 8px; font-size:18px}
.checklist, .arrow-list{list-style:none; margin:0; padding:0}
.checklist li{position:relative; padding-left:22px; margin:8px 0}
.checklist li::before{content:"?"; color:#00C9FF; position:absolute; left:0; top:0}
.arrow-list li{position:relative; padding-left:18px; margin:8px 0}
.arrow-list li::before{content:"›"; color:#E31C23; position:absolute; left:0; top:0; font-weight:700}

/* Stats */
.about-stats{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px}
.stat{background:#0B1D3A; color:#fff; border-radius:12px; padding:12px; text-align:center}
.stat__num{display:block; font-weight:800; font-size:18px}
.stat__label{display:block; font-size:12px; opacity:.85}

/* Responsiveness */
@media (max-width: 992px){
  .about-hero{padding:70px 0 56px}
  .about-hero__title{font-size:34px}
}


/* Features Section Enhancements */
.features-style1__single-content ul.features-list {
  margin-top: 10px;
  padding-left: 18px;
  list-style: none;
}
.features-style1__single-content ul.features-list li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 20px;
  line-height: 1.6;
}
.features-style1__single-content ul.features-list li::before {
  content: "?";
  color: #E31C23;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Section Title Centering */
.features-style1 .sec-title p.lead {
  max-width: 820px;
  margin: 0 auto 30px;
  font-size: 17px;
  color: #555;
}

/* Icon enhancements (optional) */
.features-style1__single-icon span {
  font-size: 42px;
  color: #E31C23;
}

/* Responsive adjustment */
@media (max-width: 992px) {
  .features-style1__single {
    margin-bottom: 20px;
  }
}


/* ===============================
   Programs Page – Hero/Banner
   =============================== */
.inner-hero {
  position: relative;
  overflow: hidden;
  min-height: 340px;            /* desktop height */
  display: flex;
  align-items: center;
}

.inner-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform: scale(1.02);
}

.inner-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,29,58,.70) 0%, rgba(11,29,58,.35) 60%, rgba(11,29,58,.25) 100%);
}

.inner-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 64px 0 56px;
  text-align: left;
}

.inner-hero__title {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  margin: 6px 0 10px;
  font-weight: 800;
}

.inner-hero__tagline {
  font-size: clamp(16px, 2vw, 18px);
  color: #e8eef6;
  margin: 0 0 18px;
  max-width: 880px;
}

/* CTA buttons (uses your .btn-one style; add a secondary) */
.inner-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-two {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 8px; font-weight: 700;
  background: rgba(255,255,255,.14); color: #fff; text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}
.btn-two:hover, .btn-two:focus { background: rgba(255,255,255,.24); transform: translateY(-1px); }

/* Breadcrumbs */
.breadcrumb-nav { margin-bottom: 8px; }
.breadcrumb-list {
  display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0;
  color: #cfd8e3; font-size: 14px;
}
.breadcrumb-list li { display: inline-flex; gap: 8px; align-items: center; }
.breadcrumb-list li + li::before { content: "/"; opacity: .7; }
.breadcrumb-list a { color: #cfe9ff; text-decoration: none; }
.breadcrumb-list a:hover { color: #00C9FF; }

/* Responsive tweaks */
@media (max-width: 992px){
  .inner-hero { min-height: 260px; }
  .inner-hero__content { padding: 48px 0 44px; }
}
@media (max-width: 576px){
  .inner-hero__cta { gap: 10px; }
}

/* ============ Six Pillars Card ============ */
.pillar-card{
  --card-bg:#E31C23;      /* base red */
  --card-fg:#ffffff;
  --bullet:#ffffff;
  --shadow:0 10px 24px rgba(0,0,0,.18);

  position: relative;
  display: block;
  border-radius: 16px;
  background: var(--card-bg);
  color: var(--card-fg);
  padding: 22px 22px 26px;
  box-shadow: none;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.pillar-card--red{ --card-bg:#E31C23; }
.pillar-card--navy{ --card-bg:#0B1D3A; }
.pillar-card--teal{ --card-bg:#00A9D6; }

/* Icon chip */
.pillar-card__icon{
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: inline-flex; align-items:center; justify-content:center;
  margin: 2px 0 12px;
}
.pillar-card__icon i{ font-size: 28px; color: #fff; }

/* Title & lead text */
.pillar-card__title{
  margin: 0 0 8px;
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--card-fg);
}
.pillar-card__lead{
  margin: 0 0 12px;
  color: #fff;
  line-height: 1.5;
}

/* Features list */
.pillar-card__features{
  list-style: none; margin: 0; padding: 0;
  color: var(--card-fg);
  line-height: 1.45;
  /* START: default 60% opacity for desktop (we'll override on hover & mobile) */
  opacity: .6;
  transition: opacity .2s ease;
}
.pillar-card__features li{
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
}
.pillar-card__features li::before{
  content: "?"; /* swap for icon if desired */
  position: absolute; left: 0; top: .2em;
  font-size: .75em;
  color: var(--bullet);
  opacity: .9;
}

/* Desktop hover/focus effects only */
@media (hover:hover) and (pointer:fine){
  .pillar-card:hover,
  .pillar-card:focus-within{
    transform: translateY(-6px);
    box-shadow: var(--shadow);
  }
  .pillar-card:hover .pillar-card__features,
  .pillar-card:focus-within .pillar-card__features{
    opacity: 1;
  }
}

/* Touch screens: always show features at full opacity (no hover trap) */
@media (hover:none), (max-width: 992px){
  .pillar-card__features{ opacity: 1; }
}

/* Motion sensitivity */
@media (prefers-reduced-motion: reduce){
  .pillar-card{ transition: none; }
  .pillar-card__features{ transition: none; }
}


/* ===== Pillar / Program card reset & hover ===== */
.pillar-card {
  --crsif-red: #E31C23;
  --crsif-red-dark: #C6181E;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --surface: #ffffff;

  position: relative;
  background: var(--surface);
  color: var(--text-dark);
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
  padding: 28px 24px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

/* kill any theme rule that forces red by default */
.features-style1__single.pillar-card,
.features-style1__single.pillar-card * {
  background: transparent !important;
}

/* icon badge (top-left) */
.pillar-card__badge {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(227,28,35,.1);
  color: var(--crsif-red);
  margin-bottom: 14px;
  transition: background .25s ease, color .25s ease;
}

/* heading & intro */
.pillar-card h3 {
  margin: 6px 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 700;
}
.pillar-card .lead {
  margin: 0 0 10px;
  color: var(--text-dark);
  font-weight: 600;
}

/* checklist */
.pillar-card ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.pillar-card li {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 8px 0;
}
.pillar-card li::before{
  content:"\f00c"; /* fa-check */
  font-family:"Font Awesome 5 Free";
  font-weight:900;
  color: var(--crsif-red);
}

/* hover / focus: turn the card red and invert text */
.pillar-card:where(:hover,:focus-within) {
  background: linear-gradient(180deg, var(--crsif-red), var(--crsif-red-dark));
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(227,28,35,.35);
}
.pillar-card:where(:hover,:focus-within) .pillar-card__badge {
  background: rgba(255,255,255,.16);
  color: #fff;
}
.pillar-card:where(:hover,:focus-within) .lead,
.pillar-card:where(:hover,:focus-within) h3,
.pillar-card:where(:hover,:focus-within) li {
  color: #fff;
}
.pillar-card:where(:hover,:focus-within) li::before {
  color: #fff;
}

/* prefers-reduced-motion: minimize movement */
@media (prefers-reduced-motion: reduce) {
  .pillar-card { transition: none; }
}


/* ===== Inner Hero (Programs) ===== */
.inner-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  color: #fff;
  overflow: hidden;
}

.inner-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: translateZ(0);
  z-index: -2;
}

/* Stronger readability: darker at top, softer at bottom */
.inner-hero__overlay {
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(7, 15, 30, 0.70) 0%,
    rgba(7, 15, 30, 0.55) 35%,
    rgba(7, 15, 30, 0.35) 65%,
    rgba(7, 15, 30, 0.25) 100%
  );
  /* slight blur for busy photos (optional) */
  backdrop-filter: saturate(110%) blur(1.5px);
}

.inner-hero__content {
  max-width: 920px; /* keeps lines readable */
}

/* Breadcrumbs */
.breadcrumb-nav { margin-bottom: 14px; }
.breadcrumb-list {
  display: flex; gap: .5rem; align-items: center;
  padding: 0; margin: 0; list-style: none;
  font-size: .95rem; color: rgba(255,255,255,.85);
}
.breadcrumb-list a {
  color: rgba(255,255,255,.95); text-decoration: none;
}
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list li + li::before {
  content: "/"; opacity: .7; margin-right: .5rem;
}

/* Title & tagline */
.inner-hero__title {
  margin: 4px 0 8px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-size: clamp(28px, 5vw, 48px);
  color: #fff;
}
.inner-hero__tagline {
  margin: 0 0 18px;
  color: rgba(255,255,255,.88);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.45;
}

/* CTA buttons */
.inner-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-one, .btn-two {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 12px;
  font-weight: 700; line-height: 1.1; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

/* Primary: red on light pill */
.btn-one {
  background: #E31C23; color: #fff;
  box-shadow: 0 6px 20px rgba(227,28,35,.28);
}
.btn-one:hover,
.btn-one:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(227,28,35,.36);
}

/* Secondary: frosted pill with clear label */
.btn-two {
  background: rgba(255,255,255,.18);
  color: #111827;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255,255,255,.28);
}
.btn-two .txt { color: #fff; } /* keep text white for contrast */
.btn-two:hover,
.btn-two:focus-visible {
  background: rgba(255,255,255,.28);
  transform: translateY(-1px);
}

/* Compact on phones */
@media (max-width: 600px) {
  .breadcrumb-list { font-size: .9rem; }
  .inner-hero__cta { gap: 10px; }
  .btn-one, .btn-two { width: 100%; text-align: center; }
}
/* =============== CRSIF Pillars Section =============== */
.crsif-pillars-section{
  background:#f8fafc;
  padding:80px 0;
}

.crsif-pillars-section .sec-title .sub-title{
  display:inline-block;
  font-weight:700;
  font-size:.9rem;
  color:#E31C23;
  text-transform:uppercase;
  letter-spacing:1.5px;
}

.crsif-pillars-section .sec-title h2{
  font-weight:800;
  color:#0B1D3A;
  margin-bottom:10px;
}

.crsif-pillars-section .sec-title .lead{
  max-width:720px;
  margin:0 auto 40px;
  font-size:1.1rem;
  color:#444;
}

/* ---------- Card layout + premium hover ---------- */
.pillar-card{
  position:relative;
  background:#fff;
  border-radius:16px;
  padding:28px 26px;
  height:100%;
  border:1px solid rgba(0,0,0,.05);
  box-shadow:0 2px 8px rgba(0,0,0,.05);
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  overflow:hidden; /* for sheen overlay */
  will-change:transform;
}

/* sheen overlay */
.pillar-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, rgba(0,201,255,.10), rgba(227,28,35,.10));
  opacity:0;
  transition:opacity .35s ease;
  pointer-events:none;
}

/* top gradient glow line */
.pillar-card::before{
  content:"";
  position:absolute;
  left:10%;
  right:10%;
  top:0;
  height:3px;
  background:linear-gradient(90deg,#00C9FF,#E31C23);
  border-radius:3px;
  opacity:.0;
  transform:translateY(-6px);
  transition:opacity .35s ease, transform .35s ease;
}

.pillar-card:hover,
.pillar-card:focus-within{
  transform:translateY(-8px);
  box-shadow:0 10px 26px rgba(0,0,0,.14);
  border-color:#00C9FF;
}
.pillar-card:hover::after,
.pillar-card:focus-within::after{ opacity:1; }
.pillar-card:hover::before,
.pillar-card:focus-within::before{ opacity:1; transform:translateY(0); }

/* Icon badge */
.pillar-icon{
  width:54px; height:54px;
  background:linear-gradient(90deg,#00C9FF,#E31C23);
  color:#fff;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:22px;
  margin-bottom:18px;
  box-shadow:0 4px 10px rgba(0,201,255,.2);
  transition:transform .35s ease;
}
.pillar-card:hover .pillar-icon{ transform:translateY(-2px) rotate(-2deg); }

/* Typography */
.pillar-card h3{
  font-weight:700;
  color:#0B1D3A;
  font-size:1.15rem;
  margin-bottom:10px;
}
.pillar-card p{
  color:#444;
  font-size:.95rem;
  line-height:1.6;
}

/* Accessible focus */
.pillar-card:focus-within{
  outline:none;
}
.pillar-card a, .pillar-card button{ outline:none; }
.pillar-card a:focus-visible, .pillar-card button:focus-visible{
  box-shadow:0 0 0 3px rgba(0,201,255,.35);
  border-radius:10px;
}

/* Subtle pop-in on first view (motion-safe) */
@keyframes crsif-pop-in{
  from { opacity:0; transform:translateY(12px) scale(.98); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}
.pillar-card{ animation:crsif-pop-in .5s ease both; }
.row .col-md-6:nth-child(1) .pillar-card{ animation-delay:.00s; }
.row .col-md-6:nth-child(2) .pillar-card{ animation-delay:.05s; }
.row .col-md-6:nth-child(3) .pillar-card{ animation-delay:.10s; }
.row .col-md-6:nth-child(4) .pillar-card{ animation-delay:.15s; }
.row .col-md-6:nth-child(5) .pillar-card{ animation-delay:.20s; }
.row .col-md-6:nth-child(6) .pillar-card{ animation-delay:.25s; }
.row .col-md-6:nth-child(7) .pillar-card{ animation-delay:.30s; }
.row .col-md-6:nth-child(8) .pillar-card{ animation-delay:.35s; }
.row .col-md-6:nth-child(9) .pillar-card{ animation-delay:.40s; }
.row .col-md-6:nth-child(10) .pillar-card{ animation-delay:.45s; }

@media (prefers-reduced-motion:reduce){
  .pillar-card,
  .pillar-card::before,
  .pillar-card::after,
  .pillar-icon{ transition:none !important; animation:none !important; }
}

/* Responsive tweaks */
@media (max-width: 991.98px){
  .pillar-card{ padding:24px 20px; }
  .pillar-icon{ width:48px; height:48px; font-size:20px; }
}


/* Tariq Added Last one here */
/* ==========================================
   CRSIF Pillar Page – NFP Premium Theme v2
   High-contrast, accessible, hover-rich
   Scope: .crsif-pillar (safe to reuse)
   ========================================== */
:root{
  /* Brand + Accessibility */
  --nfp-ink:#0B1320;              /* Deep ink for titles */
  --nfp-body:#424C5F;             /* Body text (AA) */
  --nfp-muted:#68758E;            /* Muted labels */
  --nfp-bg:#F4F7FC;               /* Page background */
  --nfp-card:#FFFFFF;             /* Cards */
  --nfp-primary:#D61423;          /* CRSIF red, darker for contrast */
  --nfp-primary-600:#B30F1C;      /* Hover/active */
  --nfp-teal:#00C9FF;             /* Accent */
  --nfp-gold:#FFC857;             /* Award/recognition accent */
  --nfp-ring:#A7D3FF;             /* Focus ring */
  --nfp-border:#E6ECF5;           /* Card border */
  --nfp-soft-shadow:0 14px 42px rgba(11,19,32,.08);
  --nfp-strong-shadow:0 18px 50px rgba(11,19,32,.14);
  --nfp-radius:18px;

  /* Type scale */
  --step--1: clamp(13px, .95vw, 14px);
  --step-0: clamp(15px, 1vw, 16px);
  --step-1: clamp(18px, 1.4vw, 20px);
  --step-2: clamp(22px, 2.1vw, 26px);
  --step-3: clamp(28px, 3.1vw, 36px);
  --step-4: clamp(34px, 4.2vw, 48px);
}

.crsif-pillar{
  background: var(--nfp-bg);
  color: var(--nfp-body);
  font-feature-settings: "liga" 1, "kern" 1;
}

/* ---------- HERO (higher contrast, clearer layering) ---------- */

/* Reduce extra top space in hero for better visual balance */
.crsif-hero {
  padding-top: clamp(60px, 8vw, 110px) !important; /* was ~86–160px */
  padding-bottom: clamp(60px, 8vw, 90px) !important;
}

.crsif-hero__title {
  margin-top: 8px; /* small buffer under eyebrow */
}


/*
.crsif-hero{
  position: relative;
  padding: clamp(86px, 11vw, 160px) 0 84px;
  isolation: isolate;
}*/
.crsif-hero__bg{
  position:absolute; inset:0; z-index:-2;
  background: url('assets/images/banners/programs-hero.jpg') center/cover no-repeat;
  filter: saturate(1) contrast(1.08);
}
.crsif-hero__overlay{
  position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(180deg, rgba(11,19,32,.82) 0%, rgba(11,19,32,.70) 45%, rgba(11,19,32,.50) 100%),
    radial-gradient(900px 320px at 18% 0%, rgba(0,201,255,.25), transparent 60%);
}
.crsif-hero .breadcrumb-nav{ opacity:.95; }
.crsif-hero__title{
  color:#fff; letter-spacing:-.02em; font-weight:800;
  line-height:1.08; font-size: var(--step-4); margin: 0 0 10px;
}
.crsif-hero__tagline{
  color:#EAF3FF; font-size: var(--step-1);
  max-width: 980px; margin: 0 0 22px;
}

/* Reduce extra top space in hero for better visual balance */
.crsif-hero {
  padding-top: clamp(60px, 8vw, 110px) !important; /* was ~86–160px */
  padding-bottom: clamp(60px, 8vw, 90px) !important;
}

.crsif-hero__title {
  margin-top: 8px; /* small buffer under eyebrow */
}

/* ---------- Buttons (stronger, clearer) ---------- */
.crsif-cta{ display:flex; gap:12px; flex-wrap:wrap; }
.crsif-btn{
  display:inline-flex; align-items:center; gap:10px; height:52px;
  padding:0 22px; border-radius:14px; font-weight:700; letter-spacing:.2px;
  border:2px solid transparent; transition: all .18s ease;
  will-change: transform, box-shadow, background, border-color;
}
.crsif-btn i{ font-size: 16px; }
.crsif-btn--primary{ background: var(--nfp-primary); color:#fff; box-shadow: var(--nfp-soft-shadow); }
.crsif-btn--primary:hover{ background: var(--nfp-primary-600); transform: translateY(-2px); box-shadow: var(--nfp-strong-shadow); }
.crsif-btn--ghost{ background:#fff; color:var(--nfp-ink); border-color:#fff; }
.crsif-btn--ghost:hover{ border-color: var(--nfp-teal); box-shadow: var(--nfp-soft-shadow); transform: translateY(-2px); }
.crsif-btn:focus-visible{ outline:0; box-shadow: 0 0 0 4px var(--nfp-ring); }

/* ---------- Section headers ---------- */
.crsif-section{ padding: clamp(56px, 7.5vw, 90px) 0; }
.crsif-section__eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  background: #fff; border:1px solid var(--nfp-border); color: var(--nfp-primary);
  padding:6px 10px; border-radius:999px; font-weight:800; letter-spacing:.18em; font-size: 11px;
  text-transform: uppercase; box-shadow: var(--nfp-soft-shadow);
}
.crsif-section__eyebrow::before{
  content:""; width:8px; height:8px; border-radius:50%;
  background: linear-gradient(135deg, var(--nfp-teal), #8EEBFF);
}
.crsif-section__title{ color:var(--nfp-ink); font-weight:900; letter-spacing:-.02em; font-size: var(--step-3); }
.crsif-section__lead{ max-width: 980px; margin:12px auto 0; color:#E21; color:var(--nfp-muted); }

/* ---------- Grid (tidier gutters) ---------- */
.crsif-grid{ display:grid; gap:22px; grid-template-columns: repeat(12, 1fr); }
.crsif-col-4{ grid-column: span 4; }
.crsif-col-6{ grid-column: span 6; }
@media (max-width:1199.98px){ .crsif-col-4{ grid-column: span 6; } }
@media (max-width:767.98px){ .crsif-col-4,.crsif-col-6{ grid-column: 1 / -1; } }

/* ---------- Cards (accent top bar + gradient border hover) ---------- */
.crsif-card{
  position:relative; background: var(--nfp-card); border-radius: var(--nfp-radius);
  box-shadow: var(--nfp-soft-shadow); padding: 24px; height: 100%;
  border:1px solid var(--nfp-border); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.crsif-card::before{
  content:""; position:absolute; left:14px; right:14px; top:0; height:4px; border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--nfp-teal), var(--nfp-primary), var(--nfp-gold));
  opacity:.85;
}
.crsif-card:hover{ transform: translateY(-3px); box-shadow: var(--nfp-strong-shadow); border-color:#D7E7FF; }

.crsif-icon{
  width:52px; height:52px; border-radius:14px; display:grid; place-items:center;
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE6E7 100%); color: var(--nfp-primary);
  margin-bottom:14px; font-size: 20px; border:1px solid #F9D4D7;
}
.crsif-card h3{ color:var(--nfp-ink); font-weight:800; font-size: 20px; margin:0 0 8px; }
.crsif-card p{ margin:0; color:var(--nfp-body); font-size: var(--step-0); }

/* Check-list bullets improved for readability */
.crsif-list{ margin:12px 0 0; padding-left:0; list-style:none; }
.crsif-list li{ position:relative; padding-left:28px; margin:10px 0; }
.crsif-list li::before{
  content:"\f00c"; /* fa-check */
  font-family:"Font Awesome 5 Free"; font-weight:900; font-size:12px; line-height:1;
  position:absolute; left:6px; top:7px; color: var(--nfp-primary);
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.06));
}

/* Stat badges with better contrast */
.crsif-stats{ display:grid; grid-template-columns: repeat(3,1fr); gap:12px; margin-top:16px; }
.crsif-stat{
  background: #fff; border:1px solid var(--nfp-border); border-radius: 14px; padding: 14px 12px; text-align:center;
  box-shadow: var(--nfp-soft-shadow);
}
.crsif-stat__num{ display:block; font-weight:900; color:var(--nfp-ink); font-size:18px; }
.crsif-stat__label{ display:block; font-size:12px; color:var(--nfp-muted); }

/* CTA block with stronger brand gradient */
.crsif-cta-block{
  background: linear-gradient(135deg, rgba(214,20,35,.09), rgba(0,201,255,.06));
  border: 1px solid #F1D2D6; border-radius: var(--nfp-radius);
  padding: 28px 24px; box-shadow: var(--nfp-soft-shadow);
}

/* Focus outlines for a11y (keyboard users) */
.crsif-pillar a:focus-visible,
.crsif-pillar button:focus-visible{
  outline:0; box-shadow: 0 0 0 4px var(--nfp-ring);
  border-radius: 10px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .crsif-btn, .crsif-card{ transition:none !important; }
}



/**************** Tariq Is adding the final ****/
/* keep the row from wrapping and normalize spacing */
.main-menu__list{
  display:flex;
  align-items:center;
  gap:56px;
  flex-wrap:nowrap;         /* <— stop wrapping that pushes things down */
  padding-bottom:18px;      /* keeps space reserved for underline */
  list-style:none;          /* safety */
}

/* group label + caret so they sit on the same line */
.has-submenu{
  position:relative;
  display:flex;
  align-items:center;       /* caret vertically centered with text */
  gap:6px;
}

/* parent link underline (unchanged from before) */
.main-menu__list .menu-link{
  position:relative;
  font-weight:500;
  text-decoration:none;
}
.main-menu__list .menu-link[aria-current="page"],
.main-menu__list .menu-link.is-active{ color:#e63946; }
.main-menu__list .menu-link::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-14px; height:3px;
  background:linear-gradient(90deg,#19c8ff 0%, #19c8ff 55%, #f16b6b 100%);
  transform:scaleX(0); transform-origin:left; transition:transform .28s ease;
  pointer-events:none;
}
.main-menu__list .menu-link[aria-current="page"]::after,
.main-menu__list .menu-link.is-active::after{ transform:scaleX(1); }

/* caret button – remove any text glyph and draw caret with CSS */
.submenu-toggle{
  border:0; background:transparent; cursor:pointer;
  width:16px; height:16px; padding:0; line-height:1;
  display:inline-flex; align-items:center; justify-content:center;
  color:#1b2430;
}

/* hide the old text caret if it exists (prevents “?” fallback) */
.submenu-toggle .chev{ display:none !important; }

/* draw the caret triangle */
.submenu-toggle::after{
  content:"";
  width:0; height:0;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-top:6px solid currentColor;  /* uses button color */
  transition:transform .2s ease;
}
.has-submenu.open .submenu-toggle::after{ transform:rotate(180deg); }

/* dropdown panel (same as before, included for completeness) */
.sub-menu{
  position:absolute; top:100%; left:0; min-width:320px;
  background:#fff; border:1px solid rgba(0,0,0,.06);
  border-radius:12px; padding:10px 0;
  box-shadow:0 16px 32px rgba(16,24,40,.12);
  opacity:0; transform:translateY(12px);
  pointer-events:none; visibility:hidden; z-index:1000;
}
.has-submenu.open > .sub-menu,
.has-submenu:focus-within > .sub-menu{
  opacity:1; transform:translateY(6px);
  pointer-events:auto; visibility:visible;
}
.sub-menu li a{
  display:block; padding:10px 16px; line-height:1.35;
  color:#1b2430; font-weight:500; white-space:normal;
}
.sub-menu li a:hover{ background:#f6fbff; }
.sub-menu li a.is-current{
  background:#e8f7ff; color:#0b6ea8; font-weight:600;
}

/* optional: also open on hover (desktop only) */
@media (hover:hover){
  .has-submenu:hover > .sub-menu{
    opacity:1; transform:translateY(6px);
    pointer-events:auto; visibility:visible;
  }
  .has-submenu:hover > .submenu-toggle::after{ transform:rotate(180deg); }
}

/* responsive safety */
@media (max-width: 992px){
  .main-menu__list{ gap:28px; }
  .sub-menu{ position:fixed; top:72px; left:16px; right:16px; }
}


/*******  Tariq ************/
/* ========== COMPACT HEADER ========== */
.main-header-one__bottom { padding: 10px 0; }                 /* was ~22–28px */
.auto-container { max-width: 1280px; padding: 0 16px; }        /* less side air */

.logo-box-one img { max-height: 34px; height:auto; width:auto; }

/* menu row */
.main-menu__list{
  display:flex; align-items:center; gap:36px; flex-wrap:nowrap;
  padding-bottom:12px;  /* keeps room for the active underline */
}
.main-menu__list .menu-link{
  font-size:16px; line-height:1; padding:8px 0; font-weight:500;
}

/* underline stays but sits closer */
.main-menu__list .menu-link::after{ bottom:-10px; height:2px; }

/* caret */
.submenu-toggle{ width:14px; height:14px; margin-left:2px; }
.submenu-toggle::after{
  border-left:4px solid transparent; border-right:4px solid transparent;
  border-top:5px solid currentColor;
}

/* dropdown panel slightly tighter */
.sub-menu{ min-width: 280px; border-radius:10px; padding:8px 0; }
.sub-menu li a{ padding:9px 14px; }

/* phone block: single line on wide; compress label; smaller text */
.main-header-one__bottom-right-number{
  display:flex; align-items:center; gap:10px; margin-left:auto;
}
.main-header-one__bottom-right-number .icon{ font-size:20px; }
.main-header-one__bottom-right-number .text p{
  font-size:12px; color:#6b7280; margin:0; line-height:1.1;
}
.main-header-one__bottom-right-number .text a{
  font-size:16px; font-weight:600; letter-spacing:.2px;
}

/************/

@media (max-width: 1440px){
  .main-menu__list{ gap:28px; }
  .main-header-one__bottom-right-number .text p{ display:none; } /* hide 'Call Anytime' label */
}

@media (max-width: 1199px){
  .main-menu__list{ gap:20px; }
  .main-menu__list .menu-link{ font-size:15px; }
  .logo-box-one img{ max-height:30px; }
  .main-header-one__bottom-right-number .text a{ font-size:15px; }
}

/* ====== Logo Scaling (Desktop) ====== */
.logo-box-one img {
  max-height: 60px;    /* increase logo height */
  height: auto;
  width: auto;
  transition: all 0.3s ease;
}

/* Keep header balanced vertically */
.main-header-one__bottom {
  padding: 12px 0;  /* keeps spacing compact while accommodating larger logo */
  align-items: center;
}

/* ====== Responsive Adjustments ====== */
@media (max-width: 1440px) {
  .logo-box-one img {
    max-height: 50px;   /* slightly smaller for mid screens */
  }
}

@media (max-width: 992px) {
  .logo-box-one img {
    max-height: 40px;   /* scale for tablets/mobiles */
  }
}



/*******  Tariq New ***********/
.btn-one {
    /* Larger size */
    padding: 18px 35px; 
    font-size: 18px;
}

.btn-one .txt {
    /* Prevent wrapping */
    white-space: nowrap; 
}

</style>
