/* ============================================
   Kangaroo Science Page - Custom Styles
   Extracted from inline styles for better caching
   ============================================ */

/* User Provided Styles Adapted */
:root {
  --primary-blue: #00205b;
  --science-green: #26c976;
  --accent-purple: #6a0dad;
  --accent-orange: #f16126;
  --light-bg: #f8f9fa;
  --dark-text: #333;
  --light-text: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--science-green);
  border-radius: 2px;
}

.section-title p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: #555;
}

.btn-custom {
  display: inline-block;
  padding: 15px 35px;
  background: var(--science-green);
  color: white;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--science-green);
  box-shadow: 0 4px 15px rgba(38, 201, 118, 0.3);
}

.btn-custom:hover {
  background: transparent;
  color: var(--science-green);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(38, 201, 118, 0.4);
}

.btn-secondary-custom {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(0, 32, 91, 0.3);
  color: white;
}

.btn-secondary-custom:hover {
  color: var(--primary-blue);
  background: transparent;
}

/* Hero */
.hero-custom {
  background:
    linear-gradient(
      135deg,
      rgba(0, 32, 91, 0.9) 0%,
      rgba(38, 201, 118, 0.8) 100%
    ),
    url("https://images.unsplash.com/photo-1532094349884-543bc11b234d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: white;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  color: white;
}

/* Reasons */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.reason-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center;
  padding: 40px 25px;
  border-bottom: 4px solid var(--science-green);
}

.reason-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.reason-icon {
  font-size: 3.5rem;
  color: var(--science-green);
  margin-bottom: 25px;
}

/* Awards */
.awards-section {
  background: linear-gradient(to bottom, #00205b, #004a8f);
  color: white;
  padding: 100px 0;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.award-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.award-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.award-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #26c976;
  transition: all 0.3s ease;
}

.award-card:hover .award-icon {
  transform: scale(1.2);
  color: #ffd700;
}

/* Certificate Note */
.certificate-note {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  max-width: 900px;
  margin: 40px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.note-icon {
  font-size: 2.5rem;
  color: #26c976;
  margin-left: 20px;
  flex-shrink: 0;
}

.note-content h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ffd700;
}

/* Levels Table */
.levels-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
}

.levels-table th {
  background-color: var(--primary-blue);
  color: white;
  padding: 18px;
  font-size: 1.2rem;
  text-align: center;
}

.levels-table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.levels-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.level-badge {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  background: rgba(38, 201, 118, 0.2);
  color: var(--science-green);
}

/* Timeline */
.timeline-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e6f4ea 100%);
}

.timeline-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 50px;
}

.timeline-item {
  position: relative;
  width: 250px;
  padding: 30px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  margin-bottom: 60px;
  z-index: 1;
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background: var(--science-green);
  border-radius: 50%;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 60px;
  background: var(--science-green);
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-icon {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #004a8f 100%);
  color: white;
  text-align: center;
  padding: 100px 0;
}

/* FAQ */
.faq-item {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
  background: var(--primary-blue);
  color: white;
  padding: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  background: white;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.faq-answer p {
  padding: 20px;
  color: #555;
  font-size: 1.1rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .levels-table {
    min-width: 600px;
  }
  .table-responsive {
    overflow-x: auto;
  }
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .timeline-container {
    flex-direction: column;
    align-items: center;
  }
  .timeline-item {
    margin-bottom: 80px;
  }
}
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .btn-custom {
    width: 100%;
    margin-bottom: 10px;
  }
}
