/* ===================================
   GLOBAL RESET
=================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  overflow-x: hidden;
  font-family: system-ui, sans-serif;
  background-color: #f0f7f6;
  color: #1f2937; /* default text color */
}

section, .container, .card, .group {
  background-color: transparent;
}

/* ===================================
   TYPOGRAPHY
=================================== */
h1 { font-size: 2rem; }      /* ~32px */
h2 { font-size: 1.5rem; }    /* ~24px */
h3 { font-size: 1.25rem; }   /* ~20px */
p  { font-size: 1rem; }      /* ~16px */

/* ===================================
   LAYOUT
=================================== */
section {
  padding: 80px 16px;
}

.container {
  max-width: 1200px;
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

/* ===================================
   IMAGES
=================================== */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

/* ===================================
   BUTTONS / CTA
=================================== */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.cta-buttons a {
  width: 100%;
  max-width: 260px;
  text-align: center;
}

.btn {
  padding: 16px 24px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Quote button */
.btn-quote {
  background-color: #4f46e5;
}
.btn-quote:hover {
  background-color: #4338ca;
}

/* WhatsApp button */
.btn-whatsapp {
  background-color: #25D366;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover {
  background-color: #1ebe5d;
}

/* ===================================
   NAVBAR
=================================== */
nav#navbar {
  transition: transform 0.3s ease;
}

/* ===================================
   SERVICE CARDS
=================================== */
.group {
  transition: all 0.5s ease;
}
.group:hover {
  transform: scale(1.02);
}

.group img {
  border-radius: 1rem;
  transition: opacity 0.2s ease;
}

/* ===================================
   PRICING CARDS
=================================== */
[data-price] {
  font-weight: bold;
}

/* ===================================
   FAQ SECTION
=================================== */
details {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
details:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ===================================
   FORMS
=================================== */
form input,
form textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  padding: 12px;
  border-radius: 12px;
  color: #111827;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}
form input:focus,
form textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* ===================================
   FOOTER
=================================== */
footer a {
  transition: color 0.2s ease;
}
footer a:hover {
  color: #3b82f6;
}

/* ===================================
   SCROLL TO TOP BUTTON
=================================== */
#scrollTopBtn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #4f46e5;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: none;
  z-index: 999;
}
#scrollTopBtn:hover {
  background-color: #4338ca;
}

/* ===================================
   CHATBOT WIDGET
=================================== */
#chatbot {
  width: 16rem;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  font-size: 0.875rem;
}

/* ===================================
   COOKIE CONSENT BANNER
=================================== */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1f2937;
  color: #fff;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: sans-serif;
}
#cookie-consent a {
  color: #3b82f6;
  text-decoration: underline;
}
#cookie-consent button {
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}
#accept-cookies { background-color: #3b82f6; color: #fff; }
#decline-cookies { background-color: #6b7280; color: #fff; }

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 768px) {
  section {
    padding: 40px 16px;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .group img {
    height: auto;
  }
}
