/* 🌍 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;
}

.apply-hero p {
  font-size: 18px;
  margin-top: 10px;
  position: relative;
  z-index: 1;
  color: #fff !important;
}


/* 🔹 Info Section */
.admission-info h5 {
  color: #198754;
}
.admission-info ul li,
.admission-info ol li {
  margin-bottom: 10px;
  font-size: 16px;
}

/* 🔹 Prospectus Button */
.btn-success {
  background-color: #198754;
  border: none;
}
.btn-success:hover {
  background-color: #146c43;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .admission-hero h1 {
    font-size: 32px;
  }
  .admission-hero p {
    font-size: 16px;
  }
}
@media (max-width: 576px) {
  .admission-hero {
    height: 300px;
  }
}

/* 🎯 Admission Form Styling */
.admission-form-section {
  padding: 60px 15px;
  background-color: #f8f9fa;
}

.admission-form-section .container {
  max-width: 900px;
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.admission-form-section h2 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 10px;
}

.admission-form-section p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.form-label {
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}

.form-control,
.form-select {
  padding: 10px 12px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #ced4da;
  transition: border-color 0.3s ease-in-out;
}

.form-control:focus,
.form-select:focus {
  border-color: #198754;
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
  outline: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-success {
  background-color: #198754;
  border: none;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 35px;
  border-radius: 6px;
  transition: background-color 0.3s ease-in-out;
}

.btn-success:hover {
  background-color: #146c43;
}

.spinner-border {
  vertical-align: middle;
}

.alert {
  border-radius: 6px;
  font-size: 15px;
}

/* ✅ Media Queries */
@media (max-width: 768px) {
  .admission-form-section .container {
    padding: 25px 20px;
  }

  .admission-form-section h2 {
    font-size: 26px;
  }

  .btn-success {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .form-label {
    font-size: 14px;
  }

  .form-control,
  .form-select {
    font-size: 14px;
  }

  .admission-form-section h2 {
    font-size: 22px;
  }

  .admission-form-section p {
    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;
  }
}
