/* ==========================================
   Appointment Page Modern Styling (2026)
   ========================================== */

/* Hero Slider Section (85vh Grand Height) */
.appointment-hero-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
  background: #0f172a;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.appointment-hero-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height, 90px) + 2rem) 2rem 4rem 2rem;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.78) 100%);
  z-index: 1;
}

.appointment-hero-section .hero-content-wrap {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.appointment-hero-section .section-tag {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.appointment-hero-section .hero-title {
  font-family: var(--font-display, 'DM Serif Display', serif);
  font-size: 3.8rem;
  color: #ffffff;
  line-height: 1.15;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.25rem;
}

.appointment-hero-section .section-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Slider Dots */
.appointment-hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 32px;
  border-radius: 6px;
  background: #ffffff;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .appointment-hero-section .hero-title {
    font-size: 2.75rem;
  }
}



/* ==========================================
   APPOINTMENT FORM MODAL
   ========================================== */

.contact-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 1.5rem;

  background: rgba(15, 23, 42, 0.65);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.contact-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}


/* ==========================================
   MODAL CARD
   ========================================== */

.contact-modal {
  width: 100%;
  max-width: 480px;

  background: #ffffff;

  border-radius: 24px;

  padding: 2.5rem 2rem;

  text-align: center;

  box-shadow:
    0 25px 70px rgba(15, 23, 42, 0.25);

  transform: translateY(25px) scale(0.96);

  transition:
    transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.contact-modal-overlay.show .contact-modal {
  transform: translateY(0) scale(1);
}


/* ==========================================
   MODAL ICON
   ========================================== */

.contact-modal-icon {
  width: 70px;
  height: 70px;

  margin: 0 auto 1.25rem;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 2rem;
  font-weight: 700;
}

.contact-modal-icon.success {
  background: #dceff4;
  color: #176b87;

  box-shadow:
    0 8px 25px rgba(23, 107, 135, 0.15);
}

.contact-modal-icon.error {
  background: #fdeaea;
  color: #d9534f;
}


/* ==========================================
   MODAL TITLE
   ========================================== */

.contact-modal h3 {
  margin: 0 0 0.75rem;

  font-family:
    var(--font-display,
    'DM Serif Display',
    serif);

  font-size: 1.8rem;

  line-height: 1.3;

  color: #17323a;
}


/* ==========================================
   MODAL DESCRIPTION
   ========================================== */

.contact-modal p {
  margin: 0 auto 1.75rem;

  max-width: 390px;

  color: #64777d;

  font-size: 0.95rem;

  line-height: 1.7;
}


/* ==========================================
   MODAL BUTTON
   ========================================== */

.contact-modal-close {
  border: none;

  padding: 0.85rem 2.2rem;

  border-radius: 50px;

  background:
    linear-gradient(
      135deg,
      #176b87,
      #0f4c5c
    );

  color: #ffffff;

  font-family:
    var(--font-body,
    'Plus Jakarta Sans',
    sans-serif);

  font-size: 0.9rem;

  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 8px 22px rgba(15, 76, 92, 0.22);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-modal-close:hover {
  transform: translateY(-2px);

  box-shadow:
    0 12px 28px rgba(15, 76, 92, 0.3);
}

.contact-modal-close:active {
  transform: translateY(0);
}


/* ==========================================
   MOBILE MODAL
   ========================================== */

@media (max-width: 600px) {

  .contact-modal-overlay {
    padding: 1rem;
  }

  .contact-modal {
    max-width: 100%;

    padding: 2rem 1.4rem;

    border-radius: 20px;
  }

  .contact-modal-icon {
    width: 62px;
    height: 62px;

    font-size: 1.7rem;
  }

  .contact-modal h3 {
    font-size: 1.5rem;
  }

  .contact-modal p {
    font-size: 0.9rem;
  }

  .contact-modal-close {
    width: 100%;
  }
}