/* ====== GLOBAL PAGE BASE ====== */
/* ===== GLOBAL ===== */
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f6f8;          /* lighter, like admin */
  margin: 0;
  padding: 0;
  color: #1a1a1a;
  line-height: 1.45;
  font-size: 13px;
}

.pageWrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px;
}

/* generic card (used everywhere) */
.panelCard,
.topTabsStatsCard,
.schoolHeaderBlock {
  background: #fff;
  border: 1px solid #d7dbe3;     /* slightly darker than #e5e7eb so it looks crisp */
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  margin-bottom: 16px;
}

.schoolHeaderBlock .addr {
  font-size: 14px;
  color: #6b7280;
  font-style: italic;
  margin-top: 4px;
  line-height: 1.4;
}

/* header row inside a card */
.panelHeader {
  background: #f9fafb;
  border-bottom: 1px solid #d7dbe3;
  border-radius: 6px 6px 0 0;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
}

/* body of a card */
.panelBody {
  background: #fff;
  border-radius: 0 0 6px 6px;
  padding: 14px 16px;
  font-size: 13px;
  color: #2f3033;
  line-height: 1.5;
}

/* two-column layout */
.layoutFlex {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  align-items: flex-start;
}

.leftCol  { flex: 3 1 700px; min-width: 0; }
.rightCol { flex: 1.2 1 320px; min-width: 280px; }

/* responsive for mobile */
@media (max-width: 900px) {
  .layoutFlex { flex-direction: column; }
  .rightCol   { min-width: 100%; }
}

/* ====== FLEX LAYOUT FOR MAIN BODY ====== */
.layoutFlex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

/* left column content */
.leftCol {
  flex: 3 1 700px;
  min-width: 280px;
}

/* right column sidebar */
.rightCol {
  flex: 1.3 1 320px;
  min-width: 280px;
}

/* ====== GENERIC CARD / PANEL ====== */
.panelCard,
.sectionBox {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.panelHeader {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 10px 10px 0 0;
  padding: 12px 16px;
  font-size: 14px;
  color: #111827;
  font-weight: bold;
}

.panelBody {
  padding: 16px;
  font-size: 13px;
  color: #1f2937;
  background: #fff;
  border-radius: 0 0 10px 10px;
}

/* ====== HEADER BLOCK AT TOP OF PAGE ====== */
./* top school identity block */
.schoolHeaderBlock {
  padding: 16px 16px 12px 16px;
}

.schoolHeaderMainLine {
  font-size: 30px;
  font-weight: 800;
  color: #1e3a8a; /* Deep blue for emphasis */
  letter-spacing: 0.2px;
  text-transform: capitalize;
  margin-bottom: 8px;
  line-height: 1.2em;
}

.schoolHeaderMainLine:hover {
  color: #0f172a; /* Slight dark tone on hover */
  transition: color 0.3s ease;
}

.schoolHeaderAddr {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.4;
  margin-bottom: 8px;
}

.schoolConnectLine {
  font-size: 12px;
  line-height: 1.4;
  color: #10b981;
  font-weight: 500;
  margin-bottom: 10px;
}

.schoolConnectInlineAction {
  color: #2563eb;
  font-weight: 500;
  margin-left: 4px;
  text-decoration: none;
}

.locChipRow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.locChip {
  background: #eef2ff;
  /*border: 1px solid #6366f1;*/
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
  color: #1e1e7a;*/
}


/* chips for city/district/state under header */
.locChipRow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.locChip {
  background: #eef2ff;
  color: #1e1e7a;
 /* border: 1px solid #6366f1;*/
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
  white-space: nowrap;
}

/* ====== TOP TABS / STATS BAR ====== */
.topTabs {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.4;
  color: #111827;
}
/* Sticky nav with tab buttons only */
/* sticky tab bar */
.topTabsSticky {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #1f2433;              /* dark like admin header */
  border-bottom: 1px solid #0f121a;  /* subtle bottom border */
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
  padding: 8px 16px;
  margin: 0 0 16px 0;
  border-radius: 0;                  /* navbar look */
  color: #fff;
}

/* row of tab buttons inside sticky bar */
.tabButtonsRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* individual pill */
.tabBtn {
  background: #2d3347;
  border: 1px solid #444b62;
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
  border-radius: 4px;
  padding: 6px 10px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.tabBtn:hover {
  background: #3b425c;
  border-color: #566080;
  text-decoration: none;
  color: #fff;
}

/* active pill */
.tabBtnActive {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  box-shadow: 0 0 6px rgba(37,99,235,0.6);
}



/* Stats card (scrolls normally) */
.topTabsStatsCard {
  background: #fff;
  border: 1px solid #d7dbe3;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #2f3033;
}

.statsRow {
  display: flex;
  flex-wrap: wrap;
  row-gap: 12px;
  column-gap: 24px;
}

.statBlock {
  font-size: 13px;
  color: #1a1a1a;
  min-width: 110px;
}

.statLabel {
  font-size: 11px;
  line-height: 1.3;
  color: #6b7280;
  margin-bottom: 2px;
}

.ratingBigVal {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
  margin-right: 4px;
}

.ratingSubText {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.3;
}

.statActionLink {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  border: 1px solid #2563eb;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  padding: 6px 10px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.statActionLink:hover {
  background: #1e40af;
  border-color: #1e40af;
  color: #fff;
  text-decoration: none;
}

/* Pills row */
.tabButtonsRow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tabBtn {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.3;
  color: #111827;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.tabBtnActive {
  background: #1e40af;
  border-color: #1e40af;
  color: #fff;
  font-weight: bold;
}


/* row of tab buttons */
.tabButtonsRow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.tabBtn {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.3;
  color: #111827;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.tabBtnActive {
  background: #1e40af;
  border-color: #1e40af;
  color: #fff;
  font-weight: bold;
}

/* stats row under tabs */
.statsRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 12px;
  line-height: 1.4;
}
.statBlock {
  color: #111827;
}
.statLabel {
  color: #6b7280;
  font-size: 11px;
}
.statActionLink {
  background: #1f2937;
  color: #fff;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  text-decoration:none;
}
.statActionLink:hover {
  background: #111827;
}

/* rating chunk */
.ratingBigVal {
  font-size: 20px;
  font-weight: bold;
  color: #111827;
  line-height: 1.2;
}
.ratingSubText {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.3;
}

/* ====== MGMT MESSAGE LAYOUT ====== */
.mgmtFlex {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fafafa;
  padding: 12px;
  margin-bottom: 16px;
}

.headPhotoBox {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  font-size: 11px;
  color: #6b7280;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mgmtTextCol {
  flex: 1 1 auto;
  min-width: 0;
}

.mgmtHeadline {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.mgmtNote {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.4;
}

.subHeadLabel {
  font-size: 12px;
  font-weight: 600;
  color: #1f2937;
  margin: 16px 0 4px 0;
}

.mgmtSectionText {
  font-size: 13px;
  color: #2f3033;
  line-height: 1.5;
  white-space: pre-line; /* show CR/LF nicely if you store them */
}

/* each small heading inside mgmt message ("About the school", etc.) */
.subHeadLabel {
  font-size: 12px;
  font-weight: bold;
  color: #111827;
  margin-top: 16px;
  margin-bottom: 4px;
}

/* ====== QUICK FACTS GRID ====== */
.factsRowWrap {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #e5e7eb;
  font-size: 12px;
}
.factsCell {
  flex: 1 1 140px;
  min-width: 140px;
  padding: 10px 12px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.factsCell:last-child {
  border-right: 0;
}
.factsLabel {
  color: #6b7280;
  font-size: 11px;
  margin-bottom: 4px;
}
.factsValue {
  color: #111827;
  font-size: 13px;
  font-weight: 500;
}

/* ====== FEES SNAPSHOT ====== */
.feesGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
}
.feeBox {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px;
  min-width: 140px;
  font-size: 12px;
  line-height: 1.4;
  color: #1f2937;
}
.feeHead {
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 4px;
  color: #111827;
}
.feeVal {
  font-size: 13px;
  color: #111827;
}
.feeNote {
  font-size: 11px;
  color: #6b7280;
  margin-top: 8px;
}

/* ====== PROGRAMS ====== */
.programItem {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #1f2937;
  margin-bottom: 6px;
}
.programMain {
  font-weight: bold;
  color: #111827;
  font-size: 13px;
  margin-bottom: 2px;
}
.programSub {
  color: #6b7280;
  font-size: 12px;
}

/* photo/video layout */
.photoStrip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: #6b7280;
}
.photoThumb {
  width: 140px;
  height: 80px;
  background: #e5e7eb;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.2;
  cursor: pointer;
  position: relative;
}

.videosBlock { font-size:13px; color:#1f2937; }
.videoStrip {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  font-size:12px;
  color:#1f2937;
}
.videoThumb {
  width:160px;
  cursor:pointer;
}
.videoThumbInner {
  width:160px;
  height:90px;
  position:relative;
  border-radius:4px;
  overflow:hidden;
}
.videoPlayIcon {
  position:absolute;
  right:6px;
  bottom:6px;
  background:rgba(0,0,0,0.6);
  color:#fff;
  font-size:12px;
  line-height:1;
  padding:4px 6px;
  border-radius:4px;
  border:1px solid rgba(255,255,255,0.4);
}
.videoLabel {
  margin-top:4px;
  font-size:12px;
  line-height:1.4;
  color:#111827;
  font-weight:500;
  word-wrap:break-word;
}

/* fullscreen modal */
.enlargeModal {
  position:fixed;
  left:0;
  top:0;
  right:0;
  bottom:0;
  background:rgba(0,0,0,0.8);
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  box-sizing:border-box;
}
.enlargeModalInner {
  max-width:90vw;
  max-height:90vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  position:relative;
}

/* responsive iframe wrapper */
.videoResponsiveOuter {
  width:100%;
  max-width:800px;
  background:#000;
  border-radius:6px;
  overflow:hidden;
}
.videoResponsiveInner {
  position:relative;
  width:100%;
  padding-top:56.25%; /* 16:9 ratio */
}
.videoResponsiveInner iframe {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

/* Container that holds the video inside the modal */
.videoLightboxFrame {
  width: 90vw;
  max-width: 800px;
  /* create 16:9 box */
  position: relative;
  background: #000;
  border: 1px solid #444;
  border-radius: 6px;
  overflow: hidden;

  /* 16:9 height trick: height = width * 9/16 = width * 0.5625 */
  padding-top: 56.25%;
  box-sizing: border-box;
}

/* Make iframe fill that 16:9 box */
.videoLightboxFrame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

/* Title under the video */
.videoLightboxTitle {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  line-height: 1.4;
  word-break: break-word;
  max-width: 90vw;
  max-width: 800px;
}


/* ====== FACILITIES ====== */
.facHeaderCat {
  font-size: 12px;
  font-weight: bold;
  color: #111827;
  margin-top: 10px;
  margin-bottom: 4px;
}
.facLine {
  font-size: 12px;
  color: #1f2937;
  line-height: 1.4;
}

/* ====== REVIEWS ====== */
.ratingActionRow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.miniActionBtn {
  background: #1f2937;
  color: #fff;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.3;
  white-space: nowrap;
}
.miniActionBtn:hover {
  background: #111827;
}
.smallNote {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.4;
  margin-top: 8px;
}

/* ====== CONTACT BLOCK ====== */
.contactRow {
  font-size: 12px;
  line-height: 1.4;
  color: #1f2937;
  margin-bottom: 8px;
}
.contactLabel {
  font-size: 11px;
  color: #6b7280;
}
.contactVal {
  font-size: 13px;
  color: #111827;
  font-weight: 500;
}
.mapNote {
  font-size: 11px;
  color: #6b7280;
  margin-top: 6px;
  line-height: 1.4;
}

/* ====== ENQUIRY BLOCK ====== */
.enquiryFormRow {
  margin-bottom: 8px;
  font-size: 12px;
}
.enquiryLabel {
  font-size: 12px;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 4px;
  display: block;
}
.enquiryText,
.enquiryTextArea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 13px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #111827;
}
.enquiryTextArea {
  min-height: 60px;
  resize: vertical;
}
.sendBtn {
  background: #2563eb;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  width: 100%;
  box-sizing: border-box;
}
.sendBtn:hover {
  background: #1e40af;
}
.enquiryFootNote {
  font-size: 11px;
  color: #6b7280;
  margin-top: 8px;
  line-height: 1.4;
}

/* ====== FLOATING ENQUIRY BUBBLE ====== */
.floatEnquiryBubble {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #1e3a8a;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.4;
  width: 140px;
  z-index: 1000;
  cursor: pointer;
}
.floatEnquiryTitle {
  font-weight: bold;
  margin-bottom: 4px;
  font-size: 12px;
}
.floatEnquirySub {
  font-size: 11px;
  color: #dbeafe;
}

.noticeList {
  list-style: none;
  margin: 0;
  padding: 0;
}
.noticeList li {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.noticeTopic {
  font-weight: bold;
  color: #1f2937;
  font-size: 14px;
  margin-bottom: 4px;
}
.noticeDate {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}
.noticeText {
  font-size: 13px;
  color: #374151;
  line-height: 1.5em;
}
.noData {
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  padding: 10px;
}



/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .layoutFlex {
    flex-direction: column;
  }
  .leftCol,
  .rightCol {
    min-width: 100%;
    flex: 1 1 100%;
  }
  .topTabs {
    position: static;
  }
}
