/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 1.5rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 0 var(--space-md);
}

@media (max-width: 768px) {
  .header {
    top: 0.75rem;
  }
}

.navbar-container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85); /* White transparent background */
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(16, 35, 29, 0.08); /* Clean hairline borders */
  border-radius: var(--radius-pill);
  padding: 0.4rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.header.scrolled .navbar-container {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.95);
  padding: 0.3rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 0;
}

.logo-wrapper {
  width: 84px; /* Significantly enlarged circular logo container on desktop */
  height: 84px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 2px solid var(--color-accent); /* Accent Green border matching the home page circular logo */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  margin: -14px 0; /* vertical offset to extend cleanly beyond navbar height */
}

.logo-wrapper:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue);
}

.logo-img {
  height: 125%; /* Zoomed to fill the circular wrapper and crop outer white margin */
  width: 125%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .logo-wrapper {
    width: 64px; /* Enlarged circular wrapper on mobile */
    height: 64px;
    margin: -10px 0;
  }
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: -2px;
}

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: var(--space-lg);
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta-desktop {
  display: none;
}

@media (min-width: 992px) {
  .nav-cta-desktop {
    display: block;
  }
}

.nav-cta-desktop .btn {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
  border-radius: var(--radius-pill);
}

/* mobile hamburger trigger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

@media (min-width: 992px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* mobile drawer menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--bg-primary);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  transition: var(--transition-smooth);
  border-left: 1px solid var(--color-border);
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-nav-links a {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  color: var(--text-primary);
  display: block;
  padding: var(--space-xs) 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(30, 34, 33, 0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: var(--space-3xl);
  margin-top: 1rem;
}

.hero-banner {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-hero);
  padding: var(--space-xl) var(--space-md);
  overflow: hidden;
  position: relative;
}

@media (min-width: 768px) {
  .hero-banner {
    padding: var(--space-2xl) var(--space-xl); /* Reduced left/right padding to increase available content area width */
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr; /* 55% text left, 45% large photo box right */
    gap: var(--space-lg); /* Reduced gap to bring text and photo closer together */
    align-items: start; /* Aligns top of photo horizontally with INNER EXCELLENCE eyebrow */
  }
}

.hero-text {
  max-width: 600px;
}

.hero-title {
  font-size: var(--fs-3xl);
  line-height: 1.15;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--fs-4xl);
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: var(--fs-5xl);
  }
}

.hero-description {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (min-width: 992px) {
  .hero-image-wrapper {
    border-radius: var(--radius-hero);
    position: relative;
    top: 0; /* Align top edge exactly with the text column content */
    box-shadow: var(--shadow-lg); /* Premium shadow */
  }
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.05);
}

/* ==========================================================================
   INTRODUCTION SECTION
   ========================================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .intro-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--space-2xl);
  }
}

.intro-title {
  font-size: var(--fs-2xl);
  line-height: 1.2;
}

.intro-content p {
  margin-bottom: var(--space-md);
  font-size: var(--fs-md);
}

.intro-content p:last-of-type {
  margin-bottom: var(--space-lg);
}

/* ==========================================================================
   PROGRAM / SERVICE CARDS
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 576px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(4, 1fr); /* Clean 4-column grid for exactly 4 cards on desktop */
  }
}

.card-bullets {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card-bullets li {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.card-bullets .bullet-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.program-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(25, 195, 125, 0.08); /* Sophisticated green glow */
  border-color: rgba(25, 195, 125, 0.2);
}

.card-image-container {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-image);
  overflow: hidden;
  position: relative;
  margin-bottom: var(--space-sm);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.program-card:hover .card-image {
  transform: scale(1.04);
}

.card-body {
  padding: var(--space-xs) var(--space-xs) var(--space-sm);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.card-description {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  flex-grow: 1;
  line-height: 1.5;
}

/* ==========================================================================
   ABOUT HUMANAOVA
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-3xl);
  }
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-hero);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.about-content {
  max-width: 600px;
}

.about-content p {
  margin-bottom: var(--space-md);
  font-size: var(--fs-md);
}

.about-content p:last-of-type {
  margin-bottom: var(--space-xl);
}

/* ==========================================================================
   CORE PHILOSOPHY
   ========================================================================== */
.philosophy {
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 195, 125, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

@media (min-width: 576px) {
  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .philosophy-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.philosophy-card {
  padding: var(--space-lg);
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.philosophy-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 119, 255, 0.15); /* Blue highlight on philosophy cards */
  box-shadow: var(--shadow-md);
}

.philosophy-num {
  font-family: var(--font-serif);
  font-size: var(--fs-2xl);
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  font-style: italic;
  opacity: 0.7;
}

.philosophy-title {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-sm);
}

.philosophy-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FEATURED CONTENT
   ========================================================================== */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Reuses most program-card styles but adds specific styling adjustments */
.featured-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
}

.featured-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(22, 119, 255, 0.08); /* Sophisticated blue glow */
  border-color: rgba(22, 119, 255, 0.2);
}

/* ==========================================================================
   CALL TO ACTION
   ========================================================================== */
.cta-banner {
  background-color: var(--color-accent);
  color: var(--bg-primary);
  border-radius: var(--radius-hero);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .cta-banner {
    padding: var(--space-3xl) var(--space-2xl);
  }
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  color: var(--bg-primary);
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .cta-banner h2 {
    font-size: var(--fs-4xl);
  }
}

.cta-banner p {
  color: rgba(252, 250, 247, 0.8);
  font-size: var(--fs-md);
  margin-bottom: var(--space-xl);
}

.cta-banner .btn-primary {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.cta-banner .btn-primary:hover {
  background-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--bg-secondary);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-xl);
  }
}

.footer-brand h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.05em;
}

.footer-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  max-width: 320px;
  margin-bottom: var(--space-md);
}

.footer-socials {
  display: flex;
  gap: var(--space-sm);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  background-color: var(--color-accent);
  color: var(--bg-primary);
  border-color: var(--color-accent);
}

.footer-nav-title {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-links a {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact-item {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer-bottom-links a {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   SUBPAGE HEROS
   ========================================================================== */
.page-hero {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-md);
  margin-top: 1.5rem;
}

.page-hero-banner {
  background-color: var(--color-accent-light);
  border-radius: var(--radius-card);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
  border: 1px solid rgba(73, 107, 90, 0.1);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-hero-banner {
    padding: var(--space-3xl) var(--space-2xl);
    border-radius: var(--radius-hero);
  }
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: var(--fs-3xl);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .page-hero-title {
    font-size: var(--fs-4xl);
  }
}

.page-hero-desc {
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   STICKY CONTACT / ENQUIRY WIDGET
   ========================================================================== */
.sticky-contact {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  transform: translateY(30px);
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.sticky-contact.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background-color: var(--color-accent);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sticky-contact-btn:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(73, 107, 90, 0.3);
}

.sticky-contact-btn svg {
  flex-shrink: 0;
}

/* ==========================================================================
   CONTACT FORM / LANDING PAGE
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  align-items: start;
}

@media (min-width: 992px) {
  .contact-section-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-3xl);
  }
}

.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  padding: var(--space-md);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .contact-form-container {
    padding: var(--space-xl);
  }
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  background-color: var(--bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(73, 107, 90, 0.1);
}

.contact-info-card {
  background: var(--color-accent-light);
  border: 1px solid rgba(73, 107, 90, 0.12);
  padding: var(--space-xl);
  border-radius: var(--radius-card);
  height: fit-content;
}

.contact-info-title {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-md);
  color: var(--color-accent);
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-list strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.contact-info-list span {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

.contact-icon-wrapper {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Subpage Hero Layout Styling */
.page-hero {
  padding: 0 !important;
  margin: 0 !important;
  margin-top: 94px !important; /* Start exactly below desktop navbar bottom edge */
}

@media (max-width: 991px) {
  .page-hero {
    margin-top: 86px !important; /* Start exactly below tablet navbar bottom edge */
  }
}

@media (max-width: 768px) {
  .page-hero {
    margin-top: 72px !important; /* Start exactly below mobile navbar bottom edge */
  }
}

.page-hero-banner {
  background-color: var(--color-accent-light); /* Yellowish/Sage Green container tint */
  border-radius: var(--radius-hero);
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid rgba(73, 107, 90, 0.08);
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

@media (min-width: 992px) {
  .page-hero-banner {
    padding: var(--space-2xl) var(--space-2xl);
  }
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 992px) {
  .page-hero-grid {
    grid-template-columns: 1.15fr 0.85fr; /* 2-column design: text left, image box right */
    gap: var(--space-2xl);
  }
}

.page-hero-text {
  max-width: 600px;
  text-align: left;
}

.page-hero-text .eyebrow {
  display: inline-block;
  margin-bottom: var(--space-xs);
  color: var(--color-accent);
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: var(--fs-2xl);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .page-hero-title {
    font-size: var(--fs-3xl);
  }
}

@media (min-width: 1200px) {
  .page-hero-title {
    font-size: var(--fs-4xl);
  }
}

.page-hero-desc {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.page-hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-card); /* Polished, slightly rounded-card appearance */
  overflow: hidden;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.page-hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Page-specific overrides for Programs and Insights to enforce a cover-cropped full-width banner style */
body[data-page="programs"] .page-hero-image-wrapper,
body[data-page="insights"] .page-hero-image-wrapper {
  aspect-ratio: 16 / 10; /* Fixed aspect ratio to enforce top/bottom crop on mobile/tablet */
}

@media (min-width: 992px) {
  body[data-page="programs"] .page-hero-image-wrapper,
  body[data-page="insights"] .page-hero-image-wrapper {
    aspect-ratio: 1.6 / 1; /* Desktop cover aspect ratio */
  }
}

body[data-page="programs"] .page-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* Crop a small amount from the top, crop more from the bottom */
}

body[data-page="insights"] .page-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 75%; /* Crop more of the top portion, keeping bottom-center highly visible */
}

/* Video Placeholder Section Styles */
.video-placeholder-container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.video-aspect-ratio-box {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.video-mock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(25, 195, 125, 0.04) 0%, rgba(22, 119, 255, 0.04) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition-smooth);
}

.video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  margin-bottom: var(--space-sm);
  padding: 0;
}

.video-play-btn:hover {
  transform: scale(1.1);
  background-color: var(--color-accent-light);
  box-shadow: 0 8px 24px rgba(25, 195, 125, 0.25);
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.video-duration {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.video-placeholder-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Mobile Optimization Overrides */
@media (max-width: 768px) {
  .navbar-container {
    padding: 0.3rem 1rem;
  }
  .video-aspect-ratio-box {
    aspect-ratio: 16 / 9; /* maintain proper 16:9 on mobile */
  }
}

@media (max-width: 576px) {
  :root {
    --fs-3xl: 2rem;
    --fs-4xl: 2.25rem;
    --fs-5xl: 2.5rem;
    --fs-h1: 2.25rem;
    --fs-h2: 1.75rem;
    --fs-h3: 1.4rem;
    --space-3xl: 2.5rem;
    --space-2xl: 1.75rem;
    --space-xl: 1.25rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }

  .page-hero-image-wrapper {
    aspect-ratio: 16 / 10;
  }

  .section {
    padding: 3rem 0; /* Keep sections compact, avoid excessive empty space */
  }
  
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* ==========================================================================
   PROGRAM HIGHLIGHTS GALLERY
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(25, 195, 125, 0.08); /* Sage Green Accent Glow */
  border-color: rgba(25, 195, 125, 0.2);
}

.gallery-image-container {
  width: 100%;
  aspect-ratio: 9 / 16; /* 9:16 YouTube Shorts portrait format */
  border-radius: var(--radius-image);
  overflow: hidden;
  position: relative;
  margin-bottom: 0;
}

.gallery-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-thumbnail {
  transform: scale(1.05);
}

.gallery-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 35, 29, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-play-overlay {
  background-color: rgba(16, 35, 29, 0.4);
}

.gallery-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #FFFFFF;
  color: var(--text-primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding-left: 4px; /* visually center play icon */
}

.gallery-card:hover .gallery-play-btn {
  transform: scale(1.1);
  background-color: var(--color-accent);
  color: #FFFFFF;
}

.gallery-card-body {
  padding: var(--space-xs) var(--space-xs) var(--space-sm);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-card-date {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.gallery-card-title {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
  color: var(--text-primary);
}

.gallery-card-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ==========================================================================
   VIDEO LIGHTBOX MODAL
   ========================================================================== */
.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 35, 29, 0.75); /* subtle dark overlay */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000; /* above nav and sticky widget */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-container {
  position: relative;
  width: 90%;
  margin: 0 auto;
  animation: modalScaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
  from {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  padding: 8px;
}

.video-modal-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.video-modal-iframe-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Aspect ratio specific sizing overrides for cards and modal lightbox */
.gallery-card.aspect-16-9 .gallery-image-container {
  aspect-ratio: 16 / 9;
}

.gallery-card.aspect-9-16 .gallery-image-container {
  aspect-ratio: 9 / 16;
}

.video-modal-overlay.aspect-16-9 .video-modal-container {
  max-width: 800px; /* Wide screen format for horizontal videos */
}

.video-modal-overlay.aspect-16-9 .video-modal-iframe-wrapper {
  aspect-ratio: 16 / 9;
}

.video-modal-overlay.aspect-9-16 .video-modal-container {
  max-width: 320px; /* Portrait format for vertical Shorts */
}

.video-modal-overlay.aspect-9-16 .video-modal-iframe-wrapper {
  aspect-ratio: 9 / 16;
}

.video-modal-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   HUMANOVA BRANDING & TEXT LAYOUTS
   ========================================================================== */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.65rem; /* Noticeably larger for desktop visual prominence */
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.05;
}

.brand-blue {
  color: #1677FF !important;
}

.brand-green {
  color: #19C37D !important;
}

.logo-subtitle {
  font-family: var(--font-sans);
  font-size: 0.72rem; /* Noticeably larger (approx 11px) */
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 3px;
  line-height: 1.05;
}

@media (max-width: 768px) {
  .logo-title {
    font-size: 1.35rem; /* Resizes naturally on mobile */
  }
  .logo-subtitle {
    font-size: 0.62rem;
    margin-top: 2px;
  }
}

/* ==========================================================================
   FULL BLEED HERO BANNER
   ========================================================================== */
.hero-banner.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: var(--radius-hero);
  overflow: hidden;
  padding: var(--space-2xl) var(--space-xl);
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 650px;
  color: #FFFFFF;
}

.hero-text .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(25, 195, 125, 0.08); /* Light green accent tint background */
  color: var(--color-accent); /* Green theme accent */
  border: 1px solid var(--color-accent); /* Clean accent border */
  border-radius: 4px; /* Clean rectangular corners (no pill or bubble) */
  padding: 0.5rem 1.25rem; /* Moderate padding */
  font-size: 0.72rem; /* Moderate, elegant size */
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  box-shadow: 0 2px 10px rgba(25, 195, 125, 0.05);
}

.hero-banner.has-bg .hero-title {
  color: #FFFFFF;
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-md);
  line-height: 1.25;
}

.hero-banner.has-bg .hero-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.hero-banner.has-bg .eyebrow {
  color: var(--color-accent);
}

@media (min-width: 768px) {
  .hero-banner.has-bg {
    padding: var(--space-3xl) var(--space-2xl);
    min-height: 580px;
  }
  .hero-banner.has-bg .hero-title {
    font-size: var(--fs-5xl);
  }
  .hero-banner.has-bg .hero-description {
    font-size: var(--fs-lg);
  }
}

@media (max-width: 767px) {
  .hero-banner.has-bg {
    background-image: linear-gradient(to bottom, rgba(16, 35, 29, 0.94), rgba(16, 35, 29, 0.98)), url('../assets/hero-banner-new.jpg') !important;
    min-height: auto;
    padding: var(--space-xl) var(--space-md);
  }
}

/* ==========================================================================
   OUR TEAM GRID SECTION
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(25, 195, 125, 0.06);
}

.team-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-image);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image {
  transform: scale(1.03);
}

.team-info {
  padding: var(--space-xs);
}

.team-name {
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  color: var(--color-primary);
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.team-role {
  font-size: var(--fs-xs);
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   PROGRAM DETAILS MODAL WINDOW
   ========================================================================== */
.program-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.program-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 35, 29, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 860px;
  max-height: 85vh;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-hero);
  overflow-y: auto;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
  animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 5;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--text-primary);
  font-size: var(--fs-lg);
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background-color: var(--color-accent);
  color: #FFFFFF;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .modal-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.modal-image-wrapper {
  width: 100%;
  height: 100%;
  min-height: 240px;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content {
  padding: var(--space-md) var(--space-md) var(--space-lg);
}

@media (min-width: 768px) {
  .modal-content {
    padding: var(--space-lg);
  }
}

.modal-category {
  font-size: var(--fs-xs);
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.modal-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.modal-section-title {
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  font-weight: 600;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 4px;
  color: var(--color-primary);
}

.modal-practical-list {
  list-style: none;
  padding: 0;
  margin: 0 var(--space-xs) var(--space-md);
}

.modal-practical-list li {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.modal-bullet {
  width: 5px;
  height: 5px;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.modal-format-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 8px;
  font-size: var(--fs-sm);
  background: rgba(255, 255, 255, 0.02);
  padding: var(--space-sm);
  border-radius: var(--radius-image);
  border: 1px solid var(--color-border);
}

@media (min-width: 576px) {
  .modal-format-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.format-item {
  color: var(--text-secondary);
}

.format-item strong {
  color: var(--text-primary);
}

/* ==========================================================================
   ABOUT PAGE STRUCTURED ALTERNATING PANELS
   ========================================================================== */
.about-panels-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
  margin-top: var(--space-lg);
}

.about-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 992px) {
  .about-panel {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
  .about-panel.panel-even .panel-image-wrapper {
    order: 1;
  }
  .about-panel.panel-even .panel-content {
    order: 2;
  }
  .about-panel.panel-odd .panel-image-wrapper {
    order: 2;
  }
  .about-panel.panel-odd .panel-content {
    order: 1;
  }
}

.panel-image-wrapper {
  border-radius: var(--radius-hero);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
}

.panel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-content {
  padding: var(--space-xs);
}

.panel-title {
  font-family: var(--font-serif);
  font-size: var(--fs-2xl);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.panel-divider {
  width: 48px;
  height: 2px;
  background-color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.panel-description {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   TRAINER SPOTLIGHT CARD (HOME PAGE)
   ========================================================================== */
.trainer-spotlight-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.trainer-spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(25, 195, 125, 0.08);
  border-color: rgba(25, 195, 125, 0.25);
}

.trainer-spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .trainer-spotlight-grid {
    grid-template-columns: 1.15fr 1fr;
  }
}

.trainer-spotlight-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-image);
  overflow: hidden;
  position: relative;
  background-color: var(--bg-secondary);
}

.trainer-spotlight-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.trainer-spotlight-card:hover .trainer-spotlight-image {
  transform: scale(1.03);
}

.trainer-spotlight-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trainer-spotlight-title {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: var(--space-sm);
  line-height: 1.25;
  font-weight: 700;
}

.trainer-spotlight-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   PHOTO GALLERY (DEDICATED GALLERY PAGE)
   ========================================================================== */
.photo-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 600px) {
  .photo-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .photo-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  padding: var(--space-xs);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(25, 195, 125, 0.08);
  border-color: rgba(25, 195, 125, 0.25);
}

.photo-image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-image);
  overflow: hidden;
  position: relative;
  background-color: var(--bg-secondary);
}

.photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-card:hover .photo-image {
  transform: scale(1.06);
}

.photo-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(to top, rgba(16, 35, 29, 0.85) 0%, rgba(16, 35, 29, 0.4) 70%, transparent 100%);
  opacity: 0.95;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
}

.photo-caption {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

/* ==========================================================================
   VIDEO PLACEHOLDERS (DEDICATED GALLERY PAGE)
   ========================================================================== */
.video-placeholders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .video-placeholders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.video-placeholder-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.video-placeholder-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(25, 195, 125, 0.08);
  border-color: rgba(25, 195, 125, 0.25);
}

.video-placeholder-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-image);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(18, 59, 109, 0.85) 0%, rgba(16, 35, 29, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-play-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  color: #123B6D;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, color 0.4s ease;
}

.video-placeholder-card:hover .video-play-icon-box {
  transform: scale(1.12);
  background-color: var(--color-accent);
  color: #FFFFFF;
}

.video-status-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: rgba(16, 35, 29, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--color-accent);
  border: 1px solid rgba(25, 195, 125, 0.4);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.video-placeholder-info {
  padding: var(--space-md) var(--space-xs) var(--space-xs);
  display: flex;
  flex-direction: column;
}

.video-placeholder-title {
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: var(--space-xs);
  line-height: 1.35;
  font-weight: 700;
}

.video-placeholder-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   GALLERY VIDEOS GRID (COMPACT YOUTUBE SHORTS)
   ========================================================================== */
.gallery-videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  justify-content: center;
}

@media (min-width: 600px) {
  .gallery-videos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
}

@media (min-width: 900px) {
  .gallery-videos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
}

@media (min-width: 1200px) {
  .gallery-videos-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
  }
}

.gallery-video-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 8px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  max-width: 230px;
  width: 100%;
  margin: 0 auto;
}

.gallery-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(25, 195, 125, 0.1);
  border-color: rgba(25, 195, 125, 0.3);
}

.gallery-video-container {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: calc(var(--radius-image) - 4px);
  overflow: hidden;
  position: relative;
  background-color: #000000;
}

.gallery-video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-video-card:hover .gallery-video-thumbnail {
  transform: scale(1.06);
}

.gallery-video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(16, 35, 29, 0.15) 0%, rgba(16, 35, 29, 0.55) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.gallery-video-card:hover .gallery-video-play-overlay {
  background: radial-gradient(circle, rgba(16, 35, 29, 0.05) 0%, rgba(16, 35, 29, 0.45) 100%);
}

.gallery-video-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #FFFFFF;
  color: var(--text-primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  padding-left: 3px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease, color 0.35s ease;
}

.gallery-video-play-btn svg {
  width: 18px;
  height: 18px;
}

.gallery-video-card:hover .gallery-video-play-btn {
  transform: scale(1.14);
  background-color: var(--color-accent);
  color: #FFFFFF;
}

.gallery-video-info {
  padding: var(--space-xs) 4px 4px;
  display: flex;
  flex-direction: column;
}

.gallery-video-title {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 2px;
  line-height: 1.25;
  font-weight: 700;
}

.gallery-video-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


