@font-face {
  font-family: 'Biome';
  src: url('BiomeW01-Regular.woff2') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Reset + basic */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.6;
  color: #222;
  font-family: 'Biome', sans-serif;
}

/* Navbar */
.navbar {
  background: #1877F2;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo {
  font-weight: bold;
  font-size: 20px;
}

.navbar ul {
  list-style: none;
  display: flex;
}

.navbar ul li {
  margin-left: 20px;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.navbar ul li a.active,
.navbar ul li a:hover {
  text-decoration: underline;
}

/* Navbar logo */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  height: 28px;
  width: auto;
  margin-right: 8px;
}

.logo-text {
  color: white;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

/* Hero Section */
.hero {
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}

.hero h1,
.hero p,
.hero a {
  position: relative;
  z-index: 1;
  color: white;
  font-family: 'Biome', sans-serif;
}

.hero h1,
.hero p {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  font-weight: 600;
}

.hero .btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin: 5px;
}

.hero .btn-primary {
  background-color: #007bff;
  color: white;
  border: none;
}

.hero .btn-secondary {
  background-color: #25d366;
  color: white;
  border: none;
}

/* Sections */
.content {
  max-width: 1000px;
  margin: auto;
  padding: 50px 20px;
}

.content h2, .content h1 {
  color: #004f7c;
  margin-bottom: 20px;
  font-size: 28px;
  text-align: center;
  font-family: 'Biome', sans-serif;
  font-weight: 600;
}

.content p {
  font-size: 16px;
  margin-bottom: 15px;
  text-align: center;
  font-family: 'Biome', sans-serif;
  font-weight: 400;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  background: white;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card h3 {
  color: #007acc;
  margin-bottom: 10px;
  font-family: 'Biome', sans-serif;
  font-weight: 600;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Footer */
footer {
  background: #f2f2f2;
  text-align: center;
  padding: 25px 10px;
  margin-top: 50px;
  font-size: 14px;
  font-family: 'Biome', sans-serif;
  font-weight: 400;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* WhatsApp chat bubble */
.whatsapp-bubble {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 260px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  font-family: 'Biome', sans-serif;
  overflow: hidden;
  z-index: 9998;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.whatsapp-bubble.show {
  transform: translateY(0);
  opacity: 1;
}

.bubble-header {
  display: flex;
  align-items: center;
  background: #25d366;
  padding: 8px 10px;
}

.bubble-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 8px;
}

.bubble-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bubble-name {
  color: white;
  font-size: 13px;
  font-weight: 600;
}

.bubble-message {
  padding: 12px;
  font-size: 14px;
  color: #333;
  min-height: 40px;
}
/* FIX: Contact page WhatsApp button centering + box */
.whatsapp-container {
  text-align: center;
  margin-top: 20px;
}

.whatsapp-container .whatsapp-btn {
  display: inline-block;
  margin: 12px auto 0;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid #25d366;
  color: #25d366;
  background: transparent;
  text-decoration: none;
}

/* Hover stays clean */
.whatsapp-container .whatsapp-btn:hover {
  background: #25d366;
  color: white;
}
/* ===== Home Custom Section ===== */
.home-custom {
  margin-top: 60px;
}

.section-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

/* Split layout */
.split {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split-text {
  flex: 1;
}

.split-text h3 {
  color: #004f7c;
  margin-bottom: 12px;
  font-size: 22px;
}

.split-text p {
  text-align: left;
}

.split-img {
  flex: 1;
}

.split-img img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* Review box */
.review-box {
  background: #f7f9fb;
  border-left: 5px solid #004f7c;
  padding: 30px;
  max-width: 800px;
  margin: 80px auto 0;
  text-align: center;
  font-style: italic;
}

.review-box strong {
  display: block;
  margin-top: 15px;
  font-style: normal;
  color: #004f7c;
}

/* Mobile */
@media (max-width: 768px) {
  .split,
  .split.reverse {
    flex-direction: column;
  }

  .split-text p {
    text-align: center;
  }
}
/* ===== Contact Socials ===== */
.contact-socials {
  text-align: center;
  margin-top: 60px;
}

.contact-socials h2 {
  font-size: 28px;
  color: #004f7c;
  margin-bottom: 10px;
}

.contact-socials p {
  font-size: 16px;
  margin-bottom: 30px;
  color: #222;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.social-card {
  background: white;
  border-radius: 12px;
  padding: 25px 20px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-card span {
  display: block;
  font-size: 18px;
  font-weight: 600;
}

.social-card small {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.7;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Platform colors */
.social-card.whatsapp {
  border-top: 4px solid #25d366;
}

.social-card.youtube {
  border-top: 4px solid #FF0000;
}

.social-card.linkedin {
  border-top: 4px solid #0077B5;
}

.social-card.facebook {
  border-top: 4px solid #1877F2;
}

.social-card.instagram {
  border-top: 4px solid #DD2A7B;
}

.social-card.x {
  border-top: 4px solid #000000;
}
/* ===== Contact Page Fixes ===== */
.content.contact-socials,
.whatsapp-container {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
}

.whatsapp-container p {
  font-size: 16px;
  margin-bottom: 15px;
}

.whatsapp-container .whatsapp-btn {
  display: inline-block;
  margin: 0 auto;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid #25d366;
  color: #25d366;
  background: transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}

.whatsapp-container .whatsapp-btn:hover {
  background: #25d366;
  color: white;
}

/* Social Cards Grid */
.contact-socials .social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.contact-socials .social-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.contact-socials .social-card span {
  font-size: 18px;
  font-weight: 600;
}

.contact-socials .social-card small {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.7;
}

.contact-socials .social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Social platform colors */
.social-card.whatsapp { border-top: 4px solid #25d366; }
.social-card.youtube { border-top: 4px solid #FF0000; }
.social-card.linkedin { border-top: 4px solid #0077B5; }
.social-card.facebook { border-top: 4px solid #1877F2; }
.social-card.instagram { border-top: 4px solid #DD2A7B; }

/* Mobile responsiveness */
@media (max-width: 768px) {
  .contact-socials .social-grid {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-container .whatsapp-btn {
    width: 70%;
  }
}
.whatsapp-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.whatsapp-close {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #000;
  color: #fff;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}

.whatsapp-close:hover {
  background: #444;
}
/* ===== Signup Popup ===== */
.signup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.signup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.signup-modal {
  position: relative;
  width: min(900px, 92%);
  height: min(700px, 85vh);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  overflow: hidden;
  animation: popupScale 0.25s ease;
}

.signup-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Close button */
.signup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.signup-close:hover {
  background: rgba(0,0,0,0.9);
}

@keyframes popupScale {
  from {
    transform: scale(0.96);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mobile fix */
@media (max-width: 600px) {
  .signup-modal {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}

.split-text p {
  text-align: justify;
}
