/* 🌍 Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  color: #1a1a1a;
  background-color: #f8f9fa;
  scroll-behavior: smooth;
}

/* 🔹 Hero Section */
.apply-hero {
  background: url('../assets/images/stud1.png') center center / cover no-repeat;
  height: 400px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.apply-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.apply-hero h1 {
  position: relative;
  font-size: 48px;
  font-weight: 700;
  z-index: 1;
}

/* 🧾 Application Form Section */
.apply-form-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
}

.apply-form-section .container {
  max-width: 900px;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.apply-form-section h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 10px;
}

.apply-form-section p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.form-label {
  font-weight: 500;
  color: #333;
}

.form-control,
.form-select {
  border-radius: 0.4rem;
  border: 1px solid #ced4da;
  padding: 10px 12px;
  font-size: 15px;
  transition: border-color 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: #198754;
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

textarea.form-control {
  resize: vertical;
}

.btn-apply {
  background-color: #198754;
  color: white;
  font-weight: 500;
  padding: 10px 35px;
  border-radius: 6px;
  font-size: 16px;
  transition: background-color 0.3s ease;
  border: none;
}

.btn-apply:hover {
  background-color: #146c43;
}

/* ✅ Responsive Media Queries */
@media (max-width: 992px) {
  .apply-hero h1 {
    font-size: 40px;
  }

  .apply-form-section .container {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .apply-hero h1 {
    font-size: 32px;
  }

  .apply-form-section h2 {
    font-size: 26px;
  }

  .apply-form-section .container {
    padding: 25px;
  }

  .btn-apply {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .apply-hero {
    height: 300px;
    padding: 0 10px;
  }

  .apply-hero h1 {
    font-size: 24px;
    padding: 0 15px;
  }

  .apply-form-section .container {
    padding: 20px;
  }

  .form-label {
    font-size: 14px;
  }

  .form-control,
  .form-select {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .apply-hero h1 {
    font-size: 20px !important;
    line-height: 1.3;
  }

  .apply-hero p {
    font-size: 16px !important;
    line-height: 1.4;
  }
}

@media (max-width: 576px) {
  .apply-hero h1 {
    font-size: 18px !important;
    line-height: 1.3;
  }

  .apply-hero p {
    font-size: 14px !important;
    padding: 0 10px;
    line-height: 1.4;
  }
}
