/* ====================================
   PAGES SPECIFIC STYLES
   ==================================== */

/* Page Hero */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #004d4d 0%, #000 100%);
  padding-top: 100px;
}

.page-hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 6px;
  margin-bottom: 15px;
  text-shadow: 0 0 50px rgba(0,102,102,0.5);
  cursor: default;
  transition: all 0.5s ease;
  position: relative;
}

.page-hero-content h1::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: radial-gradient(ellipse at center, rgba(0,179,179,0.4) 0%, rgba(0,179,179,0.1) 40%, transparent 70%);
  border-radius: 50%;
  transition: all 0.6s ease;
  z-index: -1;
  opacity: 0;
}

.page-hero-content h1:hover {
  text-shadow:
    0 0 20px rgba(0,179,179,0.8),
    0 0 40px rgba(0,179,179,0.6),
    0 0 60px rgba(0,179,179,0.4),
    0 0 80px rgba(0,179,179,0.2);
  color: #fff;
}

.page-hero-content h1:hover::before {
  width: 120%;
  height: 300%;
  opacity: 1;
}

.page-hero-content p {
  font-size: 20px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
}

/* Page Intro */
.page-intro {
  background: #000;
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-image .floating-image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Logo section centered */
.intro-logo-section {
  text-align: center;
  padding-top: 0;
  margin-top: -150px;
}

.intro-logo {
  max-width: 324px;
  margin: 0 auto 30px;
}

.intro-logo img {
  max-width: 100%;
  height: auto;
}

.intro-text-full {
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
}

.intro-text-full p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
}

.legend-section {
  background: linear-gradient(135deg, #004d4d 0%, #003d3d 100%);
}

/* White card box */
.white-card {
  background: #fff;
  border-radius: 12px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.white-card .card-image img {
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.white-card .card-text {
  color: #333;
}

.white-card .card-text h3 {
  color: #004d4d;
  font-size: 24px;
  margin-bottom: 10px;
}

.white-card .card-text h4 {
  color: #006666;
  font-size: 18px;
  margin-bottom: 15px;
}

.white-card .card-text p {
  color: #333;
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
}

/* Magical floating particles background */
.history {
  position: relative;
  overflow: hidden;
}

.history::before,
.history::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(0, 200, 150, 0.4);
  border-radius: 50%;
  pointer-events: none;
  animation: floatUp 6s ease-in-out infinite;
}

.history::before {
  left: 10%;
  bottom: -20px;
  box-shadow:
    80vw 0 0 rgba(0, 180, 130, 0.3),
    20vw -100px 0 rgba(0, 200, 150, 0.2),
    60vw -200px 0 rgba(0, 150, 100, 0.3),
    40vw -50px 0 rgba(100, 200, 150, 0.2),
    90vw -150px 0 rgba(0, 180, 120, 0.25);
  animation-delay: 0s;
}

.history::after {
  right: 15%;
  bottom: -20px;
  box-shadow:
    -70vw -80px 0 rgba(0, 200, 150, 0.25),
    -30vw -180px 0 rgba(0, 150, 100, 0.3),
    -50vw -30px 0 rgba(0, 180, 130, 0.2),
    -10vw -120px 0 rgba(100, 200, 150, 0.25),
    -85vw -60px 0 rgba(0, 180, 120, 0.3);
  animation-delay: 3s;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-400px) scale(0.5);
    opacity: 0;
  }
}

/* Symbolism section - image touching bottom */
.symbolism-section {
  padding-bottom: 0;
}

.symbolism-section .intro-content {
  align-items: center;
}

.symbolism-section .intro-text {
  display: flex;
  align-items: center;
}

.symbolism-image img {
  margin-bottom: -2px;
}

/* About Mestre Section */
.about-mestre {
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

.about-intro {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.contributions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.contribution-card {
  background: linear-gradient(135deg, #004d4d 0%, #003d3d 100%);
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  border: 1px solid rgba(0, 180, 150, 0.2);
  transition: all 0.3s ease;
}

.contribution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 180, 150, 0.5);
  box-shadow: 0 10px 30px rgba(0, 100, 80, 0.3);
}

.contribution-icon {
  font-size: 36px;
  margin-bottom: 15px;
}

.contribution-card h4 {
  font-size: 16px;
  color: #00b3b3;
  margin-bottom: 10px;
}

.contribution-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .contributions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .contributions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .contributions-grid {
    grid-template-columns: 1fr;
  }
}

/* Capoeira Angola Page - Orange Theme */
.angola-logo-section {
  background: #fff;
  padding-top: 250px;
  padding-bottom: 40px;
}

.angola-logo-section .intro-logo {
  max-width: 350px;
  margin: 0 auto;
}

.angola-logo-section .intro-logo-section {
  text-align: center;
}

.angola-card-section {
  background: linear-gradient(180deg, #1a1208 0%, #0d0905 100%);
  padding: 40px 0;
}

.angola-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: linear-gradient(135deg, #1a1510 0%, #0d0a05 100%);
  border: 1px solid rgba(212, 131, 31, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.angola-card.reverse {
  direction: rtl;
}

.angola-card.reverse > * {
  direction: ltr;
}

.angola-card-text {
  padding: 40px;
  display: flex;
  align-items: center;
}

.angola-card-text p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  text-align: justify;
}

.highlight-orange {
  color: #d4831f;
}

.angola-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy-section {
  background: linear-gradient(180deg, #0d0905 0%, #1a1208 100%);
  padding: 50px 0;
}

.philosophy-text {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
  text-align: justify;
  max-width: 900px;
  margin: 0 auto;
}

.dark-card .angola-card {
  background: linear-gradient(135deg, #1a1510 0%, #0d0a05 100%);
  border-color: rgba(212, 131, 31, 0.2);
}

/* Angola page specific rules section */
.angola-rules .section-title {
  color: #d4831f;
}

.angola-rules {
  background: linear-gradient(180deg, #1a1208 0%, #0d0905 100%);
}

/* Angola page essence */
.section.essence.angola-essence {
  background: linear-gradient(135deg, #d4831f 0%, #8B4513 50%, #5D2E0C 100%);
}

.angola-essence blockquote {
  border-left: 4px solid #d4831f;
  padding-left: 20px;
}

/* Angola page orange header */
.header-angola {
  background: linear-gradient(180deg, #8B4513 0%, #d4831f 50%, #5D2E0C 100%);
}

.header-angola .nav-menu a {
  color: #fff;
}

.header-angola .nav-menu a:hover,
.header-angola .nav-menu a.active {
  color: #FFD700;
}

.header-angola .submenu {
  background: #5D2E0C;
}

.header-angola .submenu a:hover {
  background: rgba(212, 131, 31, 0.3);
}

.header-angola .lang-dropdown-btn {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

.header-angola .lang-dropdown-menu {
  background: #5D2E0C;
}

.header-angola .lang-option:hover {
  background: rgba(212, 131, 31, 0.3);
}

@media (max-width: 768px) {
  .angola-card {
    grid-template-columns: 1fr;
  }

  .angola-card.reverse {
    direction: ltr;
  }
}

/* Detailed Rules List */
.rules-list-detailed {
  max-width: 900px;
  margin: 0 auto;
}

.rule-item-detailed {
  display: flex;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid #222;
}

.rule-item-detailed .rule-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #d4831f, #b36a10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  color: #fff;
}

.rule-item-detailed .rule-text {
  flex: 1;
}

.rule-item-detailed .rule-text p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
}

.rule-item-detailed .rule-text p:last-child {
  margin-bottom: 0;
}

.rule-item-detailed .rule-text strong {
  color: #d4831f;
}

.intro-reverse {
  direction: rtl;
}

.intro-reverse > * {
  direction: ltr;
}

.essence-final {
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

.intro-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #00b3b3;
}

.intro-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.85);
}

.intro-text strong {
  color: #00b3b3;
}

/* Styles Section */
.styles {
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

.section-title {
  font-size: 36px;
  margin-bottom: 50px;
}

.text-center {
  text-align: center;
}

.styles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.style-card {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #222;
  transition: all 0.3s ease;
}

.style-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,102,102,0.2);
  border-color: #006666;
}

.style-image .floating-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.style-content {
  padding: 25px;
}

.style-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #00b3b3;
}

.style-content p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.8);
}

.style-figure {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #333;
}

/* Essence Section */
.essence {
  background: linear-gradient(135deg, #004d4d 0%, #003d3d 100%);
  text-align: center;
}

.essence-content blockquote {
  font-size: 28px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}

/* Mission Section */
.mission {
  background: #000;
}

.mission-content {
  max-width: 900px;
  margin: 0 auto;
}

.mission-content h2 {
  text-align: center;
  color: #00b3b3;
  margin-bottom: 30px;
}

.mission-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.85);
}

/* Rules Section */
.rules {
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

.rules-list {
  max-width: 800px;
  margin: 0 auto;
}

.rule-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #222;
}

.rule-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #006666, #004d4d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.rule-text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

/* Store Section */
.store-section {
  background: #000;
}

.store-header {
  text-align: center;
  margin-bottom: 50px;
}

.store-header h2 {
  color: #00b3b3;
  margin-bottom: 10px;
}

.store-header p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #222;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,102,102,0.2);
  border-color: #006666;
}

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.product-info p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin-bottom: 15px;
}

.btn-buy {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(135deg, #006666, #004d4d);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-buy:hover {
  background: linear-gradient(135deg, #008080, #006666);
  transform: translateY(-2px);
}

/* History Section */
.history {
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

.history-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.history-text h2 {
  color: #00b3b3;
  margin-bottom: 20px;
}

.history-text p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.85);
}

/* Benefits Section */
.benefits {
  background: #000;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.benefit-card {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #222;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  border-color: #006666;
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.benefit-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #00b3b3;
}

.benefit-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* Books Section */
.books-section {
  background: #000;
}

/* Class Options Section */
.class-options {
  background: #000;
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.class-card {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #222;
}

.class-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.3);
}

.class-image img {
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
}

.class-image.bg-white {
  background: #fff;
}

.class-content {
  padding: 30px;
}

.class-content h3 {
  font-size: 24px;
  color: #00b3b3;
  margin-bottom: 5px;
}

.class-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.class-content p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

.pricing-box {
  background: rgba(0,102,102,0.1);
  border: 1px solid #006666;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.price-item:last-child {
  border-bottom: none;
}

.price-label {
  color: rgba(255,255,255,0.7);
}

.price-value {
  font-weight: 700;
  color: #00b3b3;
}

/* Class Info Section */
.class-info {
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

.class-info-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.class-info-text h2 {
  color: #00b3b3;
  margin-bottom: 20px;
}

.class-info-text p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 15px;
}

/* Benefits Grid 6 */
.benefits-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.books-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  max-width: 600px;
  margin: 0 auto;
}

.book-card {
  text-align: center;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  border-radius: 12px;
  border: 1px solid #222;
  padding: 40px 30px;
  transition: all 0.3s ease;
}

.book-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,102,102,0.2);
  border-color: #006666;
}

.book-cover {
  margin-bottom: 25px;
}

.book-cover img {
  max-width: 380px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  display: block;
}

.book-carousel {
  position: relative;
  cursor: pointer;
}

.book-carousel .book-img {
  display: none;
  transition: opacity 0.3s ease;
}

.book-carousel .book-img.active {
  display: block;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.3s ease;
}

.carousel-dots .dot.active {
  background: #00b3b3;
}

.placeholder-image.book {
  height: 400px;
  max-width: 280px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.book-info h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #00b3b3;
}

.book-info p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

.intro-large {
  font-size: 20px;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: rgba(255,255,255,0.85);
}

.quote-author {
  margin-top: 20px;
  font-size: 18px;
  color: #00b3b3;
}

/* Responsive */
@media (max-width: 1024px) {
  .styles-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-content,
  .history-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero-content h1 {
    font-size: 36px;
  }

  .styles-grid,
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .essence-content blockquote {
    font-size: 20px;
    padding: 20px;
  }
}

/* ====================================
   TRECIRAL PAGE STYLES
   ==================================== */

.treciral-logo-section {
  background: #fff;
  padding: 40px 0 60px;
}

.treciral-logo-center {
  text-align: center;
}

.treciral-logo-center img {
  max-width: 450px;
  height: auto;
}

.treciral-intro {
  background: #fff;
  padding: 40px 0 60px;
}

.treciral-text-block {
  max-width: 800px;
  margin: 0 auto;
  color: #333;
}

.treciral-text-block h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.treciral-text-block p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
  text-align: justify;
}

.treciral-skills-section {
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  padding: 60px 0;
}

.treciral-skills-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.treciral-skills-text {
  color: #333;
}

.skills-intro {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: #333;
  margin-bottom: 25px;
}

.treciral-skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.treciral-skills-list li {
  font-size: 16px;
  color: #444;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.treciral-skills-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #8B6914;
  border-radius: 50%;
}

.treciral-skills-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.treciral-philosophy {
  background: #fff;
  padding: 60px 0;
}

.treciral-philosophy-content {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.treciral-philosophy-logo img {
  max-width: 300px;
  height: auto;
}

.treciral-philosophy-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  text-align: justify;
}

@media (max-width: 768px) {
  .treciral-skills-card {
    grid-template-columns: 1fr;
  }

  .treciral-philosophy-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .treciral-philosophy-logo {
    margin: 0 auto;
  }
}

/* ====================================
   FOUNDATION PAGE STYLES
   ==================================== */

.foundation-logo-section {
  background: #fff;
  padding: 40px 0;
}

.foundation-logo-center {
  text-align: center;
}

.foundation-logo-center img {
  max-width: 600px;
  height: auto;
}

.foundation-text-block {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: justify;
}

.foundation-text-block p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.foundation-image-text {
  text-align: center;
}

.foundation-image-center {
  margin-bottom: 30px;
}

.foundation-image-center img {
  max-width: 400px;
  height: auto;
}

.foundation-mission-text {
  max-width: 900px;
  margin: 0 auto;
}

.foundation-mission-text p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  text-align: justify;
}

.intro-reverse {
  direction: rtl;
}

.intro-reverse > * {
  direction: ltr;
}

.rounded-image {
  border-radius: 10%;
  max-width: 100%;
  height: auto;
}

/* ==================== MEDITATION CLASS ==================== */

/* Top meditation image */
.meditation-top-image {
  padding: 30px 0 20px;
}

.top-image-wrapper {
  display: flex;
  justify-content: center;
}

.top-image-wrapper img {
  max-width: 300px;
  height: auto;
  animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.floating-img {
  animation: floating 4s ease-in-out infinite;
}

.top-image-wrapper .placeholder-image {
  width: 300px;
  height: 200px;
  border-radius: 12px;
}

/* Meditation Intro */
.meditation-intro {
  padding: 60px 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 100%);
}

.meditation-intro .intro-content {
  max-width: 800px;
  margin: 0 auto;
}

.meditation-intro .intro-title {
  color: #00b3b3;
  font-size: 36px;
  margin-bottom: 50px;
  text-align: center;
}

.meditation-intro .intro-block {
  text-align: left;
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  border-left: 4px solid #00b3b3;
}

.meditation-intro .intro-block:last-child {
  margin-bottom: 0;
}

.meditation-intro h3 {
  color: #00b3b3;
  font-size: 24px;
  margin-bottom: 20px;
}

.meditation-intro p {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
  margin-bottom: 15px;
}

.meditation-intro p:last-child {
  margin-bottom: 0;
}

/* Key Benefits Title */
.key-benefits-title {
  padding: 80px 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 100%);
}

.key-benefits-title .big-title {
  font-size: 48px;
  text-align: center;
  font-weight: 300;
  letter-spacing: 2px;
  color: #00b3b3;
  position: relative;
  cursor: default;
  transition: all 0.5s ease;
}

.key-benefits-title .big-title:hover {
  letter-spacing: 6px;
  filter: drop-shadow(0 0 25px rgba(0, 179, 179, 0.6));
  transform: scale(1.02);
}

.key-benefits-title .big-title::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00b3b3, transparent);
  margin: 30px auto 0;
  transition: width 0.5s ease;
}

.key-benefits-title .big-title:hover::after {
  width: 150px;
}

.key-benefits-title .benefits-intro {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  max-width: 700px;
  margin: 30px auto 0;
  line-height: 1.7;
}

/* Benefit Sections */
.benefit-section {
  padding: 80px 0;
}

.benefit-section.dark-bg {
  background: linear-gradient(180deg, #0d0d0d 0%, #0a1822 100%);
}

.benefit-section.blue-gradient-bg {
  background: linear-gradient(180deg, #0a1822 0%, #0c2035 50%, #0a1822 100%);
}

.benefit-section-combined {
  padding: 80px 0;
  background: #fff;
}

.benefit-section-combined .benefit-text h3 {
  color: #00b3b3;
}

.benefit-section-combined .benefit-text p {
  color: #333;
}

.benefit-section-combined .source-text {
  color: #666;
}

.benefit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.benefit-row.reverse {
  direction: rtl;
}

.benefit-row.reverse > * {
  direction: ltr;
}

.benefit-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.benefit-image img {
  max-width: 80%;
  height: auto;
}

.benefit-image .placeholder-image {
  width: 100%;
  height: 300px;
  border-radius: 12px;
}

.benefit-text h3 {
  color: #00b3b3;
  font-size: 28px;
  margin-bottom: 20px;
}

.benefit-text p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 15px;
}

/* Instructor Section */
.instructor-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

.instructor-section .section-title {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 6px;
  color: #fff;
  margin-bottom: 60px;
  text-shadow: 0 0 50px rgba(0,102,102,0.5);
  cursor: default;
  transition: all 0.5s ease;
  position: relative;
}

.instructor-section .section-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: radial-gradient(ellipse at center, rgba(0,179,179,0.4) 0%, rgba(0,179,179,0.1) 40%, transparent 70%);
  border-radius: 50%;
  transition: all 0.6s ease;
  z-index: -1;
  opacity: 0;
}

.instructor-section .section-title:hover {
  text-shadow:
    0 0 20px rgba(0,179,179,0.8),
    0 0 40px rgba(0,179,179,0.6),
    0 0 60px rgba(0,179,179,0.4),
    0 0 80px rgba(0,179,179,0.2);
  color: #fff;
}

.instructor-section .section-title:hover::before {
  width: 120%;
  height: 300%;
  opacity: 1;
}

.instructor-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.instructor-row:last-child {
  margin-bottom: 0;
}

.instructor-row.reverse {
  direction: rtl;
}

.instructor-row.reverse > * {
  direction: ltr;
}

.instructor-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.instructor-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.instructor-image .placeholder-image {
  width: 100%;
  height: 350px;
  border-radius: 12px;
}

.instructor-text h3 {
  color: #00b3b3;
  font-size: 28px;
  margin-bottom: 20px;
}

.instructor-text p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 15px;
}

/* Source text (citations) */
.source-text {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  margin-top: 10px;
}

/* Alternating Content Rows */
.alternating-content {
  padding: 60px 0;
}

.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.content-row.reverse {
  direction: rtl;
}

.content-row.reverse > * {
  direction: ltr;
}

.content-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.content-text h2,
.content-text h3 {
  color: #00b3b3;
  margin-bottom: 20px;
}

.content-text p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 15px;
}

/* Family Tribute */
.family-tribute {
  background: linear-gradient(135deg, #0a1a1a 0%, #0d0d0d 100%);
  padding: 80px 0;
}

.tribute-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.tribute-text {
  font-size: 18px;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  border-left: 3px solid #00b3b3;
  padding-left: 30px;
  text-align: left;
}

/* Contributors */
.contributors {
  padding: 80px 0;
}

.contributors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.contributor-card {
  text-align: center;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  border-radius: 12px;
  border: 1px solid #222;
  padding: 30px;
  transition: all 0.3s ease;
}

.contributor-card:hover {
  transform: translateY(-5px);
  border-color: #00b3b3;
}

.contributor-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid #00b3b3;
}

.contributor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contributor-image .placeholder-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.contributor-card h3 {
  color: #00b3b3;
  margin-bottom: 10px;
  font-size: 20px;
}

.contributor-card p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive Meditation */
@media (max-width: 900px) {
  .key-benefits-title .big-title {
    font-size: 32px;
  }

  .top-image-wrapper .placeholder-image,
  .top-image-wrapper img {
    width: 220px;
    max-width: 220px;
  }

  .benefit-row,
  .instructor-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .benefit-row.reverse,
  .instructor-row.reverse {
    direction: ltr;
  }

  .content-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-row.reverse {
    direction: ltr;
  }

  .contributors-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .benefit-text h3,
  .instructor-text h3 {
    font-size: 24px;
  }

  .meditation-intro .intro-title {
    font-size: 28px;
  }

  .meditation-intro .intro-block {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .meditation-intro .intro-title {
    font-size: 24px;
  }

  .meditation-intro h3 {
    font-size: 20px;
  }

  .tribute-text {
    font-size: 16px;
    padding-left: 20px;
  }

  .benefit-section,
  .instructor-section {
    padding: 50px 0;
  }
}

/* ==================== STRETCHING CLASS - LIGHT THEME ==================== */

.stretching-section {
  background: #fff;
  padding: 60px 0;
}

.stretching-section .container {
  max-width: 900px;
}

.stretching-section .benefit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.stretching-section .benefit-row.reverse {
  direction: rtl;
}

.stretching-section .benefit-row.reverse > * {
  direction: ltr;
}

.stretching-section .benefit-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.stretching-section .benefit-image img {
  max-width: 100%;
  height: auto;
}

.stretching-section .benefit-text h3 {
  color: #333;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.stretching-section .benefit-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
  text-align: justify;
}

/* Stretching intro section with image on right */
.stretching-intro-section {
  background: #f5f5f5;
  padding: 60px 0;
}

.stretching-intro-row {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: center;
}

.stretching-intro-text h3 {
  color: #333;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.stretching-intro-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
  text-align: justify;
}

.stretching-intro-image img {
  max-width: 100%;
  height: auto;
}

/* Why Stretch title for stretching page */
.stretching-title-section {
  background: #fff;
  padding: 60px 0 30px;
}

.stretching-title-section h2 {
  color: #333;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.stretching-title-section p {
  color: #444;
  font-size: 16px;
  line-height: 1.7;
}

/* Stretching benefit cards with light gray background */
.stretching-benefit-light {
  background: #f8f8f8;
  padding: 40px 0;
  border-radius: 8px;
  margin: 20px 0;
}

.stretching-benefit-light .benefit-text h3 {
  color: #333;
  font-size: 18px;
  font-weight: 700;
}

.stretching-benefit-light .benefit-text p {
  color: #555;
  font-size: 15px;
  line-height: 1.8;
}

/* Stretching section title */
.stretching-section-title {
  color: #333;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.stretching-subtitle {
  color: #444;
  font-size: 16px;
  text-align: center;
  font-weight: 600;
}

/* Stretching guideline rows */
.stretching-guideline-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.stretching-guideline-row.reverse {
  grid-template-columns: 1fr 1fr;
}

.stretching-guideline-row.reverse .stretching-guideline-image {
  order: 2;
}

.stretching-guideline-row.reverse .stretching-guideline-text {
  order: 1;
}

.stretching-guideline-image img {
  max-width: 100%;
  height: auto;
}

.stretching-guideline-text p {
  color: #444;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}

.stretching-guideline-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .stretching-guideline-row,
  .stretching-guideline-row.reverse {
    grid-template-columns: 1fr;
  }

  .stretching-guideline-row.reverse .stretching-guideline-image,
  .stretching-guideline-row.reverse .stretching-guideline-text {
    order: unset;
  }
}

/* Stretching benefits list */
.stretching-benefits-list {
  max-width: 100%;
}

.stretching-benefit-item {
  margin-bottom: 30px;
}

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

.stretching-benefit-item h4 {
  color: #333;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stretching-benefit-item p {
  color: #444;
  font-size: 15px;
  line-height: 1.8;
  text-align: justify;
}

/* Stretching price box */
.stretching-price-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px dashed #999;
  margin: 30px 0;
  background: #e8f5e8;
}

.stretching-price-box .price-left {
  padding: 25px;
  border-right: 1px solid #ccc;
}

.stretching-price-box .price-right {
  padding: 25px;
  background: #d4edda;
  text-align: center;
}

.stretching-price-box p {
  color: #333;
  font-size: 14px;
  margin-bottom: 5px;
}

.stretching-price-box .price-left p:first-child {
  color: #c0392b;
}

.stretching-price-box a {
  color: #006666;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .stretching-price-box {
    grid-template-columns: 1fr;
  }

  .stretching-price-box .price-left {
    border-right: none;
    border-bottom: 1px solid #ccc;
  }
}

/* Stretching quote section */
.stretching-quote {
  background: #f8f8f8;
  padding: 60px 0;
  text-align: center;
}

.stretching-quote blockquote {
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  color: #555;
  padding: 30px;
  border-left: 4px solid #00b3b3;
}

/* Responsive Stretching */
@media (max-width: 900px) {
  .stretching-intro-row {
    grid-template-columns: 1fr;
  }

  .stretching-section .benefit-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stretching-section .benefit-row.reverse {
    direction: ltr;
  }
}
