/* Programs Page PC Styles */

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(
    135deg,
    #ffe4e1 0%,
    #e6e6fa 25%,
    #f0f8ff 50%,
    #f5fffa 75%,
    #fff8dc 100%
  ) !important;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav-logo a {
  text-decoration: none;
  color: #2c3e50;
}

.nav-link.active {
  color: #dda0dd;
}

.nav-link.active::after {
  width: 100%;
}

/* Programs Hero */
.programs-hero {
  background: linear-gradient(45deg, #dda0dd, #e6e6fa);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

.programs-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.programs-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-filter-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-filter-btn {
  padding: 0.5rem 1rem;
  border: 2px solid white;
  background: transparent;
  color: white;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  flex-shrink: 0;
  min-width: fit-content;
  user-select: none;
}

.hero-filter-btn.active,
.hero-filter-btn:hover {
  background: white;
  color: #dda0dd;
}

.category-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-btn {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1rem;
  backdrop-filter: blur(10px);
}

.category-btn:hover,
.category-btn.active {
  background: rgba(255, 255, 255, 0.9);
  color: #dda0dd;
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* Programs Navigation */
.programs-nav {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.programs-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
}

.tab-btn {
  padding: 12px 24px;
  background: transparent;
  border: 2px solid #dda0dd;
  color: #dda0dd;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1rem;
}

.tab-btn.active,
.tab-btn:hover {
  background: #dda0dd;
  color: white;
}

/* Program Detail Sections */
.program-detail {
  display: none;
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.program-detail.active {
  display: block;
}

.program-header {
  text-align: center;
  margin-bottom: 4rem;
}

.program-header h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
}

.program-header p {
  font-size: 1.2rem;
  color: white;
}

.program-content {
  max-width: 1200px;
  margin: 0 auto;
}

.program-overview {
  background: #f8f9fa;
  padding: 3rem;
  border-radius: 15px;
  margin-bottom: 4rem;
  text-align: center;
}

.program-overview h3 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.program-overview p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

/* Curriculum Section */
.curriculum-section {
  margin-bottom: 4rem;
}

.curriculum-section h3 {
  font-size: 2rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 2rem;
}

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

.curriculum-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.curriculum-card:hover {
  transform: translateY(-5px);
}

.curriculum-card h4 {
  font-size: 1.3rem;
  color: #dda0dd;
  margin-bottom: 1rem;
  text-align: center;
}

.curriculum-card ul {
  list-style: none;
  padding: 0;
}

.curriculum-card li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: #555;
}

.curriculum-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

/* Year Levels */
.year-levels {
  margin-bottom: 4rem;
}

.year-levels h3 {
  font-size: 2rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 2rem;
}

.year-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.year-card {
  background: linear-gradient(135deg, #dda0dd 0%, #e6e6fa 100%);
  color: white;
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
}

.year-card h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.year-card p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  color: white;
}

.year-card ul {
  list-style: none;
  text-align: left;
}

.year-card li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.year-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #f39c12;
  font-weight: bold;
}

/* Pricing Section */
.pricing-section {
  margin-bottom: 4rem;
}

.pricing-section h3 {
  font-size: 2rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.featured {
  border: 3px solid #dda0dd;
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #dda0dd;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-card h4 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #dda0dd;
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 1rem;
  color: #666;
  font-weight: 400;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-card li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: #555;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

.enroll-btn {
  width: 100%;
  padding: 12px 24px;
  background: linear-gradient(45deg, #dda0dd, #e6e6fa);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.enroll-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Subject Content Section */
.subject-content-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #FFE4E1 0%, #E6E6FA 25%, #F0F8FF 50%, #F5FFFA 75%, #FFF8DC 100%);
}

/* Main Subject Image */
.main-subject-image {
  text-align: center;
  margin-bottom: 4rem;
}

.main-subject-image img {
  width: 100%;
  max-width: 800px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Simple Subject Overview */
.subject-overview-simple {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.subject-overview-simple h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 2rem;
  font-weight: 700;
}

.subject-overview-simple > p {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 3rem;
}

.program-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.highlight {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-top: 4px solid #DDA0DD;
}

.highlight h4 {
  font-size: 1.4rem;
  color: #DDA0DD;
  margin-bottom: 1rem;
  font-weight: 600;
}

.highlight p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

.subject-overview {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: start;
}

/* Simple Teacher Card Design */
.program-card.teacher-card,
.program-card {
  background: white !important;
  border-radius: 15px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  display: flex !important;
  flex-direction: column !important;
  margin-bottom: 2rem !important;
  height: auto !important;
  border: 1px solid #f0f0f0 !important;
}

.program-card:hover,
.program-card.teacher-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
  border-color: #DDA0DD !important;
}

.program-image {
  width: 100% !important;
  height: 250px !important;
  overflow: hidden !important;
  position: relative !important;
  background: #f8f9fa !important;
}

.program-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
}

.program-card:hover .program-image img {
  transform: scale(1.05) !important;
}

.program-content {
  padding: 2rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 1rem !important;
}

.teacher-philosophy-preview {
  font-size: 0.9rem !important;
  color: #666 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  font-style: italic !important;
  text-align: center !important;
  max-width: 100% !important;
}

.program-meta {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-bottom: 1rem !important;
}

.program-category {
  background: #DDA0DD !important;
  color: white !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 20px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.program-year {
  font-size: 0.9rem !important;
  color: #666 !important;
  font-weight: 500 !important;
  text-align: center !important;
}

.program-title {
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  color: #2c3e50 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.learn-more-btn {
  background: linear-gradient(45deg, #DDA0DD, #E6E6FA) !important;
  color: white !important;
  border: none !important;
  padding: 0.8rem 2rem !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  font-size: 0.9rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 15px rgba(221, 160, 221, 0.3) !important;
}

.learn-more-btn:hover {
  background: linear-gradient(45deg, #BA55D3, #DDA0DD) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(221, 160, 221, 0.4) !important;
}

.subject-text h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 2rem;
  font-weight: 700;
}

.subject-text p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 3rem;
}

.program-details {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.program-details h3 {
  font-size: 2rem;
  color: #DDA0DD;
  margin-bottom: 2rem;
  text-align: center;
}

.topics-list h4 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin: 1.5rem 0 0.5rem 0;
  font-weight: 600;
}

.topics-list p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 3px solid #E6E6FA;
}

.class-info {
  background: linear-gradient(135deg, #DDA0DD 0%, #E6E6FA 100%);
  color: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.class-info h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
}

.class-info ul {
  list-style: none;
  padding: 0;
}

.class-info li {
  padding: 0.8rem 0;
  position: relative;
  padding-left: 2rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.class-info li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #f39c12;
  font-weight: bold;
  font-size: 1.2rem;
}

.subject-image {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.subject-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.subject-image img:hover {
  transform: translateY(-5px);
}

/* Key Features */
.key-features {
  margin-top: 4rem;
}

.key-features h3 {
  font-size: 2.5rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  border-top: 4px solid #DDA0DD;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature h4 {
  font-size: 1.5rem;
  color: #DDA0DD;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

/* Programs CTA */
.programs-cta {
  background: linear-gradient(135deg, #2c3e50 0%, #dda0dd 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.programs-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.programs-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  padding: 15px 30px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.cta-button:hover {
  background: white;
  color: #2c3e50;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Footer Styles */
.footer {
  background: linear-gradient(45deg, #DDA0DD, #E6E6FA);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-section p {
  color: white;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #f8f9fa;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}
