/*
1. Add your custom Css styles below
2. Place this in your template:
   <link href="css/custom.css" rel="stylesheet">
*/
/* ---- Process (light-gray + yellow accent) ---- */
:root{
    --bg-panel:  #ffcc05;   /* light gray panel */
    --bg-panel2: #E6C957;   /* light gray panel */
    --text-body: #3A3F46;   /* comfy dark gray */
    --text-head: #1F2328;   /* headings */
    --divider:   #E6E8EC;   /* column separators */
    --ahover:    #a0a0a0;

    --brand: #ffcc05;
  }
  
  .process-band { background: var(--bg-panel); }
  .process-band2 { background: var(--bg-panel2); }
  .process-grid > [class^="col-"],
  .process-grid > [class*=" col-"] { border-right: 1px solid var(--divider); }
  .process-grid > div:last-child { border-right: 0; }
  
  .process-box { padding:56px 7%; }
  .process-number { color: var(--brand); font-weight:800; letter-spacing:.02em; }
  
  .process-box h3 { color: var(--text-head); font-weight:700; margin-bottom:10px; }
  .process-box p, .process-box span { color: var(--text-body); font-size:16px; line-height:1.7; }
  
  /* responsive dividers */
  @media (max-width: 991px){
    .process-grid > [class^="col-"],
    .process-grid > [class*=" col-"] { border-right:0; border-bottom:1px solid var(--divider); }
    .process-grid > div:last-child { border-bottom:0; }
  }
  
  /* Optional: make headings yellow too (comment out if you prefer dark) */
  /* .process-box h3 { color: var(--brand); } */
  

  /* Page-specific tweaks */
  #logo img{height:100px;width:auto;} @media(max-width:991px){#logo img{height:70px;}}
  .contact-hero{padding:70px 0 30px;}
  .contact-hero p.lead{max-width:860px;margin:10px auto 0;}
  .card{background:#fff;border:1px solid #e6e8ec;border-radius:14px;padding:24px;box-shadow:0 4px 14px rgba(17,17,17,.04);}
  .form-grid .card{height:100%;}
  .form-panel{display:none;}
  .form-panel.active{display:block;animation:fade .15s ease-in;}
  @keyframes fade{from{opacity:0;transform:translateY(4px);}to{opacity:1;transform:none;}}
  .help{font-size:12px;color:#5a606b;}
  .divider{height:1px;background:#e6e8ec;margin:22px 0;}
  .required:after{content:" *"; color:#d33; font-weight:700;}
  .btn-outline{border:1px solid #cfd3da;color:#1F2328;background:#fff;}
  .btn-outline:hover{background:#f5f7fa;}
  .inline{display:flex;gap:10px;flex-wrap:wrap; align-items:center;}
  .muted{color:#5a606b;}
  .chip{display:inline-block;background:#F3F4F6;color:#3A3F46;border-radius:999px;padding:2px 8px;font-size:12px;margin-right:6px;}
  .list-tight li{margin:6px 0;}
  /* Inputs (fallback if theme doesn't normalize) */
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
    width:100%; padding:10px 12px; border:1px solid #cfd3da; border-radius:10px; outline:none;
    font-size:16px; line-height:1.4; background:#fff; color:#1F2328;
  }
  textarea{min-height:140px; resize:vertical;}
  label{font-weight:600; margin:8px 0 6px; display:block;}

  .form-status{margin-top:12px;font-size:14px;}
  .form-status.success{color:#1f7a1f;}
  .form-status.error{color:#b00020;}
  .spinner{display:inline-block;width:16px;height:16px;border:2px solid #cfd3da;border-top-color:transparent;border-radius:50%;vertical-align:-3px;animation:spin .8s linear infinite;margin-right:6px;}
  @keyframes spin{to{transform:rotate(360deg)}}

 
  .feature-box.fbox-light .fbox-icon {
    border: 2px solid #e6e8ee; border-radius: 50%; width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .feature-box.fbox-light h3 { font-weight: 700; }
  .separator span { border-bottom: 2px solid #ffcc05; display:inline-block; width:150px; }

/* Services cards */
.service-card { background:#fff; border:1px solid #e6e8ec; border-radius:14px; overflow:hidden; box-shadow:0 4px 14px rgba(17,17,17,.04); }
.service-card img { display:block; width:100%; height:auto; }
.service-card .post-item-description { padding:18px 20px 20px; }
.service-tag { display:inline-block; background:var(--divider); color:var(--text-head); font-weight:400; font-size:12px; padding:3px 8px; border-radius:5px; margin-bottom:8px; }
.service-meta { margin:10px 0 0 18px; color:#3A3F46; }
.service-meta li { margin:6px 0; }

/* Specs band */
.specs-band .spec { padding:18px; border:1px solid #e6e8ec; border-radius:12px; background:#fff; height:100%; }
.specs-band h5 { margin-bottom:8px; }

/* ===== Before/After (true left-right reveal) ===== */
.ba2-wrap{
  --pos:50%; /* 0–100 */
  position:relative; max-width:960px; margin:0 auto;
  border:1px solid #e6e8ec; border-radius:12px; overflow:hidden; background:#000;
}

/* Base (AFTER) stays full size, sets height for the container */
.ba2-wrap > img.ba2-base{
  display:block; width:100%; height:auto; object-fit:cover; user-select:none; pointer-events:none;
}

/* Overlay (BEFORE) is full size and CLIPPED — no scaling */
.ba2-wrap > img.ba2-before{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0); /* visible width = --pos */
  user-select:none; pointer-events:none;
}

/* Divider + knob at the current position */
.ba2-handle{ position:absolute; inset:0 auto 0 var(--pos); transform:translateX(-1.5px); }
.ba2-handle::before{ content:""; position:absolute; top:0; bottom:0; left:0; width:3px; background:var(--brand); box-shadow:0 0 0 1px rgba(17,17,17,.05); }
.ba2-knob{
  position:absolute; left:0; top:50%; transform:translate(-50%,-50%);
  width:36px; height:36px; border-radius:50%; background:#fff; border:2px solid var(--brand);
  box-shadow:0 3px 10px rgba(17,17,17,.18);
}

/* Fading labels */
.ba2-label{
  position:absolute; top:10px; padding:4px 8px; font-weight:700; font-size:12px;
  border-radius:8px; background:rgba(255,255,255,.9); color:#111; transition:opacity .25s ease;
}
.ba2-label-left{ left:12px; }
.ba2-label-right{ right:12px; }

.ba2-help{ text-align:center; font-size:13px; color:#5a606b; margin-top:10px; }

/* Full-area range for drag/click */
.ba2-range{ position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:ew-resize; }
.ba2-range:focus-visible{ outline:2px solid var(--brand); outline-offset:4px; }

/* About page */

#logo img{height:100px;width:auto;}
    @media(max-width:991px){#logo img{height:70px;}}
    .about-hero{padding:70px 0 30px;}
    .about-hero p.lead{max-width:860px;margin:10px auto 0;}
    .card{background:#fff;border:1px solid #e6e8ec;border-radius:14px;box-shadow:0 4px 14px rgba(17,17,17,.04);}
    .pill{display:inline-block;background:#F3F4F6;color:#3A3F46;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700;margin-right:6px;margin-bottom:6px;}
    .tile{padding:18px;}
    .tile .fbox-icon{border:0;}
    .about-split .bio{padding:22px 24px;}
    .about-split .portrait{display:block;width:100%;height:auto;border-top-left-radius:14px;border-top-right-radius:14px;}
    .value-list li{margin:6px 0;}


    /* ===== Pricing tables ===== */
.pricing-tables .plan { background:#fff; border:1px solid #e6e8ec; border-radius:14px; box-shadow:0 4px 14px rgba(17,17,17,.04); height:100%; }
.pricing-tables .plan header{ padding:18px 20px; border-bottom:1px solid #eef0f3; }
.pricing-tables .plan header h4{ margin:0; font-weight:800; }
.pricing-tables .pricing-table{ width:100%; border-collapse:collapse; }
.pricing-tables .pricing-table th,
.pricing-tables .pricing-table td{ padding:12px 16px; border-bottom:1px solid #eef0f3; text-align:left; vertical-align:top; }
.pricing-tables .pricing-table th{ width:58%; color:#1F2328; font-weight:700; }
.pricing-tables .pricing-table td.price{ width:42%; font-weight:800; white-space:nowrap; }
.pricing-tables .note{ font-size:12px; color:#5a606b; padding:12px 16px; }
.pricing-tables .btn{ margin:16px; }

/* brand (yellow) strip */
.band-brand{ background:var(--brand); color:#111; }
.band-brand h2{ margin:0 0 6px; font-weight:900; }
.band-brand p.lead{ margin:8px 0 0; }
.band-brand .mini{ font-size:14px; line-height:1.6; }
.band-brand .pill{ background:rgba(0,0,0,.08); color:#111; }

/* ensure brand strip shows + full-bleed */
section.band-brand{ background: var(--bg-panel) !important; color:#111; }
section.band-brand .pill{ background: rgba(0,0,0,.08); color:#111; }
section.band-brand a.btn-outline{ border-color:#111; color:#111; }
section.band-brand a.btn-outline:hover{ background:#111; color:#fff; }

/* equal heights + bottom-aligned buttons for pricing tables */
.pricing-tables .plan{ display:flex; flex-direction:column; }
.pricing-tables .plan header{ flex:0 0 auto; }
.pricing-tables .plan .pricing-table{ flex:1 1 auto; }
.pricing-tables .plan .note{ flex:0 0 auto; }
.pricing-tables .plan .btn{ align-self:flex-start; margin-top:auto; }

#logo img{height:100px;width:auto;}
    @media(max-width:991px){#logo img{height:70px;}}
    .about-hero{padding:70px 0 30px;}
    .about-hero p.lead{max-width:860px;margin:10px auto 0;}
    .card{background:#fff;border:1px solid #e6e8ec;border-radius:14px;box-shadow:0 4px 14px rgba(17,17,17,.04);}
    .pill{display:inline-block;background:#F3F4F6;color:#3A3F46;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700;margin-right:6px;margin-bottom:6px;}
    .tile{padding:18px;}
    .tile .fbox-icon{border:0;}
    .about-split .bio{padding:22px 24px;}
    .about-split .portrait{display:block;width:100%;height:auto;border-top-left-radius:14px;border-top-right-radius:14px;}
    .value-list li{margin:6px 0;}

    /* mini faq styling */
    .mini-faq details{border:1px solid #e6e8ec;border-radius:10px;padding:14px 16px;margin-bottom:10px;background:#fff;}
    .mini-faq summary{cursor:pointer;font-weight:700;}
    .mini-faq summary::-webkit-details-marker{display:none;}
    .mini-faq summary:after{content:"+"; float:right; font-weight:800;}
    .mini-faq details[open] summary:after{content:"–";}

    /* faq styling */
    #logo img{height:100px;width:auto;} @media(max-width:991px){#logo img{height:70px;}}
    .page-title{padding:60px 0 20px;}
    .faq-intro .pill{display:inline-block;background:#F3F4F6;color:#3A3F46;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700;margin-right:6px;margin-bottom:6px;}
    details{border:1px solid #e6e8ec;border-radius:10px;padding:14px 16px;margin-bottom:10px;background:#fff;}
    details[open]{box-shadow:0 4px 14px rgba(17,17,17,.04);}
    summary{cursor:pointer;font-weight:700;outline:none;}
    summary::-webkit-details-marker{display:none;}
    summary:after{content:"+"; float:right; font-weight:800;}
    details[open] summary:after{content:"–";}
    .faq-cat{margin-top:20px}
    .toc{position:sticky; top:80px;}
    .toc a{display:block;margin:6px 0;color:#1F2328;}
    .muted{color:#5a606b;}
    .card{background:#fff;border:1px solid #e6e8ec;border-radius:14px;box-shadow:0 4px 14px rgba(17,17,17,.04);padding:20px;}

    .btn-close-black {
      filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
    }

    .search-form {
      position: absolute; /* so it can overlay the nav if you want */
      top: 100%; /* right under the navbar */
      right: 0;
      width: 300px;
      background: #fff;
      padding: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      z-index: 1050;
    }

    /* Base state (hidden) */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1080; /* above navbar / modals if needed */
  display: grid;
  grid-template-rows: 1fr;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

/* Visible state */
.search-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Backdrop */
.search-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
}

/* Panel */
.search-panel {
  position: relative;
  margin: auto;
  width: min(900px, 92vw);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  padding: clamp(20px, 4vw, 32px);
  transform: translateY(10px);
  transition: transform .25s ease;
}

.search-overlay.is-open .search-panel { transform: translateY(0); }

/* Close button (top-right inside panel) */
.search-close.btn-close { 
  position: absolute; top: 14px; right: 14px; 
}

/* Make close icon black (Bootstrap btn-close is white by default) */
.btn-close-black { 
  filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

/* Form layout */
.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.search-input {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  padding: 14px 16px;
  border-radius: 10px;
}

.search-submit {
  padding: 12px 18px;
  border-radius: 10px;
  white-space: nowrap;
}

/* Hint */
.search-hint {
  margin: 10px 2px 0;
  font-size: .9rem;
  color: #666;
  text-align: right;
}

/* Prevent background scroll when overlay is open */
body.no-scroll { overflow: hidden; }



/* Global links */
a:hover,
a:focus { color: var(--brand); }

/* Main menu (desktop) */
#mainMenu nav > ul > li:hover > a,
#mainMenu nav > ul > li > a:focus,
#mainMenu nav > ul > li.active > a,
#mainMenu nav > ul > li.current > a { color: var(--brand); }

/* Sticky/dark header variants */
header#header.dark #mainMenu nav > ul > li:hover > a,
header#header.header-sticky #mainMenu nav > ul > li:hover > a { color: var(--brand); }

/* Dropdown items */
#mainMenu nav ul li .dropdown-menu li > a:hover,
#mainMenu nav ul li .dropdown-menu li > a:focus { color: var(--brand); }

/* Header extras (icons) */
.header-extras a:hover,
.header-extras a:focus,
.header-extras i:hover { color: var(--brand); }

/* Footer links */
#footer a:hover,
#footer a:focus { color: var(--ahover); }

/* POLO lists / widgets often used for links */
.list-links a:hover,
.list-links a:focus,
.list-icon a:hover,
.list-icon a:focus { color: var(--brand); }

/* Buttons that look like links */
a.btn-link:hover,
a.btn-link:focus { color: var(--brand); border-color: var(--brand); }

/* Optional: visible keyboard focus using brand color */
a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Utility class if you want to force brand hover on a specific link */
.link-brand:hover, .link-brand:focus { color: var(--brand) !important; }

header#header #mainMenu nav > ul > li:hover > a { color: var(--brand) !important; }

/* override color */
.text-dark2 { color: var(--text-head) !important; }
.flickity-button:hover { background: var(--ahover) !important; }
.portfolio-item .portfolio-description a:hover i, .portfolio-item .grid-description a:hover i, .portfolio-item .portfolio-links a:hover i, .grid-item .portfolio-description a:hover i, .grid-item .grid-description a:hover i, .grid-item .portfolio-links a:hover i { background-color: var(--bg-panel); color: #fff; border: 1px solid #ffcc05; }
a:not(.btn):not(.badge):hover, a:not(.btn):not(.badge):focus, a:not(.btn):not(.badge):active { text-decoration: none; outline: none; color: var(--ahover); }
.highlight.highlight-colored {background-color: var(--brand);color: var(--text-head);}
.grid-filter.gf-outline li:hover a, .grid-filter.gf-outline li.active a { border-color: var(--text-head); color: var(--text-head); background-color: transparent; }
.grid-filter li a {font-weight: 600;display: block;position: relative;padding: 8px 10px;font-size: 13px;line-height: 15px;color: #3c4043;border-radius: 5px;-webkit-transition: all .3s ease;transition: all .3s ease;border-width: 2px;border-style: solid;border-color: transparent;}
.heading-text.heading-section p {font-size: 18px;font-weight: 400;}
.feature-box:hover h2, .feature-box:hover h3, .feature-box:hover h4 { color: var(--ahover); }
.bg-overlay[data-style="2"] { background: var(--brand); opacity: .8; }
#scrollTop:after, #scrollTop:before { display: block; content: ' '; height: 100%; width: 100%; position: absolute; top: 0; left: 0; z-index: 1; background-color: var(--brand); -webkit-transform: scale(0); -ms-transform: scale(0); transform: scale(0); -webkit-transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1); transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1); border-radius: 100px; }
.no-plbr { padding: 40px 0 0 0 !important; }
/* Show the correct form before JS toggles run */
.form-panel { display: none; }
html.intent-contact #form-contact { display: block; }
html.intent-contact #form-book { display: none; }
html.intent-book #form-book { display: block; }
html.intent-book #form-contact { display: none; }

/* Anchor jump offset for sticky header */
#form-book, #form-contact { scroll-margin-top: 120px; }

/* Optional: reduce layout jank on initial load */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}