
/* ================================
   Practice List Container
================================ */
.practice-list {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

/* ================================
   Base Card Styling
================================ */
.practice-card {
  width: 90%;
  margin: 22px auto;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;

  border-radius: var(--radius);
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  transition:
    transform 0.18s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.35s ease;

  position: relative;
  overflow: hidden;

  /* === NEW FOR CLICKABLE ENTIRE CARD === */
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Hover effects */
.practice-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow:
    0 10px 28px rgba(10, 28, 65, .12),
    0 0 0 3px rgba(37, 99, 235, 0.15);
}


.practice-card:hover h3 {
  text-decoration: underline; /* optional */
}

/* ================================
   Vertical Gradients (Top → Bottom)
================================ */
.practice-card:nth-child(1) {
  background: linear-gradient(to bottom, var(--blue-3), #ffffff);
}

.practice-card:nth-child(2) {
  background: linear-gradient(to bottom, var(--green-2), #ffffff);
}

.practice-card:nth-child(3) {
  background: linear-gradient(to bottom, rgba(192,144,46,0.32), #fff8ec);
}

.practice-card:nth-child(4) {
  background: linear-gradient(to bottom, rgba(37,99,235,0.28), #eef4ff);
}

.practice-card:nth-child(5) {
  background: linear-gradient(to bottom, rgba(167,243,208,0.55), #ffffff);
}

.practice-card:nth-child(6) {
  background: linear-gradient(to bottom, var(--blue-3), #ffffff);
}

.practice-card:nth-child(7) {
  background: linear-gradient(to bottom, var(--green-2), #ffffff);
}

.practice-card:nth-child(8) {
  background: linear-gradient(to bottom, rgba(192,144,46,0.32), #fff8ec);
}

.practice-card:nth-child(9) {
  background: linear-gradient(to bottom, rgba(37,99,235,0.28), #eef4ff);
}

.practice-card:nth-child(10) {
  background: linear-gradient(to bottom, rgba(167,243,208,0.55), #ffffff);
}

.practice-card:nth-child(11) {
  background: linear-gradient(to bottom, var(--blue-3), #ffffff);
}

.practice-card:nth-child(12) {
  background: linear-gradient(to bottom, var(--green-2), #ffffff);
}

/* ================================
   Alternating Left/Right Offset
================================ */
.practice-card.left {
  margin-left: auto;
  margin-right: 60px; /* increased whitespace */
}

.practice-card.right {
  margin-left: 60px; /* increased whitespace */
  margin-right: auto;
}

/* ================================
   Image Styling
================================ */
.practice-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ================================
   Text Styling
================================ */
.practice-content h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: var(--text);
}

.practice-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ================================
   3D Curvature + Inner Glow
================================ */

/* Inner glow from the top */
.practice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 35%;
  pointer-events: none;

  background: radial-gradient(
    circle at top center,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0) 70%
  );

  opacity: 0.7;
}

/* Curved-surface effect overlay */
.practice-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(0,0,0,0.04) 85%,
    rgba(0,0,0,0.06) 100%
  );

  mix-blend-mode: soft-light;
  opacity: 0.65;
}

/* ================================
   Mobile View Cleanup
================================ */
@media (max-width: 600px) {
  .practice-card {
    flex-direction: column;
    text-align: center;
    width: 85%;
    margin-left: 0;
    margin-right: 0;
  }

  .practice-card.left,
  .practice-card.right {
    margin-left: 0;
    margin-right: 0;
  }
}



/* =====================================
   Elegant Section Header with Frosted Bar
===================================== */
.section-header {
  position: relative;
  width: 100%;
  text-align: center;
  margin: 70px 0 50px;
}

.section-header h2 {
  position: relative;
  z-index: 2;
  font-size: 2rem;
  margin: 0;
  padding: 0 12px;
  color: var(--text);
}

/* Base frosted bar */
.section-header::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%); 
  top: 50%;
  width: 75%;
  height: calc(3 * 1em); /* 300% the H2 font size */
  border-radius: 20px;

  /* Frosted glass translucency */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  opacity: 0.92;
  z-index: 1;

  /* Default fallback gradient (blue tone) */
	background: linear-gradient(
	  to bottom,
	  rgba(219,234,254,1.0),     /* brighter, full color */
	  rgba(255,255,255,0.65) 60%, /* brighter mid fade */
	  rgba(219,234,254,0.95)      /* stronger bottom return */
	);
}

/* =====================================
   Rotating Gradient Colors (match cards)
===================================== */

/* ======================================
   Blue (Brighter)
====================================== */
.section-header.one::before {
  background: linear-gradient(
    to bottom,
    rgba(219,234,254,1.0),     /* brighter top */
    rgba(255,255,255,0.65),    /* brighter soft fade */
    rgba(219,234,254,0.95)     /* stronger bottom return */
  );
}

/* ======================================
   Green (Brighter)
====================================== */
.section-header.two::before {
  background: linear-gradient(
    to bottom,
    rgba(167,243,208,0.95),    /* brighter top */
    rgba(255,255,255,0.55),    /* clearer mid fade */
    rgba(167,243,208,0.90)     /* stronger bottom return */
  );
}

/* ======================================
   Gold (Brighter but still elegant)
====================================== */
.section-header.three::before {
  background: linear-gradient(
    to bottom,
    rgba(192,144,46,0.55),     /* brighter gold */
    rgba(255,255,255,0.45),    /* warm luminous fade */
    rgba(192,144,46,0.50)      /* grounded return */
  );
}


/* Optional subtle shadow for depth */
.section-header::before {
  box-shadow:
    0 6px 20px rgba(0,0,0,0.08),
    inset 0 1px 3px rgba(255,255,255,0.45);
}

.accordion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  cursor: pointer;
  color: #0066cc;
  font-weight: 600;
  user-select: none;
}

/* Arrow styling */
.arrow {
  font-weight: bold;
  width: 44px;
  height: 44px;
  transition: transform 0.25s ease;
}

/* Open state: arrow points UP */
.accordion-toggle.open .arrow {
  transform: rotate(180deg);
}

/* Closed state: arrow points DOWN (default) */
.accordion-toggle:not(.open) .arrow {
  transform: rotate(0deg);
}

.accordion-content {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
  max-height: 1000px;
  opacity: 1;
}

.accordion-content.closed {
  max-height: 0;
  opacity: 0;
}


.profile-item {
    margin: 20px 0;
    padding: 18px 20px;
    background: #e8f6ef; /* soft green-ish */
    border-radius: 16px;
    border: 2px solid #a6c8ff; /* gentle blue border */
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.profile-item label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4a5b70;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.7px;
}

.profile-value {
    font-size: 1.00rem;
    font-weight: 700;
    color: #1f2b41;
    text-shadow: 0 0 6px rgba(0,0,0,0.06);
}

.pay-row {
    display: flex;
    align-items: center;
    gap: 42px; /* space between button and price */
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2b41;
}


