﻿/* ==========================================================================
   Pink Model School - Academics Module UI/UX Refinements
   ========================================================================== */

/* 1. Base Layout & Section Spacing */
.academics-section {
  padding: 100px 0;
  position: relative;
}

.academics-section.bg-light-shade {
  background-color: #fcfdfd;
}

/* 2. Headline Pill Badges & Gradients */
.academics-section .site-heading .site-title-tagline {
  background: rgba(200, 155, 44, 0.08) !important;
  color: var(--theme-color2) !important; /* Gold Tagline */
  padding: 8px 18px !important;
  border-radius: 50px !important;
  border: 1px solid rgba(200, 155, 44, 0.15) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px !important;
  margin-bottom: 18px !important;
  box-shadow: 0 4px 12px rgba(200, 155, 44, 0.04) !important;
}

.academics-section .site-heading .site-title-tagline i {
  font-size: 14px !important;
  color: var(--theme-color2) !important;
}

.academics-section .site-heading .site-title {
  font-size: 38px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  color: var(--theme-color) !important; /* Navy Blue */
  letter-spacing: -0.5px !important;
}

.academics-section .site-heading .site-title span {
  background: linear-gradient(135deg, var(--theme-color2) 0%, #e6a756 50%, #b78a22 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}

/* 3. Image Styling Framework */
.academics-image-leaf,
.academics-image-rect {
  position: relative;
  margin: 15px 15px 30px 15px;
  z-index: 1;
  display: inline-block;
  width: calc(100% - 30px);
}

.academics-image-leaf::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: -15px;
  bottom: -15px;
  border: 2px dashed var(--theme-color2); /* Dashed Gold Outline */
  border-radius: 80px 80px 0 80px;
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.academics-image-rect::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: -15px;
  bottom: -15px;
  border: 2px dashed var(--theme-color2);
  border-radius: 0 80px 80px 80px;
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.academics-image-leaf img {
  width: 100%;
  height: 380px !important;
  object-fit: cover !important;
  border-radius: 80px 80px 0 80px !important;
  box-shadow: 0 15px 35px rgba(7, 29, 59, 0.12);
  border: 6px solid #ffffff;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;
}

.academics-image-rect img {
  width: 100%;
  height: 380px !important;
  object-fit: cover !important;
  border-radius: 0 80px 80px 80px !important;
  box-shadow: 0 15px 35px rgba(7, 29, 59, 0.12);
  border: 6px solid #ffffff;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;
}

.academics-image-leaf:hover img,
.academics-image-rect:hover img {
  transform: translate(-8px, -8px);
  box-shadow: 0 25px 50px rgba(7, 29, 59, 0.22);
}

.academics-image-leaf:hover::before,
.academics-image-rect:hover::before {
  transform: translate(6px, 6px);
}

/* 4. Nursery Wing Page (Pastel, child-friendly layouts) */
.nursery-body-bg {
  background: radial-gradient(circle at 10% 20%, rgba(214, 51, 132, 0.02) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(200, 155, 44, 0.02) 0%, transparent 40%),
              #fafbfc;
}

.nursery-tagline {
  background: rgba(214, 51, 132, 0.08) !important;
  color: #d63384 !important;
  border-color: rgba(214, 51, 132, 0.15) !important;
}

.nursery-tagline i {
  color: #d63384 !important;
}

.nursery-polaroid-frame {
  position: relative;
  display: inline-block;
  padding: 12px 12px 45px 12px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: rotate(-2deg);
  transition: all 0.3s ease;
}

.nursery-polaroid-frame::after {
  content: "PMS Kids 🎈";
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #d63384;
}

.nursery-polaroid-frame img {
  border-radius: 8px;
  max-width: 100%;
  height: 300px;
  object-fit: cover;
}

.nursery-polaroid-frame:hover {
  transform: rotate(2deg) scale(1.03);
  box-shadow: 0 15px 35px rgba(214, 51, 132, 0.1);
}

.nursery-card {
  background: #ffffff;
  border: 1px solid rgba(214, 51, 132, 0.06);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(214, 51, 132, 0.02);
  transition: all 0.3s ease;
  height: 100%;
}

.nursery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(214, 51, 132, 0.08);
  border-color: rgba(214, 51, 132, 0.2);
}

.nursery-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
}

.nursery-card-pink { border-top: 4px solid #d63384; }
.nursery-card-pink .nursery-card-icon { background: rgba(214, 51, 132, 0.08); color: #d63384; }
.nursery-card-pink:hover .nursery-card-icon { background: #d63384; color: #ffffff; }

.nursery-card-gold { border-top: 4px solid #c89b2c; }
.nursery-card-gold .nursery-card-icon { background: rgba(200, 155, 44, 0.08); color: #c89b2c; }
.nursery-card-gold:hover .nursery-card-icon { background: #c89b2c; color: #ffffff; }

.nursery-card-blue { border-top: 4px solid #1e266d; }
.nursery-card-blue .nursery-card-icon { background: rgba(30, 38, 109, 0.08); color: #1e266d; }
.nursery-card-blue:hover .nursery-card-icon { background: #1e266d; color: #ffffff; }

/* 5. Growth Timeline (Primary, Middle, Secondary Page) */
.growth-timeline {
  position: relative;
  padding: 40px 0;
}

.growth-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--theme-color) 0%, var(--theme-color2) 100%);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  z-index: 2;
}

.timeline-item-badge {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--theme-color);
  border: 4px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800;
  letter-spacing: 0.2px;
  transform: translateX(-50%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 3;
}

.timeline-item:hover .timeline-item-badge {
  background: var(--theme-color2);
  transform: translateX(-50%) scale(1.1);
}

.timeline-content-card {
  background: #ffffff;
  border: 1px solid rgba(30, 38, 109, 0.06);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(30, 38, 109, 0.02);
  width: 45%;
  transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content-card {
  float: left;
}

.timeline-item:nth-child(even) .timeline-content-card {
  float: right;
}

.timeline-content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(30, 38, 109, 0.08);
}

.timeline-content-card h4 {
  font-size: 20px;
  color: var(--theme-color);
  margin-bottom: 12px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .growth-timeline::before {
    left: 20px;
  }
  .timeline-item-badge {
    left: 20px;
    transform: none;
  }
  .timeline-item:hover .timeline-item-badge {
    transform: scale(1.1);
  }
  .timeline-content-card {
    width: calc(100% - 60px);
    float: right !important;
  }
}

/* 6. Career Streams Page (Science, Commerce & Arts) */
.stream-panel {
  border-radius: 24px;
  padding: 50px 40px;
  color: #ffffff;
  height: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.stream-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  filter: brightness(0.92);
  z-index: -1;
  transition: opacity 0.4s ease;
}

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

.stream-science {
  background: linear-gradient(135deg, #1e266d 0%, #0d123b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stream-commerce {
  background: linear-gradient(135deg, #c89b2c 0%, #9a7218 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stream-arts {
  background: linear-gradient(135deg, #d63384 0%, #981b57 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stream-panel h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #ffffff;
}

.stream-panel-icon {
  font-size: 38px;
  margin-bottom: 25px;
  color: #ffffff;
  opacity: 0.9;
}

.stream-subject-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 13.5px;
  display: inline-block;
  margin: 4px;
  font-weight: 500;
}

/* 7. Progress Board Flow (Examination & Assessment) */
.assessment-flow {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.assessment-flow::before {
  content: "";
  position: absolute;
  top: 55px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-top: 2px dashed rgba(200, 155, 44, 0.3);
  z-index: 1;
}

.assessment-flow-card {
  width: 22%;
  background: #ffffff;
  border: 1px solid rgba(30, 38, 109, 0.06);
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 25px rgba(30, 38, 109, 0.02);
  transition: all 0.3s ease;
}

.assessment-flow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(200, 155, 44, 0.08);
  border-color: rgba(200, 155, 44, 0.2);
}

.assessment-flow-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px dashed var(--theme-color2);
  color: var(--theme-color2);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  transition: all 0.3s ease;
}

.assessment-flow-card:hover .assessment-flow-num {
  background: var(--theme-color2);
  color: #ffffff;
  border-style: solid;
}

@media (max-width: 991px) {
  .assessment-flow {
    flex-direction: column;
    gap: 30px;
  }
  .assessment-flow::before {
    display: none;
  }
  .assessment-flow-card {
    width: 100%;
  }
}

/* 8. Glowing Technology Border Cards (Smart Classes & Digital Learning) */
.glowing-tech-card {
  background: #ffffff;
  border: 1px solid rgba(30, 38, 109, 0.05);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(30, 38, 109, 0.02);
  transition: all 0.3s ease;
  height: 100%;
}

.glowing-tech-card:hover {
  border-color: rgba(214, 51, 132, 0.25);
  box-shadow: 0 15px 35px rgba(214, 51, 132, 0.08),
              0 0 15px rgba(214, 51, 132, 0.05);
  transform: translateY(-5px);
}

/* 9. Masonry Grid (Laboratories Page) */
.masonry-labs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 24px;
}

.masonry-lab-item {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(30, 38, 109, 0.05);
  transition: all 0.3s ease;
}

.masonry-lab-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(30, 38, 109, 0.08);
}

.masonry-lab-img-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.masonry-lab-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.masonry-lab-item:hover .masonry-lab-img-wrap img {
  transform: scale(1.05);
}

.masonry-lab-label {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(30, 38, 109, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 10. Laurel Toppers Card Frame (Board Results Page) */
.topper-laurel-card {
  background: radial-gradient(circle at 100% 0%, rgba(200, 155, 44, 0.04) 0%, #ffffff 80%);
  border-top: 5px solid var(--theme-color2) !important;
  border-left: 5px solid var(--theme-color) !important;
  border-right: 1px solid rgba(30, 38, 109, 0.04) !important;
  border-bottom: 1px solid rgba(30, 38, 109, 0.04) !important;
  border-radius: 40px 10px 40px 10px; /* Asymmetric Leaf shape */
  padding: 40px 20px 30px 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(30, 38, 109, 0.03);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  height: 100%;
  position: relative; /* For absolute badge */
  overflow: visible;
}

.topper-laurel-card::after {
  content: "👑";
  position: absolute;
  top: -16px;
  left: 20px;
  font-size: 24px;
  filter: drop-shadow(0 2px 5px rgba(200, 155, 44, 0.4));
  animation: crown-float 2.5s infinite alternate ease-in-out;
  z-index: 5;
}

@keyframes crown-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.topper-laurel-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 45px rgba(200, 155, 44, 0.16), 0 0 20px rgba(200, 155, 44, 0.08);
  border-color: rgba(200, 155, 44, 0.4) !important;
  border-radius: 10px 40px 10px 40px; /* Morphing leaf on hover */
}

.topper-avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topper-avatar-wrap img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.topper-avatar-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--theme-color2);
  border-radius: 50%;
  z-index: 1;
  animation: rotateDashed 20s linear infinite;
}

@keyframes rotateDashed {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.topper-laurel-badge {
  background: linear-gradient(135deg, #c89b2c 0%, #b78a22 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-top: -10px;
  position: relative;
  z-index: 3;
}

.topper-percent {
  font-size: 14px; /* Reduced for corner badge */
  font-weight: 900;
  color: #ffffff !important;
  background: linear-gradient(135deg, #d63384 0%, #1e266d 100%) !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -15px; /* Offset to float outside card boundary */
  right: -10px;
  box-shadow: 0 6px 15px rgba(214, 51, 132, 0.22);
  border: 3px solid #ffffff;
  font-family: 'Outfit', sans-serif !important;
  letter-spacing: 0.2px;
  transition: all 0.4s ease;
  z-index: 4;
}

.topper-laurel-card:hover .topper-percent {
  transform: scale(1.15) rotate(15deg);
  box-shadow: 0 8px 20px rgba(214, 51, 132, 0.35);
  background: linear-gradient(135deg, #1e266d 0%, #d63384 100%) !important;
}

/* 11. Co-Curricular Gallery Grid */
.co-curricular-tag-active {
  background: var(--theme-color2) !important;
  color: #ffffff !important;
}

.activity-portfolio-card {
  background: #ffffff;
  border: 1px solid rgba(30, 38, 109, 0.05);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  height: 100%;
}

.activity-portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(30, 38, 109, 0.06);
}

/* Mobile spacing refinement */
@media (max-width: 767px) {
  .academics-section,
  .counter-area,
  .choose-area,
  .team-area,
  .partner-area,
  .facility-area,
  .research-area,
  .club-area,
  .blog-area,
  .faq-area,
  .department-area,
  .testimonial-area,
  .course-area,
  .video-area {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .site-breadcrumb + .academics-section,
  .site-breadcrumb + section {
    padding-top: 38px !important;
  }

  .academics-section .site-heading {
    margin-bottom: 22px !important;
  }
}

@media (max-width: 575px) {
  .academics-section,
  .counter-area,
  .choose-area,
  .team-area,
  .partner-area,
  .facility-area,
  .research-area,
  .club-area,
  .blog-area,
  .faq-area,
  .department-area,
  .testimonial-area,
  .course-area,
  .video-area {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  .site-breadcrumb + .academics-section,
  .site-breadcrumb + section {
    padding-top: 32px !important;
  }

  .academics-section .site-heading {
    margin-bottom: 18px !important;
  }
}

/* ==========================================================================
   Global Hero Overlay (60% Black) & Premium Light Background Colors
   ========================================================================== */

/* 60% Black Overlay for Breadcrumb Hero */
.inner-page .site-breadcrumb::before,
.site-breadcrumb::before {
  background: rgba(0, 0, 0, 0.6) !important;
  opacity: 1 !important;
  z-index: 1 !important;
}

.site-breadcrumb .container {
  position: relative;
  z-index: 2 !important;
}

/* Premium Alternating Light Background Colors */
.bg-light-blue {
  background-color: #f4f7fc !important;
}

.bg-light-pink {
  background-color: #fff9defa !important;
}

.bg-light-gold {
  background-color: #faf5eb !important;
}

.bg-light-grey {
  background-color: #f7f8fa !important;
}

/* ==========================================================================
   NEW PREMIUM CREATIVE ACADEMICS UI LAYOUTS
   ========================================================================== */

/* --- 1. TAGORE UNDULATING ARCH TIMELINE (Academic Overview Page) --- */
.tagore-arch-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin-top: 80px;
  flex-wrap: wrap;
  position: relative;
}

.tagore-arch-card {
  flex: 1;
  min-width: 280px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}

/* The Arch outline */
.tagore-arch-outline {
  width: 220px;
  height: 140px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  z-index: 2;
}

.arch-up .tagore-arch-outline {
  border: 6px solid var(--theme-color);
  border-bottom: none;
  border-radius: 120px 120px 0 0;
}

.arch-down .tagore-arch-outline {
  border: 6px solid var(--theme-color2);
  border-top: none;
  border-radius: 0 0 120px 120px;
}

/* Centered circle badge */
.tagore-arch-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--theme-color);
  color: var(--theme-color);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}

.arch-down .tagore-arch-badge {
  border-color: var(--theme-color2);
  color: var(--theme-color2);
}

.tagore-arch-card:hover .tagore-arch-badge {
  background: var(--theme-color);
  color: #ffffff;
  transform: scale(1.12) rotate(360deg);
}

.arch-down:hover .tagore-arch-badge {
  background: var(--theme-color2);
  color: #ffffff;
}

/* Text Callout positioned above or below */
.tagore-arch-callout {
  background: #ffffff;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(30, 38, 109, 0.04);
  border: 1.5px solid rgba(30, 38, 109, 0.04);
  width: 100%;
  transition: all 0.4s ease;
  position: relative;
  z-index: 3;
}

.arch-up .tagore-arch-callout {
  order: 1; /* Top position */
  margin-bottom: 10px;
}
.arch-up .tagore-arch-callout::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: #ffffff transparent;
}

.arch-down .tagore-arch-callout {
  order: 3; /* Bottom position */
  margin-top: 10px;
}
.arch-down .tagore-arch-callout::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 10px 10px;
  border-style: solid;
  border-color: transparent transparent #ffffff;
}

.tagore-arch-card:hover .tagore-arch-callout {
  transform: translateY(var(--hover-offset));
  box-shadow: 0 16px 40px rgba(30, 38, 109, 0.08);
  border-color: var(--theme-color2);
}

.arch-up:hover .tagore-arch-callout { --hover-offset: -8px; }
.arch-down:hover .tagore-arch-callout { --hover-offset: 8px; }

.tagore-arch-callout h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--theme-color) !important;
  margin-bottom: 8px;
}

.tagore-arch-callout p {
  font-size: 13px;
  color: #666666 !important;
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .tagore-arch-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .tagore-arch-card {
    flex-direction: row !important;
    max-width: 500px;
    text-align: left;
    gap: 20px;
  }
  .tagore-arch-outline {
    margin: 0 !important;
    width: 80px !important;
    height: 80px !important;
    border: none !important;
    flex-shrink: 0;
  }
  .tagore-arch-callout {
    order: 2 !important;
    margin: 0 !important;
    width: calc(100% - 100px);
  }
  .tagore-arch-callout::after { display: none; }
}

/* --- 2. BOUNCING BALLOON CLUSTER (Pre-Primary Wing Page) --- */
.balloon-cluster-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.balloon-card {
  width: 250px;
  height: 250px;
  border-radius: 50% !important;
  background: #ffffff;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 15px 35px rgba(214, 51, 132, 0.04);
  border: 1.5px solid rgba(214, 51, 132, 0.08);
  position: relative;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  animation: float-balloon 5s ease-in-out infinite alternate;
}

.balloon-card::after {
  content: "";
  position: absolute;
  bottom: -15px;
  width: 2px;
  height: 25px;
  background: var(--balloon-color);
  left: 50%;
  transform: translateX(-50%);
}

.balloon-card:hover {
  transform: translateY(-12px) scale(1.05);
  background: var(--balloon-gradient);
  border-color: transparent;
  box-shadow: 0 20px 45px var(--glow-color);
}

.balloon-card:nth-child(even) { animation-delay: 2s; }
.balloon-card:nth-child(3n) { animation-delay: 1s; }

@keyframes float-balloon {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

.balloon-card .balloon-icon {
  font-size: 32px;
  color: var(--balloon-color);
  margin-bottom: 12px;
  transition: all 0.4s ease;
}

.balloon-card:hover .balloon-icon {
  color: #ffffff;
  transform: scale(1.15) rotate(15deg);
}

.balloon-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--theme-color) !important;
  margin-bottom: 8px;
  transition: color 0.4s ease;
}

.balloon-card:hover h4 {
  color: #ffffff !important;
}

.balloon-card p {
  font-size: 12px;
  color: #666666 !important;
  line-height: 1.4;
  margin-bottom: 0;
  transition: color 0.4s ease;
}

.balloon-card:hover p {
  color: rgba(255,255,255,0.9) !important;
}

/* --- 3. WINDING S-SHAPED STEP PATH (Primary & Middle Page) --- */
.winding-s-road {
  position: relative;
  width: 100%;
  margin-top: 80px;
  padding: 50px 0;
}

.winding-s-svg {
  position: absolute;
  left: 0;
  width: 100%;
  height: 380px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.winding-s-svg path {
  animation: s-road-march 16s linear infinite;
}

@keyframes s-road-march {
  to { stroke-dashoffset: -120; }
}

.winding-s-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 3;
  flex-wrap: wrap;
  gap: 30px;
}

.road-station {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.road-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #ffffff;
  border: 5px solid var(--station-color);
  color: var(--station-color);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.road-station:hover .road-circle {
  background: var(--station-color);
  color: #ffffff;
  transform: scale(1.12);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.road-callout {
  background: #ffffff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(30, 38, 109, 0.05);
  border: 1.5px solid rgba(30, 38, 109, 0.04);
  width: 250px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}

.road-station:hover .road-callout {
  transform: translateY(var(--hover-y));
  border-color: var(--station-color);
  box-shadow: 0 15px 35px rgba(30, 38, 109, 0.08);
}

.station-top { flex-direction: column; }
.station-top .road-callout { margin-bottom: 40px; --hover-y: -8px; }
.station-top .road-callout::after {
  content: ""; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  border-width: 10px 10px 0; border-style: solid; border-color: #ffffff transparent;
}

.station-bottom { flex-direction: column-reverse; }
.station-bottom .road-callout { margin-top: 40px; --hover-y: 8px; }
.station-bottom .road-callout::after {
  content: ""; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  border-width: 0 10px 10px; border-style: solid; border-color: transparent transparent #ffffff;
}

.road-callout h5 {
  font-size: 18px;
  font-weight: 800;
  color: var(--theme-color) !important;
  margin-bottom: 8px;
}

.road-callout p {
  font-size: 12.5px;
  color: #666666 !important;
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .winding-s-svg { display: none; }
  .winding-s-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .road-station {
    flex-direction: row !important;
    width: 100%;
    max-width: 450px;
    gap: 20px;
  }
  .road-callout {
    width: calc(100% - 100px);
    margin: 0 !important;
    text-align: left;
  }
  .road-callout::after { display: none; }
  .road-circle { flex-shrink: 0; }
}

/* --- 4. TRIPTYCH STREAM CARD PANEL (Science, Commerce & Arts Page) --- */
.triptych-stream-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.triptych-panel {
  background: #ffffff;
  border-radius: 24px;
  border: 1.5px solid rgba(30, 38, 109, 0.05);
  box-shadow: 0 15px 40px rgba(30, 38, 109, 0.02);
  padding: 50px 35px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.triptych-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--stream-gradient);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
}

.triptych-panel:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px var(--shadow-glow);
  border-color: transparent;
}

.triptych-panel:hover::before {
  opacity: 1;
}

.triptych-panel .triptych-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: rgba(30, 38, 109, 0.04);
  color: var(--theme-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 25px;
  transition: all 0.4s ease;
}

.triptych-panel:hover .triptych-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: rotate(360deg);
}

.triptych-panel h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--theme-color);
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.triptych-panel:hover h3 {
  color: #ffffff;
}

.triptych-panel p {
  font-size: 14px;
  color: #666666 !important;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.triptych-panel:hover p,
.triptych-panel:hover h5,
.triptych-panel:hover h3 {
  color: #ffffff !important;
}

.triptych-panel .stream-subject-tag {
  background: rgba(30, 38, 109, 0.04);
  border: 1px solid rgba(30, 38, 109, 0.08);
  color: var(--theme-color) !important;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-block;
  margin: 5px;
  transition: all 0.3s ease;
}

.triptych-panel:hover .stream-subject-tag {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* --- 5. SEMICIRCULAR SEGMENTED PROGRESS DIAL (Assessment Page) --- */
.assessment-dial-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  position: relative;
  min-height: 380px;
}

.semicircle-dial {
  width: 320px;
  height: 160px;
  border: 18px solid rgba(30, 38, 109, 0.06);
  border-bottom: none;
  border-radius: 180px 180px 0 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.semicircle-core {
  width: 140px;
  height: 70px;
  background: linear-gradient(135deg, var(--theme-color) 0%, #0d123b 100%);
  border-radius: 70px 70px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 -8px 20px rgba(0,0,0,0.1);
}

.dial-pointer {
  position: absolute;
  width: 4px;
  height: 130px;
  background: var(--theme-color2);
  bottom: 0;
  left: 50%;
  transform-origin: bottom center;
  transform: rotate(-60deg);
  transition: all 1s ease;
  z-index: 2;
}

.assessment-dial-container:hover .dial-pointer {
  transform: rotate(60deg);
}

/* Floating callouts around dial */
.dial-callout-card {
  position: absolute;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  padding: 24px;
  border-radius: 24px 4px 24px 4px; /* Asymmetric leaf shape */
  border-top: 1px solid rgba(30, 38, 109, 0.05) !important;
  border-right: 1px solid rgba(30, 38, 109, 0.05) !important;
  border-bottom: 1px solid rgba(30, 38, 109, 0.05) !important;
  width: 250px;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 30px rgba(30, 38, 109, 0.02);
}

.dial-callout-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(200, 155, 44, 0.1), 0 0 15px rgba(200, 155, 44, 0.05);
  border-radius: 4px 24px 4px 24px; /* Morphing leaf corners */
  border-color: rgba(200, 155, 44, 0.25) !important;
}

.d-pos-1 { top: 10px; left: 5%; border-left: 6px solid var(--theme-color) !important; }
.d-pos-2 { top: 10px; right: 5%; border-left: 6px solid var(--theme-color2) !important; }
.d-pos-3 { bottom: 10px; left: 10%; border-left: 6px solid var(--theme-color) !important; }
.d-pos-4 { bottom: 10px; right: 10%; border-left: 6px solid var(--theme-color2) !important; }

.dial-callout-card h5 {
  font-size: 17px;
  font-weight: 800;
  color: var(--theme-color) !important;
  margin-bottom: 6px;
}

.dial-callout-card p {
  font-size: 12.5px;
  color: #666666 !important;
  margin-bottom: 0;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .assessment-dial-container {
    flex-direction: column;
    gap: 25px;
    min-height: auto;
  }
  .semicircle-dial { display: none; }
  .dial-callout-card {
    position: static !important;
    width: 100%;
    max-width: 500px;
  }
}

/* --- 6. HEXAGONAL HONEYCOMB MATRIX (Teaching Methodology Page) --- */
.honeycomb-mesh {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

.honeycomb-cell {
  width: 320px;
  background: #ffffff;
  padding: 45px 30px;
  box-shadow: 0 12px 30px rgba(30, 38, 109, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  z-index: 2;
}

.honeycomb-cell::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--theme-color) 0%, #0d123b 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
}

.honeycomb-cell::after {
  content: "";
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 2px dashed rgba(200, 155, 44, 0.35);
  clip-path: inherit;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.honeycomb-cell:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(30, 38, 109, 0.18);
}

.honeycomb-cell:hover::before {
  opacity: 1;
}

.honeycomb-cell:hover::after {
  border-color: rgba(255, 255, 255, 0.7);
  transform: scale(0.94) rotate(4deg);
}

.honeycomb-cell .cell-icon {
  font-size: 32px;
  color: var(--theme-color2);
  margin-bottom: 18px;
  transition: all 0.4s ease;
}

.honeycomb-cell:hover .cell-icon {
  color: #ffffff;
  transform: scale(1.1) rotate(15deg);
}

.honeycomb-cell h5 {
  font-size: 19px;
  font-weight: 800;
  color: var(--theme-color) !important;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.honeycomb-cell:hover h5 {
  color: #ffffff !important;
}

.honeycomb-cell p {
  font-size: 13.5px;
  color: #666666 !important;
  line-height: 1.5;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.honeycomb-cell:hover p {
  color: rgba(255, 255, 255, 0.85) !important;
}
/* --- 7. DIGITAL CIRCUIT HUB (Smart Classes Page) --- */
.digital-circuit-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
  margin-top: 60px;
}

.central-hub {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--theme-color) 0%, #0d123b 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  box-shadow: 0 0 30px rgba(30, 38, 109, 0.25);
  z-index: 5;
  border: 4px solid var(--theme-color2);
  animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 15px rgba(30, 38, 109, 0.2); }
  100% { box-shadow: 0 0 35px rgba(214, 51, 132, 0.4); }
}

.tech-node-card {
  position: absolute;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: 20px 4px 20px 4px; /* Asymmetric leaf shape */
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 260px;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.tech-node-card:hover {
  transform: translateY(-10px);
  border-radius: 4px 20px 4px 20px; /* Morphing leaf corners */
  border-color: rgba(214, 51, 132, 0.4) !important;
  box-shadow: 0 15px 35px rgba(214, 51, 132, 0.3), 0 0 20px rgba(214, 51, 132, 0.15);
}

.node-pos-1 { top: 0; left: 10%; border-left: 5px solid var(--theme-color2) !important; }
.node-pos-2 { top: 0; right: 10%; border-left: 5px solid var(--theme-color) !important; }
.node-pos-3 { bottom: 0; left: 10%; border-left: 5px solid var(--theme-color) !important; }
.node-pos-4 { bottom: 0; right: 10%; border-left: 5px solid var(--theme-color2) !important; }

.tech-node-card h5 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff !important; /* Bright white title */
  margin-bottom: 8px;
}

.tech-node-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8) !important; /* High contrast description */
  line-height: 1.4;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .digital-circuit-container {
    flex-direction: column;
    gap: 30px;
    min-height: auto;
  }
  .central-hub { display: none; }
  .tech-node-card {
    position: static !important;
    width: 100%;
    max-width: 500px;
  }
}

/* --- 8. ORGANIC PRACTICAL SPLASH CARDS (Laboratories Page) --- */
.organic-splash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.splash-card {
  background: #ffffff;
  padding: 45px 30px;
  box-shadow: 0 15px 40px rgba(30, 38, 109, 0.03);
  border: 1.5px solid rgba(30, 38, 109, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.splash-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: var(--splash-gradient);
  border-color: transparent;
  box-shadow: 0 20px 45px var(--splash-glow);
}

.splash-shape-1 { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; --splash-gradient: linear-gradient(135deg, #1e266d 0%, #0d123b 100%); --splash-glow: rgba(30, 38, 109, 0.15); }
.splash-shape-2 { border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%; --splash-gradient: linear-gradient(135deg, #c89b2c 0%, #9a7218 100%); --splash-glow: rgba(200, 155, 44, 0.15); }
.splash-shape-3 { border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%; --splash-gradient: linear-gradient(135deg, #d63384 0%, #981b57 100%); --splash-glow: rgba(214, 51, 132, 0.15); }

.splash-card:hover { border-radius: 50% 50% 50% 50%; }

.splash-card .splash-icon {
  font-size: 32px;
  color: var(--theme-color);
  margin-bottom: 20px;
  transition: all 0.4s ease;
}

.splash-card-white {
  color: #ffffff !important;
}

.splash-card:hover .splash-icon {
  color: #ffffff;
  transform: scale(1.15) rotate(15deg);
}

.splash-card h5 {
  font-size: 19px;
  font-weight: 800;
  color: var(--theme-color) !important;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.splash-card:hover h5 {
  color: #ffffff !important;
}

.splash-card p {
  font-size: 13.5px;
  color: #666666 !important;
  line-height: 1.5;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.splash-card:hover p {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* --- 9. STACKED INDEX BOOKMARK TABS (Library Page) --- */
.stacked-bookmark-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 50px;
}

..bookmark-strip {
  background: #ffffff;
  border-radius: 16px;
  border-left: 10px solid var(--bookmark-color) !important;
  padding: 25px 30px;
  box-shadow: 0 8px 25px rgba(30, 38, 109, 0.02);
  border: 1.5px solid rgba(30, 38, 109, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  position: relative;
  overflow: visible;
}

.bookmark-strip::after {
  content: "";
  position: absolute;
  top: 0;
  right: 40px;
  width: 16px;
  height: 26px;
  background: var(--bookmark-color);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  z-index: 5;
}

.bookmark-strip:hover {
  transform: translateX(12px);
  box-shadow: 0 16px 35px rgba(30, 38, 109, 0.06);
  border-color: rgba(30, 38, 109, 0.12);
}

.bookmark-strip:hover::after {
  height: 38px;
}

.bookmark-left-side {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bookmark-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(30, 38, 109, 0.04);
  color: var(--bookmark-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.bookmark-strip:hover .bookmark-icon-badge {
  background: var(--bookmark-color);
  color: #ffffff;
}

.bookmark-info h5 {
  font-size: 18px;
  font-weight: 800;
  color: var(--theme-color) !important;
  margin-bottom: 4px;
}

.bookmark-info p {
  font-size: 13.5px;
  color: #666666 !important;
  margin-bottom: 0;
}

.bookmark-right-badge {
  background: rgba(200, 155, 44, 0.08);
  border: 1px dashed var(--theme-color2);
  color: var(--theme-color);
  padding: 6px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .bookmark-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .bookmark-right-badge {
    align-self: flex-end;
  }
}

/* --- 10. LAUREL CREST OVERLAPPING MEDALS (Board Achievements) --- */
.laurel-crest-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.laurel-crest-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1.5px solid rgba(30, 38, 109, 0.05);
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0,0,0,0.02);
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.laurel-crest-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(200, 155, 44, 0.12);
  border-color: var(--theme-color2);
}

.laurel-crest-badge {
  background: linear-gradient(135deg, #c89b2c 0%, #b78a22 100%) !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  display: inline-block;
  margin-top: -15px;
  position: relative;
  z-index: 3;
}

/* --- 11. STEPPED GUIDANCE LADDER (Student Support Page) --- */
.guidance-staircase {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.stair-stage-block {
  flex: 1;
  min-width: 220px;
  background: #ffffff;
  padding: 35px 25px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 12px 30px rgba(30, 38, 109, 0.04);
  border-top: 8px solid var(--stair-color) !important;
  text-align: center;
  transition: all 0.4s ease;
}

.stair-h1 { min-height: 220px; }
.stair-h2 { min-height: 260px; }
.stair-h3 { min-height: 300px; }
.stair-h4 { min-height: 340px; }

.stair-stage-block:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 45px rgba(30, 38, 109, 0.1);
  background: linear-gradient(to bottom, #ffffff 0%, #fdfdfc 100%);
}

.stair-stage-block .stair-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--stair-color);
  opacity: 0.15;
  margin-bottom: 10px;
  display: block;
}

.stair-stage-block:hover .stair-num {
  opacity: 0.3;
  transform: scale(1.1);
}

.stair-stage-block h5 {
  font-size: 18px;
  font-weight: 800;
  color: var(--theme-color) !important;
  margin-bottom: 10px;
}

.stair-stage-block p {
  font-size: 13px;
  color: #666666 !important;
  line-height: 1.4;
  margin-bottom: 0;
}

/* --- 12. ASYMMETRICAL PIN-BOARD snips (Co-Curricular Page) --- */
.asymmetrical-pinboard {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
  margin-top: 60px;
}

.pin-card {
  width: 320px;
  background: #ffffff;
  padding: 30px 25px 45px 25px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.04);
  border: 1px solid rgba(30, 38, 109, 0.05);
  border-radius: 4px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
}

.pin-card-rot1 { transform: rotate(-2deg); }
.pin-card-rot2 { transform: rotate(1.5deg); }
.pin-card-rot3 { transform: rotate(-1deg); }

.pin-card::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-5deg);
  width: 90px;
  height: 25px;
  background: rgba(200, 155, 44, 0.15);
  border: 1px dashed rgba(200, 155, 44, 0.3);
}

.pin-card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow: 0 20px 45px rgba(30, 38, 109, 0.08);
}

.pin-card-icon {
  font-size: 32px;
  color: var(--theme-color2);
  margin-bottom: 20px;
  display: block;
  text-align: center;
}

.pin-card h4 {
  font-size: 19px;
  font-weight: 800;
  color: var(--theme-color) !important;
  margin-bottom: 12px;
  text-align: center;
}

.pin-card p {
  font-size: 13.5px;
  color: #666666 !important;
  line-height: 1.5;
  margin-bottom: 0;
  text-align: center;
}

