﻿/* STYLE.CSS - Core Design System & Layouts for Sanskruti Girls Hostel */

/* ==========================================================================
   0. Global Resets & Variable Definitions
   ========================================================================== */
:root {
  /* Warm & Homely Theme Color Palette */
  --color-primary: #C9704F;
  /* Terracotta Accent */
  --color-primary-dark: #A55335;
  /* Hover State Terracotta */
  --color-primary-light: #FAF2EE;
  /* Light Terracotta tint */
  --color-secondary: #FAF8F5;
  /* Warm Cream main background */
  --color-secondary-dark: #F2EADA;
  /* Deeper Cream for alternate sections */
  --color-accent: #8A9B6E;
  /* Sage Green Success/Safety */
  --color-accent-dark: #6C7D52;
  /* Darker Sage Green */
  --color-accent-light: #F0F4EC;
  /* Light Sage tint */
  --color-text-dark: #2E2A26;
  /* Charcoal Main Text */
  --color-text-muted: #7A6F62;
  /* Muted Brownish Gray */
  --color-white: #FFFFFF;

  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #128C7E;
  --color-whatsapp-light: #E8F9EE;

  --color-danger: #D9534F;
  --color-danger-light: #FDF2F2;

  /* Typography */
  --font-heading: 'Fraunces', serif;
  --font-body: 'Manrope', 'Noto Sans Devanagari', sans-serif;

  /* Spacing & Borders */
  --radius-card: 20px;
  --radius-badge: 8px;
  --radius-button: 999px;
  /* Pill CTAs */

  --shadow-soft: 0 10px 30px rgba(46, 42, 38, 0.05);
  --shadow-medium: 0 20px 40px rgba(46, 42, 38, 0.08);
  --shadow-strong: 0 30px 60px rgba(46, 42, 38, 0.15);
  --shadow-glow: 0 10px 25px rgba(201, 112, 79, 0.25);

  --container-max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==========================================================================
   1. Typography & Global Utilities
   ========================================================================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.2;
}

p {
  color: var(--color-text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease-soft);
}

ul {
  list-style: none;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

.text-center {
  text-center: center;
  text-align: center;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-button);
  margin-bottom: 16px;
}

.section-tag.tag-accent {
  color: var(--color-accent-dark);
  background-color: var(--color-accent-light);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 20px;
  position: relative;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
}

.btn-call {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-call:hover {
  background-color: var(--color-primary-dark);
}

.btn-whatsapp-outline {
  background-color: transparent;
  color: var(--color-whatsapp-dark);
  border: 2px solid var(--color-whatsapp);
}

.btn-whatsapp-outline:hover {
  background-color: var(--color-whatsapp-light);
}

.btn-secondary-outline {
  background-color: transparent;
  color: var(--color-text-dark);
  border: 2px solid var(--color-text-dark);
}

.btn-secondary-outline:hover {
  background-color: var(--color-text-dark);
  color: var(--color-white);
}

.icon {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   2. Sticky Navbar Component
   ========================================================================== */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--duration-mid) var(--ease-soft);
}

.navbar-header.scrolled {
  background-color: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46, 42, 38, 0.08);
  box-shadow: var(--shadow-soft);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: height var(--duration-mid) var(--ease-soft);
}

.navbar-header.scrolled .navbar-container {
  height: 70px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--color-text-dark);
}

.logo-accent {
  color: var(--color-primary);
}

.logo-link {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
  transition: height var(--duration-mid) var(--ease-soft);
}

.navbar-header.scrolled .nav-logo-img {
  height: 48px;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 24px;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: clamp(12px, 1.6vw, 24px);
}

.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-text-muted);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

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

/* Underline Animation */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transform: translateX(-50%);
  transition: width var(--duration-fast) var(--ease-soft);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger mobile trigger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.hamburger-bar {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-dark);
  margin: 5px 0;
  transition: all 0.3s var(--ease-soft);
}

/* ==========================================================================
   3. Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 120px;
  /* Safe padding for scroll indicator */
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(250, 248, 245, 0.95) 0%,
      rgba(250, 248, 245, 0.85) 50%,
      rgba(46, 42, 38, 0.4) 100%);
}

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

.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  margin-bottom: 24px;
}

.hero-title span {
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 40px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.hero-ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 2;
}

@media (max-width: 768px) or (max-height: 680px) {
  .scroll-indicator {
    display: none;
  }
}

.scroll-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.scroll-chevron {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

/* ==========================================================================
   4. Trust Bar Section
   ========================================================================== */
.trust-bar-section {
  position: relative;
  z-index: 5;
  background-color: var(--color-white);
  padding: 40px 0;
  box-shadow: var(--shadow-soft);
  border-top: 1px solid rgba(46, 42, 38, 0.04);
}

.trust-bar-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: rgba(46, 42, 38, 0.08);
}

.stat-icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-number-wrapper {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-suffix {
  color: var(--color-primary);
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* ==========================================================================
   5. About the Hostel
   ========================================================================== */
.about-section {
  background-color: var(--color-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  z-index: 2;
  aspect-ratio: 4 / 3;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.since-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 16px 24px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-glow);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 4px solid var(--color-white);
}

.badge-number {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Blob styling behind image */
.blob-decorator {
  position: absolute;
  top: -30px;
  left: -30px;
  width: calc(100% + 60px);
  height: calc(100% + 60px);
  background-color: var(--color-primary-light);
  border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%;
  z-index: -1;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-text-lead {
  font-size: 1.2rem;
  color: var(--color-text-dark);
  font-weight: 600;
  margin-bottom: 24px;
}

.about-text-body {
  margin-bottom: 20px;
  font-size: 15px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--color-text-dark);
  font-size: 15px;
}

.feature-icon-wrapper {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-accent-light);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-wrapper svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   6. Room Types & Pricing
   ========================================================================== */
.rooms-section {
  background-color: var(--color-secondary-dark);
}

.rooms-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.rooms-tabs {
  position: relative;
  display: flex;
  background-color: var(--color-white);
  padding: 8px;
  border-radius: var(--radius-button);
  box-shadow: var(--shadow-soft);
}

.tab-btn {
  position: relative;
  z-index: 2;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text-muted);
  padding: 12px 28px;
  cursor: pointer;
  transition: color 0.35s var(--ease-soft);
}

.tab-btn.active {
  color: var(--color-white);
}

.tab-indicator {
  position: absolute;
  top: 8px;
  left: 8px;
  height: calc(100% - 16px);
  width: 120px;
  /* will be overridden by JS */
  background-color: var(--color-primary);
  border-radius: var(--radius-button);
  z-index: 1;
  transition: transform 0.35s var(--ease-soft), width 0.35s var(--ease-soft);
}

.rooms-content-wrapper {
  position: relative;
  min-height: 500px;
}

.room-tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.3s var(--ease-soft), transform 0.3s var(--ease-soft);
}

.room-tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.room-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 48px;
  box-shadow: var(--shadow-medium);
  overflow: hidden;
}

.room-image-pane {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
}

.room-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-details-pane {
  display: flex;
  flex-direction: column;
}

.room-price-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(46, 42, 38, 0.08);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.room-name {
  font-size: 24px;
  margin-bottom: 4px;
}

.room-occupancy {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 700;
}

.room-price-box {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.price-value {
  font-size: 32px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1;
}

.price-period {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-top: 4px;
}

.room-description {
  font-size: 15px;
  margin-bottom: 28px;
}

.details-subtitle {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--color-text-dark);
}

.room-includes-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.room-includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.check-icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.room-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
  border-top: 1px solid rgba(46, 42, 38, 0.08);
  padding-top: 24px;
}

.urgency-note {
  font-size: 13px;
  color: var(--color-danger);
  font-weight: 700;
}

/* ==========================================================================
   7. Amenities Grid
   ========================================================================== */
.amenities-section {
  background-color: var(--color-secondary);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.amenity-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(46, 42, 38, 0.04);
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft), transform 0.5s var(--ease-soft);
}

.amenity-card:hover {
  box-shadow: var(--shadow-medium);
  border-color: var(--color-primary-light);
}

.amenity-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s var(--ease-soft);
  transform: translateZ(25px);
}

.amenity-card:hover .amenity-icon-wrapper {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.amenity-svg {
  width: 28px;
  height: 28px;
}

.amenity-name {
  font-size: 18px;
  margin-bottom: 12px;
  transform: translateZ(20px);
}

.amenity-desc {
  font-size: 14px;
  transform: translateZ(15px);
}

/* ==========================================================================
   8. Gallery Section & Lightbox
   ========================================================================== */
.gallery-section {
  background-color: var(--color-secondary-dark);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  border: none;
  background-color: var(--color-white);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: var(--radius-button);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(46, 42, 38, 0.04);
  transition: all 0.3s var(--ease-soft);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-img-box {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-soft);
}

.gallery-item:hover .gallery-thumbnail {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(46, 42, 38, 0.9) 0%, rgba(46, 42, 38, 0) 100%);
  padding: 24px;
  color: var(--color-white);
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s var(--ease-soft);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-caption h4 {
  color: var(--color-white);
  font-size: 18px;
  margin-bottom: 4px;
}

.gallery-caption p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 500;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 16, 14, 0.95);
  z-index: 2000;
  display: none;
  /* Controlled by JS */
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-mid) var(--ease-soft);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 48px;
  cursor: pointer;
  z-index: 2100;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--color-white);
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  z-index: 2100;
}

.lightbox-nav:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

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

#lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform var(--duration-mid) var(--ease-soft);
}

.lightbox.active #lightbox-img {
  transform: scale(1);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   9. Safety & Security Section
   ========================================================================== */
.safety-section {
  background-color: var(--color-secondary);
}

.safety-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.safety-lead-text {
  font-size: 1.15rem;
  margin-bottom: 40px;
}

.safety-steps-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.safety-step-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.safety-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: var(--color-accent-light);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.safety-draw-svg {
  width: 28px;
  height: 28px;
}

.safety-step-text h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.safety-step-text p {
  font-size: 14px;
}

/* Glowing emergency container */
.safety-visual-pane {
  position: relative;
}

.safety-card-glowing {
  background-color: var(--color-text-dark);
  border-radius: var(--radius-card);
  padding: 48px;
  color: var(--color-white);
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
}

.safety-card-glowing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
}

.emergency-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  background-color: var(--color-danger);
  color: var(--color-white);
  padding: 6px 14px;
  border-radius: var(--radius-badge);
  margin-bottom: 20px;
}

.security-status-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
}

.status-pulse-light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
  animation: pulse-ring 2s infinite;
}

.security-bullet-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sec-bullet {
  display: flex;
  gap: 20px;
}

.sec-bullet-number {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.85;
}

.sec-bullet h4 {
  color: var(--color-white);
  font-size: 16px;
  margin-bottom: 6px;
}

.sec-bullet p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
}

/* ==========================================================================
   10. Nearby Colleges
   ========================================================================== */
.colleges-section {
  background-color: var(--color-secondary-dark);
}

.colleges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.college-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(46, 42, 38, 0.04);
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.3s var(--ease-soft), transform 0.5s var(--ease-soft);
}

.college-card:hover {
  box-shadow: var(--shadow-medium);
}

.card-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 80%);
  z-index: 10;
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 0.35s var(--ease-soft);
}

.college-details {
  padding: 32px;
  flex-grow: 1;
  transform-style: preserve-3d;
}

.college-header {
  margin-bottom: 16px;
  transform-style: preserve-3d;
}

.pin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background-color: var(--color-secondary-dark);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  transform: translateZ(20px);
}

.pin-badge svg {
  width: 12px;
  height: 12px;
  color: var(--color-primary);
}

.college-header h3 {
  font-size: 18px;
  line-height: 1.3;
  transform: translateZ(30px);
}

.college-desc {
  font-size: 13.5px;
  transform: translateZ(20px);
}

.college-distance-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-secondary-dark);
  padding: 16px 32px;
  border-top: 1px solid rgba(46, 42, 38, 0.06);
  transform: translateZ(15px);
}

.dist-stat {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.dist-unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.travel-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-dark);
}

/* ==========================================================================
   11. Mess Menu Preview
   ========================================================================== */
.mess-section {
  background-color: var(--color-secondary);
}

.mess-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.mess-lead-text {
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.meal-timing-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.timing-badge {
  background-color: var(--color-white);
  padding: 14px 20px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  border-left: 4px solid var(--color-primary);
  display: flex;
  justify-content: space-between;
}

.timing-badge strong {
  color: var(--color-text-dark);
}

.cooking-values {
  display: flex;
  gap: 24px;
}

.val-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.val-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent-dark);
}

/* Mess schedule Table card */
.mess-table-pane {
  position: relative;
}

.mess-table-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(46, 42, 38, 0.04);
}

.mess-table-card h3 {
  font-size: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.table-scroll-container {
  overflow-x: auto;
}

.mess-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.mess-table th {
  background-color: var(--color-secondary-dark);
  padding: 12px 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--color-text-dark);
  border-bottom: 2px solid rgba(46, 42, 38, 0.08);
}

.mess-table td {
  padding: 14px 16px;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(46, 42, 38, 0.06);
}

.mess-table tr:hover {
  background-color: var(--color-secondary-dark);
}

.special-dish {
  font-weight: 700;
  color: var(--color-primary);
}

/* ==========================================================================
   12. Testimonials Carousel
   ========================================================================== */
.testimonials-section {
  background-color: var(--color-secondary-dark);
}

.testimonials-carousel-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonials-carousel {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  perspective: 1000px;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 48px;
  box-shadow: var(--shadow-medium);
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}

/* Directional transitions (exiting card slides to left/right, entering card slides from opposite side) */
.testimonial-card.exit-left {
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
  z-index: 1;
}

.testimonial-card.exit-right {
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
  z-index: 1;
}

.testimonial-card.enter-right {
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
}

.testimonial-card.enter-left {
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
}

.rating-stars {
  color: #FFC107;
  font-size: 20px;
  margin-bottom: 20px;
  display: flex;
  gap: 4px;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  font-style: italic;
  color: var(--color-text-dark);
  line-height: 1.5;
  margin-bottom: 32px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info h4 {
  font-size: 16px;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 12px;
  font-weight: 700;
}

/* Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
}

.carousel-btn {
  background: var(--color-white);
  border: 1px solid rgba(46, 42, 38, 0.08);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  color: var(--color-text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
}

.carousel-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-text-muted);
  opacity: 0.35;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  width: 24px;
  border-radius: 4px;
  background-color: var(--color-primary);
  opacity: 1;
}

.carousel-progress-bar {
  width: 100%;
  height: 3px;
  background-color: rgba(46, 42, 38, 0.08);
  border-radius: 2px;
  margin-top: 24px;
  overflow: hidden;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background-color: var(--color-primary);
  transition: width 5s linear;
}

/* ==========================================================================
   13. FAQ Accordion
   ========================================================================== */
.faq-section {
  background-color: var(--color-secondary);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
}

.faq-lead-text {
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.faq-accordion-pane {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid rgba(46, 42, 38, 0.04);
  transition: all 0.3s var(--ease-soft);
}

.accordion-item:hover {
  box-shadow: var(--shadow-medium);
}

.accordion-item.open {
  border-color: var(--color-primary-light);
  background-color: var(--color-white);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text-dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform 0.3s;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-soft);
}

.accordion-content-inner {
  padding: 0 32px 24px 32px;
  font-size: 14.5px;
}

.accordion-content-inner p {
  color: var(--color-text-muted);
}

/* ==========================================================================
   14. Location & Map Section
   ========================================================================== */
.location-section {
  background-color: var(--color-secondary-dark);
}

.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.map-pane {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(46, 42, 38, 0.06);
}

.map-iframe-container {
  width: 100%;
  height: 450px;
  position: relative;
}

.map-iframe-container iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.map-marker-pin {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  pointer-events: none;
  z-index: 5;
}

.map-ping-ring {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  opacity: 0.6;
}

.location-lead {
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.address-details-box {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.address-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.address-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.address-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.address-item p {
  font-size: 14.5px;
}

.arrow-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

#get-directions-btn:hover .arrow-icon {
  transform: translateX(6px);
}

/* ==========================================================================
   15. Final CTA Banner
   ========================================================================== */
.final-cta-section {
  background-color: var(--color-text-dark);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(201, 112, 79, 0.15) 0%, rgba(46, 42, 38, 0) 70%);
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.cta-title {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   16. Contact & Enquiry Form
   ========================================================================== */
.contact-section {
  background-color: var(--color-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
}

.contact-intro {
  font-size: 1.15rem;
  margin-bottom: 36px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--color-white);
  padding: 24px 32px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(46, 42, 38, 0.04);
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft), transform 0.5s var(--ease-soft);
}

.contact-info-card:not(.no-link):hover {
  box-shadow: var(--shadow-medium);
  border-color: var(--color-primary-light);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: translateZ(25px);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-text h4 {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 2px;
  transform: translateZ(20px);
}

.card-text p {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-dark);
  transform: translateZ(15px);
}

/* Contact Form container */
.contact-form-panel {
  position: relative;
}

.form-container-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 48px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(46, 42, 38, 0.04);
  overflow: hidden;
}

.form-container-card h3 {
  font-size: 22px;
  margin-bottom: 32px;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Floating Input Label System */
.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(46, 42, 38, 0.08);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
  outline: none;
  transition: all 0.3s;
}

.form-group textarea {
  resize: vertical;
}

.form-group label {
  position: absolute;
  left: 20px;
  top: 16px;
  color: var(--color-text-muted);
  font-size: 15px;
  pointer-events: none;
  transition: all 0.3s var(--ease-soft);
}

/* Focus and Active states */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  background-color: var(--color-white);
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
  transform: translateY(-24px) scale(0.85);
  left: 10px;
  background-color: var(--color-white);
  padding: 0 8px;
  color: var(--color-primary);
  font-weight: 700;
}

/* Date input specific label */
.form-group.date-group label {
  transform: translateY(-24px) scale(0.85);
  left: 10px;
  background-color: var(--color-white);
  padding: 0 8px;
  color: var(--color-text-muted);
  font-weight: 700;
}

.form-group input[type="date"] {
  min-height: 56px;
}

/* Custom Select Menu */
.form-group.select-group {
  padding-top: 16px;
}

.form-group.select-group label {
  top: -8px;
  left: 10px;
  background-color: var(--color-white);
  padding: 0 8px;
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 13.5px;
}

.custom-select-wrapper {
  position: relative;
}

.custom-select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 48px;
}

.custom-select-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
  color: var(--color-text-muted);
}

/* Form Errors */
.error-msg {
  display: none;
  font-size: 12px;
  color: var(--color-danger);
  font-weight: 700;
  margin-top: 6px;
  padding-left: 8px;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--color-danger);
  background-color: var(--color-danger-light);
}

.form-group.has-error .error-msg {
  display: block;
}

/* Submit Button & Animations */
.btn-submit {
  width: 100%;
  position: relative;
  height: 54px;
}

.btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--color-white);
  animation: spin 0.8s infinite linear;
}

.btn-success-mark {
  display: none;
  width: 24px;
  height: 24px;
  color: var(--color-white);
}

.btn-success-mark svg {
  width: 100%;
  height: 100%;
}

.enquiry-form.submitting .btn-text {
  display: none;
}

.enquiry-form.submitting .btn-spinner {
  display: block;
}

.enquiry-form.success .btn-text {
  display: none;
}

.enquiry-form.success .btn-success-mark {
  display: block;
}

.enquiry-form.success #btn-submit-form {
  background-color: var(--color-accent);
}

/* Success Card Overlay */
.form-success-message {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-accent-light);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(138, 155, 110, 0.2);
}

.success-icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.form-success-message h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.form-success-message p {
  font-size: 15px;
  margin-bottom: 32px;
}

/* ==========================================================================
   17. Footer Component
   ========================================================================== */
.hostel-footer {
  background-color: #24201C;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 80px;
  padding-bottom: 60px;
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 22px;
  margin-bottom: 20px;
}

.footer-col h3 span {
  color: var(--color-primary);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 16px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.links-col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.links-col a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.6);
}

.links-col a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.contact-col p {
  margin-bottom: 16px;
}

.contact-col a {
  color: var(--color-white);
  font-weight: 700;
}

.contact-col a:hover {
  color: var(--color-primary);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.attribution {
  font-style: italic;
}

/* ==========================================================================
   18. Persistent Floating Action Buttons
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: all 0.3s var(--ease-soft);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  background-color: var(--color-whatsapp-dark);
}

.floating-whatsapp-btn svg {
  width: 32px;
  height: 32px;
}

.floating-tooltip {
  position: absolute;
  right: 76px;
  background-color: var(--color-text-dark);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: all 0.3s;
}

.floating-whatsapp-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile Sticky bottom action bar */
.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  display: none;
  /* Controlled by breakpoint */
  grid-template-columns: 1fr 1fr;
  height: 60px;
  box-shadow: 0 -4px 16px rgba(46, 42, 38, 0.08);
  z-index: 1000;
  border-top: 1px solid rgba(46, 42, 38, 0.08);
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  height: 100%;
}

.call-action {
  background-color: var(--color-white);
  color: var(--color-text-dark);
}

.whatsapp-action {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
}

.action-btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   19. Responsive Media Queries
   ========================================================================== */

/* Laptop & Large Screens (max-width: 1024px) */
@media (max-width: 1024px) {
  .section-padding {
    padding: 72px 0;
  }

  .about-grid,
  .safety-grid,
  .mess-grid,
  .faq-grid,
  .location-grid,
  .contact-grid {
    gap: 48px;
  }

  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .colleges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .gallery-grid {
    gap: 20px;
  }
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {

  /* Navbar changes */
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-white);
    padding: 100px 40px 40px 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    z-index: 1050;
    transition: right 0.4s var(--ease-soft);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 24px;
  }

  .nav-link {
    font-size: 18px;
  }

  .nav-actions .btn-call {
    display: none;
    /* Hide header call button on mobile, sticky bar handles it */
  }

  .drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 42, 38, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1020;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
  }

  .drawer-overlay.active {
    display: block;
    opacity: 1;
  }

  /* Hamburger Active Animation */
  .hamburger.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Section layouts */
  .about-grid,
  .safety-grid,
  .mess-grid,
  .faq-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrapper {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
  }

  .safety-visual-pane {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .trust-bar-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .stat-card:nth-child(2)::after {
    display: none;
  }

  .stat-card:nth-child(even)::after {
    display: none;
  }

  .room-grid {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 32px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Floating buttons */
  .floating-whatsapp-btn {
    bottom: 80px;
    /* shift up to not block mobile action bar */
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .mobile-action-bar {
    display: grid;
  }

  body {
    padding-bottom: 60px;
    /* reserve space for mobile sticky bar */
  }
}

/* Small Mobiles (max-width: 480px) */
@media (max-width: 480px) {
  .section-padding {
    padding: 56px 0;
  }

  .container {
    padding: 0 20px;
  }

  .trust-bar-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-card::after {
    display: none !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .colleges-grid {
    grid-template-columns: 1fr;
  }

  .room-includes-list {
    grid-template-columns: 1fr;
  }

  .room-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .room-actions .btn {
    width: 100%;
  }

  .form-container-card {
    padding: 32px 24px;
  }

  .mess-table-card {
    padding: 24px 16px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Dynamic Animation Easing helper */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(138, 155, 110, 0.5);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(138, 155, 110, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(138, 155, 110, 0);
  }
}

/* ==========================================================================
   17. 3D Parallax Card Tilt Global Styles
   ========================================================================== */
.college-card,
.contact-info-card,
.amenity-card,
.gallery-item,
.mess-table-card,
.form-container-card,
.safety-card-glowing,
.testimonial-card,
.room-grid {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Specific TranslateZ offsets for inner card elements */
.gallery-item .gallery-thumbnail {
  transform: translateZ(10px);
}

.gallery-item .gallery-caption {
  transform: translateZ(28px);
}

.mess-table-card h3 {
  transform: translateZ(25px);
}

.mess-table-card .table-scroll-container {
  transform: translateZ(15px);
}

.form-container-card h3 {
  transform: translateZ(25px);
}

.form-container-card .enquiry-form {
  transform: translateZ(15px);
}

.safety-card-glowing .emergency-badge {
  transform: translateZ(20px);
}

.safety-card-glowing h3 {
  transform: translateZ(30px);
}

.safety-card-glowing .security-status-strip {
  transform: translateZ(15px);
}

.safety-card-glowing .security-bullet-grid {
  transform: translateZ(22px);
}

.testimonial-card .rating-stars {
  transform: translateZ(20px);
}

.testimonial-card .testimonial-quote {
  transform: translateZ(30px);
}

.testimonial-card .testimonial-author {
  transform: translateZ(25px);
}

.room-grid .room-image-pane {
  transform: translateZ(20px);
}

.room-grid .room-details-pane {
  transform: translateZ(28px);
}

/* ==========================================================================
   18. Chatbot Widget (Sanskruti Didi)
   ========================================================================== */
.chatbot-container {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
  /* Let clicks pass through container to page, but allow children to block */
}

.chatbot-launcher {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  border: none;
  box-shadow: 0 8px 24px rgba(201, 112, 79, 0.35);
  transition: all 0.3s var(--ease-soft);
  position: fixed;
  bottom: 115px;
  /* Stacks exactly above the persistent WhatsApp button (which is at bottom: 40px) */
  right: 40px;
  outline: none;
  z-index: 1002;
  pointer-events: auto;
}

.chatbot-launcher:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 10px 28px rgba(201, 112, 79, 0.45);
}

.launcher-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  opacity: 0.6;
  animation: launcherPulse 2s infinite;
  pointer-events: none;
}

@keyframes launcherPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.chatbot-window {
  position: fixed;
  bottom: 40px;
  /* Align with WhatsApp button base */
  right: 40px;
  width: 380px;
  height: 520px;
  max-height: 80vh;
  background-color: #FAF8F5;
  /* Cream paper texture background */
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(46, 42, 38, 0.16);
  border: 1px solid rgba(46, 42, 38, 0.06);
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1001;
}

.chatbot-window.active {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--color-secondary-dark) 0%, var(--color-white) 100%);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  border-bottom: 1px dashed rgba(46, 42, 38, 0.12);
  position: relative;
}

.didi-avatar-wrapper {
  position: relative;
  margin-right: 14px;
}

.didi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-soft);
}

.didi-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-accent-dark);
  border: 2px solid var(--color-white);
}

.didi-info h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 2px;
}

.didi-info p {
  font-size: 11.5px;
  color: var(--color-accent-dark);
  font-weight: 700;
}

.chatbot-close-btn {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.3s;
  padding: 4px;
  line-height: 1;
}

.chatbot-close-btn:hover {
  color: var(--color-primary);
}

.chatbot-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-image: radial-gradient(rgba(46, 42, 38, 0.02) 1.2px, transparent 0);
  background-size: 16px 16px;
  scroll-behavior: smooth;
}

/* Chat bubble styling */
.didi-msg-bubble {
  align-self: flex-start;
  background-color: var(--color-white);
  color: var(--color-text-dark);
  border-radius: 18px 18px 18px 4px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 85%;
  box-shadow: 0 3px 10px rgba(201, 112, 79, 0.06);
  border: 1px solid rgba(46, 42, 38, 0.03);
  transform-origin: left bottom;
  animation: bubbleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.user-msg-bubble {
  align-self: flex-end;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 18px 18px 4px 18px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 85%;
  box-shadow: 0 4px 12px rgba(201, 112, 79, 0.15);
  transform-origin: right bottom;
  animation: bubbleInUser 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bubbleIn {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.9) rotate(-1.5deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

@keyframes bubbleInUser {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.9) rotate(1.5deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

.chatbot-options-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  align-self: flex-start;
  width: 100%;
}

.chatbot-option-btn {
  border: 1px solid var(--color-primary-light);
  background-color: var(--color-white);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 5px rgba(46, 42, 38, 0.03);
  animation: chipReveal 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes chipReveal {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.chatbot-option-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(201, 112, 79, 0.2);
}

/* Typing indicator */
.typing-bubble {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  animation: dotBounce 0.8s infinite alternate;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotBounce {
  0% {
    transform: translateY(3px);
    opacity: 0.4;
  }

  100% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.chatbot-input-area {
  padding: 12px 18px;
  border-top: 1px dashed rgba(46, 42, 38, 0.1);
  background-color: var(--color-white);
  display: flex;
  gap: 10px;
  align-items: center;
}

#chatbot-input {
  flex-grow: 1;
  border: 1px solid rgba(46, 42, 38, 0.08);
  padding: 10px 16px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 13.5px;
  outline: none;
  transition: all 0.3s;
  background-color: var(--color-secondary-dark);
}

#chatbot-input:focus {
  border-color: var(--color-primary-light);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(201, 112, 79, 0.08);
}

#chatbot-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-soft);
  flex-shrink: 0;
  outline: none;
}

#chatbot-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 10px rgba(201, 112, 79, 0.25);
}

#chatbot-send-btn:active svg {
  transform: rotate(-10deg) scale(0.9);
}

#chatbot-send-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

/* Mobile responsive chatbot layout */
@media (max-width: 768px) {
  .chatbot-launcher {
    bottom: 145px;
    /* Stacks above WhatsApp button (which is at bottom: 80px on mobile) */
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 24px;
  }

  .chatbot-window {
    position: fixed;
    width: calc(100vw - 40px);
    right: 20px;
    bottom: 80px;
    /* Floats above mobile action bar, same height as WhatsApp btn */
    height: 460px;
  }
}

/* ==========================================================================
   09. For Parents & Safety Trust Section
   ========================================================================== */
.parents-section {
  background-color: var(--color-white);
  border-top: 1px solid rgba(46, 42, 38, 0.05);
  border-bottom: 1px solid rgba(46, 42, 38, 0.05);
}

.parents-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .parents-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Trust Badges Row */
.trust-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 20px;
}

.freshness-badge,
.owner-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
}

.freshness-badge {
  background-color: #E2F0D9;
  color: var(--color-accent-dark);
  border: 1px solid #C5E0B4;
}

.owner-badge {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid rgba(201, 112, 79, 0.15);
}

.badge-icon {
  width: 16px;
  height: 16px;
}

.badge-date {
  font-weight: 500;
  opacity: 0.8;
  border-left: 1px solid rgba(94, 109, 71, 0.3);
  padding-left: 8px;
}

/* Pulse Dot Animation */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #70AD47;
  border-radius: 50%;
  display: inline-block;
  animation: badge-pulse 1.8s infinite ease-in-out;
}

@keyframes badge-pulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(112, 173, 71, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(112, 173, 71, 0);
  }

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(112, 173, 71, 0);
  }
}

.registration-license {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.registration-license code {
  font-family: Consolas, monospace;
  background-color: var(--color-secondary);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(46, 42, 38, 0.05);
  color: var(--color-text-dark);
  font-weight: 600;
}

/* Safety Promise List */
.safety-promise-box {
  background-color: var(--color-secondary);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid rgba(46, 42, 38, 0.04);
  margin-bottom: 30px;
}

.safety-promise-box h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--color-text-dark);
}

.promise-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.promise-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.promise-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}

.promise-list h4 {
  font-size: 15px;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.promise-list p {
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Brochure Download */
.brochure-download-box {
  border-top: 1px solid rgba(46, 42, 38, 0.06);
  padding-top: 24px;
}

.brochure-download-box p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* Meet the Warden Profile Card */
.warden-profile-card {
  background-color: var(--color-secondary);
  border-radius: var(--radius-card);
  padding: 40px;
  border: 1px solid rgba(46, 42, 38, 0.04);
  box-shadow: var(--shadow-soft);
  margin-bottom: 30px;
  text-align: center;
}

.warden-img-frame {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-soft);
}

.warden-emoji {
  font-size: 42px;
  line-height: 1;
}

.warden-info-header h3 {
  font-size: 20px;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.warden-title {
  display: inline-block;
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.warden-bio {
  font-family: var(--font-heading);
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text-dark);
  margin-bottom: 24px;
  padding: 0 10px;
}

.warden-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(46, 42, 38, 0.06);
  padding-top: 24px;
}

.w-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.w-val {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.w-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
}

/* Emergency contacts card */
.emergency-contacts-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px dashed #E28C81;
  /* Reassuring warning-accent boundary */
  box-shadow: var(--shadow-soft);
}

.emergency-contacts-card h3 {
  font-size: 16px;
  color: #C0392B;
  /* Deep emergency red */
  margin-bottom: 8px;
}

.emergency-contacts-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.emergency-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.emergency-item-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
}

.emergency-item-link.warden-em {
  background-color: #FDF2F0;
  border: 1px solid #FADBD8;
}

.emergency-item-link.police-em {
  background-color: #EBF5FB;
  border: 1px solid #D6EAF8;
}

.emergency-item-link.hospital-em {
  background-color: #EAF2F8;
  border: 1px solid #D4E6F1;
}

.emergency-item-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.em-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.em-details strong {
  display: block;
  font-size: 13.5px;
  color: var(--color-text-dark);
  margin-bottom: 2px;
}

.em-details p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Privacy microcopy in form footer */
.form-privacy-copy {
  font-size: 12.5px;
  color: var(--color-text-muted);
  margin-top: 20px;
  line-height: 1.6;
  text-align: center;
  border-top: 1px solid rgba(46, 42, 38, 0.05);
  padding-top: 16px;
}
/* Language selector and translated text guards */
body.is-devanagari {
  font-family: 'Noto Sans Devanagari', var(--font-body);
}

body.is-devanagari h1,
body.is-devanagari h2,
body.is-devanagari h3,
body.is-devanagari h4 {
  font-family: 'Noto Sans Devanagari', var(--font-heading);
  line-height: 1.28;
}

.language-switcher {
  min-width: 96px;
  max-width: 132px;
  height: 40px;
  border: 1px solid rgba(46, 42, 38, 0.16);
  border-radius: var(--radius-button);
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-text-dark);
  font: 700 13px var(--font-body);
  padding: 0 34px 0 14px;
  cursor: pointer;
  outline: none;
  flex: 0 0 auto;
}

.language-switcher:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(201, 112, 79, 0.12);
}

.navbar-container {
  gap: 16px;
}

.nav-menu {
  min-width: 0;
}

.nav-list {
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 4px;
}

.nav-link,
.btn,
.filter-btn,
.tab-btn,
.chatbot-option-btn,
.action-btn,
.print-btn {
  overflow-wrap: anywhere;
  text-align: center;
}

.form-group label,
.select-label,
.error-msg,
.gallery-caption p,
.lightbox-caption,
.amenity-desc,
.section-subtitle {
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .nav-list {
    gap: 10px;
  }

  .nav-link {
    font-size: 13px;
  }

  .nav-actions {
    gap: 10px;
  }

  .btn-call {
    padding: 12px 18px;
  }
}

@media (max-width: 768px) {
  .language-switcher {
    height: 38px;
    min-width: 86px;
    max-width: 112px;
    padding-left: 12px;
    font-size: 12px;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-menu {
    width: min(320px, 86vw);
    padding-left: 32px;
    padding-right: 32px;
    overflow-y: auto;
  }

  .nav-list {
    align-items: flex-start;
  }

  .nav-link {
    white-space: normal;
    text-align: left;
  }
}

@media print {
  .language-switcher {
    display: none !important;
  }
}
