/* === PAGE LAYOUT (Blue only under header) === */
.appointments-page {
  background-color: #083b4c; /* Blue background under header */
  color: #ffffff;
  min-height: 100vh;
  width: 100%;
  margin: 0 auto;
  padding: 80px 0; /* Space from top */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content */
  justify-content: flex-start;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Extend blue background only for scrollable area (not header) */

main.appointments-page {
  flex: 1;
  background-color: #083b4c; /* Ensure blue stays behind scroll */
}

/* === INTRO SECTION === */
.intro {
  text-align: center;
  margin-bottom: 40px;
}

.intro h1 {
  font-size: 2.2rem;
  color: #ffffff;
}

.intro p {
  color: #d4d4d4;
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Create responsive even columns */
  gap: 40px; /* Adjust spacing between cards */
  justify-items: center; /* Center each card */
  align-items: start;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.service-card {
  background-color: #0f495c;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.service-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 25px;
  text-align: center;
}

.card-content h2 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.card-content p {
  color: #ffffff;
}

.card-content p.duration {
  font-weight: bold;
  color: #a6e1f5;
  margin-bottom: 10px;
}

/* === BOOKING FORM === */
.booking-form {
  background-color: #ffffff;
  color: #083b4c;
  max-width: 700px;
  margin: 60px auto;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
}

.booking-form h2 {
  margin-bottom: 15px;
  color: #083b4c;
}

.booking-form p {
  color: #555;
  margin-bottom: 30px;
}

.form-group {
  text-align: left;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #083b4c;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.submit-btn {
  background-color: #0f495c;
  color: #ffffff;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #a6e1f5;
  color: #083b4c;
}

/* === FOOTER FIX === */
html,
body {
  height: 100%;
}

body {
  background-color: #ffffff; /* Keep header background white */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

footer {
  margin-top: auto;
  position: relative;
}

.appointments-full-bg {
  width: 100vw;
  background-color: #083b4c;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.appointments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  box-sizing: border-box;
}