/* ===========================
   Admission.css (Responsive + Dynamic)
   =========================== */

/* ✅ Base reset */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  color: #111;
}

/* ✅ Dark overlay (consistent across devices) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  z-index: -1;
}

/* ✅ Page padding responsive */
.page {
  padding: clamp(14px, 2.5vw, 26px);
}

/* ✅ Container auto-scale */
.container {
  background: #fff;
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: clamp(14px, 2.5vw, 24px);
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  border-radius: 0;
}

/* ✅ Headings dynamic sizes */
h1 {
  text-align: center;
  font-size: clamp(18px, 2.4vw, 32px);
  margin: 0 0 clamp(10px, 2vw, 18px);
  line-height: 1.2;
}

h2 {
  text-align: center;
  font-size: clamp(16px, 2vw, 24px);
  margin: 0 0 12px;
}

h3 {
  font-size: clamp(14px, 1.8vw, 20px);
  margin: 14px 0 8px;
}

/* ✅ Bond paper dynamic */
.bond-paper {
  background: #fff;
  padding: clamp(14px, 2.5vw, 30px);
  width: 100%;
  border: 1px solid #111;
}

/* ✅ Content responsive indent */
.content {
  margin-left: clamp(14px, 3vw, 40px);
  font-size: clamp(13px, 1.8vw, 20px);
  line-height: 1.35;
}

.content p {
  margin: 0 0 8px;
}

/* ✅ Button dynamic */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 12px 22px;
  margin-top: 14px;

  background: linear-gradient(to right, #043000, #218838, #218838, #043000);
  color: #fff;

  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 700;

  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, filter .2s ease;
  outline: none;

  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn.disabled {
  cursor: default;
  filter: grayscale(.2);
  opacity: .9;
}

/* ✅ CTA Box layout becomes responsive */
.content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: clamp(14px, 3vw, 24px);
}

.content-box {
  width: min(520px, 100%);
  background: #fff;
  padding: clamp(14px, 2.5vw, 20px);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-box p,
.content-box i {
  font-size: clamp(13px, 1.8vw, 18px);
}

.content-box h3 {
  background: rgba(85, 85, 85, 0.35);
  color: #000;
  padding: 12px;
  margin: 0;
  width: 100%;
  min-height: 0; /* ✅ remove fixed height */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

/* ✅ Mobile tweaks */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .bond-paper {
    padding: 14px;
  }
  .content {
    margin-left: 14px;
  }
}
