/* program-detail.css - Styles for individual program pages */

/* Program Hero Section */
.program-hero {
  padding: 180px 0 100px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.program-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
}

.program-hero .container {
  position: relative;
  z-index: 2;
}

/* Program Badge */
.program-badge {
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Feature Grid */
.program-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: #f8f8f8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  stroke: #000;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

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

.timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e0e0e0;
}

.timeline-item {
  position: relative;
  padding-left: 100px;
  margin-bottom: 3rem;
}

.timeline-marker {
  position: absolute;
  left: 20px;
  top: 0;
  width: 40px;
  height: 40px;
  background: #000;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.timeline-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 0.5rem;
  color: #555;
}

.timeline-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #000;
  font-weight: bold;
}

/* Results Grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

/* program-detail.css - Styles for individual program pages */

/* Program Hero Section */
.program-hero {
  padding: 180px 0 100px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.program-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
}

.program-hero .container {
  position: relative;
  z-index: 2;
}

/* Program Badge */
.program-badge {
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Feature Grid */
.program-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: #f8f8f8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  stroke: #000;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

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

.timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e0e0e0;
}

.timeline-item {
  position: relative;
  padding-left: 100px;
  margin-bottom: 3rem;
}

.timeline-marker {
  position: absolute;
  left: 20px;
  top: 0;
  width: 40px;
  height: 40px;
  background: #000;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.timeline-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 0.5rem;
  color: #555;
}

.timeline-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #000;
  font-weight: bold;
}

/* Results Grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

.result-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #000;
}

.result-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.result-item p {
  color: #666;
  line-height: 1.5;
}

/* Target Audience */
.target-audience {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.audience-list li {
  position: relative;
  padding-left: 40px;
  line-height: 1.6;
  color: #555;
}

.audience-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: #000;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
}

/* Program Actions - Read More Link */
.program-actions {
  margin-top: 1.5rem;
}

.btn-text-link {
  display: inline-flex;
  background-color: #000;
  padding: 10px 15px;
  border-radius: 15px;
  align-items: center;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.3s ease;
}



.btn-text-link:hover {
  transform: translateX(5px);
}

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

@media (max-width: 768px) {
  .program-hero {
    padding: 140px 0 60px;
  }
  
  .program-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .timeline-item {
    padding-left: 80px;
  }
  
  .timeline-marker {
    left: 10px;
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .timeline::before {
    left: 27px;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .audience-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .program-hero h1 {
    font-size: 2rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .timeline-content h3 {
    font-size: 1.25rem;
  }
  
  .target-audience {
    padding: 2rem;
  }
}

/* Height Utilities */
.min-h-screen {
  min-height: 100vh;
}

/* Flex utilities for sticky footer */
.flex-1 {
  flex: 1;
}

/* program-tabs.css - Styles for tabbed program interface */

/* Program Tabs Container */
.program-tabs-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tabs-navigation {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0;
  justify-content: center;
  flex-wrap: nowrap; /* Prevent wrapping */
  overflow-x: visible; /* Remove horizontal scrolling */
  position: sticky; /* Make the navigation sticky */
  top: 0; /* Stick to the top of the viewport */
  z-index: 100; /* Ensure it appears above other content */
  padding-top: 1rem; /* Add some padding for better appearance */
}

.tabs-navigation::-webkit-scrollbar {
  height: 6px;
}

.tabs-navigation::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.tabs-navigation::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.tab-button {
  flex: 1 1 50%; /* Each tab takes equal space */
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.5rem 2rem;
  position: relative;
  transition: all 0.3s ease;
  font-family: var(--font-heading);
  text-align: center;
  min-width: auto; /* Allow buttons to shrink */
  border-bottom: 3px solid transparent;
  transform: translateY(2px); /* Align with the border */
}

.tab-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.tab-button.active {
  background-color: transparent;
  border-bottom-color: #000;
}

/* Tab Badge */
.tab-badge {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 0.5rem;
}

.tab-button.active .tab-badge {
  color: #000;
}

/* Tab Title */
.tab-title {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.25rem;
}

.tab-button.active .tab-title {
  color: #000;
}

/* Tab Subtitle */
.tab-subtitle {
  display: block;
  font-size: 0.875rem;
  color: #666;
  font-weight: 400;
}

.tab-button.active .tab-subtitle {
  color: #333;
}

/* Tab Content */
.tabs-content {
  position: relative;
  min-height: 500px; /* Prevents layout shift */
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-inner {
  padding: 2rem 0;
}

/* Program features grid within tabs */
.tab-content .program-features-grid {
  margin-bottom: 3rem;
}

/* Results section within tabs */
.tab-content .results-section {
  margin-bottom: 3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tabs-navigation {
    gap: 0.25rem; /* Reduce gap between tabs */
    padding: 0.5rem 0;
  }
  
  .tabs-navigation::-webkit-scrollbar {
    display: none;
  }
  
  .tab-button {
    padding: 1rem 0.75rem; /* Reduce padding */
  }
  
  .tab-badge {
    font-size: 0.6rem;
    margin-bottom: 0.2rem;
  }
  
  .tab-title {
    font-size: 1rem;
  }
  
  .tab-subtitle {
    font-size: 0.7rem;
  }
  
  .tab-inner {
    padding: 1rem 0;
  }
}

@media (max-width: 480px) {
  .tabs-navigation {
    gap: 0.1rem; /* Even smaller gap */
    padding: 0.25rem 0;
  }
  
  .tab-button {
    padding: 0.75rem 0.5rem; /* Even smaller padding */
  }
  
  .tab-title {
    font-size: 0.85rem; /* Even smaller title */
  }
  
  .tab-subtitle {
    font-size: 0.65rem; /* Even smaller subtitle */
  }
}

/* Enhanced mobile styles for program cards */

/* Adjust program card sizing for mobile */
@media (max-width: 767px) {
  /* Container adjustments */
  .programs-container {
    overflow-x: auto; /* Allow horizontal scrolling */
    overflow-y: visible !important; /* PREVENT vertical scrolling in container */
    scroll-snap-type: x mandatory; /* Keep horizontal snapping */
  }
  
  .program-card {
    width: 85vw;
    padding: 25px 20px;
    margin: 0 8px;
    max-height: none !important; /* REMOVE height limitation completely */
    height: auto !important; /* Let height be natural */
    overflow: visible !important; /* NEVER allow internal scrolling */
    overflow-y: visible !important; /* Force disable vertical scrolling */
    position: relative;
  }
  /* Typography scaling */
  .program-title {
    font-size: 1.3rem; /* Smaller title */
    margin-bottom: 6px;
  }
  
  .program-header p {
    font-size: 0.8rem; /* Smaller subtitle */
    margin-top:68px;
  }
  
  .program-badge {
    padding: 4px 8px; /* Smaller badge */
    margin-bottom: 15px;
  }
  
  /* List adjustments */
  .benefits-list li {
    margin-bottom: 8px; /* Less space between items */
  }
  
  .benefits-icon {
    width: 16px; /* Smaller icons */
    height: 16px;
    margin-right: 12px;
  }
  
  .benefits-text {
    font-size: 0.8rem; /* Smaller text */
    line-height: 1.2;
  }
  
  /* Summary section */
  .program-summary {
    font-size: 0.8rem; /* Smaller summary */
    padding-top: 20px; /* Less padding */
  }
  
  /* Price indicator adjustments */
  .program-price-indicator {
    top: 16px;
    right: 16px;
  }
  
  .price-dot {
    width: 8px; /* Smaller dots */
    height: 8px;
  }
  
  /* Improve touch targets */
  .program-dot {
    width: 12px; /* Larger dots for easier tapping */
    height: 12px;
    margin: 0 6px;
  }
}

/* Extra small screens */
@media (max-width: 375px) {
  .program-card {
    width: 90vw; /* Wider on very small screens */
    padding: 20px 15px; /* Even smaller padding */
  }
  
  .program-title {
    font-size: 1.2rem; /* Even smaller title */
  }
  
  .benefits-text {
    font-size: 0.9rem; /* Even smaller text */
  }
  
  .program-badge {
    padding: 5px 10px; /* Smaller badge */
    font-size: 0.7rem;
  }
}

/* Custom scroll indicator for mobile */
.mobile-scroll-indicator {
  display: none;
  text-align: center;
  margin-bottom: 10px;
  color: #666;
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  .mobile-scroll-indicator {
    display: block;
  }
  
  .mobile-scroll-indicator::after {
    content: "←   →";
    display: inline-block;
    margin-left: 8px;
    animation: swipeHint 1.5s ease-in-out infinite;
  }
  
  @keyframes swipeHint {
    0%, 100% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
  }
}

/* Fix for program tabs scroll behavior */
.tab-content {
  overflow: visible; /* Prevent cutoff of card container */
}


/* Fix program dots to ensure they're visible */
.program-dots {
  position: relative;
  z-index: 5;
  padding: 10px 0;
  margin-top: 20px;
}