 :root {--nims-red: #ce2229;--nims-navy: #0a1628; --brand-red: #ce2229;
            --bg-light-grey: #f4f5f7;}
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: 'Montserrat', sans-serif; }
    .topbar {background: #fff;border-bottom: 1px solid #e0e0e0;padding: 8px 20px;}
    .topbar-inner {display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 10px;}
    .topbar-left {display: flex;align-items: center;gap: 18px;flex-wrap: wrap;}
    .nims-brand {padding-right: 18px;border-right: 1.5px solid #ccc;display: flex;align-items: center;}
    .nims-brand img {height: 62px;width: auto;display: block;object-fit: contain;}
    .nirf-block img {height: 48px;width: auto;display: block;object-fit: contain;}
    .qs-block img {height: 48px;width: auto;display: block;object-fit: contain;}
    .naac-block {display: flex;align-items: center;gap: 6px;}
    .naac-block img {height: 48px;width: auto;display: block;object-fit: contain;}
    .helpline-btn {background: var(--nims-red);color: #fff;text-decoration: none;border-radius: 6px;padding: 9px 20px;display: flex;align-items: center;gap: 10px;flex-shrink: 0;white-space: nowrap;}
    .helpline-btn .ph-icon { font-size: 1.6rem; }
    .helpline-btn .ph-label {font-size: 0.57rem;font-weight: 600;letter-spacing: 0.5px;text-transform: uppercase;opacity: 0.9;display: block;}
    .helpline-btn .ph-number {font-size: 1.2rem;font-weight: 800;letter-spacing: 0.5px;display: block;}
    .hero-section {background: url('https://nimsuniversity.edu.in/landing-pages/marik-4/bg-with-student.png') center center / cover no-repeat;min-height: 575px;position: relative;
      overflow: hidden;display: flex;align-items: center;}
    .hero-section::before {content: '';position: absolute;inset: 0;
        /* background: linear-gradient(115deg,rgba(6,16,31,0.85) 0%,rgba(12,28,62,0.78) 40%,rgba(17,36,100,0.55) 65%,rgba(12,28,64,0.65) 100%); */
        pointer-events: none;z-index: 1;}
    .hero-section::after {content: '';position: absolute;inset: 0;background:
        radial-gradient(ellipse 55% 90% at 62% 50%, rgba(20,80,210,0.2) 0%, transparent 65%),
        radial-gradient(ellipse 30% 50% at 80% 25%, rgba(50,110,255,0.14) 0%, transparent 55%);
      pointer-events: none;z-index: 1;}
    .hero-row { position: relative; z-index: 2; min-height: 575px; }
    .hero-content { padding: 48px 0; }
    .badge-pill {display: inline-block;border: 1.5px solid rgba(255,255,255,0.55);border-radius: 50px;color: #fff;font-size: 0.78rem;font-weight: 600;padding: 5px 20px;margin-bottom: 18px;}
    .hero-title {color: #fff;font-size: 2.65rem;font-weight: 800;line-height: 1.05;margin-bottom: 4px;}
    .hero-title-red {color: var(--nims-red);font-size: 2.35rem;font-weight: 800;line-height: 1.2;display: block;}
    .feature-grid {display: grid;grid-template-columns: 1fr 1fr;gap: 11px;margin-top: 28px;max-width: 430px;}
    .feature-item {padding: 12px 0px;display: flex;align-items: center;gap: 4px;}
    .feature-icon-box {width: 80px;height: 80px;border-radius: 8px;display: flex;align-items: center;justify-content: center;flex-shrink: 0;overflow: hidden;}
    .feature-icon-box img {width: 100%;height: 100%;object-fit: contain;display: block;padding: 6px;}
    .feat-label {font-size: 0.925rem;font-weight: 700;line-height: 1.35;color: #fff;}
    .hero-img-col {display: flex;align-items: flex-end;justify-content: center;}
    .student-img-wrap {position: relative;display: flex;align-items: flex-end;justify-content: center;}
    .student-img-wrap::before {content: '';position: absolute;bottom: 0; left: 50%;transform: translateX(-50%);width: 100%; height: 100%;background: radial-gradient(ellipse at 50% 70%, rgba(50,120,255,0.22) 0%, transparent 65%);pointer-events: none;z-index: 0;}
    .student-img-wrap img {height: 520px;width: auto;max-width: 100%;object-fit: contain;object-position: bottom;display: block;position: relative;z-index: 1;}
    .form-card {background: #fff;border-radius: 12px;box-shadow: 0 8px 45px rgba(0,0,0,0.35);padding: 26px 22px 22px;width: 100%;max-width: 355px;}
    .form-title {color: var(--nims-red);font-weight: 800;font-size: 1.18rem;text-align: center;margin-bottom: 3px;}
    .form-subtitle {color: #666;font-size: 0.72rem;text-align: center;margin-bottom: 16px;}
    .form-card .form-control,
    .form-card .form-select {font-family: 'Montserrat', sans-serif;font-size: 0.8rem;border: 1.5px solid #ddd;border-radius: 6px;padding: 10px 13px;margin-bottom: 11px;color: #444;}
    .form-card .form-control:focus,
    .form-card .form-select:focus {border-color: var(--nims-red);box-shadow: 0 0 0 3px rgba(200,16,46,0.08);}
    .phone-group {display: flex;margin-bottom: 11px;}
    .phone-prefix {display: flex;align-items: center;gap: 3px;border: 1.5px solid #ddd;border-right: none;border-radius: 6px 0 0 6px;padding: 0 10px;background: #f5f5f5;
      font-size: 0.78rem;font-weight: 700;color: #333;font-family: 'Montserrat', sans-serif;white-space: nowrap;flex-shrink: 0;}
    .phone-group .form-control {border-radius: 0 6px 6px 0 !important;margin-bottom: 0 !important;}
    .consent-row {display: flex;align-items: flex-start;gap: 7px;margin-bottom: 14px;}
    .consent-row input[type="checkbox"] {margin-top: 2px;flex-shrink: 0;accent-color: var(--nims-red);width: 13px; height: 13px;}
    .consent-row label { font-size: 0.62rem; color: #666; line-height: 1.5; }
    .consent-row label a { color: var(--nims-red); text-decoration: none; }
    .btn-submit {width: 100%;background: var(--nims-red);color: #fff;border: none;border-radius: 6px;padding: 13px;font-family: 'Montserrat', sans-serif;
      font-size: 0.93rem;font-weight: 700;letter-spacing: 0.5px;cursor: pointer;transition: background 0.2s;}
    .btn-submit:hover { background: #ce2229; }


/* Proven Career Outcames */
    .section-heading {font-size: 2.5rem;padding-top: 31px;color: #1a1a1a;}
    .section-heading span {font-weight: 800;}
       .student-wrapper {position: relative;border-radius: 12px;overflow: hidden;box-shadow: 0 4px 15px rgba(0,0,0,0.1);height: 100%; background-color: #eaeaea;}
        .carousel, .carousel-inner, .carousel-item {height: 100%;width: 100%;}
        .student-img {width: 100%;height: auto;object-position: top center;}
        .company-logo {position: absolute;top: 30px;left: 30px;width: 120px;height: 50px;z-index: 10;object-fit: contain;object-position: left center;}
        .student-info {position: absolute;bottom: 30px;left: 30px;z-index: 10;}
        .student-name {background-color: var(--brand-red);color: white;padding: 8px 20px;font-weight: 600;font-size: 1.2rem;display: inline-block;
            margin-bottom: 5px;text-transform: capitalize;}
        .student-package {color: white;font-size: 2.5rem;font-weight: 700;line-height: 1;text-shadow: 2px 2px 6px rgba(0,0,0,0.6); }
        .stat-card-main {background-color: var(--brand-red);color: white;border-radius: 12px;padding: 40px 20px;box-shadow: 0 4px 15px rgba(0,0,0,0.1);display: flex;flex-direction: column;justify-content: center;height: 100%;}
        .stat-card-main h3 {font-size: clamp(2.5rem, 4vw, 3.5rem);font-weight: 800;margin-bottom: 5px;}
        .stat-card-main p {font-size: 1.1rem;letter-spacing: 1px;margin-bottom: 0;text-transform: uppercase;}
        .stat-card-small {background-color: var(--bg-light-grey);border-radius: 12px;padding: 25px 15px;box-shadow: 0 4px 10px rgba(0,0,0,0.05);height: 100%;display: flex;
            flex-direction: column;justify-content: center;border: 1px solid #e9ecef;}
        .stat-card-small h4 {color: var(--brand-red);font-size: clamp(1.4rem, 2vw, 1.8rem);font-weight: 800;margin-bottom: 5px;}
        .stat-card-small p {color: #555;font-size: 0.75rem;font-weight: 600;text-transform: uppercase;margin-bottom: 0;letter-spacing: 0.5px;}
        .recruiters-section {padding: 60px 0 40px;background-color: #ffffff;overflow: hidden;}
        .recruiters-heading {font-size: 2.2rem;color: #000;margin-bottom: 40px;}
        .recruiters-heading span {font-weight: 800;}
        .marquee-wrapper {display: flex;width: 100%;overflow: hidden;white-space: nowrap;position: relative;}
       .marquee-track {display: flex;align-items: center;animation: scroll-left 30s linear infinite;}
        .marquee-wrapper:hover .marquee-track {animation-play-state: paused;}
        .logo-box {background-color: #f8f9fa;border-radius: 6px;padding: 15px 25px;margin: 0 12px;display: flex;justify-content: center;align-items: center;min-width: 180px;height: 90px;box-shadow: 0 2px 5px rgba(0,0,0,0.02);}
        .logo-box img {max-width: 100%;max-height: 100%;object-fit: contain;opacity: 0.7;transition: all 0.3s ease;}
        .logo-box:hover img {opacity: 1;}

        /* Keyframes for infinite scroll */
        @keyframes scroll-left {
            0% { transform: translateX(0); }
            100% { transform: translateX(-100%); }
        }
        .bottom-line {border-top: 1px solid var(--brand-red);width: 90%;max-width: 1200px;margin: 40px auto 0;opacity: 0.5;}

        
/* ══════════════════════════════════════
   INDUSTRY GRADE 4.0 LABS (sidebar nav)
══════════════════════════════════════ */
.labs-container-box {border: 1px solid #eaeaea;border-radius: 12px;background-color: #ffffff;overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05);}
.labs-sidebar {height: 430px;overflow-y: auto;padding: 20px;border-right: 1px solid #eaeaea;scroll-behavior: smooth;}
.labs-sidebar::-webkit-scrollbar { width: 6px; }
.labs-sidebar::-webkit-scrollbar-track { background: #f1f1f1; }
.labs-sidebar::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.labs-sidebar::-webkit-scrollbar-thumb:hover { background: var(--brand-red); }
.nav-pills .nav-link {background-color: #f8f9fa;color: var(--brand-red);font-weight: 600;text-align: left;padding: 16px 20px;margin-bottom: 12px;border-radius: 8px;border: 1px solid transparent;transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);position: relative;overflow: hidden;}
.nav-pills .nav-link:hover {background-color: #e9ecef;transform: translateX(5px);}

@keyframes activePulse {
    0% { box-shadow: 0 4px 15px rgba(207, 32, 39, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(207, 32, 39, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(207, 32, 39, 0.3); }
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {background: linear-gradient(135deg, var(--brand-red), #9e151b);color: #ffffff;transform: scale(1.02) translateX(5px);border-color: var(--brand-red);
    /* animation: activePulse 2.5s infinite; */
    z-index: 2;}
.tab-content, .tab-pane {height: 100%;overflow: hidden;}
@keyframes imgReveal {
    from { 
        opacity: 0; 
        transform: scale(1.05) translateX(30px); 
    }
    to { 
        opacity: 1; 
        transform: scale(1) translateX(0); 
    }
}

.tab-pane.active .lab-img {animation: imgReveal 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards;}
.lab-img {width: 100%;height: auto;object-fit: cover;object-position: center;opacity: 0;}

/* video css */
.video-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}
.sound-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  
  width: 50px;
  height: 50px;
  
  border-radius: 50%;
  border: none;
  
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  
  color: #fff;
  font-size: 20px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  cursor: pointer;
  transition: all 0.3s ease;
}
.sound-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.sound-btn:active {
  transform: scale(0.95);
}
/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
    @media (max-width: 1199px) {
      .hero-title { font-size: 2.2rem; }
      .hero-title-red { font-size: 2rem; }
    }
    @media (min-width: 992px) {
      .career-row { height: 550px; }
    }
    @media (max-width: 991px) {
      .hero-title { font-size: 2rem; }
      .hero-title-red { font-size: 1.8rem; }
      .feature-grid { max-width: 100%; }
      .form-card { max-width: 100%; }
      .student-wrapper { height: 450px !important; }
    }
    @media (max-width: 767px) {
      .helpline-btn { width: auto; justify-content: center; }
      .nims-brand img { height: 50px; }
      .nirf-block img, .qs-block img, .naac-block img { height: 36px; }
      .hero-title { font-size: 1.75rem; }
      .hero-title-red { font-size: 1.55rem; }
      .topbar-inner { flex-wrap: nowrap; }
      .helpline-btn { padding: 9px 10px; }
      .hero-section { background-position: 100% 26%; background-size: cover; min-height: 400px; }
      .labs-sidebar { height: 250px; border-right: none; border-bottom: 1px solid #eaeaea; }
      .lab-img { height: 350px; }
      .nav-pills .nav-link.active { transform: scale(1.02) translateX(0); }
      .feature-item img {width: 50px;height: 50px;}
      .campus-visual {height: auto !important;}
    }
    @media (max-width: 575px) {
      .nirf-block, .qs-block, .naac-block { display: none; }
      .hero-title { font-size: 1.5rem; }
      .hero-title-red { font-size: 1.35rem; }
    }