/* =====================
   BASE
===================== */
body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
}

/* =====================
   HERO
===================== */
#hero {
  position: relative;
  min-height: calc(100vh - 70px); /* resta altura del header sticky */
  display: flex;
  align-items: center;
  background: url("img/hero.jpg") center center / cover no-repeat;
  overflow: hidden;
  background-color: #000;
}

/* Mobile fix */
@media (max-width: 768px) {
  #hero {
    min-height: calc(100vh - 60px);
    background-position: center center;
  }
}

/* Hero overlay */
#hero .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Hero content above overlay */
#hero .container {
  position: relative;
  z-index: 2;
}

/* =====================
   HERO ANIMATIONS
===================== */
.hero-title,
.hero-subtitle,
.hero-btn {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards;
}

.hero-title {
  animation-delay: 0.5s;
}

.hero-subtitle {
  animation-delay: 1s;
}

.hero-btn {
  animation-delay: 1.5s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

/* =====================
   SECTIONS (NO HERO)
===================== */
#services,
#trust {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background: #f8f9fa;
}

/* Trust section text */
#trust p {
  font-size: 1.2rem;
  color: #333;
}
section {
  scroll-margin-top: 90px;
}

/* =====================
   BUTTONS
===================== */
.btn-success {
  background: linear-gradient(135deg, #28a745, #00c851);
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* =====================
   CARDS & ICONS
===================== */
.card {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.icon-container {
  background: #fff;
  border-radius: 24px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s;
  cursor: pointer;
}

.icon-container:hover {
  transform: scale(1.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25),
    inset 0 0 20px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.icon-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-container:hover .icon-circle {
  transform: scale(1.15);
}

.title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 14px;
  color: #555;
}

/* =====================
   DROPDOWN
===================== */
.dropdown-item {
  font-size: 0.95rem;
}

.dropdown-item.active {
  background-color: #f0f0f0;
  font-weight: 600;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

/* =====================
   FOOTER
===================== */
footer {
  background: #111;
  color: #fff;
}

/* =====================
   FADE HERO OPTIONAL
===================== */
.fade-hero {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.fade-hero.show {
  opacity: 1;
}
/* =====================
   LANGUAGE BLOCK TRANSITION
===================== */
.lang-block {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.lang-block.show {
  opacity: 1;
  transform: translateY(0);
}
/* =====================
  ICON CIRCLE
===================== */
.icon-circle svg {
  width: 52px;
  height: 52px;
  stroke: white;
  stroke-width: 1.8;
}

.navbar .nav-link.active {
  color: #198754 !important; /* verde bootstrap */
  font-weight: 600;
  position: relative;
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #198754;
  border-radius: 2px;
}

