/* =========================================================
   GLOBAL BASE
========================================================= */

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #f8fafc;
  color: #1f2937;
}


/* =========================================================
   BLOG ARTICLE – LAYOUT
========================================================= */

.blog-article {
  max-width: 860px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: 'Merriweather', serif;
}


/* =========================================================
   BLOG ARTICLE – TITLE & META
========================================================= */

.blog-article h1 {
  font-family: 'Inter', sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.blog-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 30px;
}


/* =========================================================
   BLOG ARTICLE – CONTENT
========================================================= */

.blog-content {
  font-family: 'Merriweather', serif;
  font-size: 1.06rem;
  line-height: 1.85;
  color: #334155;
}

.blog-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 18px;
}


/* =========================================================
   BLOG HEADINGS
========================================================= */

.blog-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  color: #0f172a;
}

.blog-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  color: #075985;
}


/* =========================================================
   BLOG LISTS
========================================================= */

.blog-content ul {
  padding-left: 1.4rem;
  margin-bottom: 1.4rem;
}

.blog-content li {
  margin-bottom: 0.45rem;
}


/* =========================================================
   BLOG NOTE / HIGHLIGHT
========================================================= */

.blog-note {
  background: #f1f5f9;
  border-left: 4px solid #0ea5e9;
  padding: 16px 18px;
  margin: 28px 0;
  font-style: italic;
  color: #475569;
}


/* =========================================================
   BLOG LINKS & DIVIDER
========================================================= */

.blog-content a {
  color: #0369a1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-content a:hover {
  color: #0ea5e9;
}

.blog-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 3rem 0;
}


/* =========================================================
   BLOG HERO IMAGE
========================================================= */

.blog-hero-img {
  width: 100%;
  border-radius: 12px;
  margin: 25px 0 35px;
}


/* =========================================================
   SCROLL CAROUSEL – WRAPPER
========================================================= */

.scroll-carousel-wrap {
  position: relative;
  max-width: 1200px;
  margin: 60px auto 30px;
  padding: 20px 40px;
}


/* =========================================================
   SCROLL CAROUSEL – TRACK
========================================================= */

.scroll-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.scroll-carousel::-webkit-scrollbar {
  display: none;
}


/* =========================================================
   CAROUSEL CARD
========================================================= */

.carousel-card {
  flex: 0 0 260px; /* DO NOT REMOVE */
  min-width: 260px;
  max-width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  flex-shrink: 0;
}

.carousel-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.carousel-card h3 {
  font-size: 1rem;
  margin: 12px 14px 6px;
}

.carousel-card p {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0 14px 12px;
}


/* =========================================================
   CAROUSEL BUTTONS & CTA
========================================================= */

.btn-read {
  display: inline-block;
  margin: 0 12px 14px;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: #fff;
  background: #2563eb;
  border-radius: 4px;
  text-decoration: none;
}

.carousel-header {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.nav-btn {
  pointer-events: all;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
  border-radius: 4px;
  z-index: 10;
}

.nav-btn.prev { left: 0; }
.nav-btn.next { right: 0; }


/* =========================================================
   BOOTSTRAP CAROUSEL CAPTION (HOMEPAGE)
========================================================= */

.carousel-caption {
  bottom: 20%;
}

.carousel-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.btn-danger {
  padding: 10px 20px;
  font-size: 1.1rem;
  border-radius: 4px;
}


/* =========================================================
   MOBILE POPUP
========================================================= */

@media (max-width: 575.98px) {
  .mobile-popup {
    display: block;
    position: fixed;
    bottom: 0;
    z-index: 900000000000000;
    width: 107%;
    background: #fff;
    padding: 10px 0 11px;
    margin-left: -25px;
    box-shadow: 0 -3px 16px rgba(0,0,0,0.62);
  }
}

@media (min-width: 575.98px) {
  .mobile-popup {
    display: none;
  }
}


/* =========================================================
   RESPONSIVE – BLOG & CAROUSEL
========================================================= */

@media (max-width: 768px) {
  .blog-article h1 {
    font-size: 1.7rem;
  }
}

@media (max-width: 992px) {
  .carousel-card {
    flex: 0 0 45%;
  }
}

@media (max-width: 600px) {
  .scroll-carousel-wrap {
    padding: 0 15px;
  }

  .carousel-card {
    flex: 0 0 90%;
  }

  .nav-btn {
    display: none;
  }
}
/* FIX ARROW POSITIONING */
.scroll-carousel-wrap {
  position: relative;
}

/* Remove vertical logic from header */
.carousel-header {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Correct arrow placement */
.nav-btn {
  pointer-events: all;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 20;
}

/* Left & Right spacing */
.nav-btn.prev {
  left: -18px;
}

.nav-btn.next {
  right: -18px;
}
/* =========================
   WHATSAPP BOOK NOW BUTTON
========================= */

.btn-whatsapp {
  display: inline-block;
  background: #6ee7b7;           /* light green (premium look) */
  color: #065f46;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  transition: all 0.25s ease;
}

.btn-whatsapp:hover {
  background: #34d399;           /* slightly darker green on hover */
  color: #064e3b;
  text-decoration: none;
}

/* Optional: WhatsApp strong CTA version */
.btn-whatsapp-strong {
  background: #25D366;           /* official WhatsApp green */
  color: #ffffff;
}

.btn-whatsapp-strong:hover {
  background: #1ebc57;
  color: #ffffff;
}
