* { box-sizing: border-box; }

body { font-family: 'Heebo', sans-serif; }

/* ===== NAVBAR ===== */
#navbar { background: transparent; }

#navbar.navbar-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(26, 40, 120, 0.1);
}

.nav-link {
  color: #1a2878;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: rgba(26, 40, 120, 0.07); color: #1565c0; }

.nav-link-cta {
  background: #1a2878;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.55rem 1.4rem;
  border-radius: 2rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(26, 40, 120, 0.25);
}
.nav-link-cta:hover {
  background: #1565c0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 40, 120, 0.35);
}

.mobile-nav-link {
  color: #1a2878;
  font-weight: 500;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
  display: block;
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: #1565c0; }
.mobile-nav-link:last-child { border-bottom: none; }

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a2878;
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero-section {
  background: linear-gradient(145deg, #ffffff 0%, #eef2ff 55%, #dbeafe 100%);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -80px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(21, 101, 192, 0.06) 0%, transparent 68%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 80px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 40, 120, 0.05) 0%, transparent 68%);
  pointer-events: none;
}

.hero-content { animation: fadeInUp 0.75s ease both; }

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 60px; display: block; }

/* ===== BUTTONS ===== */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid #1a2878;
  color: #1a2878;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-secondary:hover {
  background: #1a2878;
  color: white;
  transform: translateY(-2px);
}

.btn-whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-whatsapp-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.btn-phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: white;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-phone-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

/* ===== SECTION COMMON ===== */
.section-header { text-align: center; max-width: 600px; margin: 0 auto; }

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a2878;
  margin-bottom: 1rem;
  line-height: 1.2;
}
@media (min-width: 768px) { .section-title { font-size: 2.8rem; } }

.section-subtitle {
  font-size: 1.05rem;
  color: #6b7280;
  line-height: 1.75;
}

/* ===== TRUST CARDS ===== */
.trust-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(26, 40, 120, 0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(26, 40, 120, 0.14);
}
.trust-icon  { font-size: 2.5rem; margin-bottom: 1rem; }
.trust-title { font-size: 1.2rem; font-weight: 700; color: #1a2878; margin-bottom: 0.5rem; }
.trust-text  { color: #6b7280; line-height: 1.65; font-size: 0.95rem; }

/* ===== SERVICE CARDS ===== */
.service-card {
  background: white;
  border: 1.5px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #1a2878, #1565c0);
  opacity: 0;
  transition: opacity 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(26, 40, 120, 0.12);
  border-color: #c7d2fe;
}
.service-card:hover::after { opacity: 1; }
.service-icon { font-size: 2.5rem; margin-bottom: 1.25rem; }
.service-title { font-size: 1.25rem; font-weight: 700; color: #1a2878; margin-bottom: 0.75rem; }
.service-text  { color: #6b7280; line-height: 1.7; font-size: 0.95rem; }

/* ===== TEAM CARDS ===== */
.team-card {
  background: white;
  border-radius: 1.75rem;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(26, 40, 120, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 44px rgba(26, 40, 120, 0.15);
}
.team-avatar {
  width: 84px;
  height: 84px;
  background: linear-gradient(135deg, #1a2878, #1565c0);
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 16px rgba(26, 40, 120, 0.3);
}
.team-name { font-size: 1.4rem; font-weight: 800; color: #1a2878; margin-bottom: 0.35rem; }
.team-role  { font-size: 0.95rem; font-weight: 500; color: #1565c0; margin-bottom: 1rem; letter-spacing: 0.01em; }
.team-bio   { color: #6b7280; line-height: 1.7; font-size: 0.95rem; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #1a2878 0%, #1565c0 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* ===== FOOTER ===== */
footer { background: #111a5a; }

/* ===== FLOATING WHATSAPP ===== */
.wa-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 62px;
  height: 62px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  z-index: 100;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPulse 2.5s infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.65);
  animation: none;
}

/* ===== LOGO ROUND ===== */
.logo-round {
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
.logo-nav {
  width: 52px;
  height: 52px;
  box-shadow: 0 2px 12px rgba(26, 40, 120, 0.18);
  transition: transform 0.3s, box-shadow 0.3s;
}
.logo-nav:hover {
  transform: rotate(5deg) scale(1.08);
  box-shadow: 0 4px 20px rgba(26, 40, 120, 0.28);
}
.logo-footer {
  width: 72px;
  height: 72px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.15);
}

/* ===== HERO ORBS ===== */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.55;
  will-change: transform;
}
.hero-orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #93c5fd 0%, transparent 70%);
  top: -80px;
  right: 10%;
  animation: orbFloat1 9s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #c7d2fe 0%, transparent 70%);
  bottom: 100px;
  left: 5%;
  animation: orbFloat2 12s ease-in-out infinite;
}
.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #bfdbfe 0%, transparent 70%);
  top: 40%;
  left: 40%;
  animation: orbFloat3 7s ease-in-out infinite;
}

/* ===== SERVICE CARD SHIMMER ===== */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
  transition: left 0.5s ease;
  pointer-events: none;
  z-index: 1;
}
.service-card:hover::before { left: 150%; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50%       { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.75), 0 0 0 10px rgba(37, 211, 102, 0.12); }
}

.section-animate {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-30px, 20px) scale(1.05); }
  66%       { transform: translate(20px, -15px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(25px, -30px) scale(1.08); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-20px, 18px); }
}

/* CTA section animated gradient shift */
.cta-section {
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Trust icon bounce on hover */
.trust-card:hover .trust-icon {
  display: inline-block;
  animation: iconBounce 0.5s ease;
}
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  40%       { transform: translateY(-10px); }
  70%       { transform: translateY(-5px); }
}
