/* ==========================================================================
   GBEKINS CAREGIVER/PSW TRAINING COLLEGE - COMPONENTS & UI SYSTEM
   ========================================================================== */

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */

.hero-home {
  position: relative;
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 60%, #0f375c 100%);
  color: var(--text-white);
  padding: 6rem 0 5rem 0;
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.25) 0%, rgba(10, 37, 64, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--healthcare-green-light);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  color: var(--text-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title-top {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
  line-height: 1.2;
}

.hero-title-main {
  display: block;
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  font-weight: 900;
  line-height: 1.12;
  margin-top: 0;
  color: var(--text-white);
}

.hero-title .highlight-teal {
  color: var(--primary-teal-light);
  display: inline-block;
}

.hero-main-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.hero-subtitle {
  color: #cbd5e1;
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-features-list {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #e2e8f0;
  font-weight: 600;
}

.hero-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--healthcare-green-light);
  flex-shrink: 0;
}

.hero-visual-card {
  position: relative;
  text-align: center;
}

.hero-visual-card img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-slow);
}

.hero-visual-card:hover img {
  transform: scale(1.015);
}

/* Inner Page Header Banner */
.page-hero {
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 100%);
  color: var(--text-white);
  padding: 4.5rem 0 3.5rem 0;
  position: relative;
  text-align: center;
}

.page-hero .section-subtitle {
  background: rgba(13, 148, 136, 0.2);
  color: var(--primary-teal-light);
  border: 1px solid rgba(13, 148, 136, 0.4);
}

.page-hero h1 {
  color: var(--text-white);
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}

.page-hero p {
  color: #cbd5e1;
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 1.5rem auto;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
}

.breadcrumb a {
  color: #cbd5e1;
}

.breadcrumb a:hover {
  color: var(--healthcare-green-light);
}

.breadcrumb span {
  color: var(--primary-teal-light);
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Feature & Benefit Cards */
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-teal);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(13, 148, 136, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon-box {
  background: var(--primary-teal);
  color: #ffffff;
  transform: scale(1.05);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-navy);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Benefit Highlight Card (Green Accent) */
.benefit-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--healthcare-green);
}

.benefit-check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: var(--healthcare-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 1.1rem;
}

.benefit-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--primary-navy);
}

.benefit-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   COURSE CARDS
   ========================================================================== */

.course-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(13, 148, 136, 0.4);
}

.course-card-header {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #153c63 100%);
  color: #ffffff;
  padding: 2rem 2rem 1.5rem 2rem;
  position: relative;
}

.course-badge {
  display: inline-block;
  background: var(--primary-teal);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.course-card-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.course-tagline {
  color: #cbd5e1;
  font-size: 0.875rem;
}

.course-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

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

.course-meta-item strong {
  display: block;
  color: var(--primary-navy);
  font-size: 0.9rem;
}

.course-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.course-highlights {
  margin-bottom: 1.75rem;
}

.course-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.course-highlight-item svg {
  width: 16px;
  height: 16px;
  color: var(--healthcare-green);
  flex-shrink: 0;
}

.course-card-footer {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
}

/* ==========================================================================
   4-STEP TRAINING PROCESS FLOW
   ========================================================================== */

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-teal);
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--primary-navy);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOUNDER EDITORIAL & TIMELINE
   ========================================================================== */

.founder-editorial-section {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.founder-portrait-box {
  text-align: center;
}

.founder-portrait-box img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--border-light);
}

.founder-quote-box {
  position: relative;
  padding-left: 2rem;
  border-left: 4px solid var(--primary-teal);
  margin-bottom: 2rem;
}

.founder-quote-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.founder-sign-off {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-navy);
}

.founder-sign-title {
  font-size: 0.9rem;
  color: var(--primary-teal);
  font-weight: 600;
}

/* Global Timeline */
.timeline-track {
  position: relative;
  padding: 2rem 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 3px;
  background: var(--primary-teal);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 12px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-teal);
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-md);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.timeline-content {
  background: var(--bg-main);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.timeline-location {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-teal);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: 1.15rem;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   GALLERY & LIGHTBOX
   ========================================================================== */

.gallery-filter-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.gallery-btn-filter {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gallery-btn-filter:hover,
.gallery-btn-filter.active {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000000;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0.2) 60%, rgba(10, 37, 64, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--healthcare-green-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.gallery-item-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 22, 38, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-img {
  max-height: 75vh;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  margin: 0 auto;
}

.lightbox-caption {
  color: #ffffff;
  font-size: 1.1rem;
  margin-top: 1rem;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox-nav:hover {
  background: var(--primary-teal);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

/* ==========================================================================
   FORMS & ENROLLMENT SYSTEM
   ========================================================================== */

.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.form-section-title {
  font-size: 1.25rem;
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bg-alt);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}

.form-label .required {
  color: #ef4444;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-main);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.file-upload-box {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  background: var(--bg-main);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.file-upload-box:hover {
  border-color: var(--primary-teal);
  background: rgba(13, 148, 136, 0.04);
}

.file-upload-icon {
  font-size: 2rem;
  color: var(--primary-teal);
  margin-bottom: 0.5rem;
}

.file-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CONTACT DETAILS & BRANCHES CARD
   ========================================================================== */

.contact-info-card {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-info-item p, .contact-info-item a {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.contact-info-item a:hover {
  color: var(--healthcare-green-light);
}

/* ==========================================================================
   WHATSAPP FLOATING POPUP WIDGET (BOTTOM RIGHT)
   ========================================================================== */

.whatsapp-widget-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-trigger-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition-normal);
}

.whatsapp-trigger-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-trigger-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid #25d366;
  border-radius: 50%;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.whatsapp-chat-box {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 340px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.whatsapp-chat-box.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-chat-header {
  background: #075e54;
  color: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.whatsapp-chat-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  padding: 3px;
}

.whatsapp-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.whatsapp-status {
  font-size: 0.75rem;
  color: #86efac;
}

.whatsapp-chat-body {
  padding: 1.25rem;
  background: #e5ddd5;
  background-image: radial-gradient(#d1c7bc 1px, transparent 1px);
  background-size: 16px 16px;
}

.whatsapp-msg-bubble {
  background: #ffffff;
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  font-size: 0.9rem;
  color: #111827;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

.whatsapp-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.whatsapp-action-btn {
  background: #ffffff;
  border: 1px solid #10b981;
  color: #065f46;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.whatsapp-action-btn:hover {
  background: #10b981;
  color: #ffffff;
}

/* ==========================================================================
   ROTATING TESTIMONIAL NOTIFICATION POPUP (BOTTOM LEFT)
   ========================================================================== */

.testimonial-popup-toast {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 1400;
  max-width: 360px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transform: translateX(-120%);
  opacity: 0;
  transition: all var(--transition-slow);
}

.testimonial-popup-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-teal);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-body {
  flex-grow: 1;
}

.toast-student-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.15rem;
}

.toast-course {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-teal);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.toast-quote {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.4;
}

.toast-close-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
}

.toast-close-btn:hover {
  color: #0f172a;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-features-list { justify-content: center; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-container { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { grid-template-columns: 1fr; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (max-width: 768px) {
  .grid-3, .grid-2, .grid-4, .steps-container, .gallery-grid, .form-grid-2, .form-grid-3 {
    grid-template-columns: 1fr;
  }
  .form-card { padding: 1.75rem 1.25rem; }
  .founder-editorial-section { padding: 2rem 1.25rem; }
  .whatsapp-chat-box { width: 300px; right: 0; }
  .testimonial-popup-toast { max-width: calc(100vw - 50px); left: 25px; bottom: 95px; }
}

/* ==========================================================================
   HERO BACKGROUND SLIDESHOW & OVERLAY
   ========================================================================== */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  transform: scale(1.05);
  animation: heroSlideZoom 24s infinite linear;
}

.hero-slide.active {
  opacity: 0.32;
}

@keyframes heroSlideZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.hero-slideshow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.85) 50%, rgba(13, 148, 136, 0.82) 100%);
  z-index: 2;
}

/* ==========================================================================
   FREE PHLEBOTOMY TRAINING SECTION (HOMEPAGE)
   ========================================================================== */
.phlebotomy-section {
  position: relative;
  background: linear-gradient(135deg, #071e33 0%, #0a2540 60%, #083344 100%);
  color: #ffffff;
  padding: 5rem 0;
  overflow: hidden;
  border-top: 4px solid var(--healthcare-green);
  border-bottom: 4px solid var(--primary-teal);
}

.phlebotomy-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.phlebotomy-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.phlebotomy-free-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  padding: 0.45rem 1.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.55);
  border: 2px solid #ffffff;
  text-transform: uppercase;
  vertical-align: middle;
  margin-right: 0.75rem;
  animation: freeBadgePulse 3s infinite ease-in-out;
}

@keyframes freeBadgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(16, 185, 129, 0.7); }
}

.phlebotomy-title {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.phlebotomy-desc {
  color: #cbd5e1;
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 620px;
}

.phlebotomy-skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.phlebotomy-skill-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.phlebotomy-skill-item svg {
  width: 20px;
  height: 20px;
  color: var(--healthcare-green-light);
  flex-shrink: 0;
}

.phlebotomy-visual-box {
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-2xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(8px);
}

.phlebotomy-icon-emblem {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.18);
  border: 3px solid rgba(16, 185, 129, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
}

@media (max-width: 992px) {
  .phlebotomy-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .phlebotomy-skills-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TRAINING FEE & PAYMENT DETAILS (ENROLLMENT PAGE)
   ========================================================================== */
.enroll-financial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.fee-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid var(--primary-teal);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fee-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-teal), var(--healthcare-green));
}

.fee-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-teal);
  background: rgba(13, 148, 136, 0.1);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.fee-title {
  color: var(--primary-navy);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.fee-amount {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  font-size: clamp(2.5rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.fee-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.payment-card {
  background: var(--primary-navy);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.payment-card-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.payment-card-title svg {
  width: 22px;
  height: 22px;
  color: var(--primary-teal-light);
}

.payment-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.payment-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.payment-detail-label {
  color: #94a3b8;
  font-weight: 600;
}

.payment-detail-value {
  color: #ffffff;
  font-weight: 700;
  text-align: right;
}

.payment-account-number {
  font-family: monospace;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--healthcare-green-light);
  font-weight: 800;
}

.payment-actions-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.btn-copy-account {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-teal);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-account:hover {
  background: #0b7a70;
  transform: translateY(-1px);
}

.btn-copy-account.copied {
  background: var(--healthcare-green);
}

.copy-feedback {
  color: var(--healthcare-green-light);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.payment-security-note {
  font-size: 0.825rem;
  color: #94a3b8;
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.85rem;
}

@media (max-width: 768px) {
  .enroll-financial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
