
/* container (agar already hai to skip) */
.container{
  width:min(1200px,92%);
  margin:0 auto;
}

/* HERO */
.hero-cover{
  position:relative;

  /* ✅ hero height/feel like screenshot */
  min-height: 520px;
  display:flex;
  align-items:center;

  /* ✅ background image */
  background-image: url("images/immersion.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* ✅ padding like screenshot */
  padding: 120px 0 120px;
}

/* ✅ dark overlay */
.hero-cover::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.55);
}

/* ✅ content above overlay */
.hero-cover .container{
  position:relative;
  z-index:1;
}

/* TITLE */
.hero-cover__title{
  color:#fff;
  font-weight:900;
  letter-spacing:-0.02em;
  line-height:1.05;
  margin:0 0 18px;
  font-size: clamp(34px, 4.8vw, 72px);

  /* ✅ animation same (slide left->right) */
  opacity:0;
  transform: translateX(-32px);
  animation: heroTitleIn .75s ease forwards;
}

/* TEXT */
.hero-cover__text{
  color: rgba(255,255,255,0.9);
  max-width: 920px;
  line-height:1.75;
  margin:0;
  font-size: clamp(14px, 1.15vw, 16px);

  /* ✅ animation (fade + move) */
  opacity:0;
  transform: translateY(12px);
  animation: heroTextIn .75s ease forwards;
  animation-delay: .15s;
}

/* animations */
@keyframes heroTitleIn{
  to{ opacity:1; transform: translateX(0); }
}
@keyframes heroTextIn{
  to{ opacity:1; transform: translateY(0); }
}

/* ✅ responsive */
@media (max-width: 900px){
  .hero-cover{
    min-height: 460px;
    padding: 100px 0 90px;
  }
  .hero-cover__text{ max-width: 720px; }
}

@media (max-width: 600px){
  .hero-cover{
    min-height: 420px;
    padding: 90px 0 70px;
  }
}


/* (agar container already hai to skip) */
.container{
  width:min(1200px,92%);
  margin:0 auto;
}

/* SECTION */
.info-block{
  padding: 60px 0;
  background:#fff;
}

.info-block__title{
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  color:#0f172a;
  margin: 0 0 14px;

  /* optional: same animation feel */
  opacity:0;
  transform: translateX(-18px);
  animation: infoTitleIn .65s ease forwards;
}

.info-block__text{
  max-width: 980px;
  font-size: 15.5px;
  line-height: 1.75;
  color:#334155;
  margin: 0;

  opacity:0;
  transform: translateY(10px);
  animation: infoTextIn .65s ease forwards;
  animation-delay: .12s;
}

@keyframes infoTitleIn{
  to{opacity:1; transform: translateX(0);}
}
@keyframes infoTextIn{
  to{opacity:1; transform: translateY(0);}
}

/* Mobile */
@media (max-width: 600px){
  .info-block{
    padding: 44px 0;
  }
  .info-block__text{
    font-size: 15px;
  }
}
/*cards*/
/* =========================
   SCHOOL LIST
========================= */
.school-list{
  padding: 60px 0;
  background:#fff;
}

.school-list__head h2{
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 900;
  color:#0f172a;
  letter-spacing:-0.02em;
  margin:0 0 10px;
}

.school-list__head p{
  color:#475569;
  line-height:1.6;
  margin:0 0 26px;
  max-width: 860px;
}

/* =========================
   CARD (UPDATED)
========================= */
.school-card{
  display:grid;
  grid-template-columns: 230px 1fr 300px;
  gap: 20px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(15,23,42,0.06);
  margin: 0 0 22px;
  overflow:hidden;
  align-items: stretch;
}

/* =========================
   LEFT IMAGE — FIXED
========================= */
.school-card__logo{
  border-radius: 16px;
  overflow: hidden;
  background:#f3f4f6;
  min-height: 220px;

  /* 🔴 THIS WAS THE ISSUE */
  display:flex;
  align-items:stretch;
}

.school-card__img{
  width:100%;
  height:100%;
  min-height:220px;
  object-fit:cover;
  display:block;
  flex:1; /* 🔴 force image to fill box */
}

/* =========================
   CONTENT
========================= */
.school-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}

.school-card__name{
  font-size: 26px;
  font-weight: 900;
  color:#0f172a;
  margin: 0;
  line-height: 1.15;
}

.school-card__rating{
  display:flex;
  align-items:center;
  gap: 8px;
  white-space: nowrap;
  color:#0f172a;
  font-size: 14px;
}

.stars{ color:#f59e0b; letter-spacing: 1px; }
.reviews{ color:#64748b; }

.school-card__chips{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap: 10px;
  margin: 10px 0 14px;
}

.chip{
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background:#f8fafc;
  color:#0f172a;
  font-weight: 800;
  font-size: 12px;
}

.meta{ color:#64748b; font-size: 13px; }

.school-card__likeTitle{
  margin: 0 0 10px;
  font-weight: 900;
  color:#0f172a;
  font-size: 15px;
}

.school-card__likes{
  list-style:none;
  margin:0 0 14px;
  padding:0;
  display:grid;
  gap: 8px;
}

.school-card__likes li{
  position:relative;
  padding-left: 28px;
  color:#334155;
  font-size: 14px;
}

.school-card__likes li::before{
  content:"✓";
  position:absolute;
  left:0; top:2px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background:#dcfce7;
  color:#16a34a;
  font-weight: 900;
  font-size: 12px;
}

.school-card__desc{
  margin:0 0 12px;
  color:#475569;
  line-height:1.7;
  font-size: 14px;
}

.school-card__link{
  color:#2563eb;
  font-weight: 900;
  text-decoration:none;
}
.school-card__link:hover{ text-decoration:underline; }

/* =========================
   RIGHT PANEL
========================= */
.school-card__price{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap: 14px;
}

.price-box{
  border: 1px solid #dbeafe;
  background:#f8fbff;
  border-radius: 16px;
  padding: 14px;
}

.price-box__title{
  border: 1px solid rgba(22,163,74,.35);
  background:#fff;
  color:#16a34a;
  font-weight: 900;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 12px;
}

.price-box__row{ color:#64748b; font-size: 13px; }

.price-box__from{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-top: 10px;
}

.badge{
  background:#fb923c;
  color:#fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.price-box__new{
  font-size: 30px;
  font-weight: 1000;
  color:#ef4444;
}

.price-box__note{
  margin-top: 10px;
  color:#16a34a;
  font-weight: 900;
  font-size: 13px;
}

.btn-view{
  padding: 16px 18px;
  border-radius: 14px;
  background:#16a34a;
  color:#fff;
  text-decoration:none;
  font-weight: 900;
  display:flex;
  justify-content:center;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .school-card{
    grid-template-columns: 190px 1fr;
  }
}

@media (max-width: 620px){
  .school-card{
    grid-template-columns: 1fr;
  }
}



/* FAQs*/
/* FAQ (screenshot style) */
.faq-sec{
  padding: 70px 0;
  background:#fff;
}

.faq-title{
  font-size: 24px;
  font-weight: 900;
  color:#0f172a;
  margin: 0 0 16px;
}

.faq-accordion{
  display:grid;
  gap: 14px;
}

/* card */
.faq-item{
  border:1px solid #e5e7eb;
  border-radius: 14px;
  background:#fff;
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(15,23,42,0.04);
}

/* question row */
.faq-q{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 18px 18px;
  border:0;
  background:transparent;
  cursor:pointer;
  text-align:left;

  font-weight: 900;
  color:#0f172a;
  font-size: 15px;
  line-height:1.35;
}

/* right arrow */
.faq-icon{
  width: 26px;
  height: 26px;
  display:grid;
  place-items:center;
  font-size: 18px;
  color:#0f172a;
  transition: transform .2s ease;
  transform: rotate(0deg);
}

/* answer (collapsed) */
.faq-a{
  max-height: 0;
  overflow:hidden;
  transition: max-height .25s ease;
  border-top:1px solid #eef2f7;
}

.faq-a__inner{
  padding: 14px 18px 18px;
  color:#475569;
  line-height:1.7;
  font-size: 14px;
}

/* open state */
.faq-item.is-open .faq-a{
  max-height: 320px;
}

.faq-item.is-open .faq-icon{
  transform: rotate(90deg);
}

/* hover */
.faq-q:hover{
  background: #f8fafc;
}

/* mobile */
@media (max-width:600px){
  .faq-q{ padding: 16px 14px; }
  .faq-a__inner{ padding: 12px 14px 16px; }
}
