/* custom-admissions.css */
.admissions-section {
  background: #fff;
  padding: 36px 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
}
.admissions-inner {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}
/* left image, right content */
.admissions-image {
  flex: 1 1 44%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admissions-content {
  flex: 1 1 52%;
  padding-left: 12px;
}

/* typography */
.eyebrow {
  display: inline-block;
  background: #f3f7ff;
  color: #0b4db1;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 12px;
}
h2 {
  font-size: 28px;
  margin: 6px 0 12px;
  line-height: 1.15;
  color: #0b2b4a;
}
.lead {
  margin-bottom: 16px;
  color: #394b5a;
  font-size: 15px;
}
.highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: grid;
  gap: 8px;
}
.highlights li {
  background: linear-gradient(90deg, #fff, #fbfdff);
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(12, 38, 70, 0.05);
  font-weight: 600;
  color: #203248;
}

/* CTAs */
.cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}
.btn {
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn.primary {
  background: linear-gradient(180deg, #0b66d1, #054fb0);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 102, 209, 0.2);
}
.btn.ghost {
  background: transparent;
  color: #0b66d1;
  border: 1px solid rgba(11, 102, 209, 0.12);
}
.btn:hover {
  transform: translateY(-3px);
  transition: all 0.18s ease;
}
.small-note {
  font-size: 12px;
  color: #7b8995;
  margin-top: 8px;
}

/* Image card */
.hero-image {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: 0 18px 50px rgba(15, 34, 55, 0.08);
  animation: floatIn 0.9s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  min-height: 300px;
}
.hero-image .badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(8, 30, 60, 0.06);
  display: flex;
  flex-direction: column;
  text-align: left;
}
.hero-image .badge strong {
  font-size: 14px;
  color: #b21c1c;
}
.hero-image .badge span {
  font-size: 12px;
  color: #33475b;
  opacity: 0.9;
}
.hero-image .texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: normal;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 12, 22, 0.4);
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.18s ease, visibility 0.18s;
}
.modal[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}
.modal-panel {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(4, 12, 30, 0.2);
  position: relative;
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: transparent;
  border: 0;
  font-size: 22px;
  cursor: pointer;
}
.modal-panel h3 {
  margin-top: 0;
}
.modal-panel form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #243642;
}
.modal-panel input {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #e6eef6;
}

/* responsive */
@media (max-width: 900px) {
  .admissions-inner {
    flex-direction: column;
    gap: 18px;
    padding: 8px;
  }
  .admissions-image,
  .admissions-content {
    width: 100%;
  }
  .hero-image img {
    min-height: 240px;
  }
}
