/* ================================================================
   JUNIOR COLLEGE WING - AUTHENTIC REPLICA & PREMIUM STYLES
   Faithful to https://about.rudrathepraticalschool.com/junior-college/
   120fps Smooth, High-DPI Assets, Fully Mobile Responsive
   ================================================================ */

/* ===== 1. SPLIT HERO BANNER ===== */
.jc-exact-hero {
  background: #08291f;
  overflow: hidden;
  border-bottom: 3px solid #f59e0b;
}

.jc-hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  position: relative;
}

.jc-hero-left {
  background: linear-gradient(135deg, rgba(13, 56, 45, 0.9), rgba(7, 37, 28, 0.95)), 
              url('/assets/pre-primary/hero-doodle-bg.jpg') center/cover no-repeat;
  padding: 50px 70px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.jc-hero-left-content {
  position: relative;
  z-index: 3;
}

.jc-hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 800;
  color: #f59e0b;
  margin: 0 0 10px 0;
  line-height: 1.15;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.jc-hero-pencil-wrap {
  display: inline-block;
}

.jc-hero-pencil {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.jc-hero-curve-divider {
  position: absolute;
  right: -60px;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 4;
  pointer-events: none;
}

.jc-hero-curve-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.jc-hero-right {
  position: relative;
  overflow: hidden;
  background: #0d382d;
}

.jc-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ===== 2. MAIN HEADLINE & INTRO ===== */
.jc-intro-section {
  padding: 65px 0 45px;
  background: #ffffff;
}

.jc-intro-header {
  max-width: 960px;
  margin: 0 auto;
}

.jc-main-title {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #0b3d2c;
  line-height: 1.3;
  margin-bottom: 12px;
}

.jc-sub-title {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 6px 18px;
  border-radius: 9999px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.jc-intro-p-highlight {
  font-size: 1.12rem;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 18px;
  font-weight: 450;
}

.jc-intro-p-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4b5563;
}

.jc-intro-p-sub strong {
  color: #0b3d2c;
  font-weight: 700;
}

/* ===== 3. STREAMS SECTION ===== */
.jc-streams-section {
  padding: 55px 0 70px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.jc-streams-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 45px;
  align-items: center;
}

.jc-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.jc-section-heading {
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  line-height: 1.25;
}

.jc-streams-intro-text {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 24px;
}

.jc-streams-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stream-card {
  background: #ffffff;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.stream-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
}

.stream-card.science::before { background: #059669; }
.stream-card.commerce::before { background: #2563eb; }
.stream-card.humanities::before { background: #d97706; }

.stream-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(11, 61, 44, 0.08);
  border-color: #cbd5e1;
}

.stream-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.stream-header h4 {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stream-tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}

.stream-card.science .stream-tag { background: #ecfdf5; color: #047857; }
.stream-card.commerce .stream-tag { background: #eff6ff; color: #1d4ed8; }
.stream-card.humanities .stream-tag { background: #fef3c7; color: #b45309; }

.stream-card p {
  font-size: 0.94rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 10px;
}

.stream-subjects-list {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  background: #f8fafc;
  padding: 8px 14px;
  border-radius: 8px;
  border-left: 3px solid #cbd5e1;
}

.stream-subjects-list strong {
  color: #1e293b;
}

/* Photo Frame */
.jc-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  border: 4px solid #ffffff;
  background: #ffffff;
}

.jc-photo-img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  max-height: 540px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.jc-photo-frame:hover .jc-photo-img {
  transform: scale(1.03);
}

.jc-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(8, 41, 31, 0.95) 0%, rgba(8, 41, 31, 0.7) 60%, transparent 100%);
  color: #ffffff;
}

.jc-caption-badge {
  display: inline-block;
  background: #f59e0b;
  color: #111827;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.jc-photo-caption p {
  font-size: 0.92rem;
  color: #e2e8f0;
  margin: 0;
  line-height: 1.45;
}

/* ===== 4. COMPETITIVE EXAMS PREPARATION ===== */
.jc-competitive-section {
  padding: 70px 0;
  background: #ffffff;
}

.jc-competitive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.jc-comp-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.jc-comp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(11, 61, 44, 0.08);
  border-color: #059669;
}

.comp-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.jc-comp-card h4 {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.jc-comp-card p {
  font-size: 0.93rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* ===== 5. WHY CHOOSE RUDRA JC ===== */
.jc-why-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #0b3d2c 0%, #062a1e 100%);
  color: #ffffff;
}

.jc-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.jc-why-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.jc-why-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.jc-why-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f59e0b;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.jc-why-content h4 {
  font-family: var(--font-primary);
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.jc-why-content p {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

/* ===== 6. ADVANTAGES & SKILLS ===== */
.jc-advantages-section {
  padding: 70px 0;
  background: #ffffff;
}

.jc-advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 45px;
  align-items: center;
  margin-top: 36px;
}

.jc-skills-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jc-skill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  color: #1e293b;
  font-size: 0.94rem;
  transition: all 0.2s ease;
}

.jc-skill-item:hover {
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #065f46;
  transform: translateX(4px);
}

.jc-skill-item svg {
  color: #059669;
  flex-shrink: 0;
}

.jc-diagram-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 16px;
}

.jc-diagram-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ===== 7. ADMISSIONS CALLOUT ===== */
.jc-admission-section {
  padding: 60px 0 80px;
  background: #f8fafc;
}

.jc-admission-card {
  background: linear-gradient(135deg, #0b3d2c 0%, #062a1e 100%);
  border-radius: 24px;
  padding: 50px 60px;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(11, 61, 44, 0.18);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.jc-admission-content h3 {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #f59e0b;
  margin-bottom: 12px;
}

.jc-admission-content p {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 20px;
}

.jc-criteria-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.jc-admission-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.btn-jc-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f59e0b;
  color: #111827;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-jc-primary:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.btn-jc-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-jc-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ===== RESPONSIVENESS ===== */
@media (max-width: 992px) {
  .jc-hero-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .jc-hero-left {
    padding: 40px 30px;
  }

  .jc-hero-curve-divider {
    display: none;
  }

  .jc-hero-right {
    height: 280px;
  }

  .jc-streams-grid,
  .jc-why-grid,
  .jc-advantages-grid,
  .jc-admission-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .jc-competitive-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .jc-admission-card {
    padding: 36px 28px;
  }

  .jc-photo-img {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .jc-hero-title {
    font-size: 2.2rem;
  }

  .jc-main-title {
    font-size: 1.45rem;
  }
}
