/* apply-form.css */

/* Root Variables */
:root {
  --primary-color: #517fef;
  --secondary-color: #a451ef;
  --bg-light: #f9f9f9;
  --text-dark: #333;
  --border-radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Global Styles */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding-top: 70px; /* Ensure content clears fixed header */
}

/* Navigation Header - Clean White */
header.nav-header {
  background-color: #ffffff; /* White background */
  color: #517fef; /* Brand blue text */
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Ensure it stays above other content */
  text-align: left;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); /* Subtle shadow */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 10px;
}

.logo img {
  height: 50px;
  width: auto;
  max-width: 150px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.menu-toggle {
  font-size: 1.8rem;
  color: #517fef; /* Brand blue for hamburger */
  cursor: pointer;
  background: none;
  border: none;
  display: none; /* Shown on mobile */
  z-index: 1001;
}

nav {
  display: none;
  flex-direction: column;
  background-color: #ffffff;
  position: absolute;
  top: 60px;
  right: 20px;
  padding: 15px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

nav.show {
  display: flex;
}

nav a {
  color: #517fef; /* Brand blue links */
  text-decoration: none;
  margin: 10px 0;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--secondary-color); /* Accent purple on hover */
}

@media (max-width: 640px) {
  .menu-toggle {
    display: block;
  }

  nav {
    width: 200px;
  }

  header.nav-header {
    padding: 10px 0;
  }

  .logo img {
    height: 40px;
    max-width: 120px;
  }
}

@media (min-width: 641px) {
  nav {
    display: flex;
    position: static;
    background: none;
    flex-direction: row;
    align-items: center;
    box-shadow: none;
  }

  nav a {
    margin: 0 15px;
  }
}

/* Hero Header */
header.hero-header {
  background-image: url('./images/qhpjqsny.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0;
  text-align: center;
  color: var(--secondary-color);
  margin-top: 0;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #405dc9;
}

/* Modern Form Design */
.application-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  animation: fadeIn 0.3s ease-in-out;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(81, 127, 239, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input[type="file"] {
  padding: 0.5rem;
}

.apply-now-btn {
  text-align: center;
  margin-top: 2rem;
}

.apply-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.apply-btn:hover {
  background-color: #405dc9;
  transform: translateY(-2px);
}

.apply-btn:active {
  transform: translateY(0);
}

/* Footer - Clean White */
footer {
  background-color: #ffffff; /* White background */
  color: #517fef; /* Brand blue text */
  text-align: center;
  padding: 30px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  margin-top: 40px;
  border-top: 1px solid #eee; /* Subtle separator */
}

footer .container {
  max-width: 900px;
  margin: 0 auto;
}

footer p {
  margin: 0 0 10px 0;
  line-height: 1.6;
  color: #517fef; /* Ensure footer text is brand blue */
}

footer p.footer_ {
  font-size: 10px;
  line-height: 1.5;
  color: #517fef; /* Brand blue disclaimers */
  margin-top: 10px;
}

footer a {
  color: #517fef; /* Brand blue links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--secondary-color); /* Accent purple on hover */
}

@media (max-width: 640px) {
  .application-form {
    padding: 1rem;
  }

  .apply-btn {
    width: 100%;
  }

  footer {
    padding: 20px 15px;
    font-size: 0.85rem;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
