/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #0a0a0a;
  overflow-x: hidden;
}

/* Loading screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 1s ease-in-out infinite;
}

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

/* Hero section */
.hero-section {
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  background-image: url('/assets/images/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 58, 138, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 4rem;
}

.hero-text {
  flex: 1;
  max-width: 500px;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.3),
    0 0 10px rgba(255, 255, 255, 0.3),
    0 0 20px rgba(255, 255, 255, 0.2);
  letter-spacing: -0.02em;
  color: #ffffff;
}

/* Removed the glowing rectangle effect */

@keyframes titleBlink {
  0%, 100% {
    filter: brightness(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
  }
  50% {
    filter: brightness(1.2) drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
  }
}

/* Removed unused titleGlow animation */

.hero-subtitle {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  line-height: 1.6;
}

/* Coming Soon Text */
.coming-soon-text {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 140px;
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  flex-shrink: 0;
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.cta-button.primary {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-button.primary::before {
  background: rgba(255, 255, 255, 0.3);
}

.cta-button.primary::after {
  background: rgba(255, 255, 255, 0.5);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary::before {
  background: rgba(255, 255, 255, 0.15);
}

.cta-button.secondary::after {
  background: rgba(255, 255, 255, 0.25);
}

.cta-button:hover {
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.cta-button.primary:hover {
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.6);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Hero Image with People */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.people-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.person {
  position: relative;
  z-index: 3;
}

.person-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.person-avatar::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.person-avatar::after {
  content: '';
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.person-1 .person-avatar {
  background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

.person-2 .person-avatar {
  background: linear-gradient(135deg, #DDA0DD 0%, #D8BFD8 100%);
}

/* Social Icons */
.social-icons {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: white;
  text-decoration: none;
}

/* Footer */
.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 3;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
}

.footer-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
  text-decoration: underline;
}

.photo-credit {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
}

.photo-credit a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.photo-credit a:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .hero-text {
    text-align: center;
    max-width: 100%;
  }
  
  .button-group {
    justify-content: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .cta-button::after {
    left: 1rem;
  }
  
  .people-container {
    gap: 0.5rem;
  }
  
  .person-avatar {
    width: 80px;
    height: 80px;
  }
  
  .social-icons {
    gap: 1rem;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
  }
  
  .social-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .photo-credit {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .coming-soon-text {
    font-size: 1rem;
    margin-bottom: 3rem;
  }
  
  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    gap: 0.5rem;
  }
  
  .cta-button::before {
    width: 28px;
    height: 28px;
  }
  
  .cta-button::after {
    width: 16px;
    height: 16px;
    left: 1.25rem;
  }
  
  .person-avatar {
    width: 60px;
    height: 60px;
  }
  
  .social-icons {
    gap: 0.75rem;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
  }
  
  .social-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .footer {
    padding: 1.5rem 1rem;
  }
  
  .photo-credit {
    font-size: 0.7rem;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for better accessibility */
.cta-button:focus,
.social-icon:focus {
  outline: 2px solid #1e3a8a;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero-title {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  }
  
  .cta-button {
    border: 2px solid currentColor;
  }
}