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

body {
  background-color: #1a1a1a;
  color: #f5f5f5;
  font-family: 'Instrument Sans', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 8vw; /* Responsive font size based on viewport width */
  letter-spacing: 0.3em;
  font-weight: 600;
  text-align: center;
  padding: 2rem;
  width: 100%;
  background-color: #1a1a1a;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.container {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  margin-top: calc(8vw + 4rem); /* Adjust based on h1 height */
}

.content {
  max-width: 800px;
}

.logo-container {
  margin: 3rem auto;
}

.logo {
  width: 120px;
  height: 120px;
  border: 2px solid #f5f5f5;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 4rem;
  font-weight: 600;
}

.tagline {
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  margin-bottom: 2rem;
  font-weight: 400;
}

.description {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  line-height: 1.8;
  margin-bottom: 3rem;
  opacity: 0.8;
}

.enter-btn {
  background: transparent;
  border: 1px solid #f5f5f5;
  color: #f5f5f5;
  padding: 1rem 2.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.enter-btn:hover {
  background: #f5f5f5;
  color: #1a1a1a;
}

@media (max-width: 768px) {
  h1 {
    font-size: 12vw;
    letter-spacing: 0.2em;
    padding: 1rem;
  }

  .container {
    margin-top: calc(12vw + 2rem);
  }

  .logo {
    width: 100px;
    height: 100px;
    font-size: 3rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .description {
    font-size: 0.8rem;
  }

  /* Mobile Form Styles */
  .apply-container {
    padding: 100px 20px 40px 20px; /* Reduced padding for mobile */
  }

  .form-grid {
    max-width: 100%; /* Full width on mobile */
  }

  .form-right {
    gap: 20px; /* Reduced gap for mobile */
  }

  .form-input {
    font-size: 14px; /* Slightly smaller font */
    padding: 8px 0;
  }

  .form-label {
    font-size: 11px;
  }

  .form-textarea {
    height: 120px; /* Slightly shorter textarea */
    font-size: 14px;
    padding: 12px;
  }

  .submit-btn {
    width: 100%; /* Full width button on mobile */
    padding: 12px 20px;
    align-self: center;
  }

  .input-group {
    margin-bottom: 5px;
  }

  /* Mobile Header Styles */
  .hover-nav {
    display: none; /* Hide the horizontal nav on mobile */
  }

  .center-icon {
    right: 20px; /* Adjust position for mobile */
  }

  .dropdown-items {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: white;
    padding: 20px;
    min-width: 120px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    transform: translateY(-10px);
  }

  .center-icon:hover .dropdown-items {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .dropdown-items a {
    display: block;
    padding: 8px 0;
    color: black;
    text-decoration: none;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    transition: opacity 0.3s ease;
  }

  .dropdown-items a:hover {
    opacity: 0.7;
  }
}

/* Landing page specific styles */
.landing-page {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content {
    text-align: center;
    margin-bottom: 2rem;
}

.main-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 0.4rem;
    line-height: 1.2;
}

.logo {
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    transition: transform 0.3s ease;
    font-family: 'Instrument Sans', sans-serif;
}

.logo:hover {
    transform: rotate(45deg);
}

.text-content {
    text-align: center;
    margin: 2rem 0;
}

.tagline {
    font-size: 1.2rem;
    letter-spacing: 0.3rem;
    margin-bottom: 2rem;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: 0.2rem;
}

.highlight {
    color: #a0a0a0;
    font-weight: 600;
}

.button-container {
    text-align: center;
    margin-top: 3rem;
}

.enter-btn {
    position: relative;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.2rem;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.enter-btn:hover {
    background: #fff;
    color: #000;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.5s ease-in forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1.5s ease-in forwards;
    animation-delay: 1s;
}

.slide-in {
    animation: slideIn 1.2s ease-out forwards;
}

.slide-up {
    animation: slideUp 1.2s ease-out forwards;
}

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

@keyframes slideIn {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* Mobile Header Styles */
.hover-nav {
    display: none; /* Hide the horizontal nav on mobile */
}

.center-icon {
    right: 20px; /* Adjust position for mobile */
}

.dropdown-items {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: white;
    padding: 20px;
    min-width: 120px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    transform: translateY(-10px);
}

.center-icon:hover .dropdown-items {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-items a {
    display: block;
    padding: 8px 0;
    color: black;
    text-decoration: none;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.dropdown-items a:hover {
    opacity: 0.7;
}

/* Header styles */
header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0; /* Remove padding */
}

.center-icon {
    position: absolute;
    top: 10px; /* Reduced from 20px */
    right: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-icon {
    width: 40px;
    height: 40px;
}

.hover-nav {
    display: flex;
    gap: 30px;
}

.hover-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
}

.hover-nav a:hover {
    opacity: 0.7;
}
