/* =====================================================
   LIFE @ MKCE — Modern Page Styles (v3)
   White BG + Blue Theme · Tour-Style Animations
   Prefix:  lm-  (life-mkce)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Variables ── */
:root {
  --lm-primary: #0a1e3f;
  --lm-primary-light: #1b4370;
  --lm-accent: #1976d2;
  --lm-accent-light: #42a5f5;
  --lm-accent-pale: #e3f2fd;
  --lm-accent-warm: #f9a825;
  --lm-bg: #ffffff;
  --lm-bg-subtle: #f8fafc;
  --lm-bg-white: #ffffff;
  --lm-text: #1a1a2e;
  --lm-text-muted: #5a6577;
  --lm-border: #e8edf3;
  --lm-radius: 16px;
  --lm-radius-sm: 10px;
  --lm-shadow: 0 2px 16px rgba(10, 30, 63, 0.06);
  --lm-shadow-hover: 0 8px 32px rgba(10, 30, 63, 0.12);
  --lm-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --lm-font: 'Inter', 'Montserrat', sans-serif;
}

/* ── Global Resets ── */
.lm-page-body {
  background: var(--lm-bg) !important;
  margin: 0;
}

/* ===================================================
   SCROLL-TRIGGERED ANIMATIONS
   =================================================== */
.lm-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.lm-animate.lm-visible {
  opacity: 1;
  transform: translateY(0);
}

.lm-stagger-1 { transition-delay: 0.05s; }
.lm-stagger-2 { transition-delay: 0.12s; }
.lm-stagger-3 { transition-delay: 0.19s; }
.lm-stagger-4 { transition-delay: 0.26s; }
.lm-stagger-5 { transition-delay: 0.33s; }
.lm-stagger-6 { transition-delay: 0.40s; }

.lm-animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.lm-animate-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.lm-animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.lm-animate-left.lm-visible,
.lm-animate-right.lm-visible,
.lm-animate-scale.lm-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Keyframes */
@keyframes lmFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes lmPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes lmRotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes lmShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ===================================================
   HERO SECTION
   =================================================== */
.lm-hero {
  position: relative;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72)), url('../camptour/Ground.jpg') center/cover no-repeat;
  padding: 100px 24px 70px;
  text-align: center;
  overflow: hidden;
}

.lm-hero__deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.lm-hero__deco--1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(25, 118, 210, 0.06) 0%, transparent 70%);
  top: -80px;
  right: -60px;
  animation: lmFloat 6s ease-in-out infinite;
}
.lm-hero__deco--2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(25, 118, 210, 0.04) 0%, transparent 70%);
  bottom: -40px;
  left: -40px;
  animation: lmFloat 8s ease-in-out infinite 1s;
}
.lm-hero__deco--3 {
  width: 80px;
  height: 80px;
  border: 2px solid rgba(25, 118, 210, 0.1);
  border-radius: 20px;
  top: 30%;
  left: 10%;
  animation: lmRotateSlow 20s linear infinite;
}
.lm-hero__deco--4 {
  width: 40px;
  height: 40px;
  background: rgba(25, 118, 210, 0.08);
  border-radius: 12px;
  top: 20%;
  right: 15%;
  animation: lmFloat 5s ease-in-out infinite 0.5s;
}

.lm-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: var(--lm-accent-pale);
  border: 1px solid rgba(25, 118, 210, 0.15);
  border-radius: 50px;
  color: var(--lm-accent);
  font-family: var(--lm-font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.lm-hero__title {
  font-family: var(--lm-font);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--lm-primary);
  margin: 0 0 16px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}
.lm-hero__title span {
  color: var(--lm-accent);
}

.lm-hero__subtitle {
  font-family: var(--lm-font);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--lm-text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.lm-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lm-border), transparent);
}

/* ===================================================
   TAB NAVIGATION
   =================================================== */
.lm-tabs-wrapper {
  position: relative;
  z-index: 10;
  padding: 0 24px;
  margin-top: -1px;
  background: var(--lm-bg);
}

.lm-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 8px;
  background: var(--lm-bg-subtle);
  border-radius: 60px;
  border: 1px solid var(--lm-border);
  flex-wrap: wrap;
}

.lm-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--lm-font);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--lm-text-muted);
  background: transparent;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--lm-transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.lm-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lm-accent);
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--lm-transition);
}
.lm-tab:hover {
  color: var(--lm-accent);
  background: var(--lm-accent-pale);
}
.lm-tab.active {
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(25, 118, 210, 0.3);
}
.lm-tab.active::before {
  opacity: 1;
}
.lm-tab i,
.lm-tab span {
  position: relative;
  z-index: 1;
}

/* ===================================================
   CONTENT SECTIONS
   =================================================== */
.lm-content-area {
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  background: var(--lm-bg);
}

.lm-section {
  display: none;
  animation: lmFadeSlideUp 0.5s ease forwards;
}
.lm-section.active {
  display: block;
}

@keyframes lmFadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Section Header ── */
.lm-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.lm-section-header h2 {
  font-family: var(--lm-font);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--lm-primary);
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.lm-section-header p {
  font-family: var(--lm-font);
  font-size: 1.05rem;
  color: var(--lm-text-muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}
.lm-accent-bar {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--lm-accent);
  border-radius: 4px;
  margin: 16px auto 0;
}

/* ===================================================
   CAMPUS TOUR — TOUR-STYLE ANIMATIONS
   =================================================== */

/* Counters Row */
.lm-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.lm-counter {
  position: relative;
  text-align: center;
  padding: 32px 16px;
  background: var(--lm-bg);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius);
  transition: all var(--lm-transition);
  overflow: hidden;
}
.lm-counter::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--lm-accent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.lm-counter:hover::before {
  transform: scaleX(1);
}
.lm-counter:hover {
  border-color: var(--lm-accent-light);
  box-shadow: var(--lm-shadow);
}
.lm-counter__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--lm-accent-pale);
  color: var(--lm-accent);
  font-size: 1.3rem;
}
.lm-counter__number {
  font-family: var(--lm-font);
  font-size: 2rem;
  font-weight: 800;
  color: var(--lm-primary);
  display: block;
  line-height: 1.2;
}
.lm-counter__label {
  font-family: var(--lm-font);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--lm-text-muted);
  display: block;
  margin-top: 4px;
}

/* Category Filter Bar */
.lm-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.lm-filter-btn {
  padding: 8px 20px;
  font-family: var(--lm-font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lm-text-muted);
  background: var(--lm-bg);
  border: 1px solid var(--lm-border);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.lm-filter-btn:hover {
  border-color: var(--lm-accent-light);
  color: var(--lm-accent);
}
.lm-filter-btn.active {
  background: var(--lm-accent);
  color: #ffffff;
  border-color: var(--lm-accent);
}

/* Tour Card Grid */
.lm-tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ── Tour entrance animation (JS-driven stagger) ── */
.lm-tour-enter {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.lm-tour-enter.lm-tour-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Tour Card */
.lm-tour-card {
  position: relative;
  border-radius: var(--lm-radius);
  overflow: hidden;
  background: var(--lm-bg);
  border: 1px solid var(--lm-border);
  cursor: pointer;
  transition: all var(--lm-transition);
}
.lm-tour-card:hover {
  border-color: var(--lm-accent-light);
  box-shadow: var(--lm-shadow-hover);
  transform: translateY(-6px) scale(1);
}

/* Tour stop number badge */
.lm-tour-card__stop {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lm-primary);
  color: #fff;
  font-family: var(--lm-font);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.lm-tour-card:hover .lm-tour-card__stop {
  background: var(--lm-accent);
  transform: scale(1.15);
}

.lm-tour-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.lm-tour-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.lm-tour-card:hover .lm-tour-card__img {
  transform: scale(1.08);
}

/* Category badge */
.lm-tour-card__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 14px;
  font-family: var(--lm-font);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: var(--lm-accent);
  border-radius: 50px;
  z-index: 2;
}

/* Hover overlay with zoom icon */
.lm-tour-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 30, 63, 0.75) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 60px;
}
.lm-tour-card:hover .lm-tour-card__overlay {
  opacity: 1;
}
.lm-tour-card__zoom {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.35s ease 0.1s;
}
.lm-tour-card:hover .lm-tour-card__zoom {
  transform: translateY(0);
  opacity: 1;
}

.lm-tour-card__body {
  padding: 18px 20px;
}
.lm-tour-card__title {
  font-family: var(--lm-font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lm-text);
  margin: 0 0 6px;
}
.lm-tour-card__desc {
  font-family: var(--lm-font);
  font-size: 0.82rem;
  color: var(--lm-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Featured card — spans 2 cols */
.lm-tour-card--featured {
  grid-column: span 2;
}
.lm-tour-card--featured .lm-tour-card__img-wrap {
  height: 320px;
}

/* ===================================================
   IMAGE GRID (General Facilities)
   =================================================== */
.lm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* ── Infra Card ── */
.lm-infra-card {
  position: relative;
  border-radius: var(--lm-radius);
  overflow: hidden;
  background: var(--lm-bg);
  border: 1px solid var(--lm-border);
  transition: all var(--lm-transition);
}
.lm-infra-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lm-shadow-hover);
  border-color: var(--lm-accent-light);
}
.lm-infra-card__img-wrap {
  overflow: hidden;
  height: 220px;
}
.lm-infra-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.lm-infra-card:hover .lm-infra-card__img {
  transform: scale(1.06);
}
.lm-infra-card__body {
  padding: 16px 20px;
}
.lm-infra-card__name {
  font-family: var(--lm-font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lm-text);
  margin: 0 0 8px;
}
.lm-infra-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lm-infra-card__coords {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.72rem;
  color: var(--lm-text-muted);
  opacity: 0.7;
}
.lm-infra-card__map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lm-accent-pale);
  color: var(--lm-accent);
  font-size: 0.85rem;
  transition: all 0.25s ease;
  text-decoration: none;
}
.lm-infra-card__map-link:hover {
  background: var(--lm-accent);
  color: #ffffff;
}

/* ===================================================
   LIBRARY SECTION — Pill Tabs
   =================================================== */
.lm-lib-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.lm-lib-sidebar {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--lm-bg);
  border-radius: var(--lm-radius);
  padding: 16px;
  border: 1px solid var(--lm-border);
}
.lm-lib-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-family: var(--lm-font);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--lm-text-muted);
  background: transparent;
  border: none;
  border-radius: var(--lm-radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  width: 100%;
}
.lm-lib-pill:hover {
  background: var(--lm-accent-pale);
  color: var(--lm-accent);
}
.lm-lib-pill.active {
  background: var(--lm-accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.25);
}
.lm-lib-pill i {
  font-size: 1rem;
  opacity: 0.7;
}
.lm-lib-pill.active i {
  opacity: 1;
}
.lm-lib-content {
  background: var(--lm-bg);
  border-radius: var(--lm-radius);
  padding: 40px;
  border: 1px solid var(--lm-border);
  min-height: 400px;
}
.lm-lib-pane {
  display: none;
  animation: lmFadeSlideUp 0.4s ease forwards;
}
.lm-lib-pane.active {
  display: block;
}
.lm-lib-pane h3 {
  font-family: var(--lm-font);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--lm-primary);
  margin: 0 0 20px;
}
.lm-lib-pane h4 {
  font-family: var(--lm-font);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--lm-text);
  margin: 24px 0 12px;
}
.lm-lib-pane p {
  font-family: var(--lm-font);
  font-size: 0.95rem;
  color: var(--lm-text-muted);
  line-height: 1.8;
  text-align: justify;
}
.lm-lib-pane ul {
  padding-left: 0;
  list-style: none;
}
.lm-lib-pane ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-family: var(--lm-font);
  font-size: 0.92rem;
  color: var(--lm-text-muted);
  line-height: 1.6;
  border-bottom: 1px solid var(--lm-border);
}
.lm-lib-pane ul li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 0.82rem;
  color: var(--lm-accent);
}
.lm-lib-pane ul li:last-child {
  border-bottom: none;
}

/* Stats Row (Library) */
.lm-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.lm-stat {
  text-align: center;
  padding: 28px 16px;
  background: var(--lm-bg);
  border-radius: var(--lm-radius);
  border: 1px solid var(--lm-border);
  transition: all var(--lm-transition);
}
.lm-stat:hover {
  border-color: var(--lm-accent-light);
  box-shadow: var(--lm-shadow);
}
.lm-stat__number {
  font-family: var(--lm-font);
  font-size: 2rem;
  font-weight: 800;
  color: var(--lm-accent);
  display: block;
}
.lm-stat__label {
  font-family: var(--lm-font);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--lm-text-muted);
  margin-top: 4px;
  display: block;
}

/* ===================================================
   HOSTEL SECTION — Innovative Cards & Animations
   =================================================== */

/* Hostel Sub-navigation Pills */
.lm-hostel-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.lm-hostel-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--lm-font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lm-text-muted);
  background: var(--lm-bg);
  border: 1px solid var(--lm-border);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.lm-hostel-pill:hover {
  border-color: var(--lm-accent-light);
  color: var(--lm-accent);
  background: var(--lm-accent-pale);
}
.lm-hostel-pill.active {
  background: var(--lm-accent);
  color: #ffffff;
  border-color: var(--lm-accent);
  box-shadow: 0 4px 14px rgba(25, 118, 210, 0.3);
}
.lm-hostel-pill i {
  font-size: 1rem;
}

/* Hostel Content Panes */
.lm-hostel-content {
  max-width: 1260px;
  margin: 0 auto;
}
.lm-hostel-pane {
  display: none;
  animation: lmFadeSlideUp 0.45s ease forwards;
}
.lm-hostel-pane.active {
  display: block;
}

/* ---- Hostel Hero (Intro) ---- */
.lm-hostel-hero {
  text-align: center;
  padding: 52px 40px 44px;
  background: var(--lm-bg);
  border-radius: var(--lm-radius);
  border: 1px solid var(--lm-border);
  position: relative;
  overflow: hidden;
}
.lm-hostel-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(25, 118, 210, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.lm-hostel-hero__visual {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 32px;
}
.lm-hostel-hero__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--lm-accent);
  z-index: 2;
}
.lm-hostel-hero__ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(25, 118, 210, 0.2);
  border-radius: 50%;
  animation: lmHostelRingSpin 8s linear infinite;
}
.lm-hostel-hero__ring::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--lm-accent);
  border-radius: 50%;
  transform: translateX(-50%);
}
.lm-hostel-hero__ring--2 {
  inset: -14px;
  border-color: rgba(25, 118, 210, 0.1);
  animation-direction: reverse;
  animation-duration: 12s;
}
.lm-hostel-hero__ring--2::after {
  width: 6px;
  height: 6px;
  background: rgba(25, 118, 210, 0.5);
}
@keyframes lmHostelRingSpin {
  to { transform: rotate(360deg); }
}
.lm-hostel-hero__title {
  font-family: var(--lm-font);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--lm-primary);
  margin: 0 0 18px;
}
.lm-hostel-hero__desc {
  font-family: var(--lm-font);
  font-size: 0.95rem;
  color: var(--lm-text-muted);
  line-height: 1.85;
  max-width: 700px;
  margin: 0 auto;
  text-align: justify;
}

/* ---- Intro Split Layout: Clouds | Hero | Clouds ---- */
.lm-hostel-intro-layout {
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  gap: 24px;
  align-items: center;
  margin-bottom: 12px;
}

/* ---- Cloud Containers (Side Amenities) ---- */
.lm-hostel-clouds {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lm-hostel-clouds--left {
  align-items: flex-end;
}
.lm-hostel-clouds--right {
  align-items: flex-start;
}
.lm-cloud {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: var(--lm-bg);
  border: 1px solid var(--lm-border);
  border-radius: 60px;
  box-shadow: 0 4px 18px rgba(10, 30, 63, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  white-space: nowrap;
  position: relative;
}
.lm-cloud::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 60px;
  background: linear-gradient(135deg, rgba(25,118,210,0.12), transparent, rgba(25,118,210,0.08));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lm-cloud:hover::before {
  opacity: 1;
}
.lm-cloud:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--lm-accent-light);
  box-shadow: 0 10px 28px rgba(25, 118, 210, 0.14);
}
.lm-cloud__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lm-accent-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--lm-accent);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.lm-cloud:hover .lm-cloud__icon {
  background: var(--lm-accent);
  color: #fff;
}
.lm-cloud__label {
  font-family: var(--lm-font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lm-text);
}

/* ---- Hostel Stats Row ---- */
.lm-hostel-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.lm-hostel-stat {
  text-align: center;
  padding: 24px 12px;
  background: var(--lm-bg);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius);
  transition: all 0.3s ease;
}
.lm-hostel-stat:hover {
  border-color: var(--lm-accent-light);
  box-shadow: 0 6px 20px rgba(25, 118, 210, 0.1);
  transform: translateY(-3px);
}
.lm-hostel-stat__num {
  font-family: var(--lm-font);
  font-size: 2rem;
  font-weight: 800;
  color: var(--lm-accent);
  line-height: 1;
}
.lm-hostel-stat__text {
  font-family: var(--lm-font);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--lm-text-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- Split Layout (Photos left, Facilities right) ---- */
.lm-hostel-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}
.lm-hostel-split__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.lm-hostel-split__main .lm-hostel-showcase {
  margin-bottom: 0;
}
.lm-hostel-split__main .lm-hostel-desc {
  margin-bottom: 0;
}
.lm-hostel-split__sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 100px;
}
.lm-hostel-split__sidebar .lm-hostel-fcard {
  padding: 18px 16px;
}
.lm-hostel-split__sidebar .lm-hostel-fcard__body p {
  font-size: 0.85rem;
}
/* Sidebar Title */
.lm-sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--lm-primary), #1a3a6b);
  border-radius: var(--lm-radius);
  margin-bottom: 4px;
}
.lm-sidebar-header__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
}
.lm-sidebar-header span {
  font-family: var(--lm-font);
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}
/* Wide Apply Leave Bar */
.lm-hostel-apply--wide {
  margin-top: 0;
}
.lm-hostel-apply__btns--row {
  flex-direction: row !important;
  gap: 16px;
}
.lm-hostel-apply__btns--row .lm-hostel-apply__btn {
  flex: 1;
}

/* ---- Hostel Banner (Gents / Ladies / Gym) ---- */
.lm-hostel-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  padding: 24px 32px;
  background: linear-gradient(135deg, var(--lm-primary) 0%, #1a3a6b 100%);
  border-radius: var(--lm-radius);
  position: relative;
  overflow: hidden;
}
.lm-hostel-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.lm-hostel-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: 10%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}
.lm-hostel-banner__badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--lm-primary);
  background: #ffffff;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.lm-hostel-banner__badge--ladies { color: #e91e63; }
.lm-hostel-banner__badge--gym { color: #ff6d00; }
.lm-hostel-banner h3 {
  font-family: var(--lm-font);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  z-index: 1;
}
.lm-hostel-banner__line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.3), transparent);
  border-radius: 2px;
  z-index: 1;
}

/* ---- Photo Showcase Cards ---- */
.lm-hostel-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.lm-hostel-showcase--single {
  grid-template-columns: 1fr;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.lm-hostel-photo {
  border-radius: var(--lm-radius);
  overflow: hidden;
  background: var(--lm-bg);
  border: 1px solid var(--lm-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.lm-hostel-photo:hover {
  border-color: var(--lm-accent);
  box-shadow: 0 16px 40px rgba(25, 118, 210, 0.18);
  transform: translateY(-6px);
}
.lm-hostel-photo--wide {
  max-width: 100%;
}
.lm-hostel-photo__wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.lm-hostel-photo__wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.lm-hostel-photo:hover .lm-hostel-photo__wrap img {
  transform: scale(1.08);
}
.lm-hostel-photo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 30, 63, 0.85) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.lm-hostel-photo:hover .lm-hostel-photo__overlay {
  opacity: 1;
}
.lm-hostel-photo__overlay-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 12px;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.1s;
}
.lm-hostel-photo:hover .lm-hostel-photo__overlay-icon {
  transform: translateY(0);
}
.lm-hostel-photo__overlay span {
  font-family: var(--lm-font);
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  transform: translateY(10px);
  transition: transform 0.4s ease 0.15s;
}
.lm-hostel-photo:hover .lm-hostel-photo__overlay span {
  transform: translateY(0);
}
.lm-hostel-photo__caption {
  font-family: var(--lm-font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lm-text);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lm-hostel-photo__caption i {
  color: var(--lm-accent);
  font-size: 1rem;
}

/* ---- Description Card ---- */
.lm-hostel-desc {
  padding: 28px 32px;
  background: var(--lm-bg);
  border-radius: var(--lm-radius);
  border: 1px solid var(--lm-border);
  border-left: 4px solid var(--lm-accent);
  margin-bottom: 24px;
}
.lm-hostel-desc p {
  font-family: var(--lm-font);
  font-size: 0.95rem;
  color: var(--lm-text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ---- Facility Cards Grid ---- */
.lm-hostel-facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.lm-hostel-fcard {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--lm-bg);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.lm-hostel-fcard:hover {
  border-color: var(--lm-accent-light);
  box-shadow: 0 10px 28px rgba(25, 118, 210, 0.12);
  transform: translateY(-4px);
}
.lm-hostel-fcard__num {
  font-family: var(--lm-font);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(25, 118, 210, 0.08);
  position: absolute;
  top: 8px;
  right: 16px;
  line-height: 1;
  transition: color 0.3s ease;
}
.lm-hostel-fcard:hover .lm-hostel-fcard__num {
  color: rgba(25, 118, 210, 0.15);
}
.lm-hostel-fcard__body {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.lm-hostel-fcard__body i {
  font-size: 1.3rem;
  color: var(--lm-accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.lm-hostel-fcard__body p {
  font-family: var(--lm-font);
  font-size: 0.9rem;
  color: var(--lm-text-muted);
  margin: 0;
  line-height: 1.6;
}
.lm-hostel-fcard__accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lm-accent), rgba(25, 118, 210, 0.3));
  transition: width 0.4s ease;
}
.lm-hostel-fcard:hover .lm-hostel-fcard__accent {
  width: 100%;
}

/* ---- Apply Leave Card ---- */
.lm-hostel-apply {
  background: var(--lm-bg);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius);
  padding: 28px 32px;
  margin-top: 8px;
}
.lm-hostel-apply__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.lm-hostel-apply__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--lm-accent-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--lm-accent);
}
.lm-hostel-apply h4 {
  font-family: var(--lm-font);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lm-primary);
  margin: 0;
}
.lm-hostel-apply__btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lm-hostel-apply__btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--lm-bg-subtle);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius-sm);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.lm-hostel-apply__btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(25, 118, 210, 0.04), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.lm-hostel-apply__btn:hover::after {
  transform: translateX(100%);
}
.lm-hostel-apply__btn:hover {
  border-color: var(--lm-accent-light);
  box-shadow: 0 6px 20px rgba(25, 118, 210, 0.1);
  transform: translateX(4px);
}
.lm-hostel-apply__btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lm-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.lm-hostel-apply__btn-info {
  flex: 1;
}
.lm-hostel-apply__btn-title {
  font-family: var(--lm-font);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--lm-primary);
  display: block;
}
.lm-hostel-apply__btn-sub {
  font-family: var(--lm-font);
  font-size: 0.78rem;
  color: var(--lm-text-muted);
  display: block;
  margin-top: 2px;
}
.lm-hostel-apply__arrow {
  font-size: 1.2rem;
  color: var(--lm-accent);
  transition: transform 0.3s ease;
}
.lm-hostel-apply__btn:hover .lm-hostel-apply__arrow {
  transform: translateX(4px);
}

/* ---- Gym Timing Cards ---- */
.lm-gym-timing {
  margin-top: 28px;
}
.lm-gym-timing__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.lm-gym-timing__header i {
  font-size: 1.3rem;
  color: var(--lm-accent);
}
.lm-gym-timing__header h4 {
  font-family: var(--lm-font);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lm-primary);
  margin: 0;
}
.lm-gym-timing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.lm-gym-slot {
  padding: 20px 16px;
  text-align: center;
  background: var(--lm-bg);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.lm-gym-slot:hover {
  border-color: var(--lm-accent);
  box-shadow: 0 10px 24px rgba(25, 118, 210, 0.12);
  transform: translateY(-4px);
}
.lm-gym-slot__badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffa726, #ff9800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  margin: 0 auto 14px;
}
.lm-gym-slot__badge--eve {
  background: linear-gradient(135deg, #5c6bc0, #3f51b5);
}
.lm-gym-slot__time {
  font-family: var(--lm-font);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--lm-primary);
  margin-bottom: 8px;
}
.lm-gym-slot__who {
  font-family: var(--lm-font);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--lm-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.lm-gym-slot__who i {
  color: var(--lm-accent);
}

/* ===================================================
   TRANSPORT SECTION — Road Journey Animation
   =================================================== */
.lm-transport-road-wrapper {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

/* Animated Bus at Top */
.lm-transport-bus {
  text-align: center;
  margin-bottom: 32px;
}
.lm-transport-bus__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lm-accent), #1565c0);
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 8px 28px rgba(25, 118, 210, 0.3);
  position: relative;
}
.lm-transport-bus__trail {
  width: 2px;
  height: 32px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--lm-accent), transparent);
}

/* Road Timeline */
.lm-transport-road {
  position: relative;
  padding: 0 0 20px;
}
.lm-transport-road__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--lm-border);
  border-radius: 4px;
  transform: translateX(-50%);
  overflow: hidden;
}
.lm-transport-road__dash {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    180deg,
    var(--lm-accent) 0px,
    var(--lm-accent) 12px,
    transparent 12px,
    transparent 24px
  );
}

/* Route Stops */
.lm-transport-stop {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 36px;
  position: relative;
}
.lm-transport-stop__marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
.lm-transport-stop__dot {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lm-bg);
  border: 3px solid var(--lm-accent);
  box-shadow: 0 0 0 6px rgba(25, 118, 210, 0.1);
  transition: all 0.3s ease;
}
.lm-transport-stop:hover .lm-transport-stop__dot {
  background: var(--lm-accent);
  box-shadow: 0 0 0 8px rgba(25, 118, 210, 0.15);
}
.lm-transport-stop__marker span {
  position: relative;
  z-index: 1;
  font-family: var(--lm-font);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--lm-accent);
  transition: color 0.3s ease;
}
.lm-transport-stop:hover .lm-transport-stop__marker span {
  color: #fff;
}

/* Stop Card */
.lm-transport-stop__card {
  width: calc(50% - 36px);
  padding: 28px;
  background: var(--lm-bg);
  border-radius: var(--lm-radius);
  border: 1px solid var(--lm-border);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.lm-transport-stop__card::before {
  content: '';
  position: absolute;
  top: 16px;
  width: 24px;
  height: 2px;
  background: var(--lm-accent);
}

/* Left‐aligned stop (card on left, connector to right) */
.lm-transport-stop .lm-transport-stop__card {
  margin-right: auto;
}
.lm-transport-stop .lm-transport-stop__card::before {
  right: -24px;
}

/* Right-aligned stop (card on right, connector to left) */
.lm-transport-stop--right {
  flex-direction: row-reverse;
}
.lm-transport-stop--right .lm-transport-stop__card {
  margin-left: auto;
  margin-right: 0;
}
.lm-transport-stop--right .lm-transport-stop__card::before {
  left: -24px;
  right: auto;
}

.lm-transport-stop__card:hover {
  border-color: var(--lm-accent);
  box-shadow: 0 14px 36px rgba(25, 118, 210, 0.14);
  transform: translateY(-4px);
}
.lm-transport-stop__card-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(135deg, var(--lm-accent), #1565c0);
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.2);
}
.lm-transport-stop__card-badge--safety {
  background: linear-gradient(135deg, #43a047, #2e7d32);
  box-shadow: 0 4px 12px rgba(67, 160, 71, 0.2);
}
.lm-transport-stop__card-badge--coverage {
  background: linear-gradient(135deg, #ff9800, #ef6c00);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.2);
}
.lm-transport-stop__card-badge--staff {
  background: linear-gradient(135deg, #7b1fa2, #6a1b9a);
  box-shadow: 0 4px 12px rgba(123, 31, 162, 0.2);
}
.lm-transport-stop__card h4 {
  font-family: var(--lm-font);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lm-primary);
  margin: 0 0 10px;
}
.lm-transport-stop__card p {
  font-family: var(--lm-font);
  font-size: 0.88rem;
  color: var(--lm-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Feature Floats */
.lm-transport-floats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 40px 0;
}
.lm-transport-float {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--lm-bg);
  border: 1px solid var(--lm-border);
  border-radius: 50px;
  font-family: var(--lm-font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lm-text);
  transition: all 0.3s ease;
  cursor: default;
}
.lm-transport-float:hover {
  border-color: var(--lm-accent);
  background: var(--lm-accent-pale);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(25, 118, 210, 0.1);
}
.lm-transport-float i {
  font-size: 1.1rem;
  color: var(--lm-accent);
}

/* Destination / Download */
.lm-transport-destination {
  text-align: center;
  padding-top: 20px;
}
.lm-transport-destination__flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 28px;
  background: linear-gradient(135deg, #43a047, #2e7d32);
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: 0 6px 18px rgba(67, 160, 71, 0.25);
}
.lm-transport-destination__flag i {
  font-size: 1.1rem;
  color: #fff;
}
.lm-transport-destination__flag span {
  font-family: var(--lm-font);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

/* Download Card (shared) */
.lm-download-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: var(--lm-bg);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 480px;
  margin: 0 auto;
}
.lm-download-card:hover {
  border-color: var(--lm-accent);
  box-shadow: 0 14px 36px rgba(25, 118, 210, 0.14);
  transform: translateY(-4px);
}
.lm-download-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e53935, #c62828);
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.2);
}
.lm-download-card__info {
  flex: 1;
  text-align: left;
}
.lm-download-card__title {
  font-family: var(--lm-font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--lm-primary);
  display: block;
}
.lm-download-card__subtitle {
  font-family: var(--lm-font);
  font-size: 0.82rem;
  color: var(--lm-text-muted);
  display: block;
  margin-top: 4px;
}
.lm-download-card__action {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lm-accent);
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.lm-download-card:hover .lm-download-card__action {
  transform: scale(1.1);
}

/* ===================================================
   LIGHTBOX
   =================================================== */
.lm-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lm-lightbox.active {
  display: flex;
}
.lm-lightbox__close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lm-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lm-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  object-fit: contain;
}
.lm-lightbox__caption {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--lm-font);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(10, 30, 63, 0.6);
  padding: 10px 28px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.lm-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lm-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lm-lightbox__nav.prev { left: 24px; }
.lm-lightbox__nav.next { right: 24px; }

/* ===================================================
   PAGINATION
   =================================================== */
.lm-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.lm-page-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--lm-border);
  border-radius: 10px;
  font-family: var(--lm-font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  background: var(--lm-bg);
  color: var(--lm-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lm-page-btn:hover {
  background: var(--lm-accent);
  color: #ffffff;
  border-color: var(--lm-accent);
}
.lm-page-btn.active {
  background: var(--lm-accent);
  color: #ffffff;
  border-color: var(--lm-accent);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.25);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 991.98px) {
  .lm-hero {
    padding: 80px 20px 60px;
  }
  .lm-hero__title {
    font-size: 2.4rem;
  }
  .lm-tabs {
    border-radius: 20px;
    gap: 6px;
    padding: 6px;
  }
  .lm-tab {
    padding: 10px 16px;
    font-size: 0.82rem;
  }
  .lm-lib-wrapper {
    grid-template-columns: 1fr;
  }
  .lm-lib-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px;
  }
  .lm-lib-pill {
    padding: 8px 14px;
    font-size: 0.78rem;
  }
  .lm-lib-content {
    padding: 24px;
  }
  .lm-counters {
    grid-template-columns: repeat(2, 1fr);
  }
  .lm-tour-card--featured {
    grid-column: span 1;
  }
  .lm-tour-card--featured .lm-tour-card__img-wrap {
    height: 220px;
  }
  .lm-hostel-intro-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lm-hostel-clouds {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .lm-hostel-clouds--left,
  .lm-hostel-clouds--right {
    align-items: center;
  }
  .lm-hostel-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .lm-hostel-split {
    grid-template-columns: 1fr;
  }
  .lm-hostel-split__sidebar {
    position: static;
  }
  .lm-hostel-showcase {
    grid-template-columns: 1fr;
  }
  .lm-hostel-facility-grid {
    grid-template-columns: 1fr;
  }
  .lm-hostel-apply__btns--row {
    flex-direction: column !important;
  }
  .lm-gym-timing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Transport: Stack timeline vertically, cards full width */
  .lm-transport-road__line {
    left: 20px;
  }
  .lm-transport-stop__marker {
    left: 20px;
  }
  .lm-transport-stop__card,
  .lm-transport-stop--right .lm-transport-stop__card {
    width: calc(100% - 60px);
    margin-left: auto;
    margin-right: 0;
  }
  .lm-transport-stop .lm-transport-stop__card::before {
    left: -24px;
    right: auto;
  }
  .lm-transport-stop--right .lm-transport-stop__card::before {
    left: -24px;
  }
}

@media (max-width: 767.98px) {
  .lm-hero {
    padding: 70px 16px 50px;
  }
  .lm-hero__title {
    font-size: 1.8rem;
  }
  .lm-hero__subtitle {
    font-size: 0.95rem;
  }
  .lm-hero__deco--1,
  .lm-hero__deco--2,
  .lm-hero__deco--3,
  .lm-hero__deco--4 { display: none; }
  .lm-tabs-wrapper {
    padding: 0 12px;
  }
  .lm-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 8px;
  }
  .lm-tabs::-webkit-scrollbar {
    display: none;
  }
  .lm-tab {
    min-width: max-content;
    padding: 10px 16px;
    font-size: 0.8rem;
  }
  .lm-content-area {
    padding: 40px 16px 24px;
  }
  .lm-grid {
    grid-template-columns: 1fr;
  }
  .lm-tour-grid {
    grid-template-columns: 1fr;
  }
  .lm-section-header h2 {
    font-size: 1.6rem;
  }
  .lm-lib-sidebar {
    flex-direction: column;
  }
  .lm-counters {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .lm-counter {
    padding: 20px 12px;
  }
  .lm-counter__number {
    font-size: 1.5rem;
  }
  .lm-hostel-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .lm-hostel-pills::-webkit-scrollbar {
    display: none;
  }
  .lm-hostel-pill {
    min-width: max-content;
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  .lm-hostel-hero {
    padding: 36px 20px 32px;
  }
  .lm-hostel-hero__title {
    font-size: 1.4rem;
  }
  .lm-hostel-intro-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .lm-hostel-clouds {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .lm-hostel-clouds--left,
  .lm-hostel-clouds--right {
    align-items: center;
  }
  .lm-cloud {
    padding: 12px 16px;
  }
  .lm-cloud__icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }
  .lm-cloud__label {
    font-size: 0.75rem;
  }
  .lm-hostel-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .lm-hostel-stat__num {
    font-size: 1.5rem;
  }
  .lm-hostel-banner {
    padding: 18px 20px;
  }
  .lm-hostel-banner h3 {
    font-size: 1.3rem;
  }
  .lm-hostel-photo__wrap {
    height: 200px;
  }
  .lm-hostel-desc {
    padding: 20px 22px;
  }
  .lm-hostel-split {
    grid-template-columns: 1fr;
  }
  .lm-hostel-split__sidebar {
    position: static;
  }
  .lm-hostel-fcard {
    padding: 20px 18px;
  }
  .lm-hostel-apply {
    padding: 22px 20px;
  }
  .lm-hostel-apply__btns--row {
    flex-direction: column !important;
  }
  .lm-hostel-apply__btn {
    padding: 14px 16px;
  }
  .lm-gym-timing__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .lm-gym-slot {
    padding: 16px 12px;
  }
  /* Transport Mobile */
  .lm-transport-road__line {
    left: 20px;
  }
  .lm-transport-stop__marker {
    left: 20px;
  }
  .lm-transport-stop__card,
  .lm-transport-stop--right .lm-transport-stop__card {
    width: calc(100% - 54px);
    margin-left: auto;
    margin-right: 0;
    padding: 22px 18px;
  }
  .lm-transport-stop .lm-transport-stop__card::before,
  .lm-transport-stop--right .lm-transport-stop__card::before {
    left: -18px;
    width: 18px;
  }
  .lm-transport-floats {
    gap: 8px;
  }
  .lm-transport-float {
    padding: 10px 16px;
    font-size: 0.78rem;
  }
  .lm-download-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
}
