/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d') no-repeat center center fixed;
  background-size: cover;
  transition: background-image 1s ease-in-out;
  scroll-behavior: smooth;
  color: #003344;
  perspective: 1200px;
}

/* Slogan */
.slogan {
  text-align: center;
  color: white;
  margin-top: 100px;
  font-family: Georgia, serif;
}

.slogan h1 {
  font-size: 60px;
  font-weight: 500;
  margin-bottom: 10px;
  animation: glowText 3s infinite alternate;
}

@keyframes glowText {
  0% { text-shadow: 0 0 5px #00f9ff; }
  100% { text-shadow: 0 0 20px #00ffff, 0 0 10px #00f9ff; }
}

.slogan .buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.slogan a {
  padding: 10px 22px;
  border: 2px solid white;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.3s, background-color 0.3s;
}

.slogan a:hover {
  background-color: white;
  color: black;
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  text-align: center;
  margin-top: 80px;
  color: #ffffff;
  text-shadow: 0 0 10px #00ffff;
  animation: fadeIn 2s ease-in;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 20px;
  color: #ccf;
  animation: pulse 2s infinite;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Floating Icons */
.floating-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.floating-icons img {
  width: 120px;
  height: auto;
  border-radius: 15px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

/* Panels */
.panel {
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.6s ease, opacity 0.6s ease;
  transform: translateY(30px);
  opacity: 0;
}

.panel.reveal.active {
  transform: translateY(0);
  opacity: 1;
}

.section-icon {
  max-width: 100px;
  height: auto;
  margin: 15px 0;
}

/* Team */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.team-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  padding: 15px;
  text-align: center;
  color: #003344;
  width: 180px;
  transition: transform 0.4s;
  backdrop-filter: blur(10px);
}

.team-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.team-card:hover {
  transform: rotateY(10deg) scale(1.05);
}

/* Login Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.8);
}

.modal-content {
  background: rgba(255, 255, 255, 0.95);
  margin: 10% auto;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  color: #003344;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.15);
  position: relative;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  color: #003344;
  cursor: pointer;
}

input, select, button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  color: #333;
  outline: none;
  font-size: 16px;
}

button {
  background: #00f9ff;
  border: none;
  color: #003d4d;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
}

button:hover {
  background: #00d4d4;
  transform: scale(1.05);
}

#error {
  color: red;
  margin-top: 10px;
  text-align: center;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.7);
  color: #ccc;
  margin-top: 40px;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 26px;
    padding: 0 10px;
  }

  .hero p {
    font-size: 14px;
  }

  .slogan h1 {
    font-size: 32px;
  }

  .slogan a {
    font-size: 14px;
    padding: 8px 16px;
  }

  .floating-icons img {
    width: 90px;
  }

  .panel {
    padding: 20px 15px;
    margin: 20px 10px;
  }

  .modal-content {
    margin: 20% auto;
    padding: 20px;
  }

  input, select, button {
    font-size: 14px;
    padding: 10px;
  }

  .team-card {
    width: 150px;
  }

  footer {
    font-size: 12px;
    padding: 15px;
  }
}
