.page-hero-book {
  position: relative;
  background-image: url("../img/hostel-3.bf44c131a8e8.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 2rem 0rem;
  color: #fff;
  overflow: hidden;
  height: 80vh;
}

.page-hero-book .container {
  position: relative;
  z-index: 2;
  height: 100%;
}

.page-hero-book::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-hero-book .page-hero-content {
  position: absolute;
  bottom: 3rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  text-shadow: 0 2px 2px rgb(0, 0, 0);
  margin: 0;
}

.page-hero-text h1 {
  line-height: 1.3;
}

.page-hero-text p {
  margin: 0;
  line-height: 1.6;
  font-size: 16px;
  width: 100%;
  max-width: 320px;
}

.page-hero-cta a {
  padding: 0.75rem 1.5rem;
  background-color: #c48200;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  text-shadow: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.335);
}

.sections {
  padding: 2rem 0 1rem;
}

.contact-details-section {
  padding: 2rem 0rem;
}

.contact-details-content {
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-details-section .section-line {
  margin: 0;
}

.contact-card {
  display: flex;
  gap: 1rem;
  color: #0b1f3a;
  background-color: #ffffff;
  box-shadow: 0 -6px 20px #1565c029;
  border-radius: 0.5rem;
  padding: 1rem;
  height: 100%;
  transition: all 0.3s ease;
}

.contact-card-icon {
  width: 40px;
  height: 40px;
}

.contact-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-right: 1rem;
}

.contact-card-icon img {
  height: 100%;
}

.contact-card-text span {
  font-weight: 500;
  font-size: 18px;
}
.contact-card-text p {
  margin: 0;
  font-size: 14px;
  font-style: italic;
}

.contact-card-text a {
  text-decoration: none;
  color: #0b1f3a;
  font-size: 12px;
  font-weight: 500;
}

.contact-card-text ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.5rem;
}
.contact-card-text ul li {
  list-style: circle;
  font-size: 14px;
}

.contact-form-container {
  max-width: 450px;
  border-radius: 0.5rem;
  background-color: #ffffff;
  padding: 2rem 1rem;
  box-shadow: 0 0 8px #00000029;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form-title h5 {
  margin: 0;
}

.form-title img {
  width: 35px;
  height: 35px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

/* Input & Textarea Elements */
.form-control {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  color: #000000;
  background-color: #ffffff;
  border: 1px solid #e5e7eb; /* Soft grey border matching the reference screenshot */
  border-radius: 8px;
  box-sizing: border-box;
  outline: none;
  transition: all 0.2s ease-in-out;
}

/* Soft Placeholder Text Styling */
.form-control::placeholder {
  color: #758090; /* Muted slate/grey color */
  opacity: 1;
}

/* Interactive Focus States */
.form-control:focus {
  border-color: #001e3d; /* Highlight border with signature navy when active */
  box-shadow: 0 0 0 3px rgba(0, 30, 61, 0.05);
}

/* Fixed Textarea Height & Polish */
.textarea-control {
  min-height: 120px;
  resize: vertical; /* Allows users to drag scale vertically only */
}

/* Golden/Amber Submit Button */
.btn-submit {
  margin-top: 1rem;
  width: 100%;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  background-color: #c48200;
  border: 1px solid #c48200;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.5s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.btn-submit:hover {
  background-color: #0a8f3d;
  border: 1px solid #0a8f3d;
}

.btn-submit:active {
  transform: translateY(1px);
}

/* Card Container */
.availability-card {
  max-width: 360px;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

/* Header Text and Accent Underline Line */
.availability-heading {
  margin-bottom: 24px;
}

.availability-title {
  color: #001e3d; /* Signature deep navy blue */
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.heading-underline {
  width: 36px;
  height: 3px;
  background-color: #c48200; /* Signature Amber Accent */
  border-radius: 2px;
}

/* Structural Field Grouping */
.form-field-group {
  margin-bottom: 20px;
}

.field-label {
  display: block;
  color: #001e3d;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Custom Input Positioning Shell */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Universal Inputs */
.form-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  color: #4a5568;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  transition: all 0.2s ease-in-out;
  appearance: none; /* Strips browser styles */
  -webkit-appearance: none;
}

/* Custom placeholder handling for empty native fields */
.form-input:invalid {
  color: #a0aec0;
}

.form-input:focus {
  border-color: #c48200;
  box-shadow: 0 0 0 3px rgba(196, 130, 0, 0.08);
}

/* Specific Select Tweaks */
.select-input {
  cursor: pointer;
  padding-right: 40px;
}

/* Hiding default operating system date elements safely */
input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  color: transparent;
  background: transparent;
  cursor: pointer;
}

/* Icon Overlays */
.custom-icon {
  position: absolute;
  right: 16px;
  pointer-events: none; /* Clicks register right through to the input layer underneath */
  width: 18px;
  height: 18px;
  display: inline-block;
}

/* Inline data SVG strings to avoid missing static references */
.calendar-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234a5568' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z' /%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.chevron-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23001e3d' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7' /%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  width: 14px;
  height: 14px;
  right: 18px;
}

/* Gradient Amber Submit Button */
.btn-availability {
  margin-top: 1rem;
  width: 100%;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  background-color: #c48200;
  border: 1px solid #c48200;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.5s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.btn-availability:hover {
  background-image: linear-gradient(to bottom, #e39d00, #c48200);
  box-shadow: 0 4px 14px rgba(196, 130, 0, 0.25);
}

.btn-availability:active {
  transform: translateY(0.5px);
}

.book-now {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.book-now .section-line {
  margin: 0;
}

.our-hostel-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.book-now .page-services-content .page-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 0;
  padding-bottom: 1rem;
  border-radius: 1rem;
}

.book-now .page-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #0b1f3a;
  margin-left: 1rem;
}
.book-now .page-card-text span {
  font-weight: 500;
}
.book-now .page-card-text p {
  font-weight: 400;
  margin: 0;
  font-size: 15px;
}

.book-now .page-card-img {
  width: 100%;
  height: 330px;
}

.book-now .page-services-content {
  margin: 0;
}

.book-now .page-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.book-now .hostel-link{
  margin-top: 2rem;
  text-align: center;
}

.book-now .hostel-link a{
  text-decoration: none;
  color: #0b1f3a;
  font-weight: 500;
  font-size: 18px;
}

