/* ============================================================
   Shared Inner Page Styles (Academic, Campus, Contact, etc.)
   ============================================================ */

.inner-page {
  font-family: 'Poppins', sans-serif;
}

/* ---- Top intro block (image + text) ---- */
.inner-top-block {
  margin-bottom: 32px;
}

.inner-image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(10, 107, 64, 0.15);
  border: 4px solid #fff;
  height: 100%;
  min-height: 280px;
}

.inner-image-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.inner-image-card:hover img {
  transform: scale(1.04);
}

.inner-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 18px 14px;
  background: linear-gradient(to top, rgba(6, 77, 46, 0.92), transparent);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
}

.inner-image-caption i {
  color: #ffd54f;
  margin-right: 6px;
}

.inner-text-panel {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  height: 100%;
  border: 1px solid rgba(10, 107, 64, 0.08);
  box-shadow: 0 10px 35px rgba(10, 107, 64, 0.06);
}

.inner-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #0a6b40;
  background: rgba(10, 107, 64, 0.1);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.inner-text-panel h2,
.inner-page > h2.inner-section-title {
  color: #064d2e;
  font-weight: 800;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 16px;
}

.inner-text-panel h2::after,
.inner-section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #0a6b40, #f5b800);
  margin-top: 10px;
  border-radius: 4px;
}

.inner-text-panel p,
.inner-lead {
  color: #4a5c55;
  line-height: 1.9;
  font-size: 0.98rem;
  margin-bottom: 14px;
}

.inner-text-panel p:last-child {
  margin-bottom: 0;
}

/* Quick stats / highlights */
.inner-highlight-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.inner-highlight {
  background: linear-gradient(145deg, #0a6b40, #128a52);
  color: #fff;
  text-align: center;
  padding: 14px 10px;
  border-radius: 12px;
}

.inner-highlight strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}

.inner-highlight span {
  display: block;
  font-size: 0.72rem;
  opacity: 0.9;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- Section title (standalone) ---- */
.inner-section-title {
  text-align: center;
  margin: 36px 0 28px;
  color: #064d2e;
  font-weight: 800;
  font-size: 1.5rem;
}

.inner-section-title::after {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Topic / rule cards grid ---- */
.inner-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 10px;
}

.inner-topic-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(10, 107, 64, 0.08);
  box-shadow: 0 8px 28px rgba(10, 107, 64, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inner-topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(10, 107, 64, 0.1);
}

.topic-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #0a6b40, #128a52);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}

.topic-head i {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #ffd54f;
  flex-shrink: 0;
}

.topic-body {
  padding: 20px 22px 22px;
}

.inner-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.inner-check-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: #4a5c55;
  font-size: 0.93rem;
  line-height: 1.65;
  border-bottom: 1px dashed rgba(10, 107, 64, 0.1);
}

.inner-check-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.inner-check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 12px;
  color: #0a6b40;
  font-size: 0.8rem;
}

/* ---- Feature icon grid ---- */
.inner-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.inner-feature-box {
  background: #fff;
  border-radius: 18px;
  padding: 26px 20px;
  text-align: center;
  border: 1px solid rgba(10, 107, 64, 0.08);
  box-shadow: 0 8px 28px rgba(10, 107, 64, 0.06);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.inner-feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0a6b40, #f5b800);
}

.inner-feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(10, 107, 64, 0.12);
}

.inner-feature-box .feat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: rgba(10, 107, 64, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inner-feature-box .feat-icon i {
  font-size: 1.4rem;
  color: #0a6b40;
}

.inner-feature-box h4 {
  color: #064d2e;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.inner-feature-box p {
  color: #5a6b65;
  font-size: 0.87rem;
  line-height: 1.6;
  margin: 0;
}

.inner-topic-card.inner-topic-full {
  grid-column: 1 / -1;
}

/* ---- Contact page ---- */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-bottom: 28px;
}

.contact-map-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(10, 107, 64, 0.12);
  border: 4px solid #fff;
  background: #fff;
  min-height: 380px;
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-school-name {
  background: linear-gradient(135deg, #0a6b40, #064d2e);
  color: #fff;
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 12px 32px rgba(10, 107, 64, 0.2);
}

.contact-school-name h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: #fff;
}

.contact-school-name p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(10, 107, 64, 0.08);
  box-shadow: 0 6px 22px rgba(10, 107, 64, 0.06);
  transition: transform 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.contact-detail-card:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 28px rgba(10, 107, 64, 0.1);
  text-decoration: none;
  color: inherit;
}

.contact-detail-card .cd-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, #0a6b40, #128a52);
  color: #ffd54f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-detail-card .cd-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #0a6b40;
  margin-bottom: 4px;
}

.contact-detail-card .cd-value {
  color: #2d4038;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.contact-cta-bar {
  background: linear-gradient(135deg, #fff9e6, #fff);
  border: 2px solid rgba(245, 184, 0, 0.35);
  border-radius: 18px;
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.contact-cta-bar p {
  margin: 0;
  color: #4a5c55;
  font-size: 0.98rem;
  flex: 1;
  min-width: 200px;
}

.contact-cta-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #0a6b40, #128a52);
  color: #fff !important;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(10, 107, 64, 0.25);
  transition: transform 0.25s ease;
}

.contact-cta-bar a:hover {
  transform: translateY(-2px);
  color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .inner-cards-grid {
    grid-template-columns: 1fr;
  }

  .inner-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .inner-highlight-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .inner-text-panel {
    padding: 24px 18px;
    margin-top: 16px;
  }

  .inner-image-card {
    min-height: 240px;
  }

  .inner-image-card img {
    min-height: 240px;
  }

  .inner-feature-grid {
    grid-template-columns: 1fr;
  }

  .inner-highlight-row {
    grid-template-columns: 1fr 1fr;
  }

  .contact-map-card,
  .contact-map-card iframe {
    min-height: 280px;
  }

  .contact-cta-bar {
    flex-direction: column;
    text-align: center;
    padding: 20px 18px;
  }

  .contact-cta-bar a {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .inner-highlight-row {
    grid-template-columns: 1fr;
  }
}
/* ---- Numbered lists & note bar ---- */
.inner-numbered-list {
  margin: 0;
  padding-left: 1.25rem;
  color: #444;
  line-height: 1.85;
}

.inner-numbered-list li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.inner-note-bar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(10, 107, 64, 0.08), rgba(242, 201, 76, 0.12));
  border-left: 4px solid #0a6b40;
  border-radius: 0 12px 12px 0;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
}

.inner-note-bar i {
  color: #0a6b40;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ---- House badges ---- */
.inner-house-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.house-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

.house-badge.tagore { background: #c0392b; }
.house-badge.raman { background: #2980b9; }
.house-badge.kalam { background: #27ae60; }
.house-badge.radha { background: #8e44ad; }

