*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* SMOOTH SCROLLING & OVERFLOW SAFETY */
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
  color: var(--color-text-primary);
  background-color: var(--color-background);
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Scroll Offset Fix for Fixed Headers */
section[id] {
  scroll-margin-top: 80px;
}

.main-content {
  flex: 1 0 auto;
  width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, var(--container-padding));
  padding-right: clamp(1rem, 4vw, var(--container-padding));
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Overflow Prevention */
h1, h2, h3, h4, h5, h6, p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-navy-dark);
}

.btn-primary:hover {
  background-color: var(--color-gold-dark);
  color: var(--color-navy-dark);
}

.btn-outline-light {
  background-color: transparent;
  border-color: rgba(var(--color-white-rgb), 0.3);
  color: var(--color-white);
}

.btn-outline-light:hover {
  border-color: var(--color-white);
  background-color: rgba(var(--color-white-rgb), 0.1);
  color: var(--color-white);
}

/* Responsive Mobile Adjustments */
@media screen and (max-width: 480px) {
  .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}


/* =========Whatsapp floating button ========= */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}



/* ==========================================================================
   COOKIE CONSENT BANNER (CODENESTA UI)
   ========================================================================== */

/* ==========================================================================
   COOKIE CONSENT BANNER STYLES
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  max-width: 440px;
  width: calc(100% - 4rem);
  background: var(--color-navy-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  padding: 1.25rem;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-banner-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-icon {
  width: 20px;
  height: 20px;
  color: #38bdf8;
}

.cookie-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0;
}

.cookie-link {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.cookie-btn-reject {
  background-color: transparent;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.cookie-btn-accept {
  background-color: #38bdf8;
  color: #0f172a;
}

.cookie-btn-accept:hover {
  background-color: #7dd3fc;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    width: auto;
    max-width: none;
  }
}