/* ===========================
   HERO SECTION FIX & ENHANCEMENTS
   =========================== */

.hero {
  visibility: visible !important;
  opacity: 1 !important;
  display: flex !important;
  min-height: 100vh;
  height: auto;
  margin-top: 70px !important;
}

.hero-content {
  opacity: 1 !important;
  visibility: visible !important;
  animation: fadeInUp 0.8s ease 0.3s both !important;
  position: relative;
  z-index: 2;
}

.hero-text {
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-title {
  animation: slideInDown 0.8s ease 0.4s both !important;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #ffffff 0%, #c0e0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  animation: slideInUp 0.8s ease 0.5s both !important;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.hero-cta {
  animation: fadeInUp 0.8s ease 0.6s both !important;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.5rem 0;
}

.hero-cta .btn {
  padding: 14px 40px !important;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta .btn-primary {
  background: linear-gradient(135deg, #8b9ba3, #aeaab9);
  border: 2px solid #8b9ba3;
  color: white;
}

.hero-cta .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 155, 163, 0.4);
  background: linear-gradient(135deg, #7a8a95, #9aaa99);
}

.hero-cta .btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.hero-cta .btn-secondary:hover {
  background: white;
  color: #aeaab9;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.hero-stats {
  animation: fadeIn 1s ease 0.8s both !important;
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  min-width: 150px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite !important;
}

.stat-card:hover {
  background: rgba(139, 155, 163, 0.2);
  transform: translateY(-5px);
  border-color: rgba(139, 155, 163, 0.5);
  box-shadow: 0 8px 30px rgba(139, 155, 163, 0.3);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #8b9ba3;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(139, 155, 163, 0.3);
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===========================
   CHATBOT MOBILE FIX
   =========================== */

.chatbot-widget {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 998 !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.chatbot-toggle {
  width: 60px !important;
  height: 60px !important;
  background: linear-gradient(135deg, #8b9ba3, #aeaab9) !important;
  border: none !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 28px !important;
  color: white !important;
  box-shadow: 0 4px 20px rgba(139, 155, 163, 0.4) !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  animation: pulse 2s ease-in-out infinite !important;
  padding: 0 !important;
  margin: 0 !important;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(139, 155, 163, 0.6);
}

.chatbot-toggle.active {
  background: linear-gradient(135deg, #aeaab9, #8b9ba3);
  transform: rotate(45deg);
}

.chatbot-container {
  position: absolute;
  bottom: 90px;
  right: 0;
  width: 380px;
  height: 500px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9999;
  overflow: hidden;
}

.chatbot-container.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  background: linear-gradient(135deg, #8b9ba3, #aeaab9);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.chatbot-close {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 24px;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: rotate(90deg);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f9f9f9;
}

.chatbot-message {
  display: flex;
  animation: slideInUp 0.3s ease;
}

.chatbot-message.user {
  justify-content: flex-end;
}

.chatbot-message.bot {
  justify-content: flex-start;
}

.message-bubble {
  max-width: 70%;
  padding: 10px 16px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.4;
  word-wrap: break-word;
}

.chatbot-message.user .message-bubble {
  background: linear-gradient(135deg, #8b9ba3, #aeaab9);
  color: white;
  border-bottom-right-radius: 4px;
}

.chatbot-message.bot .message-bubble {
  background: #e8e8e8;
  color: #333;
  border-bottom-left-radius: 4px;
}

.chatbot-input-area {
  padding: 15px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 10px;
  background: white;
}

#chatbotInput {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 25px;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

#chatbotInput:focus {
  outline: none;
  border-color: #8b9ba3;
  box-shadow: 0 0 0 3px rgba(139, 155, 163, 0.1);
}

.chatbot-send {
  background: linear-gradient(135deg, #8b9ba3, #aeaab9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chatbot-send:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(56, 182, 255, 0.4);
}

.chatbot-send:active {
  transform: scale(0.95);
}

/* ===========================
   MOBILE RESPONSIVE CHATBOT
   =========================== */

@media (max-width: 480px) {
  .chatbot-container {
    width: calc(100vw - 40px);
    height: 70vh;
    max-height: 500px;
    bottom: 80px;
    right: 20px;
    left: auto;
  }

  .chatbot-widget {
    bottom: 20px;
    right: 20px;
  }

  .chatbot-toggle {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }

  .message-bubble {
    max-width: 85%;
    font-size: 0.9rem;
  }
}

/* ===========================
   WELCOME POPUP
   =========================== */

.welcome-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: fadeInOverlay 0.4s ease forwards;
}

.welcome-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.welcome-popup-overlay.hide {
  animation: fadeOutOverlay 0.4s ease forwards;
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOutOverlay {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.welcome-popup {
  background: white;
  border-radius: 30px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: slideInCenter 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

@keyframes slideInCenter {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.welcome-popup-header {
  background: linear-gradient(135deg, #8b9ba3 0%, #aeaab9 100%);
  padding: 40px 30px 30px;
  color: white;
  position: relative;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.welcome-popup-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.welcome-popup-header::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

.welcome-emoji {
  font-size: 4rem;
  margin-bottom: 15px;
  animation: bounce 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.welcome-popup-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.welcome-popup-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.welcome-popup-body {
  padding: 40px 30px;
}

.welcome-popup-content {
  text-align: center;
  margin-bottom: 30px;
}

.welcome-popup-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  font-weight: 500;
}

.welcome-popup-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 25px 0;
}

.benefit-item {
  padding: 15px;
  background: #f0f8ff;
  border-radius: 15px;
  font-size: 0.9rem;
  color: #0a3d62;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.benefit-item:hover {
  background: #e0f2ff;
  border-color: #38b6ff;
  transform: translateY(-2px);
}

.benefit-icon {
  font-size: 1.5rem;
}

.welcome-popup-footer {
  display: flex;
  gap: 15px;
  padding: 0 30px 30px;
  flex-wrap: wrap;
}

.welcome-popup-footer .btn {
  flex: 1;
  min-width: 120px;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  border: none;
  letter-spacing: 0.5px;
}

.popup-btn-primary {
  background: linear-gradient(135deg, #38b6ff, #0a3d62);
  color: white;
  box-shadow: 0 4px 15px rgba(56, 182, 255, 0.3);
}

.popup-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(56, 182, 255, 0.5);
}

.popup-btn-secondary {
  background: transparent;
  color: #0a3d62;
  border: 2px solid #38b6ff;
  font-weight: 700;
}

.popup-btn-secondary:hover {
  background: #f0f8ff;
  transform: translateY(-2px);
}

.welcome-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  padding: 0;
  line-height: 1;
}

.welcome-popup-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg) scale(1.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.welcome-popup-close:active {
  transform: scale(0.95);
}

/* Quick Action Buttons */
.popup-quick-actions {
  display: flex;
  gap: 10px;
  padding: 0 30px 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.popup-quick-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-transform: capitalize;
  color: white;
}

.popup-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.popup-whatsapp:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.popup-whatsapp i {
  font-size: 1.2rem;
}

.popup-stats {
  background: linear-gradient(135deg, #38b6ff, #0a3d62);
  box-shadow: 0 4px 15px rgba(56, 182, 255, 0.3);
}

.popup-stats:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 25px rgba(56, 182, 255, 0.5);
}

.popup-stats.active {
  background: linear-gradient(135deg, #0a3d62, #38b6ff);
  box-shadow: 0 0 20px rgba(56, 182, 255, 0.6);
}

.popup-stats i {
  font-size: 1.2rem;
}

.popup-chatbot {
  background: linear-gradient(135deg, #667eea, #764ba2);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.popup-chatbot:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.popup-chatbot i {
  font-size: 1.2rem;
}

/* Popup Visitor Statistics */
.popup-visitor-stats {
  background: linear-gradient(
    135deg,
    rgba(56, 182, 255, 0.1) 0%,
    rgba(10, 61, 98, 0.05) 100%
  );
  border: 2px solid rgba(56, 182, 255, 0.2);
  border-radius: 15px;
  padding: 18px;
  margin: 20px 0;
  animation: slideInUp 0.6s ease 0.3s both;
}

.popup-stats-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.popup-stat-card {
  background: white;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  border: 1px solid rgba(56, 182, 255, 0.2);
  transition: all 0.3s ease;
  animation: slideInUp 0.6s ease backwards;
}

.popup-stat-card:nth-child(1) {
  animation-delay: 0.2s;
}

.popup-stat-card:nth-child(2) {
  animation-delay: 0.3s;
}

.popup-stat-card:nth-child(3) {
  animation-delay: 0.4s;
}

.popup-stat-card:hover {
  background: linear-gradient(
    135deg,
    rgba(56, 182, 255, 0.1),
    rgba(10, 61, 98, 0.05)
  );
  border-color: rgba(56, 182, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(56, 182, 255, 0.2);
}

.popup-stat-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: #38b6ff;
  font-family: "Courier New", monospace;
  animation: pulse 2s ease-in-out infinite;
  text-shadow: 0 0 8px rgba(56, 182, 255, 0.4);
  transition: all 0.1s ease;
}

.popup-stat-number[data-target] {
  animation: counterGlow 0.6s ease-in-out forwards;
}

@keyframes counterGlow {
  0% {
    text-shadow: 0 0 0px rgba(56, 182, 255, 0);
    color: #0a3d62;
  }
  50% {
    text-shadow:
      0 0 15px rgba(56, 182, 255, 0.6),
      0 0 30px rgba(56, 182, 255, 0.3);
  }
  100% {
    text-shadow: 0 0 8px rgba(56, 182, 255, 0.4);
    color: #38b6ff;
  }
}

.popup-stat-label {
  font-size: 0.75rem;
  color: #0a3d62;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

@keyframes pulse {
  0%,
  100% {
    color: #38b6ff;
  }
  50% {
    color: #0a3d62;
  }
}

.popup-stats-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.popup-stats-text {
  font-size: 0.95rem;
  color: #0a3d62;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

.popup-stats-text strong {
  font-weight: 700;
  font-size: 1rem;
  color: #38b6ff;
}

/* Popup Top Countries */
.popup-top-countries {
  background: linear-gradient(
    135deg,
    rgba(10, 61, 98, 0.05) 0%,
    rgba(56, 182, 255, 0.1) 100%
  );
  border: 2px dashed rgba(56, 182, 255, 0.3);
  border-radius: 12px;
  padding: 12px;
  margin: 15px 0;
  animation: slideInUp 0.6s ease 0.4s both;
  text-align: center;
}

.popup-countries-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.popup-countries-text {
  font-size: 0.85rem;
  color: #0a3d62;
  font-weight: 500;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.country-flags {
  font-size: 1.5rem;
  letter-spacing: 2px;
  display: inline-flex;
  gap: 4px;
}

.country-flags span {
  cursor: help;
  transition: all 0.2s ease;
  display: inline-block;
}

.country-flags span:hover {
  transform: scale(1.2) rotate(-5deg);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@media (max-width: 600px) {
  .welcome-popup {
    width: 92%;
    border-radius: 18px;
    max-height: 85vh;
    overflow-y: auto;
  }

  .welcome-popup-header {
    padding: 25px 15px 15px;
    min-height: auto;
  }

  .welcome-emoji {
    font-size: 2.5rem;
    margin-bottom: 8px;
  }

  .welcome-popup-title {
    font-size: 1.4rem;
    margin-bottom: 5px;
  }

  .welcome-popup-subtitle {
    font-size: 0.8rem;
  }

  .welcome-popup-body {
    padding: 18px 15px;
  }

  .welcome-popup-content {
    margin-bottom: 12px;
  }

  .welcome-popup-intro {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .popup-visitor-stats {
    padding: 12px;
    margin: 12px 0;
  }

  .popup-stats-cards {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .popup-stat-card {
    padding: 8px;
  }

  .popup-stat-number {
    font-size: 1rem;
  }

  .popup-stat-label {
    font-size: 0.7rem;
  }

  .popup-top-countries {
    padding: 8px;
    margin: 10px 0;
  }

  .popup-countries-text {
    font-size: 0.75rem;
  }

  .country-flags {
    font-size: 1.2rem;
    letter-spacing: 0px;
  }

  .benefit-item {
    padding: 10px;
    font-size: 0.8rem;
    gap: 8px;
  }

  .benefit-icon {
    font-size: 1.2rem;
  }

  .welcome-popup-benefits {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 12px 0;
  }

  .popup-quick-actions {
    flex-direction: column;
    padding: 0 15px 10px;
    gap: 8px;
  }

  .popup-quick-btn {
    width: 100%;
    padding: 10px 15px;
    font-size: 0.85rem;
    gap: 6px;
  }

  .popup-quick-btn i {
    font-size: 1rem;
  }

  .welcome-popup-footer {
    flex-direction: column;
    padding: 0 15px 15px;
    gap: 8px;
  }

  .welcome-popup-footer .btn {
    width: 100%;
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .welcome-popup-close {
    top: 10px;
    right: 10px;
    width: 52px;
    height: 52px;
    font-size: 30px;
    background: rgba(255, 255, 255, 0.35);
    border-width: 2px;
  }
}

/* ===========================
   ANIMATIONS ENHANCEMENTS
   =========================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(56, 182, 255, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(56, 182, 255, 0.7);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes parallax {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(50px);
  }
}

/* ===========================
   TYPING INDICATOR
   =========================== */

.typing-indicator .message-bubble {
  display: flex;
  gap: 6px;
  padding: 12px 18px;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: #38b6ff;
  border-radius: 50%;
  display: inline-block;
  animation: typingAnimation 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingAnimation {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* ===========================
   GENERAL ENHANCEMENTS
   =========================== */

body {
  scroll-behavior: smooth;
}

/* Smooth scroll for all anchor links */
a[href^="#"] {
  scroll-behavior: smooth;
}

/* Improve button interactions */
button {
  cursor: pointer;
  user-select: none;
}

/* WhatsApp button enhancement */
.whatsapp-float {
  display: inline-flex !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #25d366, #128c00) !important;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 32px !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
  animation: pulse 2s ease-in-out infinite;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  z-index: 9997 !important;
}

.whatsapp-float:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6) !important;
}

/* Enhance all sections visibility on load */
section {
  opacity: 1 !important;
  visibility: visible !important;
}
/* ===========================
   FLOATING STATISTICS BUTTON
   =========================== */

.floating-stats-container {
  position: fixed !important;
  bottom: 90px !important;
  right: 20px !important;
  z-index: 9999 !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  opacity: 1 !important;
  visibility: visible !important;
}

.floating-stats-widget {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

/* Main toggle button */
.floating-stats-btn {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f) !important;
  border: none !important;
  color: white !important;
  font-size: 24px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  animation: floatButton 3s ease-in-out infinite !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 9999 !important;
}

.floating-stats-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(56, 182, 255, 0.6);
}

.floating-stats-btn.active {
  background: linear-gradient(135deg, #0a3d62, #38b6ff);
  box-shadow: 0 0 25px rgba(56, 182, 255, 0.8);
}

/* Badge showing today's count */
.stats-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(255, 107, 107, 0.4);
  animation: badgePulse 2s ease-in-out infinite;
}

/* Stats panel */
.floating-stats-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  width: 320px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  border: 1px solid rgba(56, 182, 255, 0.1);
}

.floating-stats-panel.open {
  max-height: 600px;
  opacity: 1;
  pointer-events: auto;
  animation: slideUp 0.4s ease;
}

/* Panel header */
.floating-stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(56, 182, 255, 0.1);
  background: linear-gradient(
    135deg,
    rgba(56, 182, 255, 0.05),
    rgba(10, 61, 98, 0.02)
  );
}

.floating-stats-header h3 {
  margin: 0;
  font-size: 1rem;
  color: #0a3d62;
  font-weight: 600;
}

.floating-stats-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #666;
  cursor: pointer;
  padding: 4px 8px;
  transition: all 0.2s ease;
}

.floating-stats-close:hover {
  color: #38b6ff;
  transform: rotate(90deg);
}

/* Panel content */
.floating-stats-content {
  padding: 16px;
  max-height: 400px;
  overflow-y: auto;
}

.floating-stats-content::-webkit-scrollbar {
  width: 6px;
}

.floating-stats-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.floating-stats-content::-webkit-scrollbar-thumb {
  background: rgba(56, 182, 255, 0.3);
  border-radius: 10px;
}

.floating-stats-content::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 182, 255, 0.5);
}

/* Loading state */
.floating-loading {
  text-align: center;
  padding: 20px;
  color: #38b6ff;
  font-weight: 500;
}

.floating-loading i {
  margin-right: 8px;
}

/* Error state */
.floating-error {
  text-align: center;
  padding: 20px;
  color: #ff6b6b;
}

.floating-error i {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}

/* Stats cards */
.floating-stats-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.floating-stat-item {
  background: linear-gradient(
    135deg,
    rgba(56, 182, 255, 0.08),
    rgba(10, 61, 98, 0.03)
  );
  border: 1px solid rgba(56, 182, 255, 0.15);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.floating-stat-item:hover {
  background: linear-gradient(
    135deg,
    rgba(56, 182, 255, 0.15),
    rgba(10, 61, 98, 0.08)
  );
  border-color: rgba(56, 182, 255, 0.3);
  transform: translateY(-2px);
}

.floating-stat-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.floating-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #38b6ff;
  font-family: "Courier New", monospace;
}

.floating-stat-label {
  font-size: 0.7rem;
  color: #0a3d62;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Message */
.floating-stats-message {
  background: linear-gradient(
    135deg,
    rgba(56, 182, 255, 0.05),
    rgba(10, 61, 98, 0.03)
  );
  border-left: 3px solid #38b6ff;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.floating-stats-message p {
  margin: 0;
  font-size: 0.85rem;
  color: #0a3d62;
  line-height: 1.4;
}

/* Countries section */
.floating-countries-section {
  border-top: 1px solid rgba(56, 182, 255, 0.1);
  padding-top: 12px;
  margin-top: 12px;
}

.floating-countries-section h4 {
  margin: 0 0 10px 0;
  font-size: 0.9rem;
  color: #0a3d62;
  font-weight: 600;
}

.floating-countries-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.floating-country-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  background: rgba(56, 182, 255, 0.03);
  border-radius: 6px;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.floating-country-item:hover {
  background: rgba(56, 182, 255, 0.08);
  border-left-color: #38b6ff;
}

.floating-country-flag {
  font-size: 1.2rem;
  min-width: 30px;
}

.floating-country-name {
  flex: 1;
  font-size: 0.85rem;
  color: #0a3d62;
  font-weight: 500;
  margin-left: 8px;
}

.floating-country-count {
  font-size: 0.8rem;
  color: #38b6ff;
  font-weight: 700;
  min-width: 30px;
  text-align: right;
}

/* Panel footer */
.floating-stats-footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(56, 182, 255, 0.1);
  background: linear-gradient(
    135deg,
    rgba(56, 182, 255, 0.03),
    rgba(10, 61, 98, 0.01)
  );
}

.floating-stats-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #38b6ff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.floating-stats-link:hover {
  color: #0a3d62;
  gap: 10px;
}

.floating-stats-link i {
  font-size: 0.75rem;
}

/* Animations */
@keyframes floatButton {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.4);
  }
  50% {
    box-shadow: 0 2px 20px rgba(255, 107, 107, 0.7);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive */
@media (max-width: 600px) {
  .floating-stats-container {
    bottom: 15px;
    right: 15px;
  }

  .floating-stats-btn {
    width: 55px;
    height: 55px;
    font-size: 20px;
  }

  .floating-stats-panel {
    width: calc(100vw - 30px);
    max-width: 320px;
    right: 50%;
    transform: translateX(50%);
  }

  .floating-stats-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .floating-stat-value {
    font-size: 1rem;
  }

  .floating-stat-label {
    font-size: 0.65rem;
  }
}

/* ===========================
   VIDEO POPUP STYLES
   =========================== */

.video-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-popup-overlay.active {
  opacity: 1;
  visibility: visible;
  animation: fadeInOverlay 0.4s ease forwards;
}

.video-popup-overlay.hide {
  animation: fadeOutOverlay 0.4s ease forwards;
}

.video-popup {
  background: white;
  border-radius: 25px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: slideInCenter 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Video header with player */
.video-popup-header {
  position: relative;
  background: #000;
  overflow: hidden;
  flex: 1;
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Custom video controls overlay */
.video-controls-overlay {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.video-container:hover .video-controls-overlay {
  opacity: 1;
}

.video-fullscreen-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #0a3d62;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-fullscreen-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.video-fullscreen-btn:active {
  transform: scale(0.95);
}

/* Video popup body */
.video-popup-body {
  padding: 35px 30px;
  overflow-y: auto;
  flex: 0 0 auto;
  max-height: calc(90vh - 500px);
}

.video-popup-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0a3d62;
  margin: 0 0 12px 0;
  line-height: 1.3;
  animation: slideInDown 0.6s ease 0.2s both;
}

.video-popup-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin: 0 0 25px 0;
  animation: slideInUp 0.6s ease 0.3s both;
}

/* Action buttons */
.video-popup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
  animation: slideInUp 0.6s ease 0.4s both;
}

.video-btn-primary,
.video-btn-secondary {
  padding: 12px 20px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.video-btn-primary {
  background: linear-gradient(135deg, #38b6ff, #0a3d62);
  color: white;
  box-shadow: 0 4px 15px rgba(56, 182, 255, 0.3);
}

.video-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(56, 182, 255, 0.5);
}

.video-btn-primary:active {
  transform: translateY(0);
}

.video-btn-secondary {
  background: transparent;
  color: #0a3d62;
  border: 2px solid #38b6ff;
  font-weight: 700;
}

.video-btn-secondary:hover {
  background: #f0f8ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(56, 182, 255, 0.2);
}

/* Quick stats */
.video-popup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
  background: linear-gradient(
    135deg,
    rgba(56, 182, 255, 0.08) 0%,
    rgba(10, 61, 98, 0.03) 100%
  );
  border: 2px solid rgba(56, 182, 255, 0.15);
  border-radius: 15px;
  animation: slideInUp 0.6s ease 0.5s both;
}

.video-stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: default;
}

.video-stat-item:hover {
  background: rgba(56, 182, 255, 0.1);
  transform: translateY(-2px);
}

.video-stat-icon {
  font-size: 1.8rem;
  animation: bounce 2s ease-in-out infinite;
}

.video-stat-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0a3d62;
}

/* Close button */
.video-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 20;
  backdrop-filter: blur(5px);
}

.video-popup-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(90deg) scale(1.1);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-popup-close:active {
  transform: scale(0.95);
}

/* ===========================
   VIDEO POPUP ANIMATIONS
   =========================== */

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===========================
   VIDEO POPUP RESPONSIVE
   =========================== */

@media (max-width: 768px) {
  .video-popup {
    max-width: 95%;
    max-height: 95vh;
  }

  .video-popup-header {
    max-height: 300px;
  }

  .video-popup-body {
    padding: 20px 15px;
    max-height: calc(95vh - 300px);
  }

  .video-popup-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .video-popup-description {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .video-popup-actions {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
  }

  .video-btn-primary,
  .video-btn-secondary {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .video-popup-stats {
    gap: 10px;
    padding: 12px;
  }

  .video-stat-icon {
    font-size: 1.5rem;
  }

  .video-stat-text {
    font-size: 0.75rem;
  }

  .video-popup-close {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .video-popup {
    border-radius: 15px;
  }

  .video-popup-header {
    max-height: 200px;
  }

  .video-popup-body {
    padding: 15px 12px;
    max-height: calc(95vh - 200px);
  }

  .video-popup-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .video-popup-description {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  .video-popup-actions {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }

  .video-btn-primary,
  .video-btn-secondary {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .video-popup-stats {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .video-stat-item {
    flex-direction: row;
    justify-content: center;
    gap: 6px;
    padding: 6px;
  }

  .video-stat-icon {
    font-size: 1.3rem;
  }

  .video-stat-text {
    font-size: 0.7rem;
  }

  .video-popup-close {
    width: 40px;
    height: 40px;
    font-size: 20px;
    top: 10px;
    right: 10px;
  }

  .video-controls-overlay {
    bottom: 10px;
    right: 10px;
    gap: 8px;
  }

  .video-fullscreen-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}
