/* ==========================================================================
   CURRICULUM PAGE - STYLES
   ========================================================================== */

/* ---- HERO BANNER ---- */
.curr-hero {
  position: relative;
  background: linear-gradient(135deg, #E1F1F6 0%, #FFF9EE 40%, #E1F1F6 100%);
  padding: 160px 0 110px;
  text-align: center;
  overflow: hidden;
}

.curr-hero-inner {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeInDown 0.7s ease forwards 0.2s;
}
.breadcrumb-trail a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
.breadcrumb-trail a:hover { color: var(--color-primary-hover); }
.breadcrumb-trail i { font-size: 10px; color: var(--color-accent-teal); }

.curr-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.1;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.35s;
}

.curr-hero-subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.55s;
}

/* Floating shapes */
.curr-float {
  position: absolute;
  z-index: 1;
  opacity: 0.55;
}
.curr-float-1 { top: 18%; left: 7%; animation: floatA 5s ease-in-out infinite; }
.curr-float-2 { top: 25%; right: 8%; animation: floatB 6s ease-in-out infinite 0.3s; }
.curr-float-3 { bottom: 30%; left: 12%; animation: floatA 4.5s ease-in-out infinite 0.7s; }
.curr-float-4 { bottom: 22%; right: 15%; animation: floatB 5.5s ease-in-out infinite 1s; }
.curr-float-5 { top: 50%; left: 4%; animation: floatA 4s ease-in-out infinite 0.5s; }

@keyframes floatA {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(8deg); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-6deg); }
}

/* Particle dots */
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
}
.particle-1 { width: 6px; height: 6px; background: var(--color-primary); top: 30%; left: 20%; animation-delay: 0s; }
.particle-2 { width: 4px; height: 4px; background: var(--color-accent-teal); top: 60%; right: 25%; animation-delay: 1.5s; }
.particle-3 { width: 5px; height: 5px; background: var(--color-accent-pink); bottom: 35%; left: 35%; animation-delay: 3s; }
.particle-4 { width: 3px; height: 3px; background: var(--color-accent-yellow); top: 40%; right: 18%; animation-delay: 4.5s; }
.particle-5 { width: 5px; height: 5px; background: #7B68EE; top: 20%; left: 60%; animation-delay: 2s; }
.particle-6 { width: 4px; height: 4px; background: var(--color-primary); bottom: 25%; right: 35%; animation-delay: 5s; }

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(20px) scale(0); }
  20% { opacity: 0.8; transform: translateY(0) scale(1); }
  80% { opacity: 0.6; transform: translateY(-30px) scale(0.8); }
  100% { opacity: 0; transform: translateY(-50px) scale(0); }
}

.curr-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}
.curr-hero-wave svg { display: block; width: 100%; }


/* ---- SHARED LAYOUT ---- */
.curr-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.section-label i { font-size: 12px; }

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.accent {
  color: var(--color-primary);
  position: relative;
}
.accent::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  opacity: 0.3;
}

.section-subtext {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

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


/* ---- INTRO SECTION ---- */
.curr-intro {
  padding: 90px 0 70px;
  background: #fff;
}

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

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

@media (max-width: 992px) {
  .intro-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .intro-content {
    align-items: center;
  }
  .intro-heading {
    text-align: center !important;
  }
  .intro-text {
    text-align: center !important;
  }
}

.intro-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 24px;
  box-shadow: 0 10px 30px rgba(242, 140, 83, 0.3);
  animation: bounceIn 0.6s ease;
}

.intro-heading {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 20px;
  line-height: 1.25;
}

.intro-text {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.intro-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.intro-divider span {
  width: 60px;
  height: 2px;
  background: var(--color-accent-teal);
  border-radius: 2px;
}
.intro-divider i { font-size: 18px; }


/* ---- PHILOSOPHIES ORBIT ---- */
.curr-philosophies {
  padding: 100px 0;
  background: var(--color-bg-hero);
}

.philosophies-orbit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.orbit-center {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.orbit-center-inner {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary), #1e3842);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 12px 40px rgba(43, 78, 91, 0.25);
  animation: pulseCenter 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.orbit-center-inner i {
  font-size: 28px;
  color: var(--color-primary);
}

@keyframes pulseCenter {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 40px rgba(43, 78, 91, 0.25); }
  50% { transform: scale(1.05); box-shadow: 0 16px 50px rgba(43, 78, 91, 0.35); }
}

.orbit-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(43, 78, 91, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  height: 100%;
}

.orbit-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 40px rgba(43, 78, 91, 0.14);
}

.orbit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  margin: 0 auto 14px;
  transition: transform 0.3s ease;
}

.orbit-card:hover .orbit-icon {
  transform: rotate(15deg) scale(1.12);
}

.orbit-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.orbit-card p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
}


/* ---- PRIME AREAS ---- */
.curr-prime {
  padding: 100px 0;
  background: #fff;
}

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

.prime-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 40px 28px 32px;
  box-shadow: 0 4px 20px rgba(43, 78, 91, 0.06);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.prime-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(43, 78, 91, 0.14);
}

.prime-card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--glow-color);
  opacity: 0.08;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.prime-card:hover .prime-card-glow {
  transform: scale(1.8);
  opacity: 0.12;
}

.prime-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: rgba(43, 78, 91, 0.06);
  position: absolute;
  top: 10px;
  right: 20px;
  line-height: 1;
}

.prime-icon {
  font-size: 36px;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.prime-card h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 18px;
  line-height: 1.3;
}

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

.prime-list li {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(43, 78, 91, 0.06);
}

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

.prime-list li i {
  color: var(--color-accent-teal);
  font-size: 13px;
  flex-shrink: 0;
}

.prime-card-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 0 0 22px 22px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.prime-card:hover .prime-card-line {
  transform: scaleX(1);
}


/* ---- SPECIFIC AREAS (FLIP CARDS) ---- */
.curr-specific {
  padding: 100px 0;
  background: var(--color-bg-hero);
}

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

.specific-card {
  perspective: 800px;
  height: 240px;
  cursor: pointer;
}

.specific-front,
.specific-back {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  backface-visibility: hidden;
  transition: transform 0.6s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
}

.specific-front {
  background: #fff;
  box-shadow: 0 4px 16px rgba(43, 78, 91, 0.06);
  z-index: 2;
}

.specific-back {
  background: linear-gradient(135deg, var(--color-secondary), #1e3842);
  color: #fff;
  transform: rotateY(180deg);
  z-index: 1;
}

.specific-card {
  position: relative;
}

.specific-card:hover .specific-front { transform: rotateY(-180deg); }
.specific-card:hover .specific-back { transform: rotateY(0deg); }

.specific-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.specific-front h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.specific-back h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.specific-back p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.85;
}

.back-icon {
  position: absolute;
  bottom: 16px;
  right: 18px;
  font-size: 40px;
  opacity: 0.1;
}


/* ---- TOPICS MARQUEE ---- */
.curr-topics {
  padding: 100px 0 80px;
  background: #fff;
  overflow: hidden;
}

.topics-marquee-wrapper {
  overflow: hidden;
  padding: 30px 0;
  margin: 10px 0 40px;
  position: relative;
}

.topics-marquee-wrapper::before,
.topics-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}

.topics-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.topics-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.topics-marquee {
  display: flex;
  gap: 18px;
  animation: marqueeScroll 35s linear infinite;
  width: max-content;
}

.topics-marquee:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 40px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-dark);
  background: var(--color-bg-hero);
  border: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: default;
}

.topic-pill:hover {
  background: #fff;
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(242, 140, 83, 0.15);
}

.topic-pill i {
  font-size: 16px;
  color: var(--color-primary);
}

.topics-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--color-bg-nav);
  border-radius: 16px;
  padding: 24px;
  border-left: 4px solid var(--color-accent-teal);
}

.note-icon {
  flex-shrink: 0;
  color: var(--color-accent-teal);
  font-size: 20px;
  margin-top: 2px;
}

.topics-note p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ---- READINESS CTA ---- */
.curr-readiness {
  padding: 80px 0;
  background: var(--color-bg-hero);
}

.readiness-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-secondary), #1e3842);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
}

.rd-float {
  position: absolute;
  opacity: 0.5;
  animation: floatA 5s ease-in-out infinite;
}
.rd-float-1 { top: 15px; left: 25px; }
.rd-float-2 { bottom: 15px; right: 30px; animation-delay: 1.2s; }
.rd-float-3 { top: 50%; left: 80%; animation-delay: 2.5s; }

.readiness-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  animation: bounceIn 0.6s ease;
}

.readiness-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.readiness-card p {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 530px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 2;
}

.btn-cta {
  font-size: 16px;
  padding: 14px 36px;
  position: relative;
  z-index: 2;
}


/* ---- FOOTER ---- */
.curr-footer {
  background: var(--color-secondary);
  padding: 50px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-brand .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.footer-tagline {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-primary); }

.footer-copy {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
}


/* ---- SCROLL ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes flipInX {
  from { opacity: 0; transform: perspective(800px) rotateX(40deg); }
  to { opacity: 1; transform: perspective(800px) rotateX(0); }
}
@keyframes bounceIn {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Animation trigger classes */
.anim-el { opacity: 0; }

.anim-el.is-visible[data-anim="fadeUp"] {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}
.anim-el.is-visible[data-anim="slideLeft"] {
  animation: slideInLeft 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}
.anim-el.is-visible[data-anim="slideRight"] {
  animation: slideInRight 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}
.anim-el.is-visible[data-anim="scaleIn"] {
  animation: scaleIn 0.6s ease forwards;
  animation-delay: var(--delay, 0s);
}
.anim-el.is-visible[data-anim="flipIn"] {
  animation: flipInX 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
}


/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .philosophies-orbit { grid-template-columns: repeat(2, 1fr); }
  .prime-cards { grid-template-columns: 1fr; }
  .specific-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .curr-hero { padding: 140px 0 80px; }
  .philosophies-orbit { grid-template-columns: 1fr; }
  .specific-grid { grid-template-columns: 1fr; }
  .specific-card { height: 200px; }
  .readiness-card { padding: 40px 24px; }
  .curr-float { display: none; }
  .particle { display: none; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
