/* =====================================================
   CURRICULUM PAGE – REDESIGNED STYLES & ANIMATIONS
   ===================================================== */

/* ── Hero ──────────────────────────────────────────── */
.curr_hero {
  position: relative;
  background: linear-gradient(135deg, #05184f 0%, #0d2d80 55%, #1a3fa0 100%);
  padding: 80px 0 70px;
  text-align: center;
  overflow: hidden;
}

.curr_hero::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253,211,29,.18) 0%, transparent 70%);
  top: -120px; right: -80px;
  pointer-events: none;
}

.curr_hero::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253,211,29,.10) 0%, transparent 70%);
  bottom: -100px; left: -60px;
  pointer-events: none;
}

.curr_hero_inner {
  position: relative;
  z-index: 2;
}

.curr_hero_tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253,211,29,.15);
  border: 1px solid rgba(253,211,29,.35);
  color: #fdd31d;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.curr_hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.2;
}

.curr_hero h1 em {
  font-style: normal;
  color: #fdd31d;
  position: relative;
}

.curr_hero h1 em::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: #fdd31d;
  border-radius: 2px;
}

.curr_hero p {
  font-size: 1.1rem;
  color: #c8d3f0;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Section Divider ───────────────────────────────── */
.curr_divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 60px 0 35px;
}

.curr_divider_icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #fdd31d 0%, #e6b800 100%);
  color: #082465;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 16px rgba(253,211,29,.35);
}

.curr_divider_text h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #082465;
  margin: 0 0 4px;
}

.curr_divider_text p {
  font-size: .98rem;
  color: #666;
  margin: 0;
}

.curr_divider_line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, #e2e7f5, transparent);
}

/* ── Curriculum Wrapper ────────────────────────────── */
.curr_page_wrap {
  background: #f4f6fb;
  padding: 20px 0 90px;
}

/* ── Overview Section ──────────────────────────────── */
.curr_overview_wrap {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(8,36,101,.08);
  display: flex;
  gap: 0;
  margin-bottom: 10px;
}

.curr_overview_accent {
  width: 8px;
  min-width: 8px;
  background: linear-gradient(to bottom, #fdd31d 0%, #082465 100%);
}

.curr_overview_content {
  padding: 44px 44px 40px;
  flex: 1;
}

.curr_overview_content h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #082465;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.curr_overview_content h3 .ov_icon {
  width: 44px; height: 44px;
  background: #f0f4ff;
  color: #082465;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.curr_overview_content p {
  font-size: 1.02rem;
  color: #4a4f60;
  line-height: 1.85;
  margin-bottom: 16px;
  text-align: justify;
}

.curr_overview_content p:last-child { margin-bottom: 0; }

/* ── Approach Cards ────────────────────────────────── */
.approach_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 10px;
}

.approach_card_v2 {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
  overflow: hidden;
}

.approach_card_v2::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, #082465, #1a3fa0);
}

.approach_card_v2.highlighted::before {
  background: linear-gradient(to right, #fdd31d, #e6b800);
}

.approach_card_v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(8,36,101,.13);
}

.ap2_icon_wrap {
  width: 58px; height: 58px;
  border-radius: 15px;
  background: #f0f4ff;
  color: #082465;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  transition: transform .3s ease;
}

.approach_card_v2.highlighted .ap2_icon_wrap {
  background: #fdd31d;
  color: #082465;
}

.approach_card_v2:hover .ap2_icon_wrap {
  transform: rotate(8deg) scale(1.08);
}

.approach_card_v2 h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #082465;
  margin: 0;
  line-height: 1.3;
}

.approach_card_v2 p {
  font-size: .95rem;
  color: #555;
  line-height: 1.75;
  margin: 0;
  text-align: justify;
}

/* ── Age-Wise Tab Cards ────────────────────────────── */
.age_cards_wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 10px;
}

.age_card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.07);
  transition: transform .35s ease, box-shadow .35s ease;
}

.age_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(8,36,101,.12);
}

/* Header colour palette per age */
.age_card_hdr {
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: #fff;
}

.age_card_hdr.c_daycare  { background: linear-gradient(120deg, #c87800 0%, #fdd31d 100%); color: #082465; }
.age_card_hdr.c_playgrp  { background: linear-gradient(120deg, #1a3fa0 0%, #4062c9 100%); }
.age_card_hdr.c_nursery  { background: linear-gradient(120deg, #0d7a4b 0%, #22b57a 100%); }
.age_card_hdr.c_lkg      { background: linear-gradient(120deg, #7b2dbe 0%, #b064e8 100%); }
.age_card_hdr.c_ukg      { background: linear-gradient(120deg, #b01e1e 0%, #e05050 100%); }

.age_hdr_left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.age_hdr_icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.age_card_hdr.c_daycare .age_hdr_icon {
  background: rgba(8,36,101,.15);
  color: #082465;
}

.age_hdr_left h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0;
  color: inherit;
}

.age_badge {
  background: rgba(255,255,255,.92);
  color: #082465;
  font-size: .82rem;
  font-weight: 800;
  padding: 7px 18px;
  border-radius: 30px;
  white-space: nowrap;
}

.age_card_hdr.c_daycare .age_badge {
  background: #082465;
  color: #fff;
}

/* Age card body – simple padded content area */

.age_intro_text {
  font-size: 1.01rem;
  color: #4a4f60;
  line-height: 1.85;
  margin-bottom: 28px;
  text-align: justify;
}

.monthly_label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #082465;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px dashed #e8ecf5;
}

.monthly_label i { color: #d8b109; }

.monthly_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 14px;
}

.monthly_item {
  background: #f7f9ff;
  border-left: 4px solid #082465;
  border-radius: 10px;
  padding: 14px 18px;
  transition: all .25s ease;
}

.monthly_item:hover {
  background: #fff;
  border-left-color: #fdd31d;
  transform: translateX(5px);
  box-shadow: 0 5px 16px rgba(8,36,101,.09);
}

.monthly_item strong {
  display: block;
  font-size: .97rem;
  color: #082465;
  margin-bottom: 5px;
}

.monthly_item p {
  font-size: .88rem;
  color: #555;
  margin: 0;
  line-height: 1.55;
}

/* ── Beyond Classroom ──────────────────────────────── */
.beyond_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 10px;
}

.beyond_card_v2 {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
  overflow: hidden;
}

.beyond_card_v2::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, #fdd31d, #082465);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.beyond_card_v2:hover::after { transform: scaleX(1); }

.beyond_card_v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 38px rgba(8,36,101,.13);
}

.beyond_icon_v2 {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fdd31d 0%, #e6b800 100%);
  color: #082465;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem;
  box-shadow: 0 6px 16px rgba(253,211,29,.35);
  transition: transform .3s ease;
}

.beyond_card_v2:hover .beyond_icon_v2 {
  transform: scale(1.12) rotate(5deg);
}

.beyond_card_v2 h4 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #082465;
  margin: 0;
}

.beyond_card_v2 p {
  font-size: .95rem;
  color: #555;
  line-height: 1.75;
  margin: 0;
  text-align: justify;
}

/* ── Goals ─────────────────────────────────────────── */
.goals_wrap_v2 {
  background: linear-gradient(135deg, #082465 0%, #0d2d80 100%);
  border-radius: 22px;
  padding: 50px 46px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(8,36,101,.25);
}

.goals_wrap_v2::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253,211,29,.12) 0%, transparent 70%);
  top: -60px; right: -60px;
}

.goals_wrap_v2::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253,211,29,.08) 0%, transparent 70%);
  bottom: -50px; left: -30px;
}

.goals_header {
  text-align: center;
  margin-bottom: 38px;
  position: relative; z-index: 1;
}

.goals_header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.goals_header h2 span { color: #fdd31d; }

.goals_header p {
  color: #a8b8e0;
  font-size: 1rem;
}

.goals_grid_v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
  position: relative; z-index: 1;
}

.goal_item_v2 {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all .3s ease;
  cursor: default;
}

.goal_item_v2:hover {
  background: rgba(253,211,29,.15);
  border-color: rgba(253,211,29,.4);
  transform: translateX(6px);
}

.goal_dot {
  width: 34px; height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: #fdd31d;
  color: #082465;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}

.goal_item_v2 p {
  margin: 0;
  font-size: .96rem;
  font-weight: 600;
  color: #e8edf8;
  line-height: 1.45;
}

/* ── Scroll Reveal ──────────────────────────────────── */
.ros {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s cubic-bezier(.2,.8,.2,1), transform .65s cubic-bezier(.2,.8,.2,1);
}
.ros.visible { opacity: 1; transform: translateY(0); }
.ros.delay1 { transition-delay: .1s; }
.ros.delay2 { transition-delay: .2s; }
.ros.delay3 { transition-delay: .3s; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 991px) {
  .approach_grid, .beyond_grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .approach_grid, .beyond_grid { grid-template-columns: 1fr; }
  .curr_hero h1 { font-size: 2.2rem; }
  .curr_overview_content { padding: 26px 22px; }
  .goals_wrap_v2 { padding: 32px 22px; }
  .curr_divider_text h2 { font-size: 1.5rem; }
}

/* =====================================================
   IMAGE ENHANCEMENTS
   ===================================================== */

/* ── Hero: real photo background ─────────────────────── */
.curr_hero {
  background: linear-gradient(135deg, rgba(5,24,79,.80) 0%, rgba(13,45,128,.76) 55%, rgba(26,63,160,.72) 100%),
              url('../images/curriculum/hero-curriculum.jpg') center 40% / cover no-repeat;
}

/* ── Approach card image thumbnails ──────────────────── */
.ap2_img_wrap {
  width: 100%;
  height: 155px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.ap2_img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.approach_card_v2:hover .ap2_img_wrap img {
  transform: scale(1.07);
}

/* ── Age card body: simple padded layout (no images) ──── */
.age_card_body {
  padding: 32px 32px 28px;
}

/* ── Beyond classroom card image ─────────────────────── */
.beyond_card_img {
  width: 100%;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.beyond_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.beyond_card_v2:hover .beyond_card_img img {
  transform: scale(1.07);
}

/* ── Responsive image tweaks ──────────────────────────── */
@media (max-width: 767px) {
  .age_card_body { padding: 22px 18px; }
  .ap2_img_wrap { height: 130px; }
  .beyond_card_img { height: 180px; }
}
