/* ══════════════════════════════════════════════════════════════
   MIT GNM — MOBILE RESPONSIVE STYLES (PIXEL-PERFECT v3)
   Link AFTER style.css:
   <link rel="stylesheet" href="assets/css/mobile-responsive.css">
   Target: ≤ 768px
══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ══ GLOBAL ══ */
  body {
    font-size: 14px;
    background: #fff;
    font-family: 'SF Pro Display', sans-serif;
  }

  /* ══════════════════════════════════════
     NAVBAR
  ══════════════════════════════════════ */
  nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-wrap: wrap;
    height: auto;
    padding: 10px 14px 0;
    gap: 0;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1) !important;
  }

  .nav-logo {
    flex: 1;
    display: flex;
    align-items: center;
  }

  .nav-logo img {
    height: 52px;
  }

  nav.menu-open .nav-logo {
    position: static;
    transform: none;
    margin: 0 auto;
  }

  /* Hide desktop nav links */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 10px 14px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px 2px;
    margin-left: auto;
  }

  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #444;
    border-radius: 2px;
  }

  /* Nav actions — full width row below logo */
  .nav-actions {
    order: 3;
    width: 100%;
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    padding: 8px 0 10px;
    margin-top: 8px;
  }

  .btn-call {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    font-size: 13px;
    border-radius: 50px;
  }

  .btn-call img {
    width: 18px;
    height: 18px;
  }

  .btn-register {
    padding: 7px 16px;
    font-size: 13px;
    border-radius: 50px;
  }

  /* ══════════════════════════════════════
     HERO
  ══════════════════════════════════════ */
 .hero {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    min-height: auto;
    /* background: #3d1a08; */
    min-height: 120vw;
    position: relative;
    overflow: hidden;
  }

  /* BG image — nurse photo fills the hero */
  .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/main_mb_bg.png');
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    filter: none;
  }

 /* Strong top overlay so text is readable */
  /* .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(50, 18, 4, 0.95) 0%,
      rgba(50, 18, 4, 0.70) 45%,
      rgba(50, 18, 4, 0.10) 100%
    );
  } */

    .hero-content {
    flex-direction: column;
    padding: 22px 18px 0;
    gap: 0;
    align-items: stretch;
    max-width: 100%;
    display: flex;
    /* No min-height — let content decide */
  }

  /* Hero left — text block */
  .hero-left {
    max-width: 100%;
    padding-top: 10px;
    order: 1;
    position: relative;
    z-index: 2;
    /* Add bottom padding = space for nurse image to show */
    padding-bottom: 75vw;
  }

  .hero-admission {
    display: inline-block;
    /* background: rgba(0,0,0,0.45); */
    background: #99684b;
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 14px;
  }

  .hero-left h1 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.28;
    margin-bottom: 14px;
  }

  .hero-badge {
    padding: 10px 14px;
    margin-bottom: 12px;
    border-radius: 10px;
    display: inline-block;
  }

  .hero-badge p {
    font-size: 17px;
    line-height: 1.4;
  }

  /* Date pills — side by side */
  .hero-date-pills {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 18px;
  }

  .date-pill-img {
    flex: 1;
    width: 30%;
    height: auto;
    object-fit: fill;
  }

  /* Trust strip */
  .trust-strip {
    margin-top: 0;
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 10px;
    margin-bottom: 14px;
  }

  .trust-strip::-webkit-scrollbar { display: none; }

  .trust-item {
    padding: 10px 12px;
    font-size: 11px;
    min-width: 90px;
    flex-shrink: 0;
    gap: 7px;
  }

  .trust-item img {
    width: 20px;
    height: 20px;
  }

  .hero-tagline {
    font-size: 11.5px;
    max-width: 100%;
    line-height: 1.55;
    margin-bottom: 50px;
  }

  /* Campus tour over the nurse */
  .campus-tour {
    display: flex;
    position: absolute;
    right: 40px;
    top:65%;   /* ← pushes it below the nurse image */
    transform: none;
    width: 90px;
    height: 90px;
    z-index: 10;
  }


   .campus-tour-ring svg {
    width: 90px;
    height: 90px;
  }

  /* Hide form box inside hero — we move it outside */
  .hero-form-box {
    display: none;
  }

  /* ── Hero Form Box ── */
  /* Form box — pushed to bottom */
  /* .hero-form-box {
    flex: 0 0 auto;
    width: 100%;
    order: 2;
    margin-top: auto;           
    position: relative;
    z-index: 2;
  } */
  .form_white_box {
    padding: 18px 14px 14px;
    border-radius: 12px;
  }

  .form-box-title {
    font-size: 16px;
    margin-bottom: 3px;
  }

  .form-box-sub {
    font-size: 10.5px;
    margin-bottom: 10px;
  }

  .form-alert {
    font-size: 10.5px;
    padding: 7px 10px;
    margin-bottom: 12px;
  }

  .form-iframe-area {
    min-height: 260px;
    margin-bottom: 10px;
  }

  .form-footer {
    font-size: 10.5px;
    margin-bottom: 7px;
  }

  .form-students {
    font-size: 11px;
  }

  .approved-badge {
    margin-top: 12px;
  }

  .approved-by-label {
    font-size: 9px;
  }

  .approved-badge-inner {
    padding: 6px 14px;
  }

  .approved-badge-inner .badge-icon img {
    width: 26px;
    height: 26px;
  }

  .approved-badge-inner span {
    font-size: 11px;
  }

  .program-arrow-img {
    height: 40px;
  }

  .mit-nursing-why__arrow {
    height: 40px;
  }

.mobile-form-section {
    display: block;
    background: #29140b;
    padding: 20px 16px 30px;
    width: 100%;
  }

  .mobile-form-section .form_white_box {
    padding: 18px 14px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  }


   .form-iframe-area .npf_wgts {
  width: 100%;
  height: auto;
  min-height: 320px;
  border: none;
  display: block;
}


    .form-iframe-area {
      width: 100%;
      min-height: 320px;
      border-radius: 10px;
      overflow: hidden;
      background: #f5f5f5;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 2px dashed #ddd;
      margin-bottom: 14px;
    }



   /* ─────────────────────────────────────
       MIT SHILLONG NURSING SECTION
    ───────────────────────────────────── */

 /* ── TABLET ── */

    @media (max-width: 900px) {

      .mitShnSectionWrap {
        padding: 50px 30px 60px;
      }

      .mitShnInfoCard {
        gap: 30px;
        padding: 24px 24px 28px;
      }

      .mitShnCardImageWrap {
        width: 44%;
      }

      .mitShnCardImageWrap img {
        height: 340px;
      }

      .mitShnCardContent h3 {
        font-size: 19px;
      }

      .mitShnCardContent p {
        font-size: 14px;
      }
    }

    /* ── MOBILE ── */

    @media (max-width: 640px) {

      .mitShnSectionWrap {
        padding: 40px 16px 50px;
      }

      .mitShnSectionTitle {
        font-size: 26px;
      }

      .mitShnDividerLine {
        margin: 14px 0 28px;
      }

      .mitShnDividerLine::after {
        height: 60px;
      }

      .mitShnInfoCard {
        flex-direction: column;
        gap: 24px;
        padding: 20px 18px 28px;
        border-radius: 16px;
      }

      .mitShnCardImageWrap {
        width: 100%;
      }

      .mitShnCardImageWrap img {
        height: 240px;
        border-radius: 12px;
      }

      .mitShnCardContent h3 {
        font-size: 18px;
        margin-bottom: 14px;
      }

      .mitShnCardContent p {
        font-size: 14px;
        margin-bottom: 12px;
      }

      .mitShnCardContent p:last-of-type {
        margin-bottom: 24px;
      }

      .mitShnExploreBtn {
        display: block;
        text-align: center;
        padding: 14px 24px;
        font-size: 13px;
      }
    }

  /*end of nursing section*/

  /* ══════════════════════════════════════
     UNIVERSITIES / PROGRAMS SECTION
  ══════════════════════════════════════ */
  .universities-section {
    padding: 36px 14px 50px;
  }

  .uni-title-slider {
    font-size: 22px;
    height: 34px;
    margin-bottom: 4px;
  }

  .section-divider {
    margin-bottom: 28px;
  }

  .programs-offered-label {
    font-size: 30px;
  }

  .program-arrow {
    height: 26px;
  }

  .program-card {
    flex-direction: column;
    padding: 20px 16px;
    border-radius: 22px;
    gap: 20px;
  }

  /*.program-image {*/
  /*  width: 100%;*/
  /*  height: 200px;*/
  /*  border-radius: 14px;*/
  /*  border-top-left-radius: 14px;*/
  /*  border-bottom-left-radius: 14px;*/
  /*}*/

  /*.program-image img {*/
  /*  border-radius: 14px;*/
  /*  height: 100%;*/
  /*  object-fit: cover;*/
  /*  width: 100%;*/
  /*}*/
  
  
  
.program-image {
  width: 100%;
  height: auto;           /* ← remove fixed height */
  border-radius: 14px;
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
  overflow: hidden;
}

  .program-image img {
  border-radius: 14px;
  width: 100%;
  height: auto;           /* ← natural height */
  object-fit: unset;
  display: block;
}

  .program-content {
    flex-direction: column;
    gap: 0;
  }

  .program-details {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding-right: 0;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  .program-title {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .detail-block {
    gap: 10px;
    padding-bottom: 14px;
  }

  .detail-text {
    font-size: 12.5px;
  }

  .sub-text {
    font-size: 11.5px;
  }

  .program-description {
    padding-left: 0;
    font-size: 12.5px;
    line-height: 1.6;
  }

  /* ══════════════════════════════════════
     WHY CHOOSE — HORIZONTAL SWIPE SLIDER
  ══════════════════════════════════════ */
  .mit-nursing-why {
    padding: 40px 0 50px;
    overflow: hidden;
  }

  .mit-nursing-why__wrapper {
    max-width: 100%;
  }

  .mit-nursing-why__title {
    font-size: 22px;
    margin-bottom: 16px;
    padding: 0 16px;
  }

  .mit-nursing-why__divider {
    margin-bottom: 28px;
  }

  .mit-nursing-why__cards {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px 16px;
    padding-right: 44px;
    grid-template-columns: unset;
  }

  .mit-nursing-why__cards::-webkit-scrollbar {
    display: none;
  }

  .mit-nursing-why__card {
    flex: 0 0 74vw;
    max-width: 290px;
    height: 400px;
    min-height: 420px;
    border-radius: 18px;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
  }

  .mit-nursing-why__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
  }

  .mit-nursing-why__text {
    font-size: 16px;
    font-weight: 500;
    bottom: 14px;
    left: 12px;
    right: 12px;
    line-height: 1.4;
  }


  /* ══════════════════════════════════════
     CAREER PATH SECTION
  ══════════════════════════════════════ */
  .mit-career-path {
    padding: 20px 16px 30px;
  }

  .mit-career-path__title {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 10px;
    font-weight: 700;
  }

  .mit-career-path__arrow {
    margin: 12px 0 24px;
  }

  .mit-career-path__grid {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .mit-career-path__pill {
    font-size: 13.5px;
    padding: 12px 18px;
    border-radius: 50px;
    white-space: normal;
    justify-content: flex-start;
    gap: 10px;
  }

  .mit-career-path__pill img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .mit-career-path__pill--wide {
    padding: 12px 18px;
    text-align: left;
  }

  .mit-career-path__arrow--bottom {
    margin-top: 30px;
  }

  /* ══════════════════════════════════════
     INDUSTRY PARTNERS SECTION
  ══════════════════════════════════════ */
  .ip-section-unique {
    padding: 36px 14px;
  }

  .ip-box-unique {
    border-radius: 22px;
    padding: 26px 18px 22px;
  }

  .ip-box-unique h2 {
    font-size: 19px;
    margin-bottom: 8px;
  }

  .ip-box-unique p {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .ip-logos-unique {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 10px;
    justify-items: center;
    align-items: center;
    margin-top: 16px;
  }

  .ip-logos-unique img {
    height: 26px;
    max-width: 100%;
  }

  /* ══════════════════════════════════════
     HOW TO JOIN — VERTICAL TIMELINE
  ══════════════════════════════════════ */
  .title_sec {
    font-size: 22px;
    margin-bottom: 12px;
    padding: 0 16px;
    text-align: center;
    font-weight: 700;
  }

  .connector {
    display: none;
  }

  .join-card {
    margin: 10px 14px;
    padding: 70px 18px 50px;
    border-radius: 22px;
    background-image: url('../images/mb_join_bg.png');
    color: #fff;
    position: relative;
    overflow: hidden;
  }

  .steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 10px;
    padding-left: 46px;
  }

  .steps::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(255, 255, 255, 0.35);
    z-index: 0;
  }

  .step {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
    position: relative;
  }

  .step-circle {
    position: absolute;
    left: -46px;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.8px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    background: #6f3a32;
    z-index: 2;
  }

  .step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.35;
    text-align: left;
    margin-top: 2px;
  }

  .step-desc {
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
  }

  .join-footer {
    display: flex;
    justify-content: center;
    margin-top: 100px;
  }

  .register_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    font-size: 13px;
    border-radius: 30px;
    border: 1.5px solid #fff;
    background: transparent;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
  }

  .register_button:hover {
    background: #fff;
    color: #6f3a32;
  }

  /* ══════════════════════════════════════
     CAMPUS HIGHLIGHTS SECTION
  ══════════════════════════════════════ */
  .ch_section {
    padding: 44px 16px 50px;
  }

  .ch_title {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .ch_wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .ch_card {
    width: 100%;
    max-width: 100%;
    padding: 14px 10px 16px;
    position: relative;
    text-align: center;
  }

  .ch_card:nth-child(odd) {
    border-right: 1px solid rgba(0, 0, 0, 0.12);
  }

  .ch_card:nth-child(n+3) {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }

  .ch_card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 18px auto 0;
    border-top: none;
    border-right: none;
  }

  .ch_img_box {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
  }

  .ch_img_box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    filter: grayscale(100%);
    transform: scale(1);
    transition: all 0.4s ease;
  }

  /* .ch_card:hover .ch_img_box img {
    filter: grayscale(0%);
    transform: scale(1.08);
    
  } */

  /* HOVER EFFECT */
.ch_card:hover .ch_img_box img  {
  filter: grayscale(0%);
  transform: scale(1.08);
}


  .ch_card p {
    font-size: 13.5px;
    margin-top: 10px;
    font-weight: 500;
  }

  /* ══════════════════════════════════════
     CURVED SLIDER (Campus photos)
  ══════════════════════════════════════ */
  .curve-slider-section {
    overflow: hidden;
  }

  .curved_wrapper {
    grid-template-rows: 180px;
    gap: 8px;
  }

  .curved_wrapper img {
    width: 180px;
    height: 180px;
    object-fit: cover;
  }

  /* ══════════════════════════════════════
     ADMISSIONS OPEN BANNER
  ══════════════════════════════════════ */
  .adm-banner-wrapper {
    padding: 22px 20px 20px;
  }

  .adm-banner-cta {
    font-size: 12.5px;
    padding: 10px 22px;
    margin-bottom: 24px;
    display: inline-block;
  }

  .adm-banner-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
  }

  /* ══════════════════════════════════════
     FAQ SECTION
  ══════════════════════════════════════ */
  .gnmfaq__heading {
    font-size: 21px;
    padding: 36px 16px 0;
    letter-spacing: -0.2px;
  }

  .gnmfaq__arrow {
    padding: 14px 0 0;
  }

  .gnmfaq__bg {
    margin: 0;
    padding: 20px 15px;
    border-radius: 20px;
     box-sizing: border-box; /* 👈 add this */
  width: 100%;            /* 👈 add this */
  }

  .gnmfaq__row {
     flex-direction: column;
  padding: 12px 10px 20px; /* reduce side padding */
  gap: 20px;
  box-sizing: border-box;  /* 👈 add this */
  width: 100%;             /* 👈 add this */
  }

  .gnmfaq__list {
    width: 100%;
  max-width: 100%;         /* 👈 add this */
  order: 1;
  gap: 10px;
  box-sizing: border-box;  /* 👈 add this */
  }

  .gnmfaq__item {
     border-radius: 8px;
  width: 100%;             /* 👈 add this */
  box-sizing: border-box;  /* 👈 add this */
  }

  .gnmfaq__btn {
    font-size: 12.5px;
    padding: 14px 14px;
    gap: 10px;
  }

  .gnmfaq__icon {
    font-size: 20px;
    width: 18px;
  }

  .gnmfaq__answer-inner {
    font-size: 12px;
    padding: 0 14px 14px;
    line-height: 1.65;
  }

  .gnmfaq__card {
    width: 100%;
    order: 2;
    box-sizing: border-box;
    padding: 20px 16px 18px;
    border-radius: 12px;
  }

  .gnmfaq__card-title {
    font-size: 15.5px;
    margin-bottom: 3px;
  }

  .gnmfaq__card-subtitle {
    font-size: 10.5px;
    margin-bottom: 12px;
  }

  .gnmfaq__batch-banner {
    font-size: 10.5px;
    padding: 6px 10px;
    margin-bottom: 12px;
  }

  .gnmfaq__iframe-placeholder {
    min-height: 300px;
    padding: 24px 14px;
    font-size: 11.5px;
  }

  /* ── Footer ── */
  .gnmfaq__footer {
    padding: 0 14px 22px;
  }

  .gnmfaq__footer-card {
    flex-direction: column;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 35px;
    align-items: flex-start;
    text-align: left;
    position: relative;
  }

  .gnmfaq__logo {
    font-size: 17px;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .gnmfaq__contacts {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: flex-start;
  }

  .gnmfaq__contact-item {
    font-size: 11.5px;
    gap: 8px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    line-height: 1.5;
  }

  .hr_line {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    margin: 0;
  }

  .gnmfaq__vdivider {
    display: none;
  }

  .gnmfaq__copyright {
    font-size: 10.5px;
    padding: 12px 14px 20px;
    text-align: center;
  }

}/* end @media (max-width: 768px) */



/* ══════════════════════════════════════
   EXTRA SMALL PHONES (≤ 390px)
══════════════════════════════════════ */
@media (max-width: 390px) {

  nav {
    padding: 6px 10px 0;
  }

  .btn-call {
    padding: 6px 10px;
    font-size: 10px;
  }

  .btn-register {
    padding: 6px 10px;
    font-size: 18px;
  }
/* 
  .hero {
    margin-top: 84px;
  } */

  .hero-left h1 {
    font-size: 25px;
  }

  .hero-badge p {
    font-size: 19px;
  }

  .hero-admission {
    font-size: 18px;
  }

  .btn-apply,
  .btn-brochure {
    font-size: 10px;
    padding: 9px 10px;
  }

  .mit-career-path__title {
    font-size: 26px;
  }

  .adm-banner-title {
    font-size: 34px;
  }

  .ip-logos-unique {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }

  .mit-nursing-why__card {
    flex: 0 0 82vw;
    height: 350px;
    min-height: 200px;
  }

  .step-title {
    font-size: 15px;
  }

  .step-desc {
    font-size: 13px;
  }

  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

}