/* =========================
   TOKENS / GLOBAL
========================= */


/* Preferred family (others commented in original kept intentional) */
@font-face {
  font-family: 'Basier Square';
  src: url('https://www.casefox.com/assets/font/BasierSquare-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Typography */
  --default-font: 'Basier Square', sans-serif;
  --heading-font: 'Basier Square', sans-serif;
  --nav-font: 'Basier Square', sans-serif;
  --body-font-weight: 400;


  /* Global Colors */
  --background-color: #F8F9FB;
  --default-color: #0a0a0a;
  --heading-color: #0B3558;
  --accent-color: #0058D3;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  /* Nav Colors */
  --nav-color: #212529;
  --nav-hover-color: #0058D3;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #0d83fd;

  scroll-behavior: smooth;
}

.light-background {
  --background-color: #f3f9ff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #0058D3;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #0058D3;
  --contrast-color: #ffffff;
}

/* =========================
   BASE
========================= */
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-weight: var(--body-font-weight);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}
a:hover { color: color-mix(in srgb, var(--accent-color), transparent 25%); }

/* Headings */
h1,h2,h3,h4,h5,h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* =========================
   HEADER / NAV
========================= */
.header {
  color: var(--default-color);
  padding: 0;
  transition: all 0.5s;
  z-index: 997;
  position: fixed;
  width: 100%;
  top: 0; left: 0;
}

.header .header-container {
  border-radius: 0;
  padding: 10px 25px;
  max-width: 1450px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo {
  line-height: 1;
  padding-left: 5px;
  display: flex;
  align-items: center;
}

.header .logo img {
  max-height: 59px;
  margin-right: 0;
  transition: opacity .25s ease, transform .25s ease;
}

/* Hide-on-scroll logo */
#logo.hidden { opacity: 0; transform: translateY(-6px); }

/* Buttons */
.header .btn-getstarted,
.header .btn-getstarted:focus { border: none; cursor: pointer; }

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover { color: var(--contrast-color); }

.header .bbtn-getstarted,
.header .bbtn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 12px 20px 8px 20px;
  margin: 0;
  border-radius: 7px;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  font-family: var(--nav-font);
}
.header .bbtn-getstarted:hover,
.header .bbtn-getstarted:focus:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

/* Desktop Nav */
@media (min-width: 1210px) {
  .navmenu { padding: 0; }
  .navmenu ul {
    margin: 0; padding: 0; display: flex; list-style: none; align-items: center;
  }
  .navmenu li { position: relative; }

  .navmenu a, .navmenu a:focus {
    color: white;
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex; align-items: center; justify-content: space-between;
    white-space: nowrap; transition: 0.3s;
  }
  .navmenu a i, .navmenu a:focus i { font-size: 12px; margin-left: 5px; transition: 0.3s; }
  .navmenu li:last-child a { padding-right: 0; }
  .navmenu li:hover > a, .navmenu .active, .navmenu .active:focus { color: var(--nav-hover-color); }

  /* Dropdown */
  .navmenu .dropdown ul {
    margin: 0; padding: 10px 0; display: block;
    position: absolute; visibility: hidden; left: 14px; top: 130%; opacity: 0;
    transition: 0.3s; border-radius: 4px; z-index: 99; background: var(--nav-dropdown-background-color);
  }
  .navmenu .dropdown ul li { min-width: 200px; }
  .navmenu .dropdown ul a { padding: 10px 20px; font-size: 15px; }
  .navmenu .dropdown ul a i { font-size: 12px; }
  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a { color: var(--nav-dropdown-hover-color); }

  .navmenu .dropdown:hover > ul { opacity: 1; top: 100%; visibility: visible; }
  .navmenu .dropdown .dropdown ul { top: 0; left: -90%; visibility: hidden; }
  .navmenu .dropdown .dropdown:hover > ul { opacity: 1; top: 0; left: -100%; visibility: visible; }
}

/* Mobile Nav */
@media (max-width: 1210px) {
  .mobile-nav-toggle {
    color: white; font-size: 28px; line-height: 0; margin-right: 10px; cursor: pointer; display: block;
  }
  .navmenu { padding: 0; z-index: 9997; }
  .navmenu ul {
    display: none; list-style: none; position: absolute; inset: 60px 20px 20px 20px;
    padding: 10px 0; margin: 0; border-radius: 6px; background-color: var(--nav-mobile-background-color);
    overflow-y: auto; transition: 0.3s; z-index: 9998; box-shadow: 0 0 30px rgba(0,0,0,.1);
  }
  .navmenu a, .navmenu a:focus {
    color: var(--nav-dropdown-color); padding: 10px 20px; font-family: var(--nav-font);
    font-size: 17px; font-weight: 500; display: flex; align-items: center; justify-content: space-between;
  }
  .navmenu a i, .navmenu a:focus i {
    font-size: 12px; margin-left: 5px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }
  .navmenu a i:hover { background-color: var(--accent-color); color: var(--contrast-color); }
  .navmenu a:hover, .navmenu .active, .navmenu .active:focus { color: var(--nav-dropdown-hover-color); }
  .navmenu .active i, .navmenu .active:focus i { background-color: var(--accent-color); color: var(--contrast-color); transform: rotate(180deg); }

  .navmenu .dropdown ul {
    position: static; display: none; z-index: 99; padding: 10px 0; margin: 10px 20px;
    background: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    transition: all .5s ease-in-out;
  }
  .navmenu .dropdown ul ul { background-color: rgba(33,37,41,.1); }
  .navmenu .dropdown > .dropdown-active { display: block; background-color: rgba(33,37,41,.03); }

  .mobile-nav-active { overflow: hidden; }
  .mobile-nav-active .mobile-nav-toggle {
    color: #2d405f; position: absolute; font-size: 32px; top: 15px; right: 15px; margin-right: 0; z-index: 9999;
  }
  .mobile-nav-active .navmenu { position: fixed; overflow: hidden; inset: 0; background: rgba(33,37,41,.8); }
  .mobile-nav-active .navmenu > ul { display: block; }
}

/* Header responsive tweaks */
@media (max-width: 1200px) {
  .header { padding-top: 0; }
  .header .header-container { margin: 0; padding: 10px 5px 10px 15px; }
  .header .logo { order: 1; }
  .header .btn-getstarted { order: 2; margin: 0 -10px 0 0; padding: 6px 15px; margin-top: 5px; }
  .navmenu { order: 3; }
}

/* Optional utility sections (kept as-is; minimal edits) */
.ccustom-section {
  padding: 20px 40px 20px;
  background: #ffffff;
  border-radius: 20px;
  border-top: 3px solid rgb(7,7,77);
  margin-left: -405px;
}
@media (max-width: 768px) {
  .ccustom-section {
    padding: 0;
    background: transparent;
    border-top-color: transparent;
    margin-left: 0;
    margin-top: -42px;
  }
}

/* Login link */
.login-btn { display:inline-flex; align-items:center; color:#0a1ca5; font-size:16px; margin-right:8px; font-family: sans-serif; }
.login-btn i { color:#007bff; font-size:20px; margin-right:8px; }
.login-btn:hover { text-decoration: underline; }
@media (max-width: 499px){ .login-btn{ display:none; } }

/* Custom columns block (left as provided, only organized) */
.custom-section {
  padding: 20px 40px 15px;
  background: #ffffff;
  border-radius: 20px;
  border-top: 3px solid rgb(7,7,77);
  margin-left: -282px;
}
.custom-container {
  max-width: 1000px; min-width: 1200px;
  margin: auto; display: flex; justify-content: space-between; gap: 30px;
}
.custom-column { width: 30%; }
.custom-heading {
  font-weight: 600; background: #f3f4f6; color: #374151; padding: 8px 12px; border-radius: 6px; margin-bottom: 20px; font-size: 16px; margin-left: -5px;
}
.custom-heading.custom-active { background: #e5e7eb; }
.custom-item { margin-bottom: 5px; }
.custom-title {
  display:inline-block; font-weight:600; color:#0f172a; font-size:15px; margin-left:-20px;
}
.custom-title:hover { text-decoration: underline; }
.custom-item p { color:#6b7280; font-size:11px; margin:-4px 0 0; }
.custom-see-all { color:#6b7280; font-size:14px; }
.custom-see-all:hover { text-decoration: underline; }
.custom-column img { max-width:300px; height:auto; border-radius:10px; display:block; }
@media (max-width: 768px) {
  .custom-column img { display: none; }
  .custom-section {
    padding: 0;
    background: transparent;
    border-top-color: transparent;
    margin-left: 0;
    margin-top: -42px;
  }
  .custom-title { margin-top: -25px; }
}
@media (max-width: 910px) {
  .custom-container { flex-direction: column; }
  .custom-column { width: 100%; }
  .custom-item { margin-bottom: 5px; padding: 10px; max-width: 25%; }
}

/* =========================
   DEMO SPLIT / FORM
========================= */
.demoSplitWrapper {
  display:flex; flex-direction:row; flex-wrap:wrap;
  min-height: 107.6vh; overflow:hidden;
}
.demoFormSide,.demoTestimonialSide {
  flex: 1 1 50%; padding: 40px; box-sizing: border-box;
}
.demoFormSide {
  background:#f9fafb; display:flex; align-items:center; justify-content:center;
}
.demoTestimonialSide {
  background-image:url("https://www.casefox.com/assets/img/background-image-regestration-page.webp");
  color:#fff; display:flex; justify-content:center; align-items:center;
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.testimonialCard img {
  max-width:70%; height:auto; object-fit:contain; margin:0 0 0 80px;
}
.sec1a2b3c { width:100%; display:flex; justify-content:center; }
.boxWrap445566 { width:100%; max-width:720px; padding:40px; margin-top:50px; text-align:center; }

.imgWrap4d5e6f {
  display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:20px; flex-wrap:wrap; margin-top:-20px;
}
.imgWrap4d5e6f img { width:64px; height:64px; border-radius:50%; box-shadow:0 2px 6px rgba(0,0,0,.1); }
.imgDividerHex { width:30px; height:2px; background:#ccc; border-radius:1px; }

.h1aabbcc { font-size:1.5rem; font-weight:600; margin: -10px 0 10px; color:#050134; }
.p778899 { color:#4b5563; font-size:.95rem; line-height:1.5; margin-bottom:30px; }

.form9a8b7c { display:flex; flex-direction:column; gap:0; text-align:left; }
.grp5d6e7f { display:flex; gap:20px; flex-wrap:wrap; }

.ctrl123abc { flex:1 1 48%; display:flex; flex-direction:column; gap:8px; position: relative; }
.lblabc123 { display:block; font-weight:600; color:#1f2937; font-size:1rem; margin-bottom:-5px; margin-top: 6px; }

.inpt456def,.sel789abc {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 16px;
  transition: box-shadow .2s ease, border-color .2s ease;
  background: #fff;
  width: 100%;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  outline: none;
}
.inpt456def:focus,.sel789abc:focus {
  border-color:#93c5fd; box-shadow:0 0 0 4px rgba(59,130,246,.1);
}

.error998877 { border-color: red !important; }
.txtErrore5e5e5 { color:red; font-size:.85rem; margin-top:4px; }

/* Custom select caret styling */
.selectLikeInput {
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(0,0,0,0.45) 50%),
    linear-gradient(135deg, rgba(0,0,0,0.45) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 18px) calc(50% - 6px),
    calc(100% - 12px) calc(50% - 6px),
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.selectLikeInput:invalid { color:#6b7280; }
.selectLikeInput option[disabled]{ color:#9ca3af; }

/* CTA Button (gradient cross-fade, text never hidden) */
.btn00ffee {
  position: relative; overflow: hidden; isolation: isolate;
  background: none; color: #fff;
  padding: 16px; font-size: 1.05rem; border-radius: 10px;
  cursor: pointer; border: none; width: 100%; font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,178,226,.3);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
}
.btn00ffee::before,.btn00ffee::after{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; z-index:-1; transition: opacity .45s ease;
}
.btn00ffee::before{ background: linear-gradient(90deg, #2d0e9f, #00aaff); opacity:1; }
.btn00ffee::after { background: linear-gradient(90deg, #ffa061, #ff6f00); opacity:0; }
.btn00ffee:hover::after{ opacity:1; }
.btn00ffee:hover::before{ opacity:0; }
.btn00ffee:hover{ transform: translateY(-2px) scale(1.01); box-shadow:0 8px 22px rgba(0,178,226,.45); }
.btn00ffee:active{ transform: translateY(0) scale(.99); box-shadow:0 4px 12px rgba(0,178,226,.3); transition-duration:.15s; }
.btn00ffee:focus-visible{ outline:3px solid rgba(0,170,255,.5); outline-offset:2px; }

/* Demo responsive */
@media (max-width: 1024px) {
  .h1aabbcc { font-size:1.5rem; }
  .p778899 { font-size:.9rem; }
}
@media (max-width: 900px) {
  .demoSplitWrapper { flex-direction: column; min-height:auto; }
  .demoFormSide,.demoTestimonialSide { flex:none; width:100%; padding:30px 20px; }
  .testimonialCard img { margin-left: 0; max-width: 100%; }
  .boxWrap445566 { padding:20px; margin-top:120px; }
}
@media (max-width: 640px) {
  .grp5d6e7f { flex-direction: column; gap:10px; }
  .ctrl123abc { flex:1 1 100%; }
  .btn00ffee { font-size:.95rem; padding:12px; }
  .imgWrap4d5e6f{ margin-top:40px; }
  .imgWrap4d5e6f img { width:48px; height:48px; }
  .h1aabbcc { font-size:1.3rem; }
}
@media (max-width: 480px) {
  .boxWrap445566 { margin-top:60px; padding:16px; }
  .form9a8b7c { gap:12px; }
  .grp5d6e7f { gap:8px; }
  .lblabc123 { font-size:.95rem; }
  .inpt456def,.sel789abc { font-size:.95rem; padding:10px 12px; }
  .btn00ffee { font-size:.9rem; padding:10px 16px; }
  .testimonialCard img { max-width:100%; margin-top:130px; }
  .demoFormSide,.demoTestimonialSide { padding:20px 16px; }
}
@media (max-width: 360px) {
  .h1aabbcc { font-size:1.15rem; }
  .p778899 { font-size:.85rem; }
  .btn00ffee { font-size:.85rem; padding:10px 14px; }
  .inpt456def,.sel789abc { font-size:.85rem; padding:6px 8px; }
  .lblabc123 { font-size:.85rem; }
}

/* =========================
   CALENDAR
========================= */
.cf-cal-wrap{
  display:flex; gap:16px; align-items:flex-start; flex-wrap:wrap;
  border:1px solid #e5e7eb; border-radius:12px; padding:14px; background:#fff;
}
.cf-calendar{ width:320px; border:1px solid #e5e7eb; border-radius:12px; overflow:hidden; }
.cf-cal-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 12px; background:#f9fafb; border-bottom:1px solid #eef2f7;
}
.cf-month-label{ font-weight:700; }
.cf-nav-btn{
  border:1px solid #e5e7eb; background:#fff; width:32px; height:32px; border-radius:8px;
  cursor:pointer; font-size:18px; line-height:1; transition:transform .1s ease;
}

.cf-day.cf-sunday { opacity: 1.45; }
.cf-day.cf-sunday.today { opacity: 1.6; }
.cf-nav-btn:hover{ transform:translateY(-1px); }
.cf-week-row{ display:grid; grid-template-columns:repeat(7,1fr); gap:0; padding:8px 0px 0; font-size:12px; color:#6b7280; margin-left: 20px; }
.cf-days-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:4px; padding:4px; }
.cf-day{
  height:35px; display:flex; align-items:center; justify-content:center;
  border-radius:999px; cursor:pointer; user-select:none; font-weight:500;
  color:#696c71; border:1px solid transparent;
}
.cf-day.other{ color:#9ca3af; background: transparent; }
.cf-day.disabled{ color:#c7cbd3; cursor:not-allowed; background: transparent; }
.cf-day:hover:not(.disabled){ border-color:#c7defe; background:#0051ffc2; color:#fff; }
.cf-day.selected{ background:#2563eb; color:#fff; border-color:transparent; }
.cf-day.today:not(.selected){ background:#6cff44; color:#fff; }
.cf-times{
  flex:1; min-width:220px; border:1px solid #e5e7eb; border-radius:12px; overflow:hidden;
}
.cf-times-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 12px; background:#f9fafb; border-bottom:1px solid #eef2f7;
}
.cf-times-title{ font-weight:500; }
.cf-tz-note{ font-size:12px; color:#6b7280; }
.cf-times-list{ padding:10px; max-height:248px; overflow:auto; display:flex; flex-direction:column; gap:8px; }
.cf-time-btn{
  border:1px solid #e5e7eb; background:#fff; height:42px; border-radius:10px; cursor:pointer;
  font-weight:500; text-align:left; padding:0 14px;
  transition: transform .1s ease, box-shadow .2s ease, border-color .2s ease;
}
.cf-time-btn:hover{ transform:translateY(-1px); box-shadow:0 4px 10px rgba(0,0,0,.04); }
.cf-time-btn.selected{ border-color:#2563eb; box-shadow:0 0 0 3px rgba(37,99,235,.15); }
.cf-time-btn.disabled{ opacity:.45; cursor:not-allowed; }
@media (max-width: 768px){ .cf-calendar{ width:100%; } }

/* =========================
   TIMEZONE SEARCH (single source of truth)
========================= */
.tz-search-panel{
  position:absolute;
  z-index:9999;
  display:none;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:10px;
  box-shadow:0 12px 32px rgba(0,0,0,.08);
  padding:10px;
  max-height:360px;
  overflow:hidden;
  width: 320px;
}
.tz-search-input{
  width:100%;
  border:1px solid #e5e7eb;
  border-radius:8px;
  padding:10px 12px;
  outline:none;
  font-size:14px;
  transition: box-shadow .2s ease, border-color .2s ease;
  margin:0;
}
.tz-search-input:focus{
  border-color:#93c5fd;
  box-shadow:0 0 0 4px rgba(59,130,246,.1);
}
.tz-search-list{
  margin:8px 0 0;
  padding:0;
  list-style:none;
  max-height:300px;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}
.tz-search-list .tz-item{
  width:100%;
  text-align:left;
  padding:8px 10px;
  border-radius:6px;
  border:0;
  background:#fff;
  font-size:14px;
  cursor:pointer;
}
.tz-search-list .tz-item:focus{ outline:2px solid #2563eb; outline-offset:2px; }
.tz-search-list .tz-item:hover{ background:#f3f4f6; }
.tz-empty{ padding:12px; color:#6b7280; font-size:14px; }

/* Mobile full-screen overlay */
@media (max-width: 576px){
  .tz-search-panel{
    position: fixed !important;
    left:0 !important; top:0 !important; right:0; bottom:0;
    width:100% !important; height:100% !important;
    border-radius:0; border:none; padding:16px; background:#fff;
    max-height:none; box-shadow:none;
  }
  .tz-search-header{
    display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:12px;
  }
  .tz-close-btn{
    border:0; background:#f3f4f6; border-radius:8px; padding:8px 12px; font-weight:600;
  }
  body.tz-open { overflow:hidden; touch-action:none; }
  .tz-search-list{ max-height: calc(100vh - 140px); }
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer-v2{
  background-image:url('https://www.casefox.com/assets/img/footer-bg.png');
  font-size:15px; background-size:cover; color:#111;
}
.footer-v2 h5{ font-weight:600; color:#111; margin-bottom:16px; }
.footer-v2 ul{ list-style:none; padding-left:0; }
.footer-v2 ul li{ margin-bottom:10px; }
.footer-v2 ul li a{ text-decoration:none; color:#111; }
.footer-v2 ul li a:hover,
.footer-v2 .contact-sales{ text-decoration: underline; }
.footer-v2 .footer-top{ padding:60px 0; }
.footer-v2 .footer-bottom{
  background:#fff; padding:20px 0; border-top:1px solid #cfd8e1; font-size:14px;
}
.footer-v2 .social-icons a{
  margin-right:15px; color:#111; font-size:20px; display:inline-flex; align-items:center; gap:6px; text-decoration:none;
}
.footer-v2 .legal-links{ text-align:center; flex-grow:1; margin-top:10px; margin-left:0; }
.footer-v2 .legal-links a{ margin:0 12px; color:#111; text-decoration:none; }
.footer-v2 .app-buttons{ display:flex; gap:10px; }
.footer-v2 .app-buttons img{ height:40px; }
.footer-v2 .arrow{ font-weight:500; margin-left:5px; }
.footer-v2 .emoji{ font-size:16px; }
@media (max-width:768px){
  .footer-v2 .footer-bottom .container{ flex-direction:column; align-items:center; text-align:center; gap:20px; }
  .footer-v2 .legal-links a{ display:inline-block; margin:6px; }
  .footer-v2 .app-buttons{ justify-content:center; }
}

/* =========================================================
   REVIEWS / SOCIAL PROOF
   ========================================================= */


   
.reviews-section{
  background: radial-gradient(1200px 600px at 50% -10%, #c0d9fb 0%, #f8f9fb 70%);
  position:relative; overflow:hidden;
}
.trusted-pill{
  background: rgba(43,92,255,0.1); color:#2b5cff; letter-spacing:.08em; font-size:.75rem; backdrop-filter: blur(4px);
  border:1px solid rgba(43,92,255,0.2);
}
.reviews-title{
  max-width:900px; background:linear-gradient(120deg,#1a202c,#2d3748);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; line-height:1.2;
}
.brand-accent{
  background:linear-gradient(90deg,#2b5cff,#4b73ff); -webkit-background-clip:text; -webkit-text-fill-color:transparent; position:relative;
}
.brand-accent::after{
  content:''; position:absolute; bottom:-2px; left:0; width:100%; height:2px; background:linear-gradient(90deg,#2b5cff,#4b73ff); border-radius:2px;
}

/* IMPORTANT: Scope avatar stack in reviews to avoid global override */
.reviews-section .avatar-stack{ display:flex; align-items:center; }
.reviews-section .avatar-stack img{
  width:44px; height:44px; border-radius:50%; border:2px solid #fff; object-fit:cover; margin-left:-12px;
  transition:transform .3s ease; box-shadow:0 4px 6px rgba(0,0,0,.1);
}
.reviews-section .avatar-stack img:hover{ transform:translateY(-2px); z-index:2; }
.reviews-section .avatar-stack img:first-child{ margin-left:0; }

/* Cards */
.review-card{
  background:#fff; border:1px solid rgba(43,92,255,0.1); border-radius:1.25rem; padding:1.75rem;
  box-shadow:0 10px 25px rgba(17,24,39,.08); transition:all .3s ease; position:relative; overflow:hidden;
  animation: fadeInUp .6s ease forwards;
}
.review-card::before{
  content:''; position:absolute; top:0; left:0; width:100%; height:4px; background:linear-gradient(90deg,#2b5cff,#4b73ff); opacity:0; transition:opacity .3s ease;
}
.review-card:hover{ transform:translateY(-5px); box-shadow:0 20px 40px rgba(17,24,39,.12); }
.review-card:hover::before{ opacity:1; }
.review-card .g2-logo{ width:40px; height:24px; object-fit:contain; opacity:.7; }
.review-text{ color:#1f2937; line-height:1.7; margin:0; font-size:1.05rem; }
.review-card .avatar{ width:50px; height:50px; object-fit:cover; box-shadow:0 4px 8px rgba(0,0,0,.1); }

.reviews-section .btn-primary{
  background:linear-gradient(90deg,#2b5cff,#4b73ff); border:none; border-radius:.8rem; transition:all .3s ease;
}
.reviews-section .btn-primary:hover{ transform:translateY(-2px); box-shadow:0 8px 15px rgba(43,92,255,.3); }
.reviews-section .btn-outline-primary{
  border-radius:.8rem; border-width:2px; transition:all .3s ease;
}
.reviews-section .btn-outline-primary:hover{ transform:translateY(-2px); box-shadow:0 8px 15px rgba(0,0,0,.1); }

.trusted-logo{ height:30px; opacity:.7; transition:all .3s ease; filter:grayscale(100%); }
.trusted-logo:hover{ opacity:1; filter:grayscale(0%); }

@media (max-width:768px){
  .reviews-title{ font-size:2.2rem; }
  .review-card{ padding:1.5rem; }
  .reviews-section .avatar-stack img{ width:38px; height:38px; }
}
@media (max-width:576px){
  .reviews-title{ font-size:1.8rem; }
  .reviews-section .avatar-stack img{ width:34px; height:34px; }
  .trusted-logo{ height:22px; }
}
@keyframes fadeInUp{
  from{ opacity:0; transform:translateY(20px); }
  to{ opacity:1; transform:translateY(0); }
}
.review-card:nth-child(2){ animation-delay:.2s; }
.review-card:nth-child(3){ animation-delay:.4s; }

/* =========================================================
   FAQ
   ========================================================= */

.faq .faq-title{ font-size:44px; font-weight:700; margin-bottom:1rem; color:var(--heading-color); }
.faq .faq-description{ font-size:1rem; color:var(--default-color); margin-bottom:2rem; }
.faq .faq-arrow{ color:var(--accent-color); }
.faq .faq-container .faq-item{
  background-color:var(--surface-color); position:relative; padding:20px; margin-bottom:15px; border-radius:10px; overflow:hidden;
}
.faq .faq-container .faq-item:last-child{ margin-bottom:0; }
.faq .faq-container .faq-item h3{
  font-weight:600; font-size:16px; line-height:24px; margin:0 30px 0 0; transition:.3s; cursor:pointer; display:flex; align-items:center;
}
.faq .faq-container .faq-item h3 .num{ color:var(--accent-color); padding-right:5px; }
.faq .faq-container .faq-item h3:hover{ color:var(--accent-color); }
.faq .faq-container .faq-item .faq-content{
  display:grid; grid-template-rows:0fr; transition:.3s ease-in-out; visibility:hidden; opacity:0;
}
.faq .faq-container .faq-item .faq-content p{ margin-bottom:0; overflow:hidden; }
.faq .faq-container .faq-item .faq-toggle{ position:absolute; top:20px; right:20px; font-size:16px; line-height:0; transition:.3s; cursor:pointer; }
.faq .faq-container .faq-item .faq-toggle:hover{ color:var(--accent-color); }
.faq .faq-container .faq-active h3{ color:var(--accent-color); }
.faq .faq-container .faq-active .faq-content{ grid-template-rows:1fr; visibility:visible; opacity:1; padding-top:10px; }
.faq .faq-container .faq-active .faq-toggle{ transform:rotate(90deg); color:var(--accent-color); }
/* Default (mobile/tablet) â†’ normal flow */
.faq-left {
  position: static;
}

/* =========================================================
   NDA STRIP
   ========================================================= */

.nda-section{ background-color:#f8f9fb;  }
.nda-wrapper{
  background:url('https://www.casefox.com/assets/img/background-1.png') no-repeat center center; background-size:cover;
  border-radius: 15px 15px 60px 15px; width:100%;
  margin-bottom: 10px;
}
.nda-card{ background-color:#1b1e4aad; border-radius:15px 15px 15px 15px; color:#ffffff; }
.nda-card h5{ color:#fff; }
.nda-card p{ color:#ccc; }
.nda-section .btn-primary{ background:linear-gradient(90deg,#011446,#3171e6); border:none; }
.nda-section .btn-primary:hover{ background:linear-gradient(90deg,#011546c8,#3170e6c0); }


/* =========================================================
   MS TEMPLATES (TEAMS) + CURVE FIX
   ========================================================= */

#ms-templates-teams .ms-card{ border:1px solid #e9e6ff; background:#e7f1ff; }
#ms-templates-teams .team-pill{
  border:1px solid #e6e6ef; background:#fff; color:#3a3a3a; border-radius:14px; padding:.6rem 1rem;
  font-weight:600; display:inline-flex; align-items:center; transition:all .2s;
}
#ms-templates-teams .team-pill:hover{ border-color:#c9c9ea; transform:translateY(-1px); }
#ms-templates-teams .team-pill.active{ background:#0f0f14; color:#fff; border-color:#0f0f14; }

/* Curved bg only behind left pane content */
#ms-templates-teams .left-pane{ position:relative; overflow:hidden; }
#ms-templates-teams .left-pane::after{
  content:""; position:absolute; right:100%; left:-80px; top:-25%; bottom:-25%; width:110%;
  background: radial-gradient(120% 70% at 0% 50%, #ffffff 0%, #ffffff 35%, #ffffff 58%, #ffffff 82%);
  z-index:0; pointer-events:none; border-radius:30%;
}
#ms-templates-teams .left-pane > *{ position:relative; z-index:1; }
#ms-templates-teams .features-box{ background:#fff; }
#ms-templates-teams .feature-row{
  display:flex; align-items:center; padding:16px 18px; border-bottom:1px solid #ececf2;
}
#ms-templates-teams .feature-row:last-child{ border-bottom:0; }
#ms-templates-teams .f-ico{
  width:40px; height:40px; border-radius:12px; background:#f3f3fb; display:flex; align-items:center; justify-content:center;
  font-size:18px; margin-right:12px; color:#1d1d1f;
}
#ms-templates-teams .f-text{ font-weight:600; color:#1d1d1f; }
#ms-templates-teams .cta-gradient{ background:linear-gradient(90deg,#041268 0%, #0a94e5 100%); color:#fff; border:0; }
#ms-templates-teams .cta-gradient:hover{ filter:brightness(.95); }
@media (max-width:991.98px){ #ms-templates-teams .left-pane::after{ display:none; } }



/* =========================================================
   bottum CTA 
   ========================================================= */


   .msg-section-wrapper {
  background: linear-gradient(to bottom, #f8f9fb 50%, #b9d5fa 50%);
  padding: 30px 0;
}

/* CTA Card */
.msg-card {
  background: url(' https://www.casefox.com/assets/img/background-1.png') center center / cover no-repeat;
}

/* Gradient CTA */
.btn-gradient {
  background: linear-gradient(90deg, #200d7e, #4471f9);
  border: none;
  color: white;
  font-weight: 500;
  border-radius: 7px;
  transition: 0.3s ease;
  font-size: 20px;
}

.btn-gradient:hover {
  background: white;
  color: #021061;
  border: 2px solid #021061;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .msg-card {
    text-align: center;
  }

  .btn-gradient,
  .btn-outline-light {
    width: 100%;
    text-align: center;
  }
}

/* Enhanced CTA Button with improved responsiveness */
.cta-btn-fresh {
background: linear-gradient(90deg, #041264, #098dda);
color: #fff;
font-weight: 600;
font-size: clamp(16px, 2.5vw, 18px); /* Fluid font sizing */
padding: clamp(10px, 2.5vw, 12px) clamp(16px, 4vw, 28px); /* Fluid padding */
border: none;
border-radius: 10px;
transition: all 0.3s ease-in-out;
box-shadow: 0 4px 10px rgba(74, 9, 238, 0.25);
white-space: nowrap;
display: inline-block;
text-align: center;
min-height: 44px; /* Minimum touch target size for accessibility */
line-height: 1.2;
}

.cta-btn-fresh:hover {
background: linear-gradient(90deg, #098dda, #041264);
color: #fff;
box-shadow: 0 6px 14px rgba(51, 9, 238, 0.35);
}

.cta-btn-fresh:active {
transform: translateY(1px) scale(0.97);
box-shadow: 0 2px 6px rgba(9, 59, 238, 0.2);
}

/* Improved responsive behavior */
@media (max-width: 768px) {
.cta-btn-fresh {
width: 100%;
border-radius: 8px;
white-space: normal; /* Allow text wrapping on small screens */
padding: 14px 16px; /* Slightly larger padding for mobile /
display: block; / Full width button */
}
}

/* Enhanced input group compatibility */
.input-group {
flex-wrap: nowrap !important;
width: 100%;
}

.input-group .form-control {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
min-height: 44px; /* Match button height */
}

.input-group .cta-btn-fresh {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
flex-shrink: 0;
width: auto; /* Reset width for input groups */
}

/* =========================
========================= */
@media (max-width: 576px){
  .selectLikeInput {
    /* Make it look more like a button to discourage native behavior */
    cursor: pointer;
    caret-color: transparent; /* Hide blinking cursor */
  }
  
  /* Optional: Add a custom dropdown indicator */
  .selectLikeInput::after {
    content: "⌄";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6b7280;
  }
}

/* Ensure the timezone select container has proper positioning */
.ctrl123abc {
  position: relative;
}

/* Add to your existing CSS */
.email-error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.error998877 {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}



/* Phone row layout – clean, responsive */
.phone-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.phone-code-select {
  max-width: 220px;
  flex: 0 0 auto;
}

.phone-input {
  flex: 1 1 auto;
}

/* Subtle helper text */
.phone-hint {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: 12px;
}

/* Mobile: stack nicely */
@media (max-width: 480px) {
  .phone-row {
    flex-direction: column;
    align-items: stretch;
  }
  .phone-code-select {
    max-width: 100%;
  }
}

/* ------------------------------------------------------------------------- */


.text-succes {
  margin-top: 50px;
    --bs-text-opacity: 1;
    color: #ff620c;
}
.scroll-wrapper {
    margin-top: 30px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, rgb(0, 0, 0) 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  }

  .scroll-content {
    display: inline-flex;
    gap: 0; /* No gap between items */
    animation: scroll-left 20s linear infinite;
  }

  .scroll-content.reverse {
    animation: scroll-right 25s linear infinite;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  @keyframes scroll-right {
    0% {
      transform: translateX(-50%);
    }
    100% {
      transform: translateX(0);
    }
  }

  .scroll-badge {
    display: inline-block;
    white-space: nowrap;
    padding: 13px 34px;
    margin: 0; 
    border-radius: 9999px;
    background-color: #ffffff;
    color: #333;
    font-weight: 500;
    font-family: sans-serif;
    font-size: 22px;
  }

  
/* ------------------------------------------------------------------------- */




/* ---------------------------------------------------------------*/

  .horizontal-scroll {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .horizontal-scroll::-webkit-scrollbar {
    display: none;
  }

  .custom-card {
    width: 300px;
    min-width: 300px;
    background: white;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    scroll-snap-align: start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 450px;
    position: relative;
    overflow: hidden;
  }

  .custom-card:hover {
    border-color: #001bb165;
    box-shadow: 0 4px 16px rgba(0, 44, 177, 0.3);
  }

  .card-footer {
    margin-top: auto;
    overflow: hidden;
  }

  .bottom-image {
    transition: transform 0.3s ease;
    width: 100%;
    display: block;
  }

  .learn-more {
    position: absolute;
    top: -30px;
    left: 0;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 2;
    margin-left: 20px;
  }

  .custom-card:hover .bottom-image {
    transform: translateY(30px);
  }

  .custom-card:hover .learn-more {
    opacity: 1;
    top: 0;
  }
  /* New styles for navigation buttons */
  .scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001bb1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .scroll-button:hover {
    background: #001bb1;
    color: white;
    transform: scale(1.1);
  }

  .scroll-button:active {
    transform: scale(0.95);
  }

   /* Dot indicator styles */
  .dot-container {
    height: 12px;
  }

  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  

  .dot:hover {
    background-color: #001bb180;
  }

/* ---------------------------------------------------------------*/
.gradient-text {
    background: linear-gradient(90deg, #3105c5, #010756);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .text-purple {
    color: #7b4db7;
  }
  
  .bg-purple {
    background-color: #5f4db7;
  }
  
  .bg-purple-light {
    background-color: #f8f1f9;
  }
  
  .badgea.bg-purple {
    background-color: rgba(77, 86, 183, 0.064) !important;
  }
  
  @media (max-width: 992px) {
    .display-5 {
      font-size: 2rem;
    }
    
    .fs-5 {
      font-size: 1rem !important;
    }
    
    .p-lg-5 {
      padding: 1.5rem !important;
    }
  }
  
  @media (max-width: 768px) {
    .display-5 {
      font-size: 1.75rem;
    }
    
    .lead {
      font-size: 1rem;
    }
  }


  
  

/* ---------------------------------------------------------------*/
.performance-title {
    margin-top: 50px;
    color: #ff620c;
  }

  .performance-scroll-wrapper {
    margin-top: 30px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  }

  .performance-scroll-track {
    display: inline-flex;
    gap: 0;
    animation: performance-scroll-left 20s linear infinite;
  }

  .performance-scroll-track.reverse {
    animation: performance-scroll-right 20s linear infinite;
  }

  @keyframes performance-scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  @keyframes performance-scroll-right {
    0% {
      transform: translateX(-50%);
    }
    100% {
      transform: translateX(0);
    }
  }

  .performance-badge-track {
    display: flex;
    gap: 20px;
    align-items: center;
  }

  .performance-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 25px;
    background: #e9e8e841;
    border-radius: 999px;
    color: #000;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .performance-badge img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    padding: 5px;
  }
  .performance-badge p{
    font-size: 20px;  
    margin-bottom: 0px;
  }

  .performance-gradient-text {
    background: linear-gradient(90deg, #0744c7, #0f8bdd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  @media (max-width: 768px) {
    .performance-badge img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    padding: 5px;
  }
   .performance-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
 
    
  }
  }

    .section-bg-image {
      background: url('https://www.casefox.com/assets/img/bg-image-card-section.webp') no-repeat center center;
      background-size: cover;
      color: #fff;
      position: relative;
      padding: 40px 0;
      z-index: 1;
      margin-bottom: 0px;
      overflow: hidden;
    }
    
    .section-bg-image::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 0.5px;
      background: linear-gradient(90deg, transparent, #4a90e2, transparent);
      animation: shimmer 3s infinite;
    }
    
    @keyframes shimmer {
      0% { opacity: 0; }
      50% { opacity: 1; }
      100% { opacity: 0; }
    }
    
    .gradient-text {
      background: linear-gradient(90deg, #4a90e2, #6c5ce7);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      position: relative;
    }
    
    .gradient-text::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 100%;
      height: 2px;
      background: linear-gradient(90deg, #4a90e2, #6c5ce7);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s ease;
    }
    
    h2:hover .gradient-text::after {
      transform: scaleX(1);
    }
    
    .feature-card {
      margin: 0px;
      position: relative;
      background: #fff;
      padding: 20px 30px 30px;
      border-radius: 10px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      height: 100%;
      overflow: hidden;
      text-align: center;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      border: 1px solid rgba(255, 255, 255, 0.8);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    
    .feature-card:hover {
      box-shadow: 0 15px 40px rgba(74, 144, 226, 0.15);
      transform: translateY(-10px);
    }
    
    .icon-container {
      position: relative;
      width: 90px;
      height: 90px;
      margin-bottom: 25px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .icon-bg {
      position: absolute;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, #4a91e200, #6c5ce700);
      border-radius: 18px;
      transform: rotate(45deg);
      transition: all 0.4s ease;
    }
    
    .feature-card:hover .icon-bg {
      transform: rotate(0deg);
      border-radius: 20px;
    }
    
    .number-counter {
      position: relative;
      font-size: 68px;
      font-weight: 700;
      color: rgb(0, 0, 0);
      z-index: 2;
      margin-top: -10px;
      text-align: center;
    }
    
    .feature-card h5 {
      font-size: 27px;
      font-weight: 700;
      margin-bottom: 0;
      color: #111;
      position: relative;
      padding-bottom: 0;
      text-align: center;
      width: 100%;
    }
    
    .icon-container::after {
      content: '';
      position: absolute;
      bottom: 0px;
      left: 50%;
      transform: translateX(-50%);
      width: 280px;
      height: 1.3px;
      background: linear-gradient(90deg, #4a90e2, #5c5ce7);
      border-radius: 2px;
    }
    
    @media (max-width: 767px) {
      .feature-card {
        padding: 30px 25px 25px;
      }
      
      .icon-container {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
      }
      
      .number-counter {
        font-size: 50px;
      }
      
      .feature-card h5 {
        font-size: 22px;
      }
    }

.thank-you-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .thank-you-popup.active {
    opacity: 1;
    visibility: visible;
  }

  .thank-you-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
  }

  .thank-you-popup.active .thank-you-content {
    transform: scale(1);
  }

  .thank-you-icon {
    font-size: 64px;
    color: #10b981;
    margin-bottom: 20px;
  }

  .thank-you-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
  }

  .thank-you-message {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
  }

  .thank-you-button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .thank-you-button:hover {
    background: #1d4ed8;
  }

  /* Email error styling */
  .error998877 {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
  }

  .email-error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
  }