/* ===== ANIMATED PAGE COVER ===== */
.page-cover {
  position: relative;
  min-height: 420px;
  padding: 120px 2rem 5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Gradient Background */
.page-cover .cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a, #0c2340, #0f172a);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  z-index: 0;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Image Background */
.page-cover .cover-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: coverZoom 12s ease-in-out infinite alternate;
}

@keyframes coverZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.06); }
}

.page-cover .cover-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Medical floating particles */
.page-cover .cover-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.cover-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.07; }
  90%  { opacity: 0.07; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* Medical cross icons */
.cover-cross {
  position: absolute;
  color: rgba(255,255,255,0.06);
  font-size: 2rem;
  animation: floatCross linear infinite;
  z-index: 2;
  user-select: none;
}

@keyframes floatCross {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(-400px) rotate(360deg); opacity: 0; }
}

/* Pulse rings */
.cover-ring {
  position: absolute;
  border: 1px solid rgba(14,165,233,0.12);
  border-radius: 50%;
  animation: pulseRing 4s ease-out infinite;
  z-index: 2;
}

@keyframes pulseRing {
  0%   { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Cover Content */
.page-cover-content {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.cover-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.2rem;
  animation: fadeInDown 0.6s ease both;
}

.cover-breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.83rem;
  transition: color 0.2s;
}
.cover-breadcrumb a:hover { color: var(--orange); }
.cover-breadcrumb .sep { color: rgba(255,255,255,0.25); font-size: 0.8rem; }
.cover-breadcrumb .current { color: var(--orange); font-size: 0.83rem; font-weight: 600; }

.cover-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14,165,233,0.15);
  border: 1px solid rgba(14,165,233,0.3);
  color: #7dd3fc;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  animation: fadeInDown 0.6s 0.1s ease both;
}

.cover-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 1rem;
  animation: fadeInUp 0.7s 0.15s ease both;
}

.cover-title .highlight { color: var(--orange); }

.cover-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  line-height: 1.75;
  animation: fadeInUp 0.7s 0.25s ease both;
}

/* ===== PACKAGE CARDS ===== */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.pkg-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  opacity: 0;
  transform: translateY(30px);
}

.pkg-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.pkg-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  border-color: rgba(14,165,233,0.3);
}

.pkg-card.featured {
  border-color: var(--orange);
  box-shadow: 0 12px 40px rgba(244,121,32,0.18);
  transform: translateY(-6px);
}

.pkg-card.featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 60px rgba(244,121,32,0.25);
}

.pkg-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: white;
  padding: 0.3rem 1.4rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(244,121,32,0.4);
}

.pkg-step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  color: white;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pkg-card.featured .pkg-step-num {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

.pkg-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.pkg-when {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pkg-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.pkg-card.featured .pkg-price { color: var(--orange); }

.pkg-price-sub {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.pkg-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.2rem 0;
}

.pkg-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
  min-height: 140px;
}

.pkg-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.87rem;
  color: var(--text);
  line-height: 1.4;
}

.pkg-feature .pf-check {
  color: #22c55e;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Extra items (admin-added) */
.pkg-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.pkg-extra-tag {
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.2);
  color: var(--sky-dark);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pkg-btn {
  display: block;
  text-align: center;
  padding: 0.85rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.3s;
  border: 2px solid var(--border);
  color: var(--dark);
  background: white;
}

.pkg-btn:hover {
  border-color: var(--sky);
  color: var(--sky);
  transform: translateY(-1px);
}

.pkg-card.featured .pkg-btn {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(244,121,32,0.35);
}

.pkg-card.featured .pkg-btn:hover {
  box-shadow: 0 10px 28px rgba(244,121,32,0.45);
  transform: translateY(-2px);
}

/* ===== ABOUT US PAGE ===== */
.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.about-stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.about-stat-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.about-stat-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 30px rgba(244,121,32,0.12);
  transform: translateY(-4px);
}

.about-stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Vision / Mission cards */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.vm-card {
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.vm-card.in-view { opacity: 1; transform: translateY(0); }

.vm-card.vision {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
}

.vm-card.mission {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: white;
}

.vm-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.vm-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.vm-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.8rem; }
.vm-text { font-size: 0.9rem; line-height: 1.75; opacity: 0.85; }

/* Team Cards */
.team-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-card-new {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s;
  opacity: 0;
  transform: translateY(20px);
}

.team-card-new.in-view { opacity: 1; transform: translateY(0); }
.team-card-new:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }

.team-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--sky), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  font-weight: 900;
}

.team-card-body { padding: 1.5rem; }
.team-card-name { font-size: 1rem; font-weight: 800; color: var(--dark); margin-bottom: 0.2rem; }
.team-card-role { font-size: 0.82rem; color: var(--sky); font-weight: 600; margin-bottom: 0.7rem; }
.team-card-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* Happy Students / Testimonials */
.testimonials-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.testi-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  position: relative;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.testi-card.in-view { opacity: 1; transform: translateY(0); }
.testi-card:hover { box-shadow: 0 12px 35px rgba(0,0,0,0.08); border-color: rgba(14,165,233,0.25); }

.testi-quote {
  font-size: 3rem;
  color: var(--orange);
  line-height: 0.5;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}

.testi-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.2rem;
}

.testi-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 1rem; }

.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testi-avatar-img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--sky), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.testi-name { font-weight: 700; font-size: 0.88rem; color: var(--dark); }
.testi-role { font-size: 0.78rem; color: var(--text-light); }

/* Who We Are */
.who-we-are {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.who-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.who-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.who-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

.who-highlight::before {
  content: '✓';
  width: 24px; height: 24px;
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.who-visual {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 20px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.who-stat-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
}

.who-stat-box .wnum { font-size: 2rem; font-weight: 900; color: var(--orange); line-height: 1; }
.who-stat-box .wlbl { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 0.3rem; font-weight: 600; }

/* ===== CUSTOM FORM FIELD STYLES ===== */
.form-field-custom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pkg-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .about-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .team-grid-new { grid-template-columns: repeat(2, 1fr); }
  .testimonials-new { grid-template-columns: repeat(2, 1fr); }
  .who-we-are { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-cover { min-height: 320px; padding: 100px 1.5rem 3rem; }
  .cover-title { font-size: 1.8rem; }
  .vm-grid { grid-template-columns: 1fr; }
  .about-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .team-grid-new { grid-template-columns: 1fr; }
  .testimonials-new { grid-template-columns: 1fr; }
}
