/* =========================
   BASE / LAYOUT VARIABLES
   ========================= */
:root {
  --container: 1700px;
  --hero-min-height: 520px;
  --hero-min-height-mobile: 420px;
}

/* =========================
   CONTAINER / SLIDER
   ========================= */
.slider-wrapper {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Slide layout (single declaration) */
.slide {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-sizing: border-box;
  min-height: var(--hero-min-height); /* prevents jump */
}
.slide.active { display: flex; }

/* Left content */
.hero-content { flex: 1; }
.hero-content h1 {
  line-height: 1.6em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  font-size: 3rem;
  margin: 0 0 18px;
  color: #122434;
}
.brand-logos {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 10px 0 18px;
}
.brand-logos img {
     margin-bottom: 30px;
  width: auto;
  object-fit: contain;
}

/* Right image */
.hero-image {
  flex: 1;
  max-width: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img {
  max-width: 520px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  background: linear-gradient(90deg, #0094FE, #005998);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}
.slider-dots button {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: #BABABA;
  padding: 0;                 /* padding removed to keep exact size */
  cursor: pointer;
}
.slider-dots button.active {
  background: #0094FE;
  transform: scale(1.15);
}

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.04);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 28px;
  color: #1f2937;
  box-shadow: 0 6px 18px rgba(20,40,70,0.06);
}
.slider-prev { left: 12px; }
.slider-next { right: 12px; }

/* =============================
   HOW IT WORKS SECTION
   ============================= */
.how-works {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}
.how-works .how-title {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #0b0b0b;
}

.how-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
 }
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 260px;
  text-align: center;
}
.step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #0094fe;
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px rgba(0, 148, 254, 0.2);
}
.step-text {
  font-size: 1.1rem;
  line-height: 1.4;
  color: #333;
  margin: 0; 
    font-weight: 600;
}

/* =============================
   WHY CHOOSE US
   ============================= */
.why-choose-us {
  padding: 72px 20px;
  background-image: url("https://instantfinance24.com/wp-content/uploads/2025/11/back-choose.webp");
  background-size: cover;
  background-position: center;
  color: #0b0b0b;
  text-align: center;
}
.why-title {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: var(--container, 1700px);
  margin: 0 auto;     padding: 15px 0 25px;
}
.why-card {
  background: #fff;
  border-radius: 16px;
  padding: 60px 26px;
  box-shadow: 0 12px 30px rgba(10,20,40,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 260px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.1);
}
.why-icon { margin-bottom: 18px; }
.why-icon img { width: 48px; height: 48px; object-fit: contain; display: block; }
.why-head {
  font-size: 1.25rem;
  margin: 8px 0 12px;
  color: #0b0b0b;
}
.why-desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
  max-width: 300px;
}

/* =============================
   TESTIMONIALS
   ============================= */
.testimonials-section { padding-top:10px !important; background: #fff; }
.testimonials-title { text-align:center; font-size:2.25rem; margin:0 0 26px; color:#0b0b0b; }
.testimonials-wrap { position: relative; max-width: var(--container,1700px); margin: 0 auto; padding: 8px 0; }
.testimonials-viewport { overflow: hidden; width: 100%; border-radius: 12px; }
.testimonials-track {
  display: flex;
  gap: 26px;
  transition: transform 420ms cubic-bezier(.22,.98,.22,.98);
  will-change: transform;
   touch-action: pan-y;
}
.testimonials-viewport {
    overflow-x: hidden;
    overflow-y: visible; /* FIXES border/shadow cutoff */
    padding-bottom: 20px;
    padding-top: 50px;
}
 

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 34px 30px;
     box-shadow: 0px 4px 14px 0px #00000040;
  min-height: 230px;
  box-sizing: border-box;
  flex: 0 0 auto;
  display:flex;
  flex-direction:column;
  justify-content:space-between; 
    border: 1px solid #f5f5f5;
}
.quote-mark { font-size: 128px; color: #03a0ff; margin-bottom: 8px;    height: 60px;
    line-height: 1em; }
.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.35;
  color:#111;
  margin: 0 0 18px;
  max-height: 5.6em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.testimonial-meta { display:flex; flex-direction:column; gap:8px; }
.t-name { font-size:1.05rem; color:#111; font-weight:600; }
.t-stars { color:#ffbf00; font-size:20px; letter-spacing:4px; }
.testimonials-controls {
  position: absolute;
  right: 6px;
  top: -4px;
  display:flex;
  gap: 12px;
}
.ts-btn {
  padding: 3px;
  width:44px;
  height:44px;
  border-radius:100px;
  border:0;
  background:#03a0ff;
  color:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
  box-shadow:0 8px 18px rgba(3,160,255,0.18);
}

/* =============================
   FAQ
   ============================= */
.faq-section {
  padding: 72px 12px;
  background: linear-gradient(180deg, rgba(3,151,255,0.95) 0%, rgba(1,78,151,1) 100%);
  color: #fff;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  max-width: var(--container,1700px);
  margin: 0 auto;
}
.faq-left { padding: 20px 30px; }
.faq-title {
  font-size: 2.2rem;
  margin: 8px 0 12px;
  color: #fff;
}
.faq-sub {
  color: rgba(255,255,255,0.9);
  max-width: 420px;
  margin-top: 8px;
}
.faq-right { padding: 0 30px 20px 30px; }
.faq-accordion { display:flex; flex-direction:column; gap:18px;     padding-top: 40px;}
.faq-trigger {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  background-color: #4db0f7ad;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 26px 22px;
  border-radius: 14px;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: background .22s ease, transform .18s ease;
  text-align: left; font-weight: 500;
}
.faq-trigger:hover { transform: translateY(-3px); }
.faq-trigger:focus { outline: 3px solid rgba(255,255,255,0.12); outline-offset: 3px; }
.faq-icon { color: rgba(255,255,255,0.95); transition: transform .25s ease; margin-left:18px; }
.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height .36s cubic-bezier(.22,.98,.22,.98), opacity .22s ease;
  background: transparent;
  padding: 0 22px;
  color: rgba(255,255,255,0.95);
  border-radius: 0 0 12px 12px;
}
.faq-panel p { margin: 14px 0 18px; line-height: 1.6; color: rgba(255,255,255,0.95); }
.faq-item--open .faq-panel { /* JS should apply inline max-height */ }

/* =============================
   BNPL / LEASING / CONTACT / SHOP / FEATURED
   ============================= */
.bnpl-section {
  padding: 72px 20px;
  background: #fff;
  color: #0b0b0b;
  text-align: center;
}
.bnpl-title { font-size: 2rem; margin-bottom: 8px; }
.bnpl-sub { font-size: 1.05rem; color: #555; margin-bottom: 42px; }
.bnpl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--container, 1700px);
  margin: 0 auto 38px;
}
.bnpl-card {
  background: #fff;
  border-radius: 14px;
    box-shadow: 0px 4px 14px 0px #00000040;  padding: 36px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bnpl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.bnpl-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f5f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.bnpl-icon img { width: 42px; height: 42px; object-fit: contain; display: block; }
.bnpl-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: #0b0b0b; }
.bnpl-card p { font-size: 0.95rem; color: #444; line-height: 1.5; max-width: 300px; }
.bnpl-footer-text { color: #333; margin-bottom: 20px; font-size: 1rem; }
.bnpl-btn-wrap { text-align: center; }
.bnpl-btn {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(90deg, #0094FE, #005998);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.25s ease;
}
.bnpl-btn:hover { background: linear-gradient(90deg, #007dd6, #00497c); }

.leasing-process {
  padding: 80px 20px;
  background: url("https://instantfinance24.com/wp-content/uploads/2025/11/back-choose.webp");
  background-size: cover;
  background-position: center;
  text-align: center;
}
.leasing-title {
  font-size: 2rem;
  font-weight: 600;                 /* fixed typo */
  color: #fff;
  margin-bottom: 50px !important;
  text-transform: uppercase;
}
.leasing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1700px;
  margin: 0 auto;
}
.leasing-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 40px 26px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.leasing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.leasing-step {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #0094fe;
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px auto 20px;
  box-shadow: 0 6px 20px rgba(0, 148, 254, 0.35);
}
.leasing-card h3 {
  text-align: center;
  font-size: 1.25rem;
  color: #0b0b0b;
  margin-bottom: 10px;
}
.leasing-card p { color: #444; font-size: 1rem; margin-bottom: 25px;  }
.leasing-card ul { list-style: none; margin: 0; padding: 0; }
.leasing-card li { position: relative; padding-left: 28px; margin-bottom: 15px; color: #333; font-size: 0.96rem; line-height: 1.5; }
.leasing-card li:before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url(https://instantfinance24.com/wp-content/uploads/2025/12/Vector-5.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 2px;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
  max-width: var(--container,1700px);
  margin: 0 auto;
  padding: 60px 20px;
}
.contact-column-left .contact-left { width: 100%; }
.contact-right { text-align: left; padding-top: 8px; }
.contact-right h3 { font-size:1.05rem; margin-bottom:12px; color:#0b0b0b; }
.contact-info { display:flex; gap:10px; align-items:center; margin-bottom:10px; color:#333; }
.contact-icon { width:20px; height:20px; object-fit:contain; display:inline-block; }
.contact-note { color:#666; font-size:0.95rem; margin-top:8px; }

/* SHOP CATEGORIES */
.shop-cats-grid { padding: 60px 0 10px; }
.shop-cats-grid .shop-cats-inner {
  max-width: 1700px;
  margin: 0 auto;
  display: grid;
  gap: 48px;
  justify-items: center;
  align-items: start;
}
.shop-cats-grid.cols-4 .shop-cats-inner { grid-template-columns: repeat(4, 1fr); }
.shop-cat { display:flex; flex-direction:column; align-items:center; text-decoration:none; color:inherit; gap:18px; }

 .shop-cat-title { margin-top: 8px; font-size: 22px; font-weight:500; text-align:center; }

/* FEATURED PRODUCTS */
.featured-products-section { padding: 70px 0; }
 .featured-title { text-align:center; font-size:32px; margin:0 0 6px; }
.featured-sub { text-align:center; color:#444; margin-bottom:28px; font-size:18px; }
.featured-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:28px; }
.fp-card { background:#fff;   overflow:hidden; display:flex; flex-direction:column; }
section.featured-products-section h2.featured-title {
    margin-bottom: 20px !important;
}

article.fp-card {
    padding: 10px !important;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.fp-image img { width:100%;   object-fit:cover; display:block; }
.fp-body { padding:18px; display:flex; flex-direction:column; gap:12px; flex:1; }
.fp-title { font-size:20px; margin:0; }
.fp-title a { color:#111; text-decoration:none; }
.fp-price { color:#111; font-size:16px; }
.fp-actions { margin-top:auto; display:flex; justify-content:flex-end; }
.fp-add, .fp-view { display:inline-block; padding:10px 12px; border-radius:8px; background:#06f; color:#fff; text-decoration:none; font-weight:600; }
.fp-view { background:#111; }
.featured-footer { text-align:center; margin-top:28px; }
.featured-all { display:inline-block; padding:12px 28px; border-radius:10px;      background: linear-gradient(90deg, #0094FE 4.35%, #005998 100%); color:#fff; text-decoration:none; font-weight:600; }
.how-steps { gap: 40px;     padding-top: 40px; } 


.faq-item.faq-item--open {
  
     width: 100%;
    background-color: #4db0f7ad;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 14px;
     cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: background .22s 
ease, transform .18s 
ease;
    text-align: left;
}

button.faq-trigger[aria-expanded="true"] {
    background: unset !important;
    border: 0;
    box-shadow: unset;
}
.page-template-template-contact h1.page-title {
    text-align: center;
    font-weight: 600;
}


.my_dev main#main>section:first-child {
    padding-top: 50px;
}
section#faq_page { background: unset; } section#faq_page #faq-title { color: #000; text-align: center; } section#faq_page button.faq-trigger {box-shadow: unset; background-color: #fff; color: #000; border-color: #bababa; } section#faq_page .faq-panel { color: #000; } section#faq_page .faq-panel p { color: #000; } section#faq_page svg.faq-icon { color: #000; } section#faq_page button.faq-trigger:hover { background-color: #0094fe14; } section#faq_page button.faq-trigger button#faq3-trigger {} section#faq_page .faq-item.faq-item--open { background-color: #0094fe14; }
/* =============================
   CONSOLIDATED MEDIA QUERIES
   (mobile / tablet responsive)
   ============================= */

/* Large screens adjustments */
@media (min-width: 1100px) {
  .testimonial-card { padding:36px 34px; }
}

/* Medium desktops / tablets */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .why-card { padding: 48px 20px; min-height: 220px; }

  .bnpl-grid { grid-template-columns: repeat(2, 1fr); }
 }

/* Smaller tablets / large phones */
@media (max-width: 1024px) {
  .leasing-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  
}

/* Narrow screens (stacking slide & reduce sizes) */
@media (max-width: 980px) {
	.hero-content {
    text-align: left;
    width: 100%;
}

	section.hero-slider .slider-wrapper {
    padding: 0;
}
 
  .slide {
    flex-direction: column;
    text-align: center;
    min-height: var(--hero-min-height-mobile);
    padding-bottom: 20px;
  }
  .hero-content { max-width: 100%; }
  .hero-image img { max-width: 240px; }
  .slider-arrow { display: none; } /* hide arrows on small screens */
  .hero-content h1 { font-size: 2.2rem; }

  .how-steps { gap: 40px; }
  .step { max-width: 100%; }
  .step-circle { width: 64px; height: 64px; font-size: 1.5rem; margin-bottom: 12px; }
  .how-works .how-title { font-size: 1.8rem; margin-bottom: 30px; }
  .step-text { font-size: 1rem; }
}

/* Smaller phones */
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-left { order: 1; text-align: center; padding: 8px 12px; }
  .faq-right { order: 2; padding: 12px; }
  .faq-title { font-size: 1.8rem; }
  .faq-trigger { font-size: 1.05rem; padding: 18px 16px; }
}

/* Small phones */
@media (max-width: 780px) {

  .shop-cats-grid .shop-cats-inner { grid-template-columns: repeat(2,1fr) !important; }
   .shop-cat-title { font-size:18px; }
}

@media (min-width: 768px) {

.how-steps .step { text-align: center; width: 30%; } 
.how-steps .arrow { width: 160px; height: 40px; background-image: url('https://instantfinance24.com/wp-content/uploads/2025/12/Union.svg'); background-repeat: no-repeat; background-size: contain; background-position: center; }

}
@media (max-width: 767px) {
span.shop-cat-thumb img {
    max-width: 220px;
    width: 100%;
}

.shop-cats-grid .shop-cats-inner {
    gap: 20px;
}
	.how-steps .step {  width: 100%;}
	.how-steps {flex-wrap: wrap;
}
	.slider-wrapper .slide {
    flex-direction: column !important;
    gap: 20px; /* optional */
}

.slider-wrapper .slide div {
    width: 100%;
}

section.hero-slider .hero-image {
    margin-top: 30px;
}
section.hero-slider:before {
    background-image: url(https://instantfinance24.com/wp-content/uploads/2025/11/Mask-group.webp);
    content: "";
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: top;
    transform: rotate(
181deg);
    transform-origin: center;
    z-index: -1;
    background-repeat: no-repeat;
}

.home section.hero-slider {
    background: unset;
    position: relative;
}

}

/* Very small phones */
@media (max-width: 720px) {
  .bnpl-grid { grid-template-columns: 1fr; gap: 18px; }
  .bnpl-title { font-size: 1.6rem; }
  .leasing-grid { grid-template-columns: 1fr; gap: 16px; }
  .leasing-title { font-size: 1.7rem; margin-bottom: 32px; }
  .leasing-card { padding: 30px 22px; }
  .leasing-step { width: 56px; height: 56px; font-size: 1.4rem;  }
  .testimonial-card { padding:22px; min-height: auto; }
  .testimonials-controls { right: 12px; top: -6px; }
  .testimonial-text { font-size:1rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; padding: 30px 14px; }
  .contact-right { border-top: 1px solid #eee; padding-top: 18px; }
}

/* Extra small phones */
@media (max-width: 600px) {
  .featured-grid { grid-template-columns: 1fr; }
/*   .fp-image img { height:220px; } */
  .fp-actions { justify-content:flex-start; }
  .why-title { font-size: 1.8rem; margin-bottom: 24px; }
  .why-head { font-size: 1.1rem; }
	.contact-column-left .contact-left .two-col {
    grid-template-columns: 1fr;
}
}




@media (max-width: 480px) {

.why-grid {
    grid-template-columns: auto !important;
}
}