/* =========================================
   Admission For — Page Styles (page-only)
   Works with global: style.css (navbar, layout, buttons)
   ========================================= */

/* Banner polish (keeps global .banner height/behaviour) */
.banner{
  background-size: cover;
  background-position: center;
  position: relative;
}
.banner::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.18); /* light overlay for text readability */
}
.banner .banner-content{
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: grid;
  place-content: center;
  padding: 0 16px;
  text-align: center;
}
.banner .banner-content h1{
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.banner .btn{ margin-top: 10px; }

/* Section intro */
.scroll-section{ padding: 24px 16px; }
.scroll-section .scroll-text{
  max-width: 900px;
  margin: 0 auto 18px;
  text-align: center;
}
.scroll-section .scroll-text h2{
  color: #004aad;
  margin-bottom: 6px;
}

/* Cards (grid container inline-style me HTML par diya hua hai) */
.card{
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}
.card img{
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.card h3{
  margin: 2px 0;
  color: #004aad;
  font-size: 1.12rem;
}
.card p{
  color: #444;
  line-height: 1.55;
}

/* Buttons inside cards */
.btn-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.card .btn{
  padding: 0.58rem 1rem;
  border-radius: 8px;
}
.card .btn.btn-outline{
  background: transparent;
  border: 2px solid #004aad;
  color: #004aad;
}
.card .btn.btn-outline:hover{
  background: #004aad;
  color: #fff;
}

/* Responsive tweaks */
@media (max-width: 900px){
  .card img{ height: 155px; }
}
@media (max-width: 640px){
  .banner{ min-height: 240px; }
  .scroll-section{ padding: 18px 12px; }
  .card img{ height: 140px; }
  .card h3{ font-size: 1.06rem; }
}
