/* ============================================
   GLOBAL.CSS
   Common styles for ALL pages: navbar, footer,
   colors, fonts, resets, etc.
   ============================================ */

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

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #222;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Common color variables will go here */
:root {
  --color-primary: #4B2E83;   /* purple from TFT logo */
  --color-secondary: #1B5E3A; /* green from TFT logo */
  --color-white: #ffffff;
  --color-dark: #111111;
}

/* Navbar styles - to be added */

/* Footer styles - to be added */


/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  z-index: 200;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease;
  animation: whatsappPulse 2.5s infinite;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}
