/* ----------------------------------------------------
   GLOBAL RESET & BASE
---------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* Remove bottom padding globally */
body {
  padding-bottom: 0;
}

/* Add space ONLY when mobile CTA bar is active */
@media(max-width:900px){
  body {
    padding-bottom: 70px;
  }
}


section {
  padding: 80px 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}


/* ----------------------------------------------------
   HEADER BAR
---------------------------------------------------- */
.demo-header-bar {
  background: linear-gradient(90deg, #009879, #00aaff);
  padding: 18px 0;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.9;
}


/* ----------------------------------------------------
   HERO SECTION
---------------------------------------------------- */
.demo-hero {
  background: linear-gradient(135deg, #e8fbf5, #eaf6ff);
  padding: 100px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1400px;
  margin: auto;
}

.demo-hero h1 {
  font-size: 2.6rem;
  font-weight: 900;
}


/* FEATURE LISTS */
.bullet-points li,
.icon-list li {
  margin: 8px 0;
  font-size: 1.05rem;
}

.icon-list {
  list-style: none;
  padding: 0;
}

.icon-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.icon-list li i {
  color: #00aaff;
  font-size: 1.2rem;
}


/* HERO IMAGE + PRICE BOX */
.hero-right img {
  width: 480px;
  border-radius: 14px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.sticky-price-box {
  position: sticky;
  top: 120px;
  width: 260px;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  margin-top: 25px;
  border: 2px solid #00aaff;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.sticky-price-box .price {
  font-size: 2rem;
  font-weight: 900;
  color: #009879;
}

/* CTA buttons */
.cta-btn,
.cta-main-btn {
  background: linear-gradient(90deg, #009879, #00aaff);
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.cta-main-btn {
  background: #fff;
  color: #009879;
}


/* ----------------------------------------------------
   CARD SECTIONS
---------------------------------------------------- */
.card {
  background: #fff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.card.small {
  max-width: 1200px;
}

.alt-bg {
  background: #f7fafc;
}


/* =============================
   TIMELINE STYLES (STYLE A)
============================= */

.timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.timeline-step {
  width: 240px;
  background: #fff;
  border: 2px solid #00aaff;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  transition: 0.35s;
  opacity: 0;
  transform: translateY(25px);
}

.timeline-step.show {
  opacity: 1;
  transform: translateY(0);
}

.timeline-step:hover {
  transform: translateY(-6px);
  border-color: #009879;
}

.step-icon {
  width: 50px;
  height: 50px;
  background: #00aaff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-bottom: 12px;
  font-size: 1.2rem;
}


/* ----------------------------------------------------
   REVIEWS
---------------------------------------------------- */
.reviews .review-box {
  background: #ffffff;
  border-left: 4px solid #00aaff;
  padding: 20px;
  margin-bottom: 18px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}


/* ----------------------------------------------------
   FAQ
---------------------------------------------------- */
.faq details {
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 15px;
  margin-bottom: 12px;
  border-radius: 8px;
}


/* =============================
   FINAL CTA
============================= */

.final-cta {
  background: linear-gradient(135deg, #009879, #00aaff);
  color: #fff;
  padding: 100px 8%;
  text-align: center;
}

.final-cta h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.final-card p {
  font-size: 1.15rem;
  margin-bottom: 25px;
}


/* =============================
   RELATED DEMOS (STYLE 1)
============================= */

.related-grid {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.related-grid img {
  width: 100%;
  height: 180px; /* control card height */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.related-card {
  background: #fff;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
  color: #083b43;
  box-shadow: 0 6px 22px rgba(0,0,0,0.10);
  transition: 0.3s ease;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.15);
}

.related-card:hover img {
  transform: scale(1.05);
  transition: 0.3s ease;
}

.related-card h3 {
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
}



/* ----------------------------------------------------
   MOBILE CTA BAR — FULLY RESPONSIVE
---------------------------------------------------- */
.mobile-cta-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  background: linear-gradient(90deg, #009879, #00aaff);
  padding: 12px 14px;

  justify-content: space-between;
  align-items: center;

  font-weight: 800;
  color: #fff;
  z-index: 9999;
}

.mobile-cta-bar .cta-text {
  font-size: 1rem;
  font-weight: 700;
}

.mobile-cta-bar a {
  background: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #009879;
  text-decoration: none;
  white-space: nowrap;
}

.mobile-cta-bar a:hover {
  background: #00aaff;
  color: #fff;
}

/* SMALL PHONES < 360px */
@media (max-width: 360px) {
  .mobile-cta-bar {
    padding: 10px;
  }
  .mobile-cta-bar .cta-text {
    font-size: 0.85rem;
  }
  .mobile-cta-bar a {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}


/* for cta bar [adding from bottom] */

/* ==========================================================
   DYNAMIC BOTTOM PADDING (demo-info.php)
   - No extra space on desktop
   - Perfect spacing on all mobile/tablet widths
========================================================== */

/* Extra small phones */
@media (max-width: 399px) {
  body {
    padding-bottom: 47px !important;
  }
}

/* Small phones */
@media (min-width: 400px) and (max-width: 600px) {
  body {
    padding-bottom: 46px !important;
  }
}

/* Tablets portrait */
@media (min-width: 600px) and (max-width: 768px) {
  body {
    padding-bottom: 40px !important;
  }
}

/* Tablets landscape / small laptops */
@media (min-width: 768px) and (max-width: 900px) {
  body {
    padding-bottom: 40px !important;
  }
}

/* Laptops / desktop (NO floater) */
@media (min-width: 900px) and (max-width: 2099px){
  body {
    padding-bottom: 40px !important;
  }
}



/* ----------------------------------------------------
   RESPONSIVE — FINAL FIX
---------------------------------------------------- */

/* Tablets */
@media(max-width: 1024px){
  .hero-right img {
    width: 380px;
  }
}

/* Main mobile collapse */
@media(max-width: 900px){

  section {
    padding: 50px 0;
  }

  .demo-hero {
    flex-direction: column;
    text-align: center;
    width: 100% !important;
    max-width: 100% !important;
    padding: 60px 6% !important;
    margin: 0 !important;
    gap: 35px !important;
  }

  .hero-left, .hero-right {
    width: 100% !important;
  }

  .hero-right img {
    width: 100% !important;
    max-width: 420px !important;
    margin: auto;
    display: block;
  }

  .sticky-price-box {
    position: static !important;
    width: 100% !important;
    max-width: 380px;
    margin: 25px auto 0 !important;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  }

  .card {
    width: 94% !important;
    max-width: 100% !important;
    padding: 24px !important;
  }

  .mobile-cta-bar {
    display: flex;
  }
}

/* Small screens */
@media(max-width: 550px){
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* Very small devices */
@media(max-width: 420px){
  .demo-hero h1 {
    font-size: 1.85rem;
    line-height: 1.3;
  }
}

.cta-secondary {
  display: inline-block;
  margin-top: 1px;
  padding: 4px 50px;
  border-radius: 8px;
  border: 1px solid #ffffff;
  color: #00aaff;
  background: #fff;
  text-decoration: none;
  font-weight: 700;
}

.cta-secondary:hover {
  background: #00aaff;
  color: #fff;
}

@media(max-width: 420px){
  .cta-secondary {
  display: inline-block;
  margin-top: 5px;
  margin-left: 5px;
  padding: 1px 8px;
  border-radius: 8px;
  border: 1px solid #ffffff;
  color: #00aaff;
  text-decoration: none;
  font-weight: 500;
  font-size: medium;
}
}

/* FLOATING WHATSAPP BUTTON — LIFT ABOVE CTA BAR */
.whatsapp-float, 
.whatsapp-btn, 
.whatsapp-icon {
    bottom: 100px !important; /* default safe spacing */
}

/* =============================================
   FLOATING WHATSAPP BUTTON — RESPONSIVE SIZING
============================================= */

/* DEFAULT (Desktop) */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    font-size: 32px; /* WhatsApp icon size */
    color: #fff;
}

/* =======================
   LAPTOPS / SMALL DESKTOP
======================= */
@media (max-width: 1200px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 30px;
        bottom: 30px; /* lifted slightly */
    }
}

/* =======================
   TABLETS LANDSCAPE
======================= */
@media (max-width: 1024px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 28px;
        bottom: 120px !important; /* above CTA */
    }
}

/* =======================
   TABLETS PORTRAIT
======================= */
@media (max-width: 820px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 125px !important;
    }
}

/* =======================
   LARGE PHONES
======================= */
@media (max-width: 600px) {
    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 24px;
        bottom: 110px !important;
    }
}

/* =======================
   SMALL PHONES
======================= */
@media (max-width: 420px) {
    .whatsapp-float {
        width: 44px;
        height: 44px;
        font-size: 22px;
        bottom: 100px !important;
    }
}

/* =======================
   EXTRA SMALL PHONES 320px
======================= */
@media (max-width: 360px) {
    .whatsapp-float {
        width: 40px;
        height: 40px;
        font-size: 20px;
        bottom: 95px !important;
    }
}
