/* ========================================================
   OLYMPIAD PAGE CONTAINER & GLOBAL STYLES
   Brand Colors: Deep Navy (#00386A), Teal (#068B7B)
======================================================== */

.olympiad-page-container {
  width: 100%;
  min-height: 100vh;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* ========================================================
   1. OLYMPIAD SUB-NAVBAR & SMART ALIGN DROPDOWNS
======================================================== */
.olympiad-subnav-wrapper {
  width: 100%;
  background-color: #FFFFFF;
  border-bottom: 2px solid #E2E8F0;
  box-shadow: 0 4px 15px rgba(0, 56, 106, 0.05);
  position: relative;
  z-index: 100;
  overflow: visible !important; /* Dropdown ko cut hone se bachata hai */
}

.olympiad-subnav-container {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 64px;
  box-sizing: border-box;
  overflow: visible !important;
}

/* Left Brand Box */
.olympiad-brand-box {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.spark-svg-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.spark-brand-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.spark-title-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.spark-text-bold {
  font-size: 16px;
  font-weight: 800;
  color: #00386A; /* Brand Navy */
  letter-spacing: 0.8px;
}

.olympiad-text-teal {
  font-size: 16px;
  font-weight: 800;
  color: #068B7B; /* Brand Teal */
  letter-spacing: 0.8px;
}

.spark-tagline {
  font-size: 8px;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 1.2px;
  margin-top: 2px;
}

/* Right Nav Menu Bar */
.olympiad-menu-bar {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Individual Item Box */
.olympiad-nav-item {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
}

.olympiad-nav-link {
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 0 10.5px; /* Compact padding taaki 1380px me 8 items perfectly fit hon */
  color: #00386A;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}

.nav-dropdown-icon {
  font-size: 18px;
  color: #00386A;
  transition: transform 0.2s ease;
}

/* Active & Hover Blue Block */
.olympiad-nav-item.active .olympiad-nav-link,
.olympiad-nav-item:hover .olympiad-nav-link {
  background-color: #00386A !important;
  color: #FFFFFF !important;
}

.olympiad-nav-item.active .nav-dropdown-icon,
.olympiad-nav-item:hover .nav-dropdown-icon {
  color: #FFFFFF !important;
  transform: rotate(180deg);
}

/* General Dropdown Menu */
.olympiad-sub-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #FFFFFF;
  border-top: 3px solid #068B7B;
  box-shadow: 0 10px 30px rgba(0, 56, 106, 0.15);
  border-radius: 0 0 8px 8px;
  padding: 8px 0;
  z-index: 9999;
}

.olympiad-nav-item:hover .olympiad-sub-dropdown-menu {
  display: flex;
  flex-direction: column;
}

/*
   FIX FOR INFORMATION & ONLINE CLASSES CUT-OFF:
*/
.olympiad-nav-item:last-child .olympiad-sub-dropdown-menu,
.olympiad-nav-item:nth-last-child(2) .olympiad-sub-dropdown-menu {
  left: auto !important;
  right: 0 !important; /* Right edge par align ho jayega */
}

.olympiad-dropdown-link {
  padding: 10px 18px;
  color: #1E293B;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.olympiad-dropdown-link:hover {
  background-color: #F0FDF4;
  color: #068B7B;
  padding-left: 22px;
}


/* ========================================================
   SECTION HEADER (Perfect Center Alignment & Spacing)
======================================================== */
.olympiad-section-wrap {
  width: 100%;
  max-width: 1350px; /* Spacious width taaki 5 cards aaram se 1 row me fit hon */
  margin: 60px auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.section-header-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 48px;
}

/* Centered Top Pill Badge */
.section-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #E6F7F5;
  border: 1px solid #BCEAE4;
  color: #068B7B;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #00386A;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.highlight-teal {
  color: #068B7B;
}

.section-sub {
  font-size: 15px;
  color: #64748B;
  max-width: 680px;
  line-height: 1.6;
  margin: 0 auto;
}

/* ========================================================
   SINGLE-ROW 5 BOOKS (Exact 1 Row on Desktop)
======================================================== */
.olympiad-books-single-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* Force exactly 1 row with 5 equal columns */
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}

/* Individual Book Card with 3D Depth & Movement */
.subject-book-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 56, 106, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  text-align: center; /* Saara card content center */
  /* Smooth movement transition */
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

/* Hover Movement Effect */
.subject-book-card:hover {
  transform: translateY(-10px);
  border-color: #068B7B;
  box-shadow: 0 18px 36px rgba(0, 56, 106, 0.12), 0 0 0 1px #068B7B;
}

/* Book Cover Frame (3D Depth) */
.book-cover-frame {
  width: 100%;
  height: 230px;
  background-color: #F8FAFD;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Left Spine Accent */
.book-spine-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 56, 106, 0.35), transparent);
  z-index: 5;
}

.book-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Subtle image zoom on card hover */
.subject-book-card:hover .book-cover-image {
  transform: scale(1.08);
}

/* Diagonal Sheen (Reflection Light animation passing over book) */
.book-cover-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  z-index: 6;
  pointer-events: none;
}

.subject-book-card:hover .book-cover-frame::after {
  left: 170%;
}

/* Floating Top-Right Badge */
.book-badge-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #00386A;
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 7;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Floating Bottom-Left Grade Pill */
.book-grade-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(6, 139, 123, 0.95);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 4px;
  z-index: 7;
}

/* Centered Body Info */
.book-card-info {
  padding: 20px 14px 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centering children */
  text-align: center;
  flex-grow: 1;
}

.book-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #00386A;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.book-card-desc {
  font-size: 12px;
  color: #64748B;
  line-height: 1.5;
  margin: 0 0 16px 0;
  flex-grow: 1;
  max-width: 220px;
}

/* Professional Centered Action Button */
.book-action-btn {
  background-color: #F8FAFD;
  border: 1px solid #CBD5E1;
  color: #00386A;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.25s ease;
  width: auto;
  margin-top: auto;
}

.book-action-arrow {
  font-size: 14px;
  transition: transform 0.25s ease;
}

/* Button changes on hover */
.subject-book-card:hover .book-action-btn {
  background-color: #068B7B;
  border-color: #068B7B;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(6, 139, 123, 0.35);
}

.subject-book-card:hover .book-action-arrow {
  transform: translateX(4px);
}

/* ========================================================
   RESPONSIVENESS (Horizontal Smooth Scroll on Small Screens)
======================================================== */
@media screen and (max-width: 1150px) {
  /* Screen choti hone par bhi cards 1 row me scrollable rahenge, layout break nahi hoga */
  .olympiad-books-single-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    gap: 16px;
  }
  .subject-book-card {
    min-width: 230px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

/* ========================================================
   SPARK OLYMPIAD SINGLE VIDEO SECTION
======================================================== */
.video-showcase-section {
  margin-top: 20px;
  margin-bottom: 35px;
}

/* Centered 16:9 Video Wrapper */
.olympiad-single-video-wrapper {
  width: 100%;
  max-width: 980px; /* Home page standard video width */
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

/* Premium Card Frame with Gradient Border Accent */
.video-card-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 2px solid #E2E8F0;
  box-shadow: 0 20px 50px rgba(0, 56, 106, 0.14),
              0 4px 12px rgba(6, 139, 123, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover par subtle lift */
.video-card-frame:hover {
  transform: translateY(-4px);
  border-color: #068B7B;
  box-shadow: 0 26px 60px rgba(0, 56, 106, 0.18),
              0 8px 20px rgba(6, 139, 123, 0.15);
}

.olympiad-iframe-player {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Mobile & Tablet Safe */
@media screen and (max-width: 768px) {
  .video-card-frame {
    border-radius: 14px;
  }
}




/* ========================================================
   6. 3-COLUMN HIGHLIGHTS (Winners, Advisory, Testimonials)
======================================================== */
.highlights-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.highlight-column-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 56, 106, 0.04);
}

.highlight-card-header {
  background-color: #F8FAFD;
  border-bottom: 1px solid #E2E8F0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlight-header-icon {
  color: #068B7B;
  font-size: 22px;
}

.highlight-col-title {
  font-size: 17px;
  font-weight: 700;
  color: #00386A;
  margin: 0;
}

.highlight-card-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.winner-preview-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
}

.advisor-round-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid #E0F2F1;
  object-fit: cover;
  margin-bottom: 16px;
}

.highlight-person-title {
  font-size: 16px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 8px 0;
}

.highlight-person-desc {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

.stars-row {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.star-icon {
  color: #F59E0B;
  font-size: 18px;
}

.testimonial-quote {
  font-size: 13.5px;
  font-style: italic;
  color: #334155;
  line-height: 1.55;
  margin: 0 0 12px 0;
}

.reviewer-name {
  font-size: 13px;
  font-weight: 600;
  color: #00386A;
}

.highlight-bottom-cta {
  background: #F8FAFD;
  border-top: 1px solid #E2E8F0;
  color: #00386A;
  text-align: center;
  padding: 12px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.highlight-bottom-cta:hover {
  background-color: #068B7B;
  color: #FFFFFF;
}

/* ========================================================
   SPONSORED BY SECTION (CBO ERP Styled Cards Layout)
======================================================== */
.sponsored-section-wrap {
  margin-top: 50px;
  margin-bottom: 20px;
}

.sponsored-cards-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.sponsor-card-row {
  background: #EBF3FC; /* Soft corporate blue tint matching the image */
  border: 1.5px solid #D5E4F5;
  border-radius: 22px;
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  box-shadow: 0 8px 24px rgba(0, 56, 106, 0.05);
  box-sizing: border-box;
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

/* Card Lift on Hover */
.sponsor-card-row:hover {
  transform: translateY(-6px);
  border-color: #068B7B;
  box-shadow: 0 18px 40px rgba(0, 56, 106, 0.12);
}

/* Left Content Column */
.sponsor-text-col {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Large Index Number (01, 02, 03) */
.sponsor-card-number {
  font-size: 32px;
  font-weight: 800;
  color: #00386A; /* Brand Navy */
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 8px;
}

/* Sub-category Pill */
.sponsor-category-pill {
  font-size: 12px;
  font-weight: 700;
  color: #068B7B; /* Brand Teal */
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Card Heading */
.sponsor-card-heading {
  font-size: 28px;
  font-weight: 800;
  color: #00386A;
  margin: 0 0 14px 0;
  line-height: 1.25;
}

/* Description Text */
.sponsor-card-description {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 28px 0;
  max-width: 580px;
}

/* Solid Professional Button (Matches Screenshot Blue Button) */
.sponsor-read-more-btn {
  background: #00386A; /* Solid Deep Navy */
  color: #FFFFFF !important;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 56, 106, 0.25);
  transition: all 0.25s ease;
}

.sponsor-btn-icon {
  font-size: 15px;
  transition: transform 0.25s ease;
}

/* Button Hover State */
.sponsor-read-more-btn:hover {
  background: #068B7B; /* Turns to Brand Teal on hover */
  box-shadow: 0 6px 18px rgba(6, 139, 123, 0.35);
  transform: translateY(-2px);
}

.sponsor-read-more-btn:hover .sponsor-btn-icon {
  transform: translate(2px, -2px);
}

/* Right Visual / Logo Frame */
.sponsor-visual-col {
  flex: 0.95;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

/* Right Visual / Logo Frame */
.sponsor-image-frame {
  width: 100%;
  max-width: 320px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 56, 106, 0.08);
  background: #FFFFFF;
  border: 1.5px solid #D5E4F5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px; /* Logo ke charo taraf breathing space */
  box-sizing: border-box;
}

.sponsor-banner-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* ZOOM HATA KAR PURA LOGO DIKHAYEGA */
  transition: transform 0.3s ease;
  display: block;
}

/* Hover effect */
.sponsor-card-row:hover .sponsor-banner-img {
  transform: scale(1.05); /* Soft zoom bina cut huye */
}

/* ========================================================
   RESPONSIVE LAYOUT (Tablets & Mobile)
======================================================== */
@media screen and (max-width: 990px) {
  .sponsor-card-row {
    flex-direction: column;
    padding: 32px 24px;
    gap: 30px;
  }

  .sponsor-text-col {
    align-items: flex-start;
  }

  .sponsor-visual-col {
    justify-content: center;
  }

  .sponsor-image-frame {
    max-width: 100%;
    height: 220px;
  }
}

@media screen and (max-width: 600px) {
  .sponsor-card-heading {
    font-size: 22px;
  }

  .sponsor-card-number {
    font-size: 26px;
  }

  .sponsor-read-more-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================================
   TALL BOOK COVERS (Slim Width, Tall Height & Subject Under)
======================================================== */
.book-covers-wrap {
  width: 100% !important;
  max-width: 1350px !important;
  margin: 30px auto 50px auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

.book-covers-wrap .section-header-centered {
  margin-bottom: 28px !important;
  text-align: center;
}

/* 4-Column Grid with centered compact cards */
.books-cover-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Single Book Card (Card container with background & padding) */
.pure-book-card {
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 12px 12px 16px 12px !important;
  box-shadow: 0 4px 16px rgba(0, 56, 106, 0.05) !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 280px !important; /* Width ko compact rakha */
  margin: 0 auto !important;
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease !important;
}

.pure-book-card:hover {
  transform: translateY(-8px) !important;
  border-color: #068B7B !important;
  box-shadow: 0 16px 36px rgba(0, 56, 106, 0.12) !important;
}

/* Tall Book Cover Stage (Height zyada aur textbook shape) */
.book-realistic-frame {
  width: 100% !important;
  height: 320px !important; /* Height badha di taaki book fully fit ho */
  background-color: #F8FAFD !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  position: relative !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08) !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 3D Realistic Spine Effect on Left */
.book-spine-line {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 9px !important;
  height: 100% !important;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), transparent) !important;
  z-index: 5 !important;
  pointer-events: none !important;
}

/* Image Cover (Full tall view without stretching) */
.book-front-cover {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.5s ease !important;
}

.pure-book-card:hover .book-front-cover {
  transform: scale(1.05) !important;
}

/* Top-Right Grade Badge */
.book-grade-badge {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  background: rgba(0, 56, 106, 0.92) !important;
  backdrop-filter: blur(4px) !important;
  color: #FFFFFF !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  z-index: 6 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Hover Quick View Overlay */
.book-hover-view {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 56, 106, 0.72) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  opacity: 0 !important;
  transition: opacity 0.25s ease !important;
  z-index: 7 !important;
}

.pure-book-card:hover .book-hover-view {
  opacity: 1 !important;
}

.hover-view-text {
  color: #FFFFFF !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}

/* ========================================================
   META SECTION UNDER THE COVER (Inside Card)
======================================================== */
.book-card-under-meta {
  width: 100% !important;
  padding-top: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* Subject Under (Clean Pill Badge) */
.book-subject-under {
  background-color: #E6F7F5 !important;
  color: #068B7B !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  padding: 3px 10px !important;
  border-radius: 12px !important;
  margin-bottom: 6px !important;
  display: inline-block !important;
}

/* Book Title Under */
.book-title-clean {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #00386A !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  transition: color 0.2s ease !important;
}

.pure-book-card:hover .book-title-clean {
  color: #068B7B !important;
}

/* ========================================================
   RESPONSIVENESS
======================================================== */
@media screen and (max-width: 1100px) {
  .books-cover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media screen and (max-width: 768px) {
  .books-cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .book-realistic-frame {
    height: 270px !important;
  }
}

@media screen and (max-width: 480px) {
  .books-cover-grid {
    grid-template-columns: 1fr !important;
  }

  .pure-book-card {
    max-width: 260px !important;
  }
}

/* ========================================================
   SYLLABUS & PATTERN INTERACTIVE SLIDER
======================================================== */
.syllabus-slider-section-wrap {
  width: 100% !important;
  max-width: 1350px !important;
  margin: 40px auto 60px auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

/* Subject Tabs Strip (Click to Jump) */
.syllabus-tabs-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.syllabus-tab-btn {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 30px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #00386A;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 56, 106, 0.04);
}

.syllabus-tab-btn .tab-icon {
  font-size: 17px;
  color: #068B7B;
  transition: color 0.25s ease;
}

.syllabus-tab-btn:hover {
  border-color: #068B7B;
  color: #068B7B;
  transform: translateY(-2px);
}

.syllabus-tab-btn.active-tab {
  background: #00386A;
  border-color: #00386A;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 56, 106, 0.2);
}

.syllabus-tab-btn.active-tab .tab-icon {
  color: #00F0D0; /* Glowing Teal */
}

/* Main Slide Stage & Floating Arrows */
.syllabus-slide-stage {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #00386A;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 56, 106, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}

.slider-arrow-btn:hover {
  background: #068B7B;
  transform: translateY(-50%) scale(1.1);
}

.left-arrow-btn {
  left: -20px;
}

.right-arrow-btn {
  right: -20px;
}

/* Single 1-Page Slide Card */
.syllabus-slide-card {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 12px 35px rgba(0, 56, 106, 0.08);
  box-sizing: border-box;
}

/* Header inside Card */
.slide-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid #F1F5F9;
  padding-bottom: 20px;
  margin-bottom: 22px;
}

.slide-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.subject-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #00386A 0%, #068B7B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(6, 139, 123, 0.3);
}

.slide-subject-badge {
  font-size: 11px;
  font-weight: 700;
  color: #068B7B;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.slide-subject-title {
  font-size: 24px;
  font-weight: 800;
  color: #00386A;
  margin: 3px 0 0 0;
}

.slide-eligibility-chip {
  background: #E6F7F5;
  color: #068B7B;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 4 Stats Cards Row */
.pattern-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.pattern-stat-card {
  background: #F8FAFD;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  font-size: 24px;
  color: #068B7B;
}

.stat-text-col {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 11px;
  color: #64748B;
  font-weight: 600;
  text-transform: uppercase;
}

.stat-value {
  font-size: 14.5px;
  font-weight: 800;
  color: #00386A;
  margin-top: 2px;
}

/* Split Columns (Pattern vs Syllabus) */
.slide-details-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 26px;
}

.pattern-column-box,
.syllabus-column-box {
  background: #F8FAFD;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 22px;
}

.box-subtitle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.box-subtitle-row .sub-icon {
  font-size: 20px;
  color: #068B7B;
}

.box-subtitle-text {
  font-size: 14.5px;
  font-weight: 800;
  color: #00386A;
}

/* Pattern Table Rows */
.pattern-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pattern-table-row {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.row-sec-name {
  font-weight: 700;
  color: #334155;
  flex: 1.5;
}

.row-sec-qs {
  color: #068B7B;
  font-weight: 700;
  flex: 0.6;
  text-align: center;
}

.row-sec-marks {
  color: #00386A;
  font-weight: 700;
  flex: 0.8;
  text-align: right;
}

/* Syllabus Topics Cloud */
.syllabus-topics-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.syllabus-topic-chip {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.syllabus-topic-chip .check-dot {
  font-size: 15px;
  color: #068B7B;
}

/* Slide Footer Row */
.slide-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1.5px solid #F1F5F9;
  padding-top: 18px;
  margin-top: 10px;
}

.footer-notice-text {
  font-size: 12.5px;
  color: #64748B;
  font-style: italic;
}

.download-syllabus-btn {
  background: #00386A;
  color: #FFFFFF !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(0, 56, 106, 0.2);
  transition: all 0.25s ease;
}

.download-syllabus-btn:hover {
  background: #068B7B;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(6, 139, 123, 0.3);
}

/* Slider Dots Indicator */
.slider-dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: #CBD5E1;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot-btn.active-dot {
  width: 28px;
  background: #00386A;
}

/* Mobile & Tablet Responsive */
@media screen and (max-width: 990px) {
  .pattern-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .slide-details-split {
    grid-template-columns: 1fr;
  }

  .left-arrow-btn {
    left: -10px;
  }

  .right-arrow-btn {
    right: -10px;
  }
}

@media screen and (max-width: 650px) {
  .syllabus-slide-card {
    padding: 24px 18px;
  }

  .slide-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .pattern-stats-row {
    grid-template-columns: 1fr;
  }

  .slide-footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .download-syllabus-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================================
   OLYMPIAD REGISTRATION TAB - FLOATING MOTION RIBBON
======================================================== */

/* Container ko baaki project width (1120px) se match kiya gaya hai */
.olympiad-register-ribbon-wrap {
  width: 100%;
  max-width: 1240px; /* Project standard width */
  margin: 10px auto 40px auto; /* Perfect center alignment */
  padding: 0 24px; /* Same padding as other standard pages */
  box-sizing: border-box;
  position: relative;
  z-index: 20;
}

/* Card Container with Gradient & Ambient Shadow */
.olympiad-register-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-radius: 16px;
  text-decoration: none;
  background: linear-gradient(135deg, #002B52 0%, #00386A 50%, #068B7B 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 56, 106, 0.15);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.3s ease;
}

.olympiad-register-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(6, 139, 123, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}


/* Shimmer Light Sweep Effect */
.card-shimmer-sweep {
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-25deg);
  animation: ribbonShimmer 5s infinite;
  pointer-events: none;
}

@keyframes ribbonShimmer {
  0% { left: -120%; }
  35% { left: 160%; }
  100% { left: 160%; }
}

/* Left Section: Icon + Text */
.ribbon-left-content {
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  z-index: 2;
}

/* Glowing Icon Circle with Pulse */
.ribbon-icon-orbit {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s ease;
}

.olympiad-register-card:hover .ribbon-icon-orbit {
  transform: rotate(-8deg) scale(1.08);
}

.ribbon-trophy-icon {
  font-size: 30px !important;
  color: #FCD34D !important; /* Gold */
  filter: drop-shadow(0 2px 8px rgba(252, 211, 77, 0.45));
}

/* Text Elements */
.ribbon-text-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ribbon-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ribbon-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34D399;
  box-shadow: 0 0 0 rgba(52, 211, 153, 0.7);
  animation: badgeDotPulse 1.8s infinite;
}

@keyframes badgeDotPulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.ribbon-badge-title {
  font-size: 11px;
  font-weight: 800;
  color: #A7F3D0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ribbon-main-heading {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

.ribbon-sub-heading {
  margin: 0;
  font-size: 13.5px;
  color: #E0F2F1;
  opacity: 0.9;
  line-height: 1.4;
}

/* Right: Action Pill Button */
.ribbon-action-wrap {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.ribbon-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background-color: #FFFFFF;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.pill-text {
  font-size: 18px;
  font-weight: 700;
  color: #00386A;
  white-space: nowrap;
}

.pill-arrow {
  font-size: 18px !important;
  color: #068B7B !important;
  transition: transform 0.25s ease;
}

.olympiad-register-card:hover .ribbon-action-pill {
  background-color: #F0FDFA;
  box-shadow: 0 8px 24px rgba(6, 139, 123, 0.35);
}

.olympiad-register-card:hover .pill-arrow {
  transform: translateX(4px);
}

/* ================= RESPONSIVE DESIGN ================= */
@media screen and (max-width: 900px) {
  .olympiad-register-ribbon-wrap {
    margin-top: 15px;
    margin-bottom: 30px;
  }

  .olympiad-register-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 22px;
    border-radius: 16px;
  }

  .ribbon-left-content {
    gap: 16px;
  }

  .ribbon-main-heading {
    font-size: 17px;
  }

  .ribbon-sub-heading {
    font-size: 13px;
  }

  .ribbon-action-wrap {
    width: 100%;
  }

  .ribbon-action-pill {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding: 12px 20px;
  }
}

@media screen and (max-width: 480px) {
  .ribbon-icon-orbit {
    width: 48px;
    height: 48px;
  }

  .ribbon-trophy-icon {
    font-size: 24px !important;
  }

  .ribbon-main-heading {
    font-size: 15.5px;
  }
}