/* =================================================================
   Prabhu Hridaya Dham Homestay - Professional Responsive CSS
   Brand Colors: Red (#dc3545), Golden Yellow (#ffc107), White (#ffffff)
   ================================================================= */

/* Root Variables */
:root {
  --primary-color: #dc3545;
  --secondary-color: #ffc107;
  /* header sizing used to space fixed elements consistently */
  --top-strip-height: 36px;
  --navbar-height: 64px;
  --accent-color: #28a745;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --white-color: #ffffff;

  --font-hindi: "Noto Sans Devanagari", sans-serif;
  --font-english: "Roboto", sans-serif;

  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);

  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-english);
  line-height: 1.6;
  color: var(--dark-color);
  overflow-x: hidden;
  max-width: 100vw;
}

/* Hindi Text Styling */
.hindi-title,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-hindi);
  font-weight: 600;
}

/* Typography */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 2rem;
  font-style: italic;
}

/* Navigation */
.custom-navbar {
  background: rgba(220, 53, 69, 0.85) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.9rem 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.custom-navbar.scrolled {
  padding: 0.4rem 0;
  background: rgba(220, 53, 69, 0.95) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white-color) !important;
}

/* Brand combined inline styling */
.brand-inline {
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.brand-english {
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.brand-hindi {
  font-family: var(--font-hindi);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary-color);
}
@media (max-width: 576px) {
  .navbar-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 1rem;
    padding: 0;
    max-width: calc(
      100% - 60px
    ); /* leave space for toggle without horizontal scroll */
    overflow: hidden;
  }
  .navbar-brand i {
    margin-right: 4px;
    font-size: 1.4rem;
    flex-shrink: 0;
  }
  .brand-text {
    white-space: normal !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    text-align: left;
    margin-left: 2px;
    max-width: 100%;
    overflow: hidden;
  }
  .brand-english {
    font-size: 1rem;
    letter-spacing: 0.1px;
    display: block;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .brand-hindi {
    font-size: 0.95rem;
    display: block;
    margin-top: 2px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  /* Mobile navbar collapse menu styling */
  .navbar-collapse {
    background: var(--primary-color) !important;
    margin-top: 10px;
    border-radius: var(--border-radius);
    padding: 10px 0;
    box-shadow: var(--shadow-medium);
  }

  .navbar-nav {
    background: transparent;
  }

  .nav-link {
    padding: 8px 16px !important;
    margin: 2px 8px;
    border-radius: 4px;
  }
}

.brand-text {
  font-family: var(--font-hindi);
}

.top-strip {
  background: var(--primary-color);
  color: var(--white-color);
  padding: 4px 0;
  position: relative; /* no longer fixed */
  width: 100%;
  line-height: 1.2;
  box-sizing: border-box;
}
.top-strip .top-contact a {
  color: var(--white-color);
  text-decoration: none;
  opacity: 0.95;
}
.top-strip .top-contact a:hover {
  opacity: 1;
  text-decoration: underline;
}
.top-strip .top-cta .btn {
  font-weight: 700;
  box-shadow: var(--shadow-light);
}

/* Move navbar down to sit under the top strip */
.custom-navbar {
  position: relative; /* normal flow */
  top: auto;
  left: auto;
  right: auto;
  height: auto;
  width: 100%;
  box-sizing: border-box;
}
.custom-navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
}
@media (max-width: 576px) {
  .top-strip {
    padding: 6px 8px;
    width: 100%;
  }
  .custom-navbar {
    width: 100%;
  }
  .top-strip .top-contact a {
    font-size: 0.8rem;
  }
}

/* Ensure page content is not hidden under fixed top-strip + navbar */
body {
  padding-top: 0; /* no extra offset needed now */
}

@media (max-width: 768px) and (min-width: 577px) {
  .top-strip .top-contact a {
    font-size: 0.9rem;
  }
  .top-strip .top-cta .btn {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 0;
  }
  .custom-navbar {
    top: auto;
  }
}

/* Extra small screens */
@media (max-width: 375px) {
  .top-strip .top-contact .mobile-numbers {
    gap: 4px;
  }
  .top-strip .top-contact .mobile-numbers a {
    font-size: 0.7rem;
  }
  .top-strip .top-contact a.email {
    font-size: 0.65rem;
  }

  /* Even smaller brand text for very small screens */
  .navbar-brand i {
    font-size: 1.2rem;
  }
  .brand-english {
    font-size: 0.9rem !important;
  }
  .brand-hindi {
    font-size: 0.85rem !important;
  }
}

/* removed large body padding override for medium screens to avoid extra gap */

@media (max-width: 576px) {
  /* Stack top-strip items vertically on small screens - 3 lines */
  .top-strip .container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    padding: 4px 8px;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
  }
  /* Line 1: Mobile numbers only */
  .top-strip .top-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }
  .top-strip .top-contact .mobile-numbers {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2px;
    flex-wrap: wrap;
    max-width: 100%;
  }
  .top-strip .top-contact .mobile-numbers a {
    font-size: 0.75rem;
    white-space: nowrap;
    padding: 2px 4px;
  }
  /* Line 2: Email separately */
  .top-strip .top-contact a.email {
    display: block;
    font-size: 0.7rem;
    margin: 2px 0;
    word-break: break-all;
    max-width: 100%;
  }
  /* Line 3: Book Now button */
  .top-strip .top-cta {
    margin-top: 2px;
  }
  .top-strip .top-cta .btn {
    font-size: 0.75rem;
    padding: 3px 10px;
  }
  /* Make navbar smaller to fit mobile screens */
  .custom-navbar {
    padding: 0.45rem 0;
    /* keep navbar sticky; don't forcibly reposition here */
  }
  /* Increase mobile hero carousel height for the taller header */
  .hero-carousel .carousel-item {
    height: 65vh;
    min-height: 380px;
  }
  .hero-carousel {
    margin-top: 10px; /* add small margin to prevent top cut-off */
  }
}

.nav-link {
  font-family: var(--font-hindi);
  font-weight: 500;
  color: var(--white-color) !important;
  transition: var(--transition);
  padding: 0.5rem 1rem !important;
  border-radius: var(--border-radius);
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
      135deg,
      rgba(220, 53, 69, 0.9),
      rgba(231, 76, 60, 0.8)
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="pattern" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23pattern)"/></svg>');
  color: var(--white-color);
  position: relative;
  overflow: hidden;
}

/* Hero Carousel */
.hero-carousel {
  margin-top: 0; /* Remove margin since navbar is now fixed positioned */
  position: relative;
}
.hero-carousel .carousel-item {
  /* Increased height for a taller hero slider */
  height: 80vh;
  min-height: 600px;
  position: relative;
}
.hero-carousel .carousel-img-wrapper {
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.hero-carousel .carousel-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* show images at natural brightness (overlay removed) */
  filter: none;
  transition: transform 6s ease;
}
.hero-carousel .carousel-item.active .carousel-img-wrapper img {
  transform: scale(1.08);
}
.hero-carousel .carousel-overlay {
  /* overlay removed visually; kept in DOM for backward-compatibility */
  display: none;
}
.hero-carousel .carousel-caption {
  bottom: 3.5rem;
}
.hero-carousel .carousel-caption h5 {
  font-size: 2.4rem;
  font-weight: 700;
  text-shadow: none;
}
.hero-carousel .carousel-caption p {
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}
@media (max-width: 768px) {
  .hero-carousel .carousel-item {
    height: 45vh;
  }
  .hero-carousel .carousel-caption h5 {
    font-size: 1.4rem;
  }
  .hero-carousel .carousel-caption p {
    font-size: 0.85rem;
  }
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hindi-title {
  display: block;
  font-size: 4rem;
  color: var(--secondary-color);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.subtitle {
  display: block;
  font-size: 1.8rem;
  color: var(--white-color);
  margin-top: 0.5rem;
}

.hero-description {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.feature-item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), #f39c12);
  border: none;
  color: var(--dark-color);
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
  background: linear-gradient(135deg, #f39c12, var(--secondary-color));
}

.btn-outline-light {
  border: 2px solid var(--white-color);
  color: var(--white-color);
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-outline-light:hover {
  background: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

/* Contact Card in Hero */
.contact-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-heavy);
  margin-top: 2rem;
}

.contact-card.floating {
  animation: float 6s ease-in-out infinite;
}

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

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

.contact-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  width: 30px;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: block;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-indicator a {
  color: var(--white-color);
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* About Section */
.about-section {
  padding: 5rem 0;
}

.about-content h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-image {
  position: relative;
}

.image-placeholder {
  background: linear-gradient(135deg, var(--light-color), #e9ecef);
  border-radius: var(--border-radius);
  padding: 4rem 2rem;
  text-align: center;
  color: #6c757d;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-light);
}

/* Amenities Section */
.amenities-section {
  background-color: var(--light-color);
  padding: 5rem 0;
}

.amenity-category-title {
  font-size: 1.8rem;
  color: var(--dark-color);
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.amenity-card {
  background: var(--white-color);
  color: var(--dark-color); /* ensure readable text */
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06); /* slightly stronger shadow for separation */
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.06); /* subtle but visible border */
}

/* Dark variant for amenities & security for higher contrast */
.dark-amenities .amenity-card {
  background: linear-gradient(180deg, #222327, #1b1d1f);
  color: var(--white-color);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.dark-amenities .amenity-card h5 {
  color: var(--secondary-color); /* yellow headings */
}

.dark-amenities .amenity-card p {
  color: rgba(255, 255, 255, 0.9);
}

.amenity-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--primary-color);
}

.amenity-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), #e74c3c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.amenity-icon i {
  font-size: 1.5rem;
  color: var(--white-color);
}

.amenity-card h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.amenity-card p {
  color: #495057; /* darker paragraph color for better contrast */
  font-size: 0.95rem;
  margin: 0;
}

/* Rooms Section */
.rooms-section {
  padding: 5rem 0;
}

.room-card {
  background: var(--white-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.room-image {
  position: relative;
  height: 250px;
}

.room-placeholder {
  background: linear-gradient(135deg, var(--light-color), #e9ecef);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
}

.room-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-color);
  color: var(--white-color);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.room-badge.non-ac {
  background: var(--secondary-color);
  color: var(--dark-color);
}

.room-content {
  padding: 2rem;
}

.room-content h4 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Dark variant for room cards: make headings yellow and body text white for contrast */
.dark-rooms .room-card {
  background: linear-gradient(180deg, #242526, #1b1c1d);
  color: var(--white-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.dark-rooms .room-content h4 {
  color: var(--secondary-color);
}

.dark-rooms .room-content,
.dark-rooms .room-subtitle,
.dark-rooms .room-features .feature,
.dark-rooms .room-price {
  color: rgba(255, 255, 255, 0.95);
}

.room-subtitle {
  color: #6c757d;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.room-features {
  margin-bottom: 2rem;
}

.room-features .feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: #555;
}

.room-features .feature i {
  color: var(--accent-color);
  width: 20px;
}

.room-price {
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-label {
  color: #6c757d;
  font-size: 0.9rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Ensure the footer row stacks and centers its children */
.footer .row {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.25rem;
}

.footer .container {
  text-align: center;
}
/* Gallery Section */
.gallery-section {
  background-color: var(--light-color);
  padding: 5rem 0;
}

.gallery-placeholder {
  background: var(--white-color);
  padding: 4rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-light);
  color: #6c757d;
}

.gallery-placeholder i {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Gallery thumbnails: enforce uniform size and cover cropping */
.gallery-section .card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.gallery-thumb {
  width: 100%;
  height: 200px; /* default thumbnail height */
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-thumb:hover {
  transform: scale(1.03);
}

@media (min-width: 1200px) {
  .gallery-thumb {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .gallery-thumb {
    height: 140px;
  }
}

/* Rules Section */
.rules-section {
  padding: 5rem 0;
}

.rules-card {
  background: var(--white-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.rules-header {
  background: linear-gradient(135deg, var(--primary-color), #e74c3c);
  color: var(--white-color);
  padding: 1.5rem 2rem;
  text-align: center;
}

.rules-header h4 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--secondary-color); /* make heading yellow for contrast */
}

.rules-content {
  padding: 2rem;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.rule-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.rule-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border-radius: 50%;
}

.rule-text strong {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.rule-text small {
  color: #6c757d;
  font-style: italic;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--dark-color), #343a40);
  padding: 5rem 0;
}

.contact-info h4 {
  color: var(--secondary-color);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.contact-item-large {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
}

.contact-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), #e74c3c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  font-size: 1.3rem;
  color: var(--white-color);
}

.contact-details h5 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.contact-details p {
  margin: 0;
  line-height: 1.6;
}

.contact-link {
  color: var(--white-color);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.contact-link:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

/* Contact Form */
.contact-form-container {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

.contact-form-container h4 {
  color: var(--secondary-color);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.contact-form .form-control,
.contact-form .form-select {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  padding: 0.8rem 1rem;
  transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
  background: var(--white-color);
}

/* Footer */
.footer {
  border-top: 1px solid #343a40;
}

/* Floating Elements */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  color: var(--white-color);
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: var(--shadow-heavy);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  background: #128c7e;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow-medium);
}

.back-to-top:hover {
  background: #c82333;
  transform: translateY(-3px);
}

.back-to-top.show {
  display: flex;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }

  .hindi-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hindi-title {
    font-size: 3rem;
  }

  .subtitle {
    font-size: 1.5rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }

  .about-stats {
    justify-content: center;
    gap: 2rem;
  }

  .amenity-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2rem;
    text-align: center;
  }

  .hindi-title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1.1rem;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .contact-card {
    margin-top: 3rem;
  }

  .about-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .contact-item-large {
    flex-direction: column;
    text-align: center;
  }

  .contact-details h5 {
    margin-top: 1rem;
  }

  .whatsapp-float,
  .back-to-top {
    bottom: 1rem;
  }

  .whatsapp-float {
    right: 1rem;
  }

  .back-to-top {
    left: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hindi-title {
    font-size: 2.2rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .amenity-card,
  .room-content,
  .rules-content {
    padding: 1.5rem;
  }

  .contact-form-container {
    padding: 1.5rem;
  }

  .hero-buttons .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Center footer columns on small screens so icons/links align in the middle */
  .footer .text-end {
    text-align: center !important;
  }

  .footer .col-lg-8,
  .footer .col-lg-4 {
    text-align: center;
    width: 100%;
    display: block;
  }

  .footer .col-lg-8 {
    margin-bottom: 0.5rem;
  }
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Print Styles */
@media print {
  .navbar,
  .whatsapp-float,
  .back-to-top,
  .scroll-indicator {
    display: none !important;
  }

  .hero-section {
    background: none !important;
    color: var(--dark-color) !important;
  }

  .contact-section {
    background: none !important;
    color: var(--dark-color) !important;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000;
    --secondary-color: #000;
    --dark-color: #000;
    --light-color: #fff;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .amenities-section {
    background-color: #2c2c2c;
  }

  .gallery-section {
    background-color: #2c2c2c;
  }

  .amenity-card,
  .room-card,
  .rules-card {
    background-color: #333;
    color: #fff;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c82333;
}

/* Selection Color */
::selection {
  background: var(--secondary-color);
  color: var(--dark-color);
}

::-moz-selection {
  background: var(--secondary-color);
  color: var(--dark-color);
}

.min-vh-100 {
  min-height: 50vh !important;
}
