@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-blue: #005A9C;
  --light-blue: #0096D6;
  --accent-gold: #D4AF37;
  --bg-white: #F8F9FA;
  --text-dark: #1F2937;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Scroll reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Glassmorphism for hero */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Custom Tab transition */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Logo Slider Animation */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-350px * 76)); }
}

.slider {
  background: white;
  height: 240px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider::before,
.slider::after {
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 240px;
  position: absolute;
  width: 200px;
  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slide-track {
  animation: scroll 150s linear infinite;
  display: flex;
  width: calc(350px * 152);
}

.slide {
  height: 240px;
  width: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 50px;
}

.slide img, .slide span {
  max-width: 100%;
  max-height: 160px;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.slide:hover img, .slide:hover span {
  opacity: 1;
  transform: scale(1.1);
}

/* Registration Modal */
#registration-modal {
  z-index: 1000;
  transition: opacity 0.3s ease;
}

#modal-overlay {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

#modal-content {
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#registration-modal.active #modal-content {
  transform: scale(1);
}

.form-input {
  @apply w-full px-4 py-3 rounded-lg border border-gray-200 focus:border-primary-blue focus:ring-2 focus:ring-primary-blue/20 outline-none transition-all;
}

