body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #222;
}

.hero {
  background: url('https://images.unsplash.com/photo-1581090700227-1e8e0c8826f4?auto=format&fit=crop&w=1500&q=80') no-repeat center center;
  background-size: cover;
  height: 320px;
  color: white;
  text-align: center;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.6);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo-large {
  height: 80px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  margin: 0.5rem 0;
}

.hero-subtitle {
  font-size: 1.1rem;
}

main {
  padding: 2rem;
  max-width: 960px;
  margin: auto;
}

.team-grid .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  justify-items: center;
}

.team-card {
  display: block;
  background: #6a1b9a;
  color: white;
  padding: 1rem;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  width: 100%;
  max-width: 180px;
}

.team-card:hover { background: #f50057; }

.footer {
  background-color: #06004e;
  color: white;
  padding: 2rem;
  font-size: 0.9rem;
  text-align: center;
}

.lang-switch {
  position: fixed;
  top: 10px;
  right: 20px;
  z-index: 2001;
  font-weight: bold;
}

.lang-switch a {
  text-decoration: none;
  color: #6a1b9a;
  margin: 0 4px;
}

.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 101;
  background: white;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  font-size: 18px;
  background-color: #6a1b9a;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
}

#backToTopBtn:hover { background-color: #f50057; }

#loader-wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #6a1b9a;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes rainbow {
  0% { color: red; }
  14% { color: orange; }
  28% { color: yellow; }
  42% { color: green; }
  57% { color: blue; }
  71% { color: indigo; }
  85% { color: violet; }
  100% { color: red; }
}

/* Force horizontal text */
h2 {
  writing-mode: unset;
  transform: none;
  text-align: center;
  white-space: nowrap;
}

.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
