/* Custom styles beyond Tailwind */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Hover effects */
.feature-card:hover {
  transform: translateY(-5px);
}

/* Focus styles for accessibility */
:focus {
  outline: 2px solid #1e40af;
  outline-offset: 2px;
}

/* Logo styles */
.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-box {
  height: 40px;
  width: 40px;
  background-color: #1e40af; /* primary color */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.logo-text {
  color: white;
  font-weight: 600;
  font-size: 18px;
}

.brand-name {
  margin-left: 10px;
  color: #000000;
  font-weight: 500;
  font-size: 20px;
  transition: all 0.3s ease;
}

/* Logo size adjustments in sticky header */
header {
  transition: all 0.3s ease;
}

header.sticky-active .logo-box {
  height: 35px;
  width: 35px;
  transition: all 0.3s ease;
}

header.sticky-active .logo-text {
  font-size: 16px;
}

header.sticky-active .brand-name {
  font-size: 18px;
}

/* Logo in dark backgrounds (footer) */
.footer-logo .logo-box {
  background-color: #1e40af;
}

.footer-logo .logo-text {
  color: white;
}

.footer-logo .brand-name {
  color: white;
}

/* Additional animations can be added here */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* WhatsApp Badge */
.whatsapp-badge {
  display: inline-flex;
  align-items: center;
  background-color: #25D366;
  color: white;
  border-radius: 25px;
  padding: 8px 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
  text-decoration: none;
}

.whatsapp-badge:hover {
  background-color: #22c15e;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.whatsapp-badge img {
  height: 24px;
  width: 24px;
  margin-right: 8px;
}

/* Smaller WhatsApp button in footer */
.footer-whatsapp {
  padding: 6px 12px;
  font-size: 14px;
}

.footer-whatsapp img {
  height: 18px;
  width: 18px;
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-float:hover {
  background-color: #22c15e;
  transform: scale(1.1);
}

/* Media queries for responsive logo */
@media (max-width: 768px) {
  header img {
    height: 35px;
  }
  
  footer img {
    height: 8px;
  }
}