﻿
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

main {
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.heading-font {
    font-family: 'Playfair Display', serif;
}

button {
  transition: transform 0.15s ease, background-color 0.2s ease;
}

/* Typing Animation */
.typing-text {
    display: inline-block;
    width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid currentColor;
    animation: typing-reveal 3s steps(28, end) 0.2s forwards, caret-blink 0.85s step-end infinite;
}

@keyframes typing-reveal {
    from { width: 0; }
    to { width: min(26ch, 100%); }
}

@keyframes caret-blink {
    from, to { border-color: transparent; }
    50% { border-color: currentColor; }
}

@media (max-width: 1024px) {
  .typing-text {
    width: auto;
    overflow: visible;
    white-space: normal;
    border-right: 0;
    animation: fadeIn 0.9s ease-out forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  .typing-text {
    width: auto;
    overflow: visible;
    white-space: normal;
    border-right: 0;
    animation: none;
  }
}

/* Slide Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Page Loader */
#page-loader {
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hide {
  opacity: 0;
  visibility: hidden;
}


.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Card Flip Animation */
.flip-card {
    perspective: 1000px;
    height: 420px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
}

.flip-card-back {
    transform: rotateY(180deg);
}


/* Counter Animation */
.counter {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fbbf24;
}

/* Hero Slider */
.hero-slide {
    display: none;
    animation: fadeIn 1s ease-in-out;
}

.hero-slide.active {
    display: block;
}

/* Hero section sizing */
.hero-section {
  height: clamp(420px, 100vh, 640px);
}

.hero-section .hero-slide,
.hero-section .hero-slide img {
  width: 100%;
  height: 100%;
}

.hero-section .hero-slide img {
  display: block;
  object-fit: cover;
  object-position: center;
  min-width: 100%;
  min-height: 100%;
}

.hero-section .hero-slide {
  overflow: hidden;
}

.hero-section .hero-slide h2 {
  line-height: 1.12;
}

.hero-section .hero-slide p {
  line-height: 1.5;
}

/* Subtle readable panel without gradient */
.hero-copy {
  background: rgba(7, 12, 24, 0.42);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.35);
  border-radius: 18px;
  padding: 18px 22px;
}

@media (max-width: 640px) {
  .hero-copy {
    padding: 14px 16px;
    border-radius: 16px;
  }
}

/* Hero slider arrows (pill style like reference) */
.hero-control {
  width: 25px;
  height: 75px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  /* backdrop-filter: blur(4px); */
}

.hero-control:hover {
  background: rgba(0, 0, 0, 0.55);
}

.hero-control svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .hero-section {
    height: clamp(360px, 62vh, 500px);
  }
}

@media (max-width: 640px) {
  .hero-section {
    height: clamp(340px, 58vh, 440px);
  }

  .hero-section .hero-slide .max-w-2xl,
  .hero-section .hero-slide .max-w-3xl {
    max-width: 100%;
  }

  .hero-section .hero-slide h2 {
    font-size: clamp(2rem, 6.5vw, 2.75rem);
  }

  .hero-section .hero-slide p {
    font-size: clamp(1rem, 3.8vw, 1.25rem);
  }

  .hero-section .hero-slide a {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  #hero-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
    line-height: 1.15;
    white-space: normal;
    border-right: 0;
  }

  #hero-subtitle {
    font-size: clamp(1rem, 4.6vw, 1.25rem);
  }
}


/* Modal */
/* ===== MODAL (HARD FIX) ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.active {
  display: flex;
}


/* Dropdown Menu */
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
}

/* Logo Slider */
.logo-slider {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Star Rating */
.star {
    color: #fbbf24;
    font-size: 1.2rem;
}

/* Chatbot */
#chatbot-window {
  animation: fadeIn 0.3s ease;
}

/* Compare checkbox styling */
.compare-wrapper {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  justify-content: center;
}

.compare-wrapper input {
  display: none;
}

.compare-wrapper label {
  padding: 6px 14px;
  border: 2px solid #2563eb;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #2563eb;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.compare-wrapper input:checked + label {
  background: #2563eb;
  color: white;
}

/* Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #e5e7eb;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ================= FINAL HARD FIX ================= */

/* MODAL */
.modal {
  position: fixed !important;
  inset: 0 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0,0,0,0.7) !important;
  z-index: 99999 !important;
}

.modal.active {
  display: flex !important;
}

/* FLOATING BUTTONS */
.sticky-contact {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  z-index: 99999 !important;
}


/* WhatsApp live pulse + subtle bounce */
.sticky-contact a[href*="wa.me"] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
  animation: whatsapp-bounce 6s ease-in-out infinite;
}

.sticky-contact a[href*="wa.me"]:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
  animation-play-state: paused;
}

.sticky-contact a[href*="wa.me"]::after {
  /* subtle pulsing ring */
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 999px;
  pointer-events: none;
  box-shadow: 0 0 0 6px rgba(0, 255, 94, 0.12);
  opacity: 0;
  animation: whatsapp-pulse 2.6s infinite ease-out;
}

@keyframes whatsapp-pulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 1; }
  70% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
  100% { opacity: 0; }
}

@keyframes whatsapp-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Disable the auto-bounce on very small screens to avoid accidental motion */
@media (max-width: 640px) {
  .sticky-contact a[href*="wa.me"] {
    animation: none;
  }
  .sticky-contact a[href*="wa.me"]::after {
    display: none;
  }
}

/* Scroll-to-top button (bottom-center, white rounded with border) */
#scrollTopBtn {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(10px) scale(0.98);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #ffffff;
  color: #2563eb; /* arrow color */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 8px 24px rgba(2,6,23,0.08);
  opacity: 0;
  transition: opacity 260ms ease, transform 260ms cubic-bezier(.2,.9,.2,1), box-shadow 160ms ease;
  z-index: 99999;
  cursor: pointer;
}

#scrollTopBtn.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

#scrollTopBtn:hover {
  transform: translateX(-50%) translateY(-3px) scale(1.03);
  box-shadow: 0 18px 40px rgba(2,6,23,0.12);
}

#scrollTopBtn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* small pulse ring when visible */
#scrollTopBtn.visible::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%,-50%);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(37,99,235,0.04);
  animation: scroll-pulse 2.8s infinite ease-out;
  pointer-events: none;
}

@keyframes scroll-pulse {
  0% { opacity: 0.6; transform: translate(-50%,-50%) scale(0.9); }
  60% { opacity: 0; transform: translate(-50%,-50%) scale(1.4); }
  100% { opacity: 0; }
}

@media (max-width: 640px) {
  #scrollTopBtn {
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%) translateY(0);
  }
}

/* ===== Scroll Reveal Animations ===== */
.reveal-left,
.reveal-right,
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

.reveal-left {
  transform: translateX(-80px);
}

.reveal-right {
  transform: translateX(80px);
}

.reveal-up {
  transform: translateY(60px);
}

.reveal-active {
  opacity: 1;
  transform: translate(0, 0);
}

/* Product visibility control */
.product-hidden {
  display: none;
}

/* ===== HEADER NAV STYLES (NO TAILWIND APPLY) ===== */

.nav-link {
  color: #374151; /* gray-700 */
  font-weight: 500;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  height: 40px;
  line-height: 1;
  white-space: nowrap;
}

.nav-link a {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.header-cta {
  white-space: nowrap;
}

.nav-link:hover {
  color: #2563eb; /* blue-600 */
}

.nav-link.active {
  color: #2563eb;
}

.dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 20px;
  color: #374151;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
  background-color: #eff6ff; /* blue-50 */
  color: #2563eb;
}

/* ===== HEADER COLLAPSE ===== */

#site-header {
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.header-hide-top {
  transform: translateY(-48px); /* hide top bar */
}

/* ===== HEADER FIXED SPACER ===== */

#header-spacer {
  height: 112px; /* top bar (48px) + nav (64px) */
}




/* ===== CHATBOT UI POLISH ===== */

#chatbot-messages {
  background: #f8fafc;
}

.chat-bot {
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 14px 14px 14px 4px;
  padding: 8px 12px;
  max-width: 85%;
}

.chat-user {
  background: #2563eb;
  color: white;
  border-radius: 14px 14px 4px 14px;
  padding: 8px 12px;
  max-width: 85%;
  margin-left: auto;
}

.chat-options button {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.chat-options button:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
}

/* ===== RESPONSIVE FIX: CHATBOT ===== */

@media (max-width: 640px) {

  #chatbot {
    bottom: 20px;
    left: 14px;
  }

  #chatbot-window {
    width: 90vw;
    max-width: 320px;
  }
}

/* ===== STICKY BUTTON RESPONSIVE FIX ===== */

@media (max-width: 768px) {

  /* Contact buttons (call + whatsapp) */
  .sticky-contact a {
    width: 48px;
    height: 48px;
  }

  .sticky-contact svg {
    width: 22px;
    height: 22px;
  }

  .sticky-contact {
    bottom: 90px; /* push up so it doesn't clash */
    right: 16px;
    gap: 10px;
  }

}

/* ===== GLOBAL MICRO POLISH ===== */

/* Section spacing consistency */
section {
  scroll-margin-top: 120px; /* accounts for fixed header */
}

/* Better paragraph readability */
p {
  line-height: 1.7;
}

/* Improve heading rhythm */
h2 {
  line-height: 1.25;
}

h3 {
  line-height: 1.3;
}

/* Contact link interactions */
.contact-link {
  display: inline-block;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease;
}

.contact-link:hover {
  transform: translateY(-1px);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-link-light {
  color: rgba(255, 255, 255, 0.94);
}

.contact-link-light:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

.contact-link-dark {
  color: #4b5563;
}

.contact-link-dark:hover {
  color: #1d4ed8;
}

/* Reduce excessive tightness on mobile */
@media (max-width: 768px) {
  section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  h3 {
    font-size: 1.3rem;
  }
}


/* ===== CATEGORY PILLS (REFINED) ===== */

.category-pill {
  padding: 8px 16px;           /* smaller */
  border-radius: 999px;
  border: 1.5px solid #2563eb;
  background: white;
  color: #2563eb;
  font-weight: 500;
  font-size: 0.9rem;           /* slightly smaller text */
  white-space: nowrap;
  transition: all 0.25s ease;
}

.category-pill:hover {
  background: #eff6ff;
}

.category-pill.active {
  background: #2563eb;
  color: white;
}

/* Hide scrollbar but allow scroll */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}


/* Mobile behavior */
@media (max-width: 768px) {
  #categoryPills {
    justify-content: flex-start;
    padding-bottom: 4px;
  }
}

/* ===== Restored Session Overrides ===== */

/* Hero: gradient overlay + responsive content */
.hero-section {
  position: relative;
  min-height: clamp(360px, 62svh, 520px);
  height: clamp(420px, 78svh, 860px);
}

@supports (height: 100dvh) {
  .hero-section {
    min-height: clamp(360px, 62dvh, 520px);
    height: clamp(420px, 78dvh, 860px);
  }
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg, rgba(2, 6, 23, 0.76) 0%, rgba(2, 6, 23, 0.48) 42%, rgba(2, 6, 23, 0.30) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.34) 0%, rgba(2, 6, 23, 0.08) 56%, rgba(2, 6, 23, 0.26) 100%);
  pointer-events: none;
}

.hero-content-wrap {
  width: min(100%, 940px);
  margin-inline: auto;
  text-align: center;
  padding: clamp(10px, 1.2vw, 18px);
}

.hero-content-wrap h2,
.hero-content-wrap p {
  margin-left: auto;
  margin-right: auto;
}

.hero-content-wrap .hero-actions {
  justify-content: center;
}

@media (min-width: 1025px) {
  .hero-section {
    min-height: clamp(520px, 70svh, 680px);
    height: clamp(620px, 86svh, 860px);
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: clamp(340px, 56svh, 460px);
    height: clamp(360px, 62svh, 500px);
  }
}

@media (max-width: 640px) {
  .hero-section {
    min-height: clamp(320px, 52svh, 420px);
    height: clamp(340px, 58svh, 440px);
  }

  .hero-content-wrap {
    width: min(100%, 99%);
    padding: 8px 4px;
  }

  .hero-content-wrap .hero-actions {
    gap: 10px;
  }

  .hero-content-wrap .hero-actions a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-control {
    top: auto !important;
    transform: none !important;
    bottom: 56px;
  }

  .hero-control-prev {
    left: 10px !important;
  }

  .hero-control-next {
    right: 10px !important;
  }

  .hero-indicators {
    bottom: 16px;
    gap: 8px;
  }
}

/* WhatsApp floating chat */
.whatsapp-fab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
  animation: whatsapp-bounce 6s ease-in-out infinite;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
  animation-play-state: paused;
}

.whatsapp-fab::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 999px;
  pointer-events: none;
  box-shadow: 0 0 0 6px rgba(0, 255, 94, 0.12);
  opacity: 0;
  animation: whatsapp-pulse 2.6s infinite ease-out;
}

.whatsapp-chat-window {
  position: absolute;
  right: 0;
  bottom: 72px;
  display: flex;
  flex-direction: column;
  width: min(88vw, 340px);
  max-height: min(72svh, 560px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d1fae5;
  background: #e5ddd5;
  box-shadow: 0 16px 38px rgba(2, 6, 23, 0.24);
  opacity: 0;
  transform: translateY(18px) scale(0.92);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-chat-window.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-chat-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: #fff;
  background: #075e54;
}

.wa-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.22);
}

.wa-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.wa-status {
  margin: 1px 0 0;
  font-size: 0.75rem;
  opacity: 0.9;
}

.wa-chat-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 12px;
  background-image: radial-gradient(rgba(7, 94, 84, 0.06) 1px, transparent 1px);
  background-size: 14px 14px;
}

.wa-message {
  width: fit-content;
  max-width: 92%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.wa-message-in {
  background: #ffffff;
  color: #111827;
  border-top-left-radius: 3px;
}

.wa-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wa-list-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
margin: 0; padding: 0; list-style: none;
}

.wa-list-item {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: normal;
  line-height: 1.3;
  text-align: left;
  width: 100%;
}

.wa-list-item:hover,
.wa-list-item.active,
.wa-list-item:focus-visible {
  border-color: #25d366;
  background: #dcfce7;
  color: #065f46;
  outline: none;
}

.wa-chat-footer {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  padding: 10px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}

.wa-send-btn {
  width: 100%;
  border: 0;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.wa-send-btn:hover {
  background: #16a34a;
}

@media (max-width: 1024px) {
  .whatsapp-chat-window {
    right: -8px;
    bottom: 64px;
    width: min(92vw, 360px);
    max-width: calc(100vw - 12px);
    max-height: min(68svh, 520px);
  }
}

/* Scroll-to-top: centered and high contrast */
#scrollTopBtn {
  left: 50%;
  bottom: 18px;
  right: auto;
  transform: translateX(-50%) translateY(14px) scale(0.94);
  width: 52px;
  height: 52px;
  background: linear-gradient(145deg, #0f172a 0%, #1d4ed8 100%);
  color: #e2e8f0;
  border: 1px solid rgba(147, 197, 253, 0.5);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.42), inset 0 1px 0 rgba(255,255,255,0.2);
}

#scrollTopBtn.visible {
  transform: translateX(-50%) translateY(0) scale(1);
}

#scrollTopBtn:hover {
  transform: translateX(-50%) translateY(-4px) scale(1.04);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.5), inset 0 1px 0 rgba(255,255,255,0.28);
}

#scrollTopBtn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

#scrollTopBtn.visible::after {
  width: 70px;
  height: 70px;
  box-shadow: 0 0 0 7px rgba(59,130,246,0.2);
}

@media (max-width: 640px) {
  .whatsapp-fab {
    animation: none;
  }

  .whatsapp-fab::after {
    display: none;
  }

  .whatsapp-chat-window {
    width: min(92vw, 340px);
    right: 0;
    bottom: 62px;
    max-height: min(66svh, 500px);
  }

  .wa-chat-body {
    padding: 10px;
  }

  .wa-quick-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .wa-list-item {
    width: 100%;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.86rem;
  }

  #scrollTopBtn {
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 768px) {
  .sticky-contact > a,
  .sticky-contact > button.whatsapp-fab {
    width: 48px;
    height: 48px;
  }

  .sticky-contact svg {
    width: 22px;
    height: 22px;
  }

  .sticky-contact {
    bottom: 90px;
    right: 16px;
    gap: 10px;
  }
}

/* Wider desktop containers */
@media (min-width: 1025px) {
  .max-w-7xl {
    max-width: min(96vw, 1560px) !important;
  }

  .max-w-4xl {
    max-width: min(94vw, 1320px) !important;
  }
}

/* ===== WhatsApp Mobile Visibility Fix ===== */
@media (max-width: 640px) {
  .whatsapp-chat-window {
    width: min(88vw, 320px) !important;
    right: 0 !important;
    max-width: calc(100vw - 20px) !important;
    bottom: 64px !important;
    max-height: min(46svh, 360px) !important;
    border-radius: 14px;
  }

  .wa-chat-header {
    padding: 8px 10px;
  }

  .wa-title {
    font-size: 0.88rem;
  }

  .wa-status {
    font-size: 0.68rem;
  }

  .wa-chat-body {
    padding: 8px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .wa-message {
    max-width: 100%;
    font-size: 0.8rem;
    line-height: 1.3;
    padding: 7px 9px;
    margin-bottom: 8px;
  }

  .wa-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .wa-list-item {
    width: 100%;
    min-height: 36px;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: normal;
    text-align: left;
    line-height: 1.15;
    border: 1px solid #9ca3af;
    background: #ffffff;
    color: #0f172a;
  }

  .wa-chat-footer {
    padding: 6px 8px;
  }

  .wa-send-btn {
    padding: 9px 12px;
    font-size: 0.84rem;
  }
}




