/* =============================================
   RESPONSIVE — All Major Breakpoints New Css
   ============================================= */

/* ---- 1600px ---- */
@media (max-width: 1600px) {
  html { font-size: 18px; }
  .rankaward .smbox { width: 46%; }
}

/* ---- 1499px ---- */
@media (max-width: 1499px) {
  html { font-size: 16px; }
  .container { width: 96%; }
  .bannersec .bannerbottom { width: 96%; }
}

/* ---- 1379px ---- */
@media (max-width: 1379px) {
  html { font-size: 14px; }
  .headersec .logobox { width: 60%; max-width: none; min-width: auto; }
  .rankaward .smbox { width: 49%; }
  .whybtech:before { width: 100%; }
  .programsofferedsec .items { width: 20%; }
  .whybtech:after { width: 40%; }
  .whybtech .right { width: 36%; }
  .footersec .item { max-width: none; font-size: 1rem; }
  .footersec .locationbrief { gap: 1rem; }
  .accreditationsec .item { padding: 1.25rem 0.75rem; }
}

/* ---- 1199px ---- */
@media (max-width: 1199px) {
  html { font-size: 13px; }

  .bannersec .banner-content { max-width: 70%; }
  .bannersec .maintititle { font-size: 4.5rem; }
  .bannersec .container { padding-bottom: 6rem; }

  .bannersec .bannerbottom .grade img { width: 100%; }
  .headersec .item:before { display: none; }
  .headersec .menuitems { flex-wrap: wrap; gap: 1rem; }
  .faqsec:before { display: none; }
  .rankaward .smbox { width: 60%; }
  .rankaward .rankaward-img { width: 40%; }
  .whybtech { overflow: hidden; }
  .whybtech:after { display: none; }
  .whybtech .whybtechbox { flex-wrap: wrap; gap: 1rem; }
  .whybtech .left { width: 100%; }
  .whybtech .right { width: 100%; background: #ed4200; padding: 1rem; text-align: center; }
  .whybtech .imgsec { margin: 0.5rem auto 0; }
  .programsofferedsec .items { width: 47%; }
  .keyhighlight .item { width: 31%; }
  .faqsec .left { width: 100%; }
  .faqsec .right { display: none; }
  .footersec .locationbox { flex-wrap: wrap; gap: 1rem; }
  .footersec .left { width: 100%; }
  .footersec .right { width: 100%; }

  /* Programs grid */
  .program-cards { grid-template-columns: repeat(2, 1fr); }

  /* Schedule / Why JIIT bento */
  .schedule-bento { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 1023px (tablets landscape) ---- */
@media (max-width: 1023px) {
  html { font-size: 13px; }

  .headersec .logobox { width: auto; }
  .headersec .item { max-width: 11.75rem; justify-content: flex-end; }
  .rankaward .smbox { width: 100%; }
  .rankaward .rankaward-img { width: 40%; }
  .keyhighlight .item { width: 46%; }
  .campusplacement .placement-number { gap: 4rem; flex-wrap: wrap; }
  .programsofferedsec .items { width: 100%; }
  .footersec .footerbottom { justify-content: center; flex-wrap: wrap; gap: 1rem; }

  .bannersec .banner-content { max-width: 80%; }
  .bannersec .maintititle { font-size: 3.8rem; }
}

/* ---- 767px (tablets portrait & large phones) ---- */
@media (max-width: 767px) {
  body { overflow-x: hidden; }
  html { font-size: 14px; }

  /* --- Banner: full viewport height, content always visible --- */
  .bannersec .bannerimg {
    height: 100svh;
    min-height: 520px;
  }
  .bannersec--static .bannerimg {
    height: auto;
    min-height: unset;
  }
  .bannersec--static .bannerimg img {
    width: 100%;
    height: auto;
  }
  .bannersec .bannerimg:before {
    background: linear-gradient(180deg, rgba(47,53,113,0.92) 0%, rgba(47,53,113,0.75) 60%, rgba(0,0,0,0.4) 100%);
  }
  .bannersec .container {
    top: 0;
    bottom: 0;
    align-items: flex-start;
    padding-top: 2rem;
    padding-bottom: 8rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .bannersec .banner-content { max-width: 100%; }
  .bannersec .maintititle { font-size: 2.6rem; line-height: 1.15; }
  .bannersec .maintititle span { font-size: 1rem; }
  .bannersec .bannerbottom {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 0;
  }
  .bannersec .bannerbottom .grade {
    border-radius: 0;
    border: 0;
    border-bottom: 0.056rem solid #fff;
    width: 40%;
  }
  .bannersec .bannerbottom .highestpackage .desc { font-size: 0.875rem; }
  .bannersec .bannerbottom .highestpackage .numvalue { font-size: 2.8rem; }
  .bannersec .bannerbottom .highestpackage .numvalue span { font-size: 0.9rem; }

  /* --- General --- */
  .common-heading { font-size: 1.6rem; }
  .common-spacing { padding: 2rem 0; }
  .heading-desc { font-size: 0.95rem; }
  .heading-wrapper .heading-desc { margin-top: 0.5rem; }

  /* --- Header --- */
  .headersec .navbox { flex-wrap: wrap; gap: 0.75rem; }
  .headersec .menuitems { justify-content: flex-start; gap: 0.5rem; }
  .headersec .menuitembox { padding-top: 0.5rem; border-top: 1px solid #ed4200; width: 100%; }
  .headersec .item { max-width: none; justify-content: flex-start; }
  .headersec .logobox { width: 100%; }
  .headersec .logobox img { max-width: 260px; }

  /* --- Rank/Award --- */
  .rankaward { padding: 2rem 0; }
  .rankaward .title { font-size: 1.25rem; }
  .rankaward .desc { margin-top: 0.5rem; font-size: 0.95rem; }
  .rankaward .left { padding: 1.5rem 1rem; width: 100%; }
  .rankaward .smbox { width: 100%; min-height: auto; flex-direction: column; }
  .rankaward .rankaward-img { width: 100%; height: 160px; }
  .rankaward .rankaward-img img { height: 160px; object-position: center top; }

  /* --- Accreditations --- */
  .accreditationsec .accreditationslider { margin-top: 1rem; }
  .accreditationsec .title { font-size: 1.1rem; }
  .accreditationsec .owl-dots { margin-top: 0; }

  /* --- Programs --- */
  .program-cards { grid-template-columns: 1fr; }
  .programs.section { padding: 50px 0; }
  .programs-header h2 { font-size: 2rem; }
  .programs-header p { font-size: 0.95rem; }

  /* --- Why JIIT / Schedule bento --- */
  .schedule-bento { grid-template-columns: 1fr; }
  .schedule.section { padding: 50px 0; }

  /* --- Infrastructure --- */
  .infrastructure-grid { grid-template-columns: 1fr; }
  .infra-card-cover img { height: 220px; }

  /* --- Placements --- */
  .campusplacement .placement-number { gap: 2rem; flex-wrap: wrap; justify-content: center; }
  .campusplacement .numvalue { font-size: 2rem; }
  .campusplacement .bigdesc { font-size: 1rem; }

  /* --- FAQ --- */
  .faqsec .ques { padding-right: 1.5rem; }
  .faqsec .left { width: 100%; }
  .faqsec .right { display: none; }

  /* --- Footer --- */
  .footersec { padding-top: 1rem; }
  .footersec .locationbox { padding: 1rem; flex-wrap: wrap; }
  .footersec .item { width: 100%; }
  .footersec .footerbottom { flex-wrap: wrap; justify-content: center; gap: 0.5rem; text-align: center; }

  /* --- Misc --- */
  .programOffered2-sec .programOffered-main .item { width: 100%; }
  .rankaward .smbox.mba-rank { background-size: cover; }
  .bannersec .maintititle .span2 { font-size: 2.2rem !important; }
  .campusplacement .numitem:before { display: none;}
  .campusplacement .numitem { border-right: solid 1px #fff;  padding-right: 10px;}   
  .campusplacement .numitem:last-of-type{border-right: none;}

}

/* ---- 480px (small phones) ---- */
@media (max-width: 480px) {
  html { font-size: 13px; }

  .bannersec .bannerimg { min-height: auto;}
  .bannersec .maintititle { font-size: 2.1rem; }
  .bannersec .container { padding-top: 1.5rem; padding-bottom: 9rem; }

  .headersec .logobox img { max-width: 350px; }
  .headersec .item { font-size: 0.75rem; }

  .common-heading { font-size: 1.4rem; }

  .programs-header h2 { font-size: 1.7rem; }
  .download-brochure-btn { font-size: 0.9rem; padding: 12px 20px; }

  .campusplacement .placement-number { gap: 1.5rem; }
  .campusplacement .numvalue { font-size: 1.8rem; }

  .infra-card-cover img { height: 180px; }

  .sched-card { padding: 16px; }

  .modal-content {
    width: calc(100% - 24px);
    bottom: 12px;
    right: 12px;
    left: 12px;
    border-radius: 16px;
  }
}

/* ---- 375px (iPhone SE / small Android) ---- */
@media (max-width: 375px) {
  html { font-size: 12px; }
  .bannersec .maintititle { font-size: 1.9rem; }
  .bannersec .bannerbottom .highestpackage .numvalue { font-size: 2.4rem; }
}
