/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}

/* ===== Hero Gradient ===== */
.hero-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 40%, #2563eb 100%);
}

.hero-gradient-sm {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
}

/* ===== Pulse CTA Animation ===== */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

.btn-pulse {
  animation: pulse-ring 2s ease-out infinite;
}

/* ===== Wave Divider ===== */
.wave-divider {
  position: relative;
  overflow: hidden;
}

.wave-divider::after {
  content: "";
  display: block;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23ffffff' d='M0,40 C360,100 720,0 1080,60 C1260,80 1380,40 1440,40 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat center;
  background-size: cover;
  position: absolute;
  bottom: 0;
  left: 0;
}

.wave-divider-blue::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23dbeafe' d='M0,40 C360,100 720,0 1080,60 C1260,80 1380,40 1440,40 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat center;
  background-size: cover;
}

/* ===== Form Focus States ===== */
.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* ===== Card Hover ===== */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* ===== Star Rating ===== */
.stars {
  color: #facc15;
  letter-spacing: 2px;
}

/* ===== Mobile Nav Toggle ===== */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
#mobile-menu.open {
  max-height: 300px;
}
