/* Packages Page Styles */

/* Hero Section */
.packages-hero {
  background: linear-gradient(135deg, #0a7e8c 0%, #8c0a7e 100%);
  padding: 4rem 0 3rem 0;
  margin-bottom: 0;
}

.hero-features {
  margin-top: 2rem;
}

.hero-feature {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Package Cards */
.packages-section {
  background: var(--bg-gradient);
}

.package-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--main-color), var(--main-color-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.package-card.premium {
  border: 2px solid var(--main-color);
  transform: scale(1.02);
}

.package-card.premium:hover {
  transform: scale(1.02) translateY(-8px);
}

/* Package Header */
.package-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.package-badge {
  background: linear-gradient(135deg, var(--main-color), var(--main-color-light));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.package-badge.premium {
  background: linear-gradient(135deg, #8c0a7e, #d63384);
}

.popular-badge {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: #ff4757;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(15deg);
}

.package-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navbar-text);
  margin-bottom: 1rem;
}

.package-price {
  margin-bottom: 1rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--main-color);
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--main-color);
  margin-right: 0.5rem;
}

.price-period {
  font-size: 1rem;
  color: #666;
}

.package-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Package Features */
.package-features {
  flex: 1;
  margin-bottom: 2rem;
}

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

.features-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list i {
  color: var(--main-color);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.package-footer {
  margin-top: auto;
}

/* Features Section */
.features-section {
  background: #f8f9fa;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navbar-text);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 0;
}

.feature-card {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--main-color), var(--main-color-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin: 0 auto 1.5rem; */
}

.feature-icon i {
  font-size: 2rem;
  color: white !important;
}

.feature-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navbar-text);
  margin-bottom: 1rem;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
  background: var(--bg-gradient);
}

.accordion-item {
  border: none;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}

.accordion-button {
  background: #fff;
  border: none;
  padding: 1.5rem;
  font-weight: 600;
  color: var(--navbar-text);
  font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
  background: var(--main-color);
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-body {
  background: #fff;
  padding: 1.5rem;
  color: #666;
  line-height: 1.6;
}

/* Package Details Page */
.package-details-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.price-amount-hero {
  font-size: 4rem;
  font-weight: 700;
  display: block;
}

.price-currency-hero {
  font-size: 2rem;
  font-weight: 600;
  margin-right: 0.5rem;
}

.price-period-hero {
  font-size: 1.2rem;
  opacity: 0.9;
}

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

.package-details-content {
  background: var(--bg-gradient);
}

.content-section {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.features-grid {
  display: grid;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: var(--main-color);
  color: white;
}

.feature-item:hover .feature-icon i {
  color: white;
}

.feature-icon i {
  color: var(--main-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-text {
  font-size: 1.1rem;
  font-weight: 500;
}

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  height: 100%;
}

.included-icon {
  width: 60px;
  height: 60px;
  background: var(--main-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.included-icon i {
  font-size: 1.5rem;
  color: white;
}

.included-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navbar-text);
  margin-bottom: 0.5rem;
}

.included-content p {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

.steps-timeline {
  position: relative;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--main-color);
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--main-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
}

.step-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navbar-text);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Sidebar */
.package-sidebar {
  position: sticky;
  top: 2rem;
}

.summary-card, .faq-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navbar-text);
  margin-bottom: 1.5rem;
  text-align: center;
}

.package-summary {
  margin-bottom: 2rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.summary-label {
  font-weight: 600;
  color: var(--navbar-text);
}

.summary-value {
  color: var(--main-color);
  font-weight: 600;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navbar-text);
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Why This Package Section */
.why-package-grid {
  display: grid;
  gap: 1.5rem;
}

.why-package-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem !important;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.why-package-item:hover {
  background: var(--main-color);
  color: white;
  transform: translateY(-2px);
}

.why-package-icon {
  width: 50px;
  height: 50px;
  background: var(--main-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.why-package-item:hover .why-package-icon {
  background: white;
  color: var(--main-color);
}

.why-package-icon i {
  font-size: 1.2rem;
  color: white;
  transition: all 0.3s ease;
}

.why-package-item:hover .why-package-icon i {
  color: var(--main-color);
}

.why-package-text {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 10px;
}

/* Programs Section */
.program-category {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.category-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--main-color);
}

.programs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.program-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.program-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.program-icon {
  width: 40px;
  height: 40px;
  background: var(--main-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.program-icon i {
  font-size: 1rem;
  color: white;
}

.program-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 10px;
  color: var(--navbar-text);
}

/* Trainers Section */
.trainers-grid {
  display: grid;
  gap: 1rem;
}

.trainer-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.trainer-item:hover {
  background: var(--main-color);
  color: white;
  transform: translateY(-2px);
}

.trainer-icon {
  width: 50px;
  height: 50px;
  background: var(--main-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.trainer-item:hover .trainer-icon {
  background: white;
  color: var(--main-color);
}

.trainer-icon i {
  font-size: 1.2rem;
  color: white;
  transition: all 0.3s ease;
}

.trainer-item:hover .trainer-icon i {
  color: var(--main-color);
}

.trainer-text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

/* Call to Action Section */
.cta-box {
  background: linear-gradient(135deg, var(--main-color), var(--main-color-light));
  border-radius: 16px;
  padding: 3rem 2rem;
  color: white;
}

.cta-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.cta-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-box .btn-primary {
  background: white;
  color: var(--main-color) !important;
  border: none;
  font-weight: 600;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
}
.btn-outline-primary{
  display: block !important;
  text-align: center !important;
}
.cta-box .btn-primary:hover {
  background: var(--main-color-dark);
  color: white;
  transform: translateY(-2px);
}

/* Related Packages */
.related-packages {
  background: #f8f9fa;
}

.related-package-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.related-package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.related-package-card .package-header {
  text-align: center;
  margin-bottom: 1rem;
}

.related-package-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navbar-text);
  margin-bottom: 1rem;
}

.related-package-card .package-price {
  margin-bottom: 1rem;
}

.related-package-card .price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--main-color);
}

.related-package-card .price-currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--main-color);
  margin-right: 0.5rem;
}

.related-package-card .price-period {
  font-size: 0.9rem;
  color: #666;
}

.related-package-card .package-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: center;
}

.related-package-card .package-actions {
  text-align: center;
}

/* Dark Mode Styles */
[data-theme="dark"] .package-card,
[data-theme="dark"] .content-section,
[data-theme="dark"] .summary-card,
[data-theme="dark"] .faq-card,
[data-theme="dark"] .related-package-card {
  background: var(--card-dark);
  color: var(--text-light);
}

[data-theme="dark"] .section-title,
[data-theme="dark"] .card-title,
[data-theme="dark"] .related-package-card h4 {
  color: var(--text-light);
}

[data-theme="dark"] .feature-item,
[data-theme="dark"] .included-item {
  background: var(--border-color);
  color: var(--text-light);
}

[data-theme="dark"] .feature-item:hover {
  background: var(--main-color);
}

[data-theme="dark"] .included-content h4,
[data-theme="dark"] .step-content h4,
[data-theme="dark"] .faq-item h5 {
  color: var(--text-light);
}

[data-theme="dark"] .included-content p,
[data-theme="dark"] .step-content p,
[data-theme="dark"] .faq-item p,
[data-theme="dark"] .related-package-card .package-description {
  color: var(--text-muted);
}

[data-theme="dark"] .summary-item {
  border-bottom-color: var(--border-color);
}

[data-theme="dark"] .summary-label {
  color: var(--text-light);
}

[data-theme="dark"] .why-package-item,
[data-theme="dark"] .program-category,
[data-theme="dark"] .trainer-item {
  background: var(--border-color);
  color: var(--text-light);
}

[data-theme="dark"] .why-package-item:hover,
[data-theme="dark"] .trainer-item:hover {
  background: var(--main-color);
}

[data-theme="dark"] .program-item {
  background: var(--card-dark);
  color: var(--text-light);
}

[data-theme="dark"] .program-text {
  color: var(--text-light);
}

[data-theme="dark"] .category-title {
  color: var(--main-color-light);
  border-bottom-color: var(--main-color-light);
}

[data-theme="dark"] .cta-box {
  background: linear-gradient(135deg, var(--main-color-dark), var(--main-color));
}

[data-theme="dark"] .accordion-button {
  background: var(--card-dark);
  color: var(--text-light);
}

[data-theme="dark"] .accordion-body {
  background: var(--card-dark);
  color: var(--text-muted);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .packages-hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }
  
  .package-card {
    margin-bottom: 2rem;
  }
  
  .package-card.premium {
    transform: none;
  }
  
  .package-card.premium:hover {
    transform: translateY(-8px);
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  .package-details-hero {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .price-amount-hero {
    font-size: 3rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .steps-timeline::before {
    left: 20px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .package-sidebar {
    position: static;
    margin-top: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
} 