/* ============================================================
   J.P.R MEN'S PG HOSTEL — DESIGN SYSTEM
   Premium Red-based visual identity
   ============================================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand Colors */
  --primary: #c0392b;
  --primary-dark: #96281b;
  --primary-light: #e74c3c;
  --primary-glow: rgba(192,57,43,0.15);
  --accent: #8B0000;

  /* Dark Palette */
  --dark: #1a1a1a;
  --dark-2: #2d2d2d;
  --dark-3: #3d3d3d;
  --charcoal: #2c2c2c;
  --burgundy: #4a0e0e;

  /* Light Palette */
  --white: #ffffff;
  --off-white: #faf8f7;
  --light-grey: #f5f4f4;
  --mid-grey: #e8e6e6;

  /* Text */
  --text-dark: #1a1a1a;
  --text-muted: #666666;
  --text-light: #999999;
  --border: #e0dddd;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-red: 0 8px 24px rgba(192,57,43,0.3);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container-max: 1280px;
  --section-py: 100px;
  --header-h: 80px;
}

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* ============================================================
   2. TYPOGRAPHY
   ============================================================ */
h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--text-dark);
}

h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--text-dark);
}

h5 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text-dark);
}

h6 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-dark);
}

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-body);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title.white {
  color: var(--white);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto;
}

.section-subtitle.white {
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   3. CONTAINER & SECTIONS
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: var(--section-py) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ============================================================
   4. BUTTONS — SERVICE CARD PILL STYLE & SHIMMER ANIMATION EFFECT
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: var(--font-body);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, #c0392b 0%, #9e281b 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(192, 57, 43, 0.35);
}

/* Service page cart button shimmer sweep animation for ALL buttons */
.btn::after,
.btn-whatsapp::after,
.btn-room-enquire::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  animation: btnShimmer 3.2s infinite;
  pointer-events: none;
}

@keyframes btnShimmer {
  0%, 65% { left: -100%; }
  100% { left: 180%; }
}

/* Hover: scale(1.02) + translateY(-2px) + elevated shadow + COLOR CHANGE ONLY */
.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(192, 57, 43, 0.48);
  background: linear-gradient(135deg, #d32f2f 0%, #c0392b 100%);
  color: #ffffff;
}

.btn-primary {
  background: linear-gradient(135deg, #c0392b 0%, #9e281b 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(192, 57, 43, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d32f2f 0%, #c0392b 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(192, 57, 43, 0.50);
  transform: translateY(-2px) scale(1.02);
}

.btn-outline {
  border: 2px solid #c0392b;
  color: #c0392b;
  background: transparent;
  box-shadow: 0 4px 16px rgba(192, 57, 43, 0.15);
}

.btn-outline:hover {
  background: linear-gradient(135deg, #c0392b 0%, #9e281b 100%);
  color: var(--white);
  border-color: #c0392b;
  box-shadow: 0 8px 24px rgba(192, 57, 43, 0.45);
  transform: translateY(-2px) scale(1.02);
}

.btn-white {
  background: #ffffff;
  color: #c0392b;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: linear-gradient(135deg, #c0392b 0%, #9e281b 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(192, 57, 43, 0.45);
  transform: translateY(-2px) scale(1.02);
}

.btn-dark {
  background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn-dark:hover {
  background: linear-gradient(135deg, #c0392b 0%, #9e281b 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(192, 57, 43, 0.45);
  transform: translateY(-2px) scale(1.02);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.20);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: #c0392b;
  border-color: #ffffff;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.45);
  transform: translateY(-2px) scale(1.02);
}

.btn-whatsapp,
.btn-wa {
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  font-weight: 700;
  background: linear-gradient(135deg, #25d366 0%, #1a9c4b 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-whatsapp:hover,
.btn-wa:hover {
  background: linear-gradient(135deg, #1ebe5d 0%, #16823e 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.50);
  transform: translateY(-2px) scale(1.02);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.82rem;
}

/* ============================================================
   5. CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 24px;
}

.card-dark {
  background: var(--dark-2);
  color: var(--white);
}

.card-dark p,
.card-dark h3,
.card-dark h4 {
  color: rgba(255,255,255,0.85);
}

.card-glass {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
}

/* ============================================================
   6. BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.badge-primary {
  background: var(--primary-glow);
  color: var(--primary);
}

.badge-dark {
  background: var(--dark);
  color: var(--white);
}

.badge-white {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

/* ============================================================
   7. HEADER
   ============================================================ */
.jpr-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.jpr-header.scrolled {
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-icon-wrap img,
.header-logo-img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.25);
  border: 1.5px solid rgba(192, 57, 43, 0.35);
  background: #ffffff;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.nav-logo:hover .header-logo-img,
.nav-logo:hover .logo-icon-wrap img {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(192, 57, 43, 0.45);
}

.footer-logo-img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1.5px solid rgba(192, 57, 43, 0.4);
  background: #ffffff;
  flex-shrink: 0;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--white) !important;
  line-height: 1.15;
  letter-spacing: 0.5px;
}

.brand-tagline {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7) !important;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  display: block;
  margin-top: 3px;
  font-weight: 600;
}

/* Nav Menu */
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav-link {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

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

/* Nav Right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-clock {
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-family: monospace;
  background: rgba(255,255,255,0.08);
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #1a9c4b 100%);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #1ebe5d 0%, #16823e 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.50);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 4px;
  z-index: 999;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* ============================================================
   8. FOOTER
   ============================================================ */
.jpr-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.7);
}

.footer-top {
  padding: 80px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo .brand-name {
  color: var(--white);
}

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

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-heading {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.footer-links a::before {
  content: '›';
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.footer-contact-item .icon {
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 1rem;
}

.footer-contact-item p,
.footer-contact-item a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  text-decoration: none;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ============================================================
   9. ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes pulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192,57,43,0.4); }
  70%       { box-shadow: 0 0 0 12px rgba(192,57,43,0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* ============================================================
   UNIVERSAL CARD HOVER SHADOW EFFECT (Prompt 4)
   ============================================================ */
.card,
.room-card,
.amenity-card,
.why-card,
.why-item,
.blog-card,
.topic-card,
.mv-card,
.value-card,
.team-card,
.channel-card,
.transit-card,
.social-tile,
.info-card,
.policy-card,
.rule-card,
.meal-card,
.feature-card,
.pricing-card,
.highlight-item,
.footer-mascot-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease !important;
  will-change: transform, box-shadow;
}

.card:hover,
.room-card:hover,
.amenity-card:hover,
.why-card:hover,
.why-item:hover,
.blog-card:hover,
.topic-card:hover,
.mv-card:hover,
.value-card:hover,
.team-card:hover,
.channel-card:hover,
.transit-card:hover,
.social-tile:hover,
.info-card:hover,
.policy-card:hover,
.rule-card:hover,
.meal-card:hover,
.feature-card:hover,
.pricing-card:hover,
.footer-mascot-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: 0 20px 50px rgba(192, 57, 43, 0.25), 0 10px 25px rgba(0, 0, 0, 0.12) !important;
  border-color: rgba(192, 57, 43, 0.45) !important;
}

/* ============================================================
   UNIVERSAL SECTION & CARD SLIDE-UP ANIMATION SYSTEM (Prompts 5 & 6)
   ============================================================ */
.reveal,
.reveal-text,
.slide-up-text,
.section-header,
.section-header-center,
.section-eyebrow,
.section-title,
.section-sub,
.section-desc,
.section-heading-wrap {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed,
.reveal-text.revealed,
.slide-up-text.revealed,
.section-header.revealed,
.section-header-center.revealed,
.section-eyebrow.revealed,
.section-title.revealed,
.section-sub.revealed,
.section-desc.revealed,
.section-heading-wrap.revealed {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-45px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.reveal-right {
  opacity: 0;
  transform: translateX(45px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Card Internal Content Slide-Up on Scroll */
.room-card .room-body,
.room-card .room-features,
.amenity-card h4,
.amenity-card p,
.blog-card-content,
.topic-card-body,
.team-info,
.mv-card h3,
.mv-card p,
.value-card h3,
.value-card p,
.channel-card h4,
.channel-card p,
.transit-card h5,
.transit-card p,
.social-tile h4,
.social-tile p {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Revealed inside cards */
.revealed .room-body,
.revealed .room-features,
.room-card.revealed .room-body,
.amenity-card.revealed h4,
.amenity-card.revealed p,
.blog-card.revealed .blog-card-content,
.topic-card.revealed .topic-card-body,
.team-card.revealed .team-info,
.mv-card.revealed h3,
.mv-card.revealed p,
.value-card.revealed h3,
.value-card.revealed p,
.channel-card.revealed h4,
.channel-card.revealed p,
.transit-card.revealed h5,
.transit-card.revealed p,
.social-tile.revealed h4,
.social-tile.revealed p {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Delay Utilities */
.delay-1 { transition-delay: 0.12s !important; }
.delay-2 { transition-delay: 0.22s !important; }
.delay-3 { transition-delay: 0.32s !important; }
.delay-4 { transition-delay: 0.42s !important; }
.delay-5 { transition-delay: 0.52s !important; }
.delay-6 { transition-delay: 0.62s !important; }

/* ============================================================
   10. FLOATING ELEMENTS
   ============================================================ */

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: pulseGreen 2s infinite;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #1ebe5d;
}

@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  70%       { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
}

.whatsapp-float .tooltip {
  display: none;
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark);
  color: var(--white);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
}

.whatsapp-float .tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--dark);
  border-right: none;
}

.whatsapp-float:hover .tooltip {
  display: block;
}

/* Scroll To Top */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-red);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(192,57,43,0.4);
}

/* ============================================================
   11. LOADER
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.loader-logo {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 4px;
  margin-bottom: 16px;
  line-height: 1;
}

.loader-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(192,57,43,0.2);
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

.loader-content p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================================
   12. PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  height: 340px;
  position: relative;
  display: flex;
  align-items: flex-end;
  background: var(--dark);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,26,0.5), rgba(26,26,26,0.95));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 48px;
  width: 100%;
}

.page-hero .page-title {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
}

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

.breadcrumb .sep {
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   13. UTILITY CLASSES
   ============================================================ */

/* Text Colors */
.text-primary { color: var(--primary) !important; }
.text-white   { color: var(--white) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-dark    { color: var(--text-dark) !important; }
.text-center  { text-align: center !important; }
.text-left    { text-align: left !important; }
.text-right   { text-align: right !important; }

/* Backgrounds */
.bg-white { background-color: var(--white) !important; }
.bg-light { background-color: var(--light-grey) !important; }
.bg-dark  { background-color: var(--dark) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-off-white { background-color: var(--off-white) !important; }

/* Margin Top */
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 2.5rem !important; }

/* Margin Bottom */
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 2.5rem !important; }

/* Padding Top */
.pt-1 { padding-top: 0.5rem !important; }
.pt-2 { padding-top: 1rem !important; }
.pt-3 { padding-top: 1.5rem !important; }
.pt-4 { padding-top: 2rem !important; }
.pt-5 { padding-top: 2.5rem !important; }

/* Padding Bottom */
.pb-1 { padding-bottom: 0.5rem !important; }
.pb-2 { padding-bottom: 1rem !important; }
.pb-3 { padding-bottom: 1.5rem !important; }
.pb-4 { padding-bottom: 2rem !important; }
.pb-5 { padding-bottom: 2.5rem !important; }

/* Flexbox */
.d-flex       { display: flex !important; }
.align-center { align-items: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-center  { justify-content: center !important; }
.flex-wrap    { flex-wrap: wrap !important; }
.flex-col     { flex-direction: column !important; }
.gap-1 { gap: 0.5rem !important; }
.gap-2 { gap: 1rem !important; }
.gap-3 { gap: 1.5rem !important; }
.gap-4 { gap: 2rem !important; }

/* Width / Images */
.w-100   { width: 100% !important; }
.img-fluid { width: 100%; height: auto; display: block; }

/* Border Radius */
.rounded    { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-full { border-radius: 50% !important; }

/* Overflow */
.overflow-hidden { overflow: hidden !important; }

/* Font Weights */
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-900 { font-weight: 900 !important; }

/* Display */
.d-none   { display: none !important; }
.d-block  { display: block !important; }
.d-inline { display: inline !important; }
.d-grid   { display: grid !important; }

/* Position */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }

/* Dividers */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.divider-red {
  border: none;
  border-top: 2px solid var(--primary);
  width: 60px;
  margin: 0 auto 24px;
}

/* Tag / Pill */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--light-grey);
  color: var(--text-muted);
}

/* Icon Box */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.icon-box-lg {
  width: 72px;
  height: 72px;
  font-size: 1.8rem;
}

.icon-box-dark {
  background: var(--dark-2);
  color: var(--primary);
}

/* Highlight text decoration */
.highlight {
  color: var(--primary);
  position: relative;
  display: inline;
}

/* Separator dots */
.dot-sep {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 6px;
  vertical-align: middle;
}

/* Star Rating */
.stars {
  display: flex;
  gap: 3px;
  color: #f4b942;
  font-size: 0.9rem;
}

/* Avatar */
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.avatar-lg {
  width: 64px;
  height: 64px;
}

/* Overlay utility */
.overlay {
  position: absolute;
  inset: 0;
}

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

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

/* Form inputs (shared) */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control::placeholder {
  color: var(--text-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ============================================================
   14. MEDIA QUERIES
   ============================================================ */

/* Large screens — nav collapse point */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #1a1a1a;
    transition: right 0.4s ease;
    z-index: 998;
    padding: 100px 40px 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

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

  .nav-menu ul {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu ul li a.nav-link {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
  }

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

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

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

/* Tablet */
@media (max-width: 768px) {
  :root {
    --section-py: 60px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  h1 {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
  }

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

  .footer-top {
    padding: 56px 0 40px;
  }

  .page-hero {
    height: 280px;
  }

  .page-hero-content {
    padding-bottom: 32px;
  }

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

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

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

  .btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .nav-clock {
    display: none;
  }

  .btn-whatsapp {
    display: none;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
    bottom: 20px;
    right: 20px;
  }

  .scroll-top {
    bottom: 84px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .card-body {
    padding: 18px;
  }

  .section-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }

  .footer-social {
    gap: 8px;
  }
}

/* Extra small */
@media (max-width: 360px) {
  .nav-logo .brand-tagline {
    display: none;
  }

  .logo-icon-wrap {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .brand-name {
    font-size: 0.95rem;
  }
}

/* ============================================================
   15. 3D CARTOON TOY MASCOT SECTION (MILD THEME)
   ============================================================ */
.mascot-greeting-section {
  background: #faf7f5;
  padding: 60px 0;
  border-top: 1px solid #ede8e5;
  border-bottom: 1px solid #ede8e5;
  position: relative;
  overflow: hidden;
}

.mascot-greeting-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(192, 57, 43, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.footer-mascot-card {
  background: #ffffff;
  border: 1px solid rgba(192, 57, 43, 0.15);
  border-radius: 24px;
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 12px 36px rgba(192, 57, 43, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 2;
}

.footer-mascot-content h3 {
  font-family: 'Playfair Display', serif;
  color: #1a1a1a;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  margin-bottom: 10px;
}

.footer-mascot-content h3 span {
  color: #c0392b;
}

.footer-mascot-content p {
  color: #555555;
  font-size: 0.95rem;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-mascot-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.mascot-toy-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  animation: toyWalkIn 2.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  will-change: transform, opacity;
}

.mascot-speech-bubble {
  position: relative;
  background: #ffffff;
  color: #1a1a1a;
  padding: 9px 18px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(192, 57, 43, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  z-index: 3;
  opacity: 0;
  transform: scale(0) translateY(12px);
  animation: speechBubbleAppear 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 2.3s forwards, speechPopBounce 2.4s ease-in-out 2.9s infinite;
}

.mascot-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px 7px 0;
  border-style: solid;
  border-color: #ffffff transparent;
}

.bubble-hi-tag {
  background: #c0392b;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(192, 57, 43, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bubble-wave-hand {
  display: inline-block;
  animation: waveHandEmoji 1.1s infinite;
  transform-origin: 70% 70%;
}

.bubble-text-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: #2d2d2d;
}

.toy-svg-graphic {
  width: 195px;
  height: 215px;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.18));
}

.toy-waving-arm {
  animation: waveByeArm 1.1s ease-in-out 2.2s infinite alternate;
  transform-origin: 155px 115px;
}

@keyframes waveByeArm {
  0% { transform: rotate(-14deg); }
  50% { transform: rotate(18deg); }
  100% { transform: rotate(-10deg); }
}

.toy-whole-body {
  animation: toyFloatGently 3.2s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes toyFloatGently {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.toy-ground-shadow {
  animation: shadowBreathe 3.2s ease-in-out infinite;
  transform-origin: 110px 245px;
}

@keyframes shadowBreathe {
  0%, 100% {
    transform: scale(1);
    opacity: 0.35;
  }
  50% {
    transform: scale(0.88);
    opacity: 0.18;
  }
}

/* Mascot walks in from right */
@keyframes toyWalkIn {
  0% {
    transform: translateX(180px);
    opacity: 0;
  }
  15% {
    opacity: 1;
    transform: translateX(140px) translateY(-7px) rotate(5deg);
  }
  30% {
    transform: translateX(105px) translateY(0) rotate(-5deg);
  }
  45% {
    transform: translateX(75px) translateY(-7px) rotate(5deg);
  }
  60% {
    transform: translateX(45px) translateY(0) rotate(-4deg);
  }
  75% {
    transform: translateX(20px) translateY(-5px) rotate(3deg);
  }
  90% {
    transform: translateX(5px) translateY(0) rotate(-1deg);
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0deg);
    opacity: 1;
  }
}

/* Speech bubble pops up after walk completes */
@keyframes speechBubbleAppear {
  0% {
    opacity: 0;
    transform: scale(0) translateY(15px);
  }
  70% {
    opacity: 1;
    transform: scale(1.08) translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes speechPopBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.04); }
}

@keyframes waveHandEmoji {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(16deg); }
  75% { transform: rotate(-12deg); }
}

@media (max-width: 900px) {
  .footer-mascot-card {
    flex-direction: column-reverse;
    text-align: center;
    padding: 30px 24px;
    gap: 28px;
  }
  .footer-mascot-content p {
    margin: 0 auto 20px;
  }
  .footer-mascot-actions {
    justify-content: center;
  }
}

