:root {
  --bg: #08090d;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --surface: #11131a;
  --surface-2: #171a24;
  --text: #f5f7fb;
  --muted: #b7bfcc;
  --line: rgba(255, 255, 255, 0.08);
  --primary: #ff3b45;
  --primary-2: #ff7078;
  --accent: #ffe3e5;
  --success: #70f0b4;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --container: min(1180px, calc(100vw - 40px));
  --font-display: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  /* Updated Background Color to match the deep reddish/maroon tone from the image */
  background-color: #0d0405; 
  background-image:
    radial-gradient(circle at top left, rgba(255, 59, 69, 0.18), transparent 35%),
    radial-gradient(circle at 80% 15%, rgba(255, 112, 120, 0.14), transparent 30%),
    radial-gradient(circle at 15% 65%, rgba(255, 59, 69, 0.08), transparent 40%), 
    linear-gradient(180deg, rgba(22, 7, 9, 0.8) 0%, rgba(13, 4, 5, 0.9) 25%, rgba(18, 6, 7, 0.95) 55%, #0a0304 100%);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 110px 0;
  position: relative;
}

.top-ribbon {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(8, 9, 13, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ribbon-inner {
  min-height: 46px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.ribbon-inner a {
  color: #fff;
  font-weight: 700;
}

.header {
  position: sticky;
  top: 46px;
  z-index: 45;
  backdrop-filter: blur(16px);
  background: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img{
    width:200px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #b1121b 100%);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 16px 35px rgba(255, 59, 69, 0.28);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 1.12rem;
  color: #fff;
  letter-spacing: 0.01em;
}

.brand-copy small {
  color: #ffb8bd;
  margin-top: 4px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a{
    color: #000 !important;
}
.nav a,
.footer-links a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.25s ease;
}

.nav a:hover,
.footer-links a:hover {
  color: #8f0202 !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 20px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #c51621 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(255, 59, 69, 0.28);
}

.btn-secondary,
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgb(0, 0, 0);
}

.btn-large {
  padding: 15px 26px;
}

.text-link {
  color: #fff;
  font-weight: 700;
  opacity: 0.9;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgb(0, 0, 0);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  margin: 4px auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Updated Hero Section: Removed image, kept gradient overlay */
.hero {
  min-height: calc(100vh - 130px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* Image completely removed as requested */
  background: transparent;
}

.hero-bg, .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Reddish dark glow just like the hero image layout */
  background:
    linear-gradient(180deg, rgba(13, 4, 5, 0.1) 0%, rgba(13, 4, 5, 0.6) 100%), 
    radial-gradient(circle at 30% 30%, rgba(255, 59, 69, 0.15), transparent 45%); 
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2; 
}

.about-grid,
.placements-grid,
.why-grid,
.faq-grid,
.inquiry-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow,
.mini-tag,
.pill,
.partner-badge,
.strip-label,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.strip-label{
  font-size: 22px;
}
.hero-copy h1,
.section-heading h2,
.about-copy h2,
.placements-copy h2,
.why-copy h2,
.inquiry-copy h2,
.cta-band h2 {
  margin: 18px 0 18px;
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

/* =========================================
   NEW H1 & HEADINGS LOGIC 
   ========================================= */

.hero-copy h1 {
  /* Base reset */
}

/* Making Shivalik College Smaller */
.hero-copy h1 .small-text {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #fff;
}

/* "is now" connector */
.hero-copy h1 .mid-text {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

/* Making Shivalik University Much Bigger */
.hero-copy h1 .large-text {
  font-size: clamp(3.8rem, 8vw, 6rem);
  display: block;
  margin-top: -2px;
}

.section-heading h2,
.about-copy h2,
.placements-copy h2,
.why-copy h2,
.inquiry-copy h2,
.cta-band h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

/* HIGHLIGHT CLASS: Applied to heading elements for the red/coral dual color tone */
.highlight {
  color: transparent;
  background: linear-gradient(135deg, #ffd6d8 0%, #ff8c93 38%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ========================================= */

.lead,
.section-heading p,
.about-copy p,
.placements-copy p,
.why-copy p,
.inquiry-copy p,
.cta-band p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

.hero-programs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 18px 0 20px;
  font-weight: 700;
  color: #fff;
}

.hero-programs span {
  color: rgba(255, 255, 255, 0.4);
}

.trust-row,
.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
}

.trust-row span,
.contact-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #e9edf5;
  font-size: 0.94rem;
    
}
.priority-point {
    color: #fff3f3;
    background: linear-gradient(135deg, rgba(255, 59, 69, 0.24), rgba(197, 22, 33, 0.5)) !important;
    border-color: rgba(255, 89, 98, 0.36) !important;
    box-shadow: 0 14px 30px rgba(255, 59, 69, 0.16);
}
.major-point {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.partner-card,
.highlight-card,
.program-card,
.life-card,
.incubation-card,
.inquiry-form,
.recruiter-panel,
.scholarship-card,
.quote-card,
.funding-grid article,
.outcome-cards article,
.stats-grid article,
.faq-list details,
.cta-band-inner,
.training-strip {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.scholarship-card {
    padding: 10px;
}
.quote-card{
    padding: 10px; 
}
.stack-main,
.stack-accent {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.7) 100%);
}

.floating-card {
  animation: float 6s ease-in-out infinite;
}

.stats-strip {
  padding: 0 0 20px;
}

.stats-grid {
  border-radius: 28px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.funding-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); 
  gap: 22px; 
  margin-top: 20px;
}

@media (max-width: 920px) {
  .funding-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .funding-grid {
    grid-template-columns: 1fr;
  }
}

.stats-grid article,
.funding-grid article,
.outcome-cards article {
  border-radius: 22px;
  padding: 24px;
}

.stats-grid strong,
.funding-grid strong,
.outcome-cards strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 6px;
}

.stats-grid span,
.funding-grid span,
.outcome-cards span,
.program-card p,
.partner-card li,
.highlight-card p,
.life-card p,
.incubation-card p,
.faq-list p,
.form-note,
.quote-card span,
.about-copy .feature-list span,
.recruiter-panel p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.program-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.tab-btn {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.25s ease;
  font-weight: 700;
}

.tab-btn.active,
.tab-btn:hover {
  background: linear-gradient(135deg, var(--primary), #c51621);
  border-color: transparent;
}

.program-grid,
.partners-grid,
.excellence-grid,
.incubation-grid,
.life-grid {
  display: grid;
  gap: 22px;
}
.excellence-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.program-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-card,
.partner-card,
.highlight-card,
.life-card,
.incubation-card {
  border-radius: 28px;
  padding: 26px;
  transition: transform 0.3s ease, border-color 0.3s ease, opacity 0.25s ease;
}

.program-card:hover,
.partner-card:hover,
.highlight-card:hover,
.life-card:hover,
.incubation-card:hover,
.faq-list details:hover,
.inquiry-form:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 112, 120, 0.28);
}

.program-card.is-hidden {
  display: none;
}

.program-top h3,
.partner-card h3,
.highlight-card h3,
.life-card h3,
.incubation-card h3,
.recruiter-panel h3 {
  margin: 16px 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.program-card ul,
.partner-card ul,
.why-list {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.program-card li,
.partner-card li,
.why-list li {
  position: relative;
  padding-left: 20px;
}

.program-card li::before,
.partner-card li::before,
.why-list li::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  left: 0;
  top: 0.62em;
  background: linear-gradient(135deg, var(--primary), #ffa2a7);
}

.about-section,
.why-section,
.cta-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.feature-list div {
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-list strong {
  display: block;
  margin-bottom: 8px;
}

.partners-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
}

.partner-badge {
  background: rgba(255, 59, 69, 0.12);
  color: #fff;
}

.excellence-grid,
.incubation-grid,
.funding-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.highlight-card p {
  margin-bottom: 0;
}

.training-strip {
  border-radius: 28px;
  margin-top: 24px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.training-logos {
  display: flex;
  /* flex-wrap: wrap; */
  gap: 12px;
}

.recruiter-cloud span {
  padding: 0px 0px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.recruiter-cloud span img{
  border-radius: 5px;
}
.training-logos span{
     background: rgba(255, 255, 255, 0.07);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px;
    border-radius: 5px;
}
.training-logos span img{
    width: 100%;
    padding: 14px;
}
.recruiter-cloud span{
    width: 80px;
}
.outcome-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.recruiter-panel {
  border-radius: 30px;
  padding: 30px;
}

.panel-head {
  margin-bottom: 18px;
}

.recruiter-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 22px 0 26px;
}

.inquiry-form {
  border-radius: 30px;
  padding: 30px;
}

.form-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
}

label {
  display: grid;
  gap: 9px;
}

label span {
  font-weight: 700;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-radius: 18px;
  padding: 15px 16px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

input::placeholder,
textarea::placeholder {
  color: #95a0b0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 112, 120, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.full-width {
  grid-column: 1 / -1;
}

.life-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-areas:
    'campus labs sports'
    'campus events culture';
}

.life-card.large {
  grid-area: campus;
  padding: 0;
  overflow: hidden;
}

.life-card.large div {
  padding: 24px;
}

.life-card.large img {
  aspect-ratio: 1.15;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.life-grid .life-card:nth-child(2) { 
  grid-area: labs;
  background: linear-gradient(180deg, rgba(8, 9, 13, 0.4), rgba(15, 15, 15, 0.85)), url(../images/labs/agri-lab.webp) center / cover no-repeat;
  justify-content: end;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}
.life-grid .life-card:nth-child(3) { 
  grid-area: sports; 
  background: linear-gradient(180deg,  rgba(8, 9, 13, 0.4), rgba(15, 15, 15, 0.85)), url('../images/sport/sport-01.webp') center/cover no-repeat;
  justify-content: end;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}
.life-grid .life-card:nth-child(4) { 
  grid-area: events; 
  background: linear-gradient(180deg,  rgba(8, 9, 13, 0.4), rgba(15, 15, 15, 0.85)), url('../images/events/event-04.webp') center/cover no-repeat;
  justify-content: end;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}
.life-grid .life-card:nth-child(5) { 
  grid-area: culture; 
  background: linear-gradient(180deg,  rgba(8, 9, 13, 0.4), rgba(15, 15, 15, 0.85)), url('../images/events/event-01.webp') center/cover no-repeat;
  justify-content: end;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border-radius: 22px;
  padding: 18px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 26px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.25rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: '–';
}

.faq-list p {
  margin: 12px 0 0;
}

.cta-band-inner {
  border-radius: 34px;
  padding: 36px 38px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.cta-band-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer {
  padding: 26px 0 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.18s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1120px) {
  .nav {
    gap: 18px;
  }

  .program-grid,
  .partners-grid,
  .excellence-grid,
  .funding-grid,
  .outcome-cards,
  .incubation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .life-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      'campus campus'
      'labs sports'
      'events culture';
  }
}

@media (max-width: 920px) {
  .header {
    top: 82px;
  }

  .nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 138px;
    background: rgba(10, 11, 18, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }

  body.menu-open .nav {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .placements-grid,
  .why-grid,
  .faq-grid,
  .inquiry-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
    background-position: center top;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band-inner,
  .training-strip,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    align-items: center;
  }
}

.rank-section{
  padding: 50px 0px;
}
@media (max-width:768px){
    .nav a {
    color: #ffffff !important;
}
.recruiter-cloud span{
  width: 100px;
}
.rank-section{
  padding: 10px 0px;
}
.image-stack{
  min-height: auto !important;
}
}
@media (max-width: 680px) {
    .ribbon-inner{
        gap: 0px;
    }
  .section {
    padding: 50px 0;
  }

  .top-ribbon {
    position: static;
  }

  .header {
    top: 0;
  }

  .nav-wrap {
    min-height: 76px;
  }

  .brand-copy small {
    display: none;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .hero-copy h1 .small-text {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .hero-copy h1 .large-text {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .program-grid,
  .partners-grid,
  .excellence-grid,
  .funding-grid,
  .outcome-cards,
  .incubation-grid,
  .form-grid,
  .life-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .life-grid {
    grid-template-areas:
      'campus'
      'labs'
      'sports'
      'events'
      'culture';
  }

  .inquiry-form,
  .recruiter-panel,
  .cta-band-inner,
  .program-card,
  .partner-card,
  .highlight-card,
  .life-card,
  .incubation-card {
    padding: 22px;
  }

  .life-card.large {
    padding: 0;
  }

  .full-width {
    grid-column: auto;
  }
}

/* =========================================
   NEW BANNER & PLACEMENT GALLERY STYLES 
   ========================================= */

.image-stack {
  position: relative;
  min-height: 580px;
}
.stack-main {
  inset: 0 60px 90px 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.stack-accent {
  position: absolute;
  width: 55%; 
  right: 0;
  bottom: 0;
  border-radius: 30px;
  box-shadow: var(--shadow);
  border: 6px solid rgba(9, 10, 15, 0.9);
  object-fit: cover;
}

.partner-banner, .innovation-banner {
  margin-top: 44px;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}
.partner-banner img, .innovation-banner img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.scholarship-banner {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.placement-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.placement-gallery img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.placement-gallery img:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 112, 120, 0.5);
}

@media (max-width: 920px) {
  .placement-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .placement-gallery {
    grid-template-columns: 1fr;
  }
  .stack-main {
    inset: 0 20px 90px 0;
  }
  .stack-accent {
    width: 65%;
  }
}

/* =========================================
   HYBRID GALLERY (DESKTOP GRID -> MOBILE SLIDER)
   ========================================= */

.hybrid-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: translateY(-5px);
}

@media (max-width: 920px) {
  .hybrid-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    -ms-overflow-style: none;  
    scrollbar-width: none; 
  }

  .hybrid-gallery::-webkit-scrollbar {
    display: none; 
  }

  .gallery-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}

@media (min-width: 681px) and (max-width: 920px) {
    .gallery-item {
        flex: 0 0 45%; 
    }
}



.placement-slider-section h2{
  font-size: clamp(2.2rem, 4vw, 4rem);
  text-align: center;
  margin: 0px 0px 20px;
}
.placement-swiper {
  width: 100%;
  padding-bottom: 50px; 
  position: relative;
}

.placement-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}


.placement-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}


.placement-swiper .swiper-button-next,
.placement-swiper .swiper-button-prev {
  color: #333; 
  transform: scale(0.7); 
}

.placement-swiper .swiper-pagination-bullet-active {
  background: #333; 
}





/* Life @ Shivalik */
.life-shivalik-section {
    /* background-color: #f8fafc; */
    padding: 60px 20px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    overflow: hidden;
}

.life-container {
    max-width: 1240px;
    margin: 0 auto;
}

.life-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #dc2626;
    display: inline-block;
    margin-bottom: 10px;
}

.life-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.changing-text {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 465px;
    min-height: 46px;
    color: #dc2626;
    overflow: hidden;
    text-align: left;
}

.changing-text span {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    animation: rotateWords 9s infinite;
}

.changing-text span:nth-child(1) {
    animation-delay: 0s;
}

.changing-text span:nth-child(2) {
    animation-delay: 3s;
}

.changing-text span:nth-child(3) {
    animation-delay: 6s;
}

@keyframes rotateWords {
    0%, 10% {
        opacity: 0;
        transform: translateY(20px);
    }
    15%, 30% {
        opacity: 1;
        transform: translateY(0);
    }
    35%, 100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}
@media (max-width: 768px) {
    .life-header h2 {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }

    .changing-text {
        max-width: 100%;
        min-height: 40px;
        text-align: center;
    }
}
.tabs-nav-container {
    width: 100%;
    margin-bottom: 40px;
}

.campus-tabs-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
    margin-top: 15px;
}

.tab-link {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px;
    background-color: #f1f5f9;
    transition: all 0.25s ease;
}

.tab-link:hover {
    color: #0f172a;
    background-color: #f1f5f9;
}

.tab-link.active {
    color: #ff0000;
    background-color: #000000;
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
}

.bento-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #f1f5f9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.bento-item:hover img { transform: scale(1.04); }

.bento-lg { grid-column: span 2; grid-row: span 2; }
.bento-md { grid-column: span 2; grid-row: span 1; }
.bento-sm { grid-column: span 1; grid-row: span 1; }
.bento-wide { grid-column: span 2; grid-row: span 1; }

@media (max-width: 1024px) {
    .bento-grid {
        grid-auto-rows: 170px;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .life-shivalik-section { padding: 50px 4%; }
    
    .campus-tabs-nav {
        /* justify-content: flex-start; */
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    .campus-tabs-nav::-webkit-scrollbar { display: none; }
    .tab-link {
        padding: 10px 18px;
        font-size: 0.95rem;
        flex-shrink: 0;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
        gap: 12px;
    }
    .bento-lg { grid-column: span 2; grid-row: span 2; }
    .bento-md { grid-column: span 2; grid-row: span 1; }
    .bento-wide { grid-column: span 2; grid-row: span 1; }
}
