/* NMIMS SBM – MBA-NEx landing page
   Colours sampled from the PDF design reference. */
:root {
  --ink: #1c1f26;
  --ink-2: #2a303a;
  --brand: #a81a2f;
  --brand-dark: #8a1426;
  --brand-soft: #f0a3ae;
  --tint: #f4f2ee;
  --line: #e6e3dd;
  --muted: #5b616b;
  --radius: 12px;
  --head: 'Manrope', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--body); color: var(--ink); font-size: 0.95rem; line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, .brand-name { font-family: var(--head); letter-spacing: -0.01em; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.skip-link { position: absolute; left: 8px; top: 8px; z-index: 2000; background: #fff; padding: .5rem .75rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); z-index: 1030; }
.site-header .navbar { padding: .6rem 0; }
.brand { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; }
.brand-name { font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.brand-accent { color: var(--brand); }
.brand-sub { font-size: .68rem; color: var(--muted); }
.navbar-toggler { border: 1px solid var(--line); padding: .35rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(168, 26, 47, .25); }
.main-links .nav-link { font-size: .88rem; font-weight: 500; color: var(--ink); padding: .5rem .85rem; }
.main-links .nav-link:hover, .main-links .nav-link:focus { color: var(--brand); }
.header-phone { text-decoration: none; font-size: .85rem; }
.header-phone span { color: var(--muted); }
.btn-login { border-radius: 8px; font-weight: 600; padding: .45rem 1rem; }
@media (max-width: 991.98px) {
  .navbar-collapse { padding: .75rem 0 .5rem; border-top: 1px solid var(--line); margin-top: .6rem; }
  .header-actions { padding: .5rem .85rem; }
  .btn-login { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #fff; padding: 3.5rem 0 4rem; }
.badge-pill { display: inline-block; background: var(--brand); color: #fff; font-size: .92rem; font-weight: 600; padding: .3rem .8rem; border-radius: 999px; }
.hero h1 { font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.1; margin: 1.1rem 0 1.2rem; max-width: 14em; }
.lead-text { color: #d9dce1; max-width: 32em; font-size: 1rem; }
.hero-points li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .55rem; font-size: .92rem; }
.hero-points i { color: var(--brand-soft); margin-top: .35rem; font-size: .8rem; }
.hero-points { margin-top: 1.4rem; }

/* ---------- Form card ---------- */
.form-card { 
    /*background: #fff; */
    color: var(--ink); 
    border-radius: 14px; 
    padding: 1.5rem; 
    /*box-shadow: 0 18px 40px rgba(0, 0, 0, .28); */
    
}


.formDiv {
    /* margin-bottom: 20px; */
    /* padding: 10px; */
    /* border: 1px solid #57a945; */
    border: 1px solid #FF5722;
    border-radius: 20px;
    background-color: #fff;
    padding: 36px;
}


.form-card h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: .1rem; }
.form-sub { font-size: .78rem; color: var(--muted); margin-bottom: 1rem; }
.form-label { font-size: .75rem; font-weight: 600; margin-bottom: .3rem; }
.form-control, .form-select { font-size: .85rem; border-color: #d7d4cd; border-radius: 8px; padding: .55rem .75rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(168, 26, 47, .15); }
.btn-otp { background: var(--tint); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; border-radius: 8px; white-space: nowrap; padding: .5rem .9rem; }
.btn-otp:hover { background: #ebe8e1; }
.otp-msg { font-size: .75rem; margin-top: .35rem; }
.otp-msg.ok, .form-status.ok { color: #1c7a43; }
.otp-msg.err, .form-status.err { color: #b3261e; }
.consent { font-size: .68rem; color: var(--muted); line-height: 1.45; }
.consent .form-check-input { margin-top: .2rem; }
.consent .form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-status { font-size: .82rem; font-weight: 500; }
.btn-brand { background: var(--brand); color: #fff; font-weight: 700; padding: .75rem 1rem; border-radius: 8px; font-size: .9rem; border: 0; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); color: #fff; }
.btn-brand:disabled { opacity: .7; }
.was-validated .form-control:valid, .was-validated .form-select:valid { border-color: #d7d4cd; background-image: none; padding-right: .75rem; }
.was-validated .form-select:valid { background-image: var(--bs-form-select-bg-img); padding-right: 2.25rem; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--tint); border-bottom: 1px solid var(--line); padding: .9rem 0; }
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 2rem; margin: 0; font-size: .8rem; color: #3b4048; }

/* ---------- Generic sections ---------- */
.section { padding: 4rem 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; font-weight: 700; color: var(--brand); margin-bottom: .5rem; }
.eyebrow-light { color: var(--brand-soft); }
.section-title { font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.1rem); line-height: 1.2; margin-bottom: 1.2rem; }
.section-title.narrow { max-width: 13em; }
.sub-h { font-size: .95rem; font-weight: 700; font-family: var(--body); margin-bottom: .8rem; }
.muted { color: #3b4048; font-size: .85rem; }

/* ---------- Feature cards ---------- */
.feature-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.feature-card i { color: var(--brand); font-size: 1.05rem; }
.feature-card h3 { font-size: .98rem; font-weight: 700; margin: .7rem 0 .35rem; font-family: var(--body); }
.feature-card p { font-size: .85rem; color: #3b4048; margin: 0; }

/* ---------- Programme ---------- */
.stat-card { background: #fff; border-radius: 10px; padding: .9rem 1rem; height: 100%; }
.stat-card strong { display: block; color: var(--brand); font-family: var(--head); font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.stat-card span { font-size: .75rem; color: #3b4048; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .85rem; font-size: .78rem; }
.btn-curriculum { border-radius: 8px; font-weight: 600; margin-top: .4rem; }

/* ---------- Leadership ---------- */
.quote { font-family: var(--head); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.25; max-width: 19em; margin: 0 0 2rem; }
.quote footer { font-family: var(--body); font-weight: 400; font-size: .82rem; color: #c9ccd2; margin-top: .6rem; }
/*.video-tile { position: relative; aspect-ratio: 16 / 9; background: var(--ink-2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: #b8bcc4; font-size: .78rem; text-align: center; padding: .5rem; overflow: hidden; }
.video-tile iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 1.1rem; }*/
.video-tile {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;      /* same size for all three tiles */
    overflow: hidden;
    border-radius: 12px;
}
.video-tile .video-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;          /* crops without stretching */
    object-position: center 20%; /* keeps faces in frame */
}
.video-tile .video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.video-tile iframe {            /* when the video starts playing */
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-play:hover { background: var(--brand-dark); }
.video-cap { font-family: var(--body); font-size: .95rem; font-weight: 700; margin-top: .8rem; }

/* ---------- Logos ---------- */
/*.logos-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 1.5rem; }
.logo-box { background: var(--tint); border-radius: 8px; height: 56px; display: flex; align-items: center; justify-content: center; font-size: .72rem; color: var(--muted); padding: .5rem; }
.logo-box img { max-height: 36px; object-fit: contain; }*/

.logo-marquee {
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
    /* soft fade at the left and right edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.logo-track {
    display: flex;
    width: max-content;
    animation: logo-scroll 60s linear infinite;
    will-change: transform;
}

.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}

.logo-group {
    display: flex;
    flex-shrink: 0;
}

.logo-item {
    flex: 0 0 auto;
    padding: 0 1rem;               /* spacing via padding so the -50% loop is exact */
}

.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 100px;
}

.logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
}

@keyframes logo-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Smaller logos on mobile */
@media (max-width: 767px) {
    .logo-box { width: 150px; height: 80px; }
    .logo-track { animation-duration: 24s; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .logo-track { animation: none; }
    .logo-marquee { overflow-x: auto; }
}

/* ---------- Admissions ---------- */
.eligibility { padding-left: 1.1rem; }
.eligibility li { margin-bottom: .45rem; font-size: .9rem; }
.btn-chip { background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: .78rem; font-weight: 600; padding: .45rem .9rem; }
.btn-chip:hover { border-color: var(--ink); background: #fff; }
.steps li { display: flex; align-items: center; gap: .9rem; background: #fff; border-radius: 10px; padding: .8rem 1rem; margin-bottom: .6rem; font-size: .85rem; }
.step-no { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
.merit { margin-top: 1rem; font-size: .85rem; }

/* ---------- About ---------- */
.about-text { max-width: 38em; color: #3b4048; margin-bottom: 1.8rem; }
.glance-item { border-top: 2px solid var(--brand); padding-top: .7rem; }
.glance-item strong { display: block; font-family: var(--head); font-size: 1.7rem; font-weight: 800; line-height: 1.2; }
.glance-item span { font-size: .78rem; color: #3b4048; }

/* ---------- CTA band + footer ---------- */
.cta-band { background: var(--brand); color: #fff; padding: 2.4rem 0; }
.cta-band h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: .25rem; }
.btn-enquire { color: var(--brand); font-weight: 700; padding: .7rem 1.6rem; border-radius: 8px; }
.btn-enquire:hover { background: #fff; color: var(--brand-dark); }
.site-footer { background: var(--ink); color: #e8e9ec; padding: 2rem 0; font-size: .8rem; }
.footer-h { font-family: var(--body); font-size: .85rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover, .site-footer a.u { text-decoration: underline; }

@media (max-width: 575.98px) {
  .hero { padding: 2.2rem 0 2.6rem; }
  .section { padding: 2.8rem 0; }
  .form-card { padding: 1.15rem; }
  .cta-band .btn { width: 100%; }
}
