/* ==========================================================================
   Vadi Prestige Student Residence - Design System & Modern Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Light Theme Default */
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.85);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --brand-primary: #0a4b7c;
  --brand-primary-hover: #083b62;
  --brand-accent: #1b75bc;
  --brand-accent-hover: #155d96;
  --brand-gradient: linear-gradient(135deg, #0a4b7c 0%, #1b75bc 100%);
  --accent-gradient: linear-gradient(135deg, #1b75bc 0%, #38bdf8 100%);
  
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-primary: #0b0f19;
  --bg-surface: #131c2e;
  --bg-surface-elevated: #1e293b;
  --bg-header: rgba(11, 15, 25, 0.88);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  
  --brand-primary: #3b82f6;
  --brand-primary-hover: #60a5fa;
  --brand-accent: #fbbf24;
  --brand-accent-hover: #f59e0b;
  --brand-gradient: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  
  --border-color: #1e293b;
  --border-hover: #334155;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.35);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.2rem 0;
}

.header.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-md);
}

.header .container {
  max-width: 1380px;
  padding: 0 1rem;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.logo-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  text-align: left;
}

.logo-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  display: block;
}

.logo-subtitle {
  font-size: 0.68rem;
  color: var(--text-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: block;
  margin: 1px 0;
}

.logo-site {
  font-size: 0.72rem;
  color: var(--brand-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: block;
}



.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: var(--shadow-glow);
}

.logo-badge {
  font-size: 0.65rem;
  background: var(--brand-accent);
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-accent);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-accent {
  background: var(--accent-gradient);
  color: #0f172a;
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-outline {
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  background: var(--bg-surface);
}

.btn-outline:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: var(--bg-surface-elevated);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--border-color);
  transform: rotate(15deg);
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
  background: #0f172a;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.8s ease-in-out, transform 7s ease-out;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.88)),
              radial-gradient(circle at 30% 30%, rgba(10, 75, 124, 0.3), transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-full);
  color: var(--brand-accent);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(1.75rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.hero-title span {
  background: linear-gradient(135deg, #60a5fa 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  max-width: 680px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-mobile-image-wrap {
  display: none;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
  font-size: 2rem;
  color: #ffffff;
  font-weight: 800;
}

.stat-item p {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Quick Search Widget */
.hero-search-box {
  margin-top: 2.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) auto;
  gap: 1rem;
  align-items: center;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.search-field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #cbd5e1;
  font-weight: 600;
}

.search-field select, .search-field input {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
}

.search-field select option {
  background: #0f172a;
  color: #ffffff;
}

/* Section Common */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-primary);
  background: rgba(59, 130, 246, 0.1);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Room Explorer */
.room-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}

.room-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.room-image-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.room-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.room-card:hover .room-image {
  transform: scale(1.06);
}

.room-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--brand-accent);
  color: #0f172a;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.room-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.room-specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.spec-pill {
  font-size: 0.78rem;
  background: var(--bg-primary);
  color: var(--text-secondary);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border-color);
}

.room-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.room-features-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.room-features-list li i {
  color: var(--brand-accent);
  font-size: 0.9rem;
}

.room-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.room-price {
  display: flex;
  flex-direction: column;
}

.price-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-primary);
}

.price-period {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Facilities Section */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.facility-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: var(--transition);
}

.facility-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.facility-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.1);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.facility-card:hover .facility-icon {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.facility-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.facility-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Dining Menu Section */
.dining-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.day-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.day-tab {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: var(--transition);
}

.day-tab.active {
  background: var(--brand-gradient);
  color: #ffffff;
}

.menu-card-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.meal-block {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.meal-title {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-primary);
  margin-bottom: 0.75rem;
}

.meal-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Transport & Campus Section */
.campus-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.campus-select-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.campus-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.campus-item {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.campus-item.active, .campus-item:hover {
  border-color: var(--brand-primary);
  background: var(--bg-surface-elevated);
}

.campus-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.transit-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.transit-box {
  text-align: center;
  padding: 1.2rem;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.transit-box i {
  font-size: 1.5rem;
  color: var(--brand-accent);
  margin-bottom: 0.5rem;
}

.transit-box h4 {
  font-size: 1.2rem;
}

.transit-box p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Student Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--brand-gradient);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stars {
  color: var(--brand-accent);
  font-size: 0.9rem;
}

.review-comment {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.25rem;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Footer */
.footer {
  background: #090d16;
  color: #cbd5e1;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  font-size: 0.85rem;
  color: #64748b;
}

/* Modal System */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 2rem;
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-primary);
}

/* Wizard Steps */
.wizard-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
  transform: translateY(-50%);
}

.step-indicator {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.step-indicator.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.step-indicator.completed {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Quick Floating Action (WhatsApp) */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  background: rgba(37, 211, 102, 0.35);
  z-index: -1;
  animation: whatsappPulse 2.5s infinite;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.22);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.floating-whatsapp:hover svg {
  transform: rotate(8deg) scale(1.05);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--brand-primary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s forwards;
}

@keyframes slideIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive Media Queries */

/* Gallery Grid & Lightbox Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 75, 124, 0.78);
  backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: var(--transition);
  font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox Slider Styles */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92%;
  max-width: 1100px;
  height: 85vh;
}

.lightbox-img-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 85%;
  max-height: 80vh;
}

.lightbox-image {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  user-select: none;
  animation: fadeInZoom 0.25s ease;
}

@keyframes fadeInZoom {
  from { opacity: 0.5; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-caption {
  margin-top: 1rem;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.7);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-caption span {
  font-weight: 600;
  font-size: 0.95rem;
}

.lightbox-caption small {
  color: #94a3b8;
  font-size: 0.85rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 0.8rem;
}

.lightbox-close-btn {
  position: fixed;
  top: 1.5rem;
  top: max(1.5rem, env(safe-area-inset-top, 1.5rem));
  right: 1.5rem;
  z-index: 10005;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.6rem;
  transition: var(--transition);
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--brand-primary);
  border-color: var(--brand-accent);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 20px rgba(27, 117, 188, 0.5);
}

.lightbox-prev-btn {
  left: 0;
}

.lightbox-next-btn {
  right: 0;
}

@media (max-width: 768px) {
  .lightbox-content {
    width: 100%;
    height: 90vh;
    padding: 0 0.5rem;
  }

  .lightbox-img-container {
    max-width: 95%;
    max-height: 75vh;
  }

  .lightbox-image {
    max-height: 65vh;
  }

  .lightbox-close-btn {
    position: fixed !important;
    top: 1.25rem !important;
    top: max(1.25rem, env(safe-area-inset-top, 1.25rem)) !important;
    right: 1.25rem !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(15, 23, 42, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6) !important;
    z-index: 10005 !important;
  }

  .lightbox-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.25);
  }

  .lightbox-prev-btn { left: 4px; }
  .lightbox-next-btn { right: 4px; }

  .lightbox-caption {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    gap: 0.5rem;
  }
}

/* ==========================================
   MOBILE OFF-CANVAS DRAWER STYLES
   ========================================== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  z-index: 2600;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.4);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  padding: 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-primary);
}

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.mobile-drawer-close:hover {
  background: var(--brand-primary);
  color: #ffffff;
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.mobile-nav-link i {
  color: var(--brand-primary);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(10, 75, 124, 0.12);
  color: var(--brand-primary);
}

.mobile-drawer-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-primary);
}

.mobile-nav-toggle {
  display: none;
}

/* Header Mobile Responsive Overlap Prevention & Chrome Alignment */
@media (max-width: 992px) {
  html {
    scroll-padding-top: 80px;
  }

  .nav-menu {
    display: none !important;
  }
  
  .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.2rem;
  }

  .header {
    padding: 0.6rem 0;
  }

  .header .container {
    padding: 0 0.85rem;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 42px;
  }

  .logo-title {
    font-size: 0.9rem;
  }

  .logo-subtitle {
    font-size: 0.62rem;
  }

  .logo-site {
    display: none !important; /* Hide 3rd subtitle line on small phones to prevent logo text overlap */
  }

  .header-cta-btn {
    display: none !important; /* Hide header CTA button on small phones, available in mobile drawer */
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .container {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
  }

  .rooms-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    width: 100%;
  }

  .room-card {
    width: 100%;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)) !important;
    gap: 0.75rem;
  }

  .gallery-item {
    height: 160px;
  }

  /* Mobile Hero Standalone Image & Solid Dark Navy Layout */
  .hero-slideshow,
  .hero-overlay {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding-top: 5.5rem;
    padding-bottom: 3rem;
    background: #0f172a !important;
  }

  .hero-title {
    font-size: clamp(1.45rem, 6.2vw, 2rem) !important;
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
  }

  /* Standalone Yurt Image under title with Soft Dark Navy Edge Fade/Melting */
  .hero-mobile-image-wrap {
    display: block !important;
    width: 100%;
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .hero-mobile-img-inner {
    width: 100%;
    height: 235px;
    position: relative;
    background: #0f172a;
    overflow: hidden;
    border-radius: var(--radius-lg);
  }

  .hero-mobile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
  }

  /* Soft dark melting overlay blending all edges into background navy #0f172a */
  .hero-mobile-img-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to bottom, #0f172a 0%, transparent 18%, transparent 62%, #0f172a 100%),
      linear-gradient(to right, #0f172a 0%, transparent 10%, transparent 90%, #0f172a 100%);
    pointer-events: none;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 2rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.2rem !important;
    font-size: 0.95rem !important;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat-item h3 {
    font-size: 1.6rem;
    color: #ffffff;
  }

  .stat-item p {
    font-size: 0.78rem;
    color: #94a3b8;
  }

  .campus-layout {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* Mobile Layout & Horizontal Overflow Safeguards */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }

  .container {
    padding: 0 0.85rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Campus & Transport Section Mobile Fixes */
  .campus-select-box,
  .campus-info-card {
    padding: 1.25rem 0.85rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .campus-list {
    gap: 0.65rem !important;
    margin-top: 1rem !important;
    width: 100% !important;
  }

  .campus-item {
    padding: 0.85rem 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .campus-item h4 {
    font-size: 0.9rem !important;
    word-break: break-word;
  }

  .campus-item span {
    font-size: 0.75rem !important;
    white-space: nowrap;
  }

  .transit-stats {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.35rem !important;
    margin-top: 1.25rem !important;
    width: 100% !important;
  }

  .transit-box {
    padding: 0.75rem 0.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .transit-box i {
    font-size: 1.25rem !important;
    margin-bottom: 0.25rem !important;
  }

  .transit-box h4 {
    font-size: 0.95rem !important;
    white-space: nowrap;
  }

  .transit-box p {
    font-size: 0.68rem !important;
    line-height: 1.2 !important;
  }

  /* Dining Menu Mobile Fixes */
  .dining-container {
    padding: 1.25rem 0.85rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .day-tabs {
    gap: 0.35rem !important;
    padding-bottom: 0.6rem !important;
    margin-bottom: 1.25rem !important;
    -webkit-overflow-scrolling: touch;
  }

  .day-tab {
    padding: 0.5rem 0.85rem !important;
    font-size: 0.82rem !important;
  }

  .menu-card-body {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  .meal-block {
    padding: 1.1rem 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}
