/* 
 * css/Plantar_fasciitis_stretch.css
 * Styled and themed for Plantar Fasciitis Stretches Page
 * Professional Light Medical Theme - Dr. Darshan Bafna Orthopaedics
 */

/* Import Clean Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Audiowide&display=swap");

/* --- PRELOADER STYLING (BRIGHT CLINICAL SCANNER) --- */
.Plantar_fasciitis_stretch-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #2d3748;
  overflow: hidden;
  font-family: "Outfit", sans-serif;
}

.Plantar_fasciitis_stretch-preloader-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(13, 202, 240, 0.08) 0%,
    rgba(0, 123, 191, 0) 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.Plantar_fasciitis_stretch-loader-container {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Biomechanical Joint Scan Target (Bright) */
.Plantar_fasciitis_stretch-scanner-hologram {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 25px auto;
  border-radius: 50%;
  border: 2px dashed rgba(0, 76, 128, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: Plantar_fasciitis_stretch-pulseOutline 3s infinite ease-in-out;
}

.Plantar_fasciitis_stretch-scanner-hologram::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(0, 123, 191, 0.3);
  animation: Plantar_fasciitis_stretch-rotateCW 8s infinite linear;
}

.Plantar_fasciitis_stretch-scanner-hologram::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px double #007bbf;
  border-left-color: transparent;
  border-right-color: transparent;
  animation: Plantar_fasciitis_stretch-rotateCCW 4s infinite linear;
}

.Plantar_fasciitis_stretch-fascia-icon {
  font-size: 2.5rem;
  color: #007bbf;
  filter: drop-shadow(0 0 8px rgba(0, 123, 191, 0.4));
  animation: Plantar_fasciitis_stretch-glowPulse 2s infinite ease-in-out;
}

.Plantar_fasciitis_stretch-scanner-line {
  position: absolute;
  width: 130px;
  height: 4px;
  background: linear-gradient(
    90deg,
    rgba(13, 202, 240, 0) 0%,
    #007bbf 50%,
    rgba(13, 202, 240, 0) 100%
  );
  top: 50%;
  left: 8px;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 123, 191, 0.5);
  animation: Plantar_fasciitis_stretch-scanMotion 2.2s infinite ease-in-out;
}

.Plantar_fasciitis_stretch-loader-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 5px;
  text-transform: uppercase;
  color: #001f62;
}

.Plantar_fasciitis_stretch-loader-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #718096;
  margin-bottom: 25px;
}

/* Loading status metrics */
.Plantar_fasciitis_stretch-loader-progress-container {
  width: 250px;
  background: #edf2f7;
  border: 1px solid rgba(0, 76, 128, 0.1);
  height: 6px;
  border-radius: 3px;
  margin: 0 auto 12px auto;
  overflow: hidden;
  position: relative;
}

.Plantar_fasciitis_stretch-loader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #004c80 0%, #007bbf 100%);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.Plantar_fasciitis_stretch-loader-percent {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #007bbf;
  margin-bottom: 15px;
}

.Plantar_fasciitis_stretch-loader-log {
  font-family: monospace;
  font-size: 0.8rem;
  color: #4a5568;
  height: 20px;
  letter-spacing: 1px;
}

/* Fade out preloader animation */
.Plantar_fasciitis_stretch-fade-out {
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

/* --- MAIN PAGE CONTENT WRAPPER --- */
.Plantar_fasciitis_stretch-wrapper {
  background-color: #f7fafc;
  color: #2d3748;
  font-family: "Outfit", sans-serif;
  min-height: 100vh;
  padding: 120px 0 60px 0;
  position: relative;
  overflow-x: hidden;
}

/* Medical graphic accent circles */
.Plantar_fasciitis_stretch-wrapper::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  top: 10%;
  right: -50px;
  background: radial-gradient(
    circle,
    rgba(13, 202, 240, 0.08) 0%,
    rgba(13, 202, 240, 0) 70%
  );
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.Plantar_fasciitis_stretch-wrapper::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  bottom: 5%;
  left: -80px;
  background: radial-gradient(
    circle,
    rgba(0, 76, 128, 0.05) 0%,
    rgba(0, 76, 128, 0) 70%
  );
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* Headers */
.Plantar_fasciitis_stretch-title {
  font-family: "Outfit", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #001f62;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.Plantar_fasciitis_stretch-subtitle {
  color: #007bbf;
  font-size: 0.95rem;
  letter-spacing: 3px;
  font-weight: 700;
  text-transform: uppercase;
}

.Plantar_fasciitis_stretch-intro-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 2;
}

.Plantar_fasciitis_stretch-divider {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #007bbf, #004c80);
  border-radius: 2px;
  margin: 15px auto 0 auto;
}

/* --- EXERCISE CARDS GRID --- */
.Plantar_fasciitis_stretch-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Card hover animation */
.Plantar_fasciitis_stretch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 123, 191, 0.12);
  border-color: #007bbf;
}

.Plantar_fasciitis_stretch-card-image-container {
  width: 100%;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 15px;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #edf2f7;
}

.Plantar_fasciitis_stretch-card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.Plantar_fasciitis_stretch-card:hover
  .Plantar_fasciitis_stretch-card-image-container
  img {
  transform: scale(1.04);
}

.Plantar_fasciitis_stretch-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #001f62;
  margin-bottom: 6px;
}

.Plantar_fasciitis_stretch-card-subtitle {
  font-size: 0.85rem;
  color: #718096;
}

.Plantar_fasciitis_stretch-card-badge {
  font-size: 0.78rem;
  font-weight: 600;
  background-color: #f7fafc;
  border: 1px solid #edf2f7;
  color: #4a5568;
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 15px;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.Plantar_fasciitis_stretch-card:hover .Plantar_fasciitis_stretch-card-badge {
  background-color: #007bbf;
  color: #ffffff;
  border-color: #007bbf;
}

/* --- MODAL TRAINER PANEL STYLING --- */
.Plantar_fasciitis_stretch-modal-content {
  border-radius: 24px;
  border: none;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.Plantar_fasciitis_stretch-modal-header {
  background-color: #f7fafc;
  border-bottom: 1px solid #edf2f7;
  padding: 20px 25px;
}

.Plantar_fasciitis_stretch-modal-title-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #001f62;
}

.Plantar_fasciitis_stretch-modal-badge {
  background: rgba(0, 123, 191, 0.08);
  color: #007bbf;
  border: 1px solid rgba(0, 123, 191, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

.Plantar_fasciitis_stretch-modal-body {
  padding: 30px;
  font-family: "Outfit", sans-serif;
}

/* Illustration display inside modal */
.Plantar_fasciitis_stretch-modal-img-frame {
  border: 1px solid #edf2f7;
  border-radius: 16px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.Plantar_fasciitis_stretch-modal-img-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.Plantar_fasciitis_stretch-step-text {
  font-size: 1.05rem;
  color: #2d3748;
}

/* --- ANIMATION SEQUENCES --- */
@keyframes Plantar_fasciitis_stretch-pulseOutline {
  0% {
    transform: scale(1);
    border-color: rgba(0, 76, 128, 0.25);
  }
  50% {
    transform: scale(1.03);
    border-color: rgba(0, 76, 128, 0.5);
  }
  100% {
    transform: scale(1);
    border-color: rgba(0, 76, 128, 0.25);
  }
}

@keyframes Plantar_fasciitis_stretch-rotateCW {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes Plantar_fasciitis_stretch-rotateCCW {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

@keyframes Plantar_fasciitis_stretch-glowPulse {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}

@keyframes Plantar_fasciitis_stretch-scanMotion {
  0% {
    top: 10px;
    opacity: 0.2;
  }
  50% {
    top: 135px;
    opacity: 1;
  }
  100% {
    top: 10px;
    opacity: 0.2;
  }
}

/* --- RESPONSIVE STYLE MEDIA QUERIES --- */
@media (max-width: 991.98px) {
  .Plantar_fasciitis_stretch-title {
    font-size: 2rem;
  }
}

/* 
 * Mobile safety: padding-top at 110px prevents 
 * content from overlapping with the fixed-top header menu.
 */
@media (max-width: 575.98px) {
  .Plantar_fasciitis_stretch-title {
    font-size: 1.6rem;
  }

  .Plantar_fasciitis_stretch-wrapper {
    padding: 110px 0 40px 0;
  }

  .Plantar_fasciitis_stretch-card {
    padding: 15px;
  }

  .Plantar_fasciitis_stretch-modal-body {
    padding: 20px;
  }

  .Plantar_fasciitis_stretch-card-image-container {
    height: 150px;
  }
}

/* Custom Glassmorphism Modal Backdrop */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: opacity 0.25s ease;
}
