* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
  background-attachment: fixed;
  color: #111;
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.3) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* Header Styles */
.top-header {
  background: rgba(11, 37, 69, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 20px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.5s ease-out;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(102, 126, 234, 0.6), 0 4px 15px rgba(255, 255, 255, 0.2);
  animation: fadeInScale 0.6s ease-out, logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% {
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.6), 0 4px 15px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.8), 0 4px 20px rgba(255, 255, 255, 0.4);
  }
}

.header-text h1 {
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Hero Section */
.hero-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 60px 20px;
  text-align: center;
  animation: fadeIn 0.8s ease-out;
  border-bottom: 1px solid rgba(102, 126, 234, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content h2 {
  font-size: 36px;
  background: linear-gradient(135deg, #0b2545 0%, #667eea 50%, #7e22ce 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  font-weight: 700;
  animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > p {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}

.team-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.info-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.info-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
  border-color: #667eea;
}

.info-card:hover::before {
  transform: scaleX(1);
}

.info-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 15px;
}

.info-card h3 {
  color: #0b2545;
  font-size: 20px;
  margin-bottom: 10px;
}

.info-card p {
  color: #666;
  font-size: 14px;
}

/* Container & Form */
.container {
  max-width: 900px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: slideUp 0.6s ease-out;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(90deg, #667eea, #764ba2) border-box;
  border-image: linear-gradient(90deg, #667eea, #764ba2) 1;
}

.form-header h2 {
  background: linear-gradient(135deg, #0b2545 0%, #667eea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;
}

.form-header p {
  color: #666;
  font-size: 16px;
}

.form-section {
  margin-bottom: 35px;
  padding: 25px;
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(240, 242, 255, 0.8) 100%);
  border-radius: 12px;
  border-left: 4px solid #667eea;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
}

.form-section:hover {
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
  transform: translateX(5px);
}

.form-section h3 {
  color: #0b2545;
  font-size: 22px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section h3::before {
  content: "📋";
  font-size: 24px;
}

form label {
  display: block;
  margin-bottom: 20px;
  font-weight: 500;
  color: #333;
  font-size: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

form input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"] {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  margin-top: 8px;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

form input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="url"]:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15), 0 0 20px rgba(102, 126, 234, 0.3);
  transform: translateY(-2px);
}

.gender-fieldset {
  border: 2px solid #e1e8ed;
  padding: 15px;
  border-radius: 8px;
  margin: 0;
  background: white;
}

.gender-fieldset legend {
  padding: 0 10px;
  font-weight: 600;
  color: #0b2545;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 400;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* File Upload */
.upload-note {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
  font-style: italic;
}

.upload-container {
  display: grid;
  gap: 20px;
}

.upload-label {
  margin-bottom: 0;
}

.file-input-wrapper {
  position: relative;
  margin-top: 8px;
}

input[type="file"] {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-name {
  display: block;
  padding: 12px 15px;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  background: white;
  color: #666;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.file-name::before {
  content: '📎';
  margin-right: 8px;
  font-size: 18px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.file-name:hover {
  border-color: #667eea;
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.file-name:hover::before {
  transform: rotate(20deg);
}

.file-name.has-file {
  border-color: #667eea;
  border-style: solid;
  color: #0b2545;
  font-weight: 500;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8edff 100%);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.file-name.has-file::before {
  content: '✓';
  color: #28a745;
}

/* Submit Button */
.submit-row {
  text-align: center;
  margin-top: 35px;
}

.submit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  padding: 15px 50px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
  transform: translateX(5px);
}

/* Message */
.msg {
  margin-top: 25px;
  padding: 15px 20px;
  border-radius: 10px;
  font-weight: 500;
  display: none;
  text-align: center;
  animation: messageSlide 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.msg:not(:empty) {
  display: block;
}

.msg.success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  border: 2px solid #28a745;
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
}

.msg.error {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
  border: 2px solid #dc3545;
  box-shadow: 0 4px 20px rgba(220, 53, 69, 0.3);
}

@keyframes messageSlide {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Footer */
.footer {
  background: rgba(11, 37, 69, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-bottom: 15px;
  object-fit: cover;
}

.footer p {
  margin: 10px 0;
  opacity: 0.9;
}

.footer-tagline {
  font-style: italic;
  font-size: 14px;
  margin-top: 15px;
  opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .header-text h1 {
    font-size: 22px;
  }

  .hero-content h2 {
    font-size: 28px;
  }

  .container {
    margin: 20px;
    padding: 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .team-info {
    grid-template-columns: 1fr;
  }
}
