/* JoyRehab landing styles */
:root {
  --jr-primary: #4f46e5;
  --jr-primary-soft: #e0e7ff;
  --jr-accent: #f97316;
  --jr-bg: #fdf4ff;
  --jr-text-main: #0f172a;
  --jr-text-muted: #6b7280;
  --jr-radius-xl: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--jr-text-main);
  background-color: #ffffff;
}

/* Header */
.logo-circle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff 0, #dbeafe 35%, #3b82f6 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1d4ed8;
}

.navbar-brand span {
  letter-spacing: 0.02em;
}

.nav-link {
  font-size: 0.95rem;
  color: #4b5563 !important;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--jr-primary) !important;
}

/* Hero */
.hero-section {
  background: radial-gradient(circle at top left, #e0f2fe 0, transparent 55%),
              radial-gradient(circle at top right, #fdf2ff 0, transparent 55%),
              radial-gradient(circle at bottom right, #fef3c7 0, transparent 55%);
}

.hero-card {
  background: linear-gradient(135deg, #ffffff, #eff6ff);
}

.hero-bg-shape {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 0 0, rgba(59,130,246,0.18) 0, transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(16,185,129,0.16) 0, transparent 55%);
  opacity: 0.85;
  z-index: -1;
}

.hero-list li {
  margin-bottom: 0.4rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--jr-accent), #4ade80);
}

.hero-meta {
  font-size: 0.9rem;
}

/* Progress */
.progress-thin {
  height: 6px;
  border-radius: 999px;
  background-color: #e5e7eb;
}

.progress-thin .progress-bar {
  border-radius: 999px;
}

/* Status dot */
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #bbf7d0 0, #16a34a 60%);
}

/* Sections */
.section-padding {
  padding: 4.5rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--jr-text-muted);
  max-width: 34rem;
}

/* Info card */
.info-card {
  background: #ffffff;
}

/* Services */
.service-card {
  background-color: #ffffff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, translate 0.18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.service-icon .icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--jr-primary-soft);
  color: var(--jr-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Advantages */
.advantage-pill {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  font-size: 0.85rem;
  color: #374151;
}

.advantage-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.advantage-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -40% auto;
  background: radial-gradient(circle at 100% 100%, rgba(59,130,246,0.18) 0, transparent 65%);
}

.advantage-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background-color: var(--jr-primary-soft);
  color: var(--jr-primary);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Steps */
.step-card {
  background: #ffffff;
  border: 1px dashed #d1d5db;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.step-card:hover {
  border-style: solid;
  border-color: var(--jr-primary);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--jr-primary-soft);
  color: var(--jr-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Reviews */
.reviews-carousel .carousel-inner {
  padding-bottom: 1rem;
}

.review-card {
  max-width: 540px;
  background-color: #ffffff;
  border-radius: var(--jr-radius-xl);
  padding: 2.25rem 2.5rem;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

.review-text {
  font-size: 0.98rem;
  color: #111827;
  margin-bottom: 1.75rem;
  position: relative;
}

.review-text::before {
  content: "“";
  position: absolute;
  left: -0.8rem;
  top: -1.2rem;
  font-size: 2.5rem;
  color: var(--jr-primary-soft);
  z-index: -1;
}

.review-meta {
  font-size: 0.85rem;
  color: var(--jr-text-muted);
}

.review-author {
  font-weight: 600;
}

/* Contacts */
.bg-gradient-light {
  background: radial-gradient(circle at top left, #eff6ff 0, transparent 55%),
              radial-gradient(circle at bottom right, #ecfdf3 0, transparent 55%);
}

.contact-block {
  font-size: 0.95rem;
}

.contact-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.15rem;
}

.contact-value a {
  color: var(--jr-primary);
  text-decoration: none;
}

.contact-value a:hover {
  text-decoration: underline;
}

.contact-form-card {
  background-color: #ffffff;
}

/* Map */
.map-wrapper iframe {
  display: block;
}

/* Footer */
.footer {
  background-color: #ffffff;
}

/* Modal */
.modal-content {
  border-radius: var(--jr-radius-xl);
}

.modal-backdrop.show {
  opacity: 0.35;
}

/* Utilities */
.py-lg-6 {
  padding-top: 5.5rem !important;
  padding-bottom: 5.5rem !important;
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 3rem;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 3.25rem 0;
  }

  .review-card {
    padding: 1.75rem 1.5rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
}


/* Gallery */
.gallery-grid .gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background-color: #e5e7eb;
}

.gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-grid .gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
  pointer-events: none;
}

.gallery-grid .gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.04);
}


.hero-logo {
  max-height: 72px;
  width: auto;
  filter: drop-shadow(0 6px 16px rgba(15,23,42,0.18));
}

/* Fun background for gallery */
.bg-gallery {
  background: radial-gradient(circle at top left, #e0f2fe 0, transparent 55%),
              radial-gradient(circle at bottom right, #fef9c3 0, transparent 55%);
}

/* Gallery scroll */
.gallery-scroll {
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.gallery-scroll::-webkit-scrollbar {
  height: 6px;
}

.gallery-scroll::-webkit-scrollbar-track {
  background: rgba(148,163,184,0.2);
  border-radius: 999px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: rgba(99,102,241,0.8);
  border-radius: 999px;
}

.gallery-grid .gallery-item,
.gallery-scroll .gallery-item {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  background-color: #e5e7eb;
  min-width: 220px;
  max-width: 280px;
  scroll-snap-align: start;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
  pointer-events: none;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
  filter: brightness(1.05);
}
