/* RESET AND GENERAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background: #f7f7f7;
  color: #333;
  line-height: 1.6;
}

/* NAVBAR */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff4d4d;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links .active {
  color: #ff4d4d;
}

/* BURGER MENU */
.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px;
  transition: all 0.3s ease;
}

/* APPLICATION SECTION */
.apply-section {
  max-width: 700px;
  width: 90%;              /* prevents full width on big screens */
  margin: 120px auto 50px; /* centers it */
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  animation: fadeIn 1s ease;
}


.apply-section h1 {
  text-align: center;
  color: #ff4d4d;
  margin-bottom: 0.5rem;
}

.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

input[type="text"],
input[type="tel"],
textarea,
input[type="file"] {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #ff4d4d;
  box-shadow: 0 0 5px rgba(255,77,77,0.3);
  outline: none;
}

.file-upload input {
  padding: 0.5rem;
}

/* SUBMIT BUTTON */
.btn-submit {
  width: 100%;
  padding: 0.9rem;
  background: #ff4d4d;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-submit:hover {
  background: #e63e3e;
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  text-align: center;
  background: #333;
  color: #fff;
  padding: 1.5rem 0;
  margin-top: 3rem;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0;
    height: 100vh;
    top: 0;
    background: rgba(255,255,255,0.97);
    flex-direction: column;
    align-items: center;
    width: 60%;
    transform: translateX(100%);
    transition: transform 0.4s ease-in;
    padding-top: 5rem;
  }

  .nav-links li {
    margin: 2rem 0;
  }

  .burger {
    display: block;
  }

  .nav-active {
    transform: translateX(0);
  }

  .apply-section {
    margin: 100px 5% 50px;
    padding: 2rem;
  }
}
