:root {
  --accent: #ff7a00;
  --divider: #e9e9e9;
  --text: #111;
  --bg: #fafafa;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
@media (min-width: 900px) {
  .sticky-nav {
    position: sticky;
  }
}
.sticky-nav {
  background-color: #f8f8f8;
  top: 0; /* stick when reaches top */
  z-index: 1000; /* keep above other content */
}

/* base menu list */
.nav-list {
  list-style: none;
  background: var(--bg);
  margin: 0;
  padding: 0;
}
.nav-list li a {
  display: block;
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  /* border-bottom:1px solid var(--divider); */
}
.nav-list li:last-child a {
  border-bottom: 0;
}
.nav-list li a.active {
  color: var(--accent);
}
.stylenurserycontent {
  font-size: 20px;
}
.stylenurserycontent1{
  font-size: 18px !important;
}
/* desktop style */
@media (min-width: 900px) {
  .nav-list {
    display: flex;
    justify-content: center;
    flex-wrap:wrap ;
    /* border-bottom: 1px solid var(--divider); */
  }
  .nav-list li {
    flex: 0 0 auto;
    position: relative;
  }
  .nav-list li a {
    border: 0;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    border-right: 1px solid black;
  }
  .nav-list li:last-child a {
    border-right: 0;
  }
  .nav-list li a.active {
    position: relative;
    color: var(--text);
  }
  .nav-list li a.active::after {
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 6px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
  }
}

@media screen and (max-width: 429px) {
  .bgnurseryprogrambanner {
    position: relative;
    height: 550px;
    background-image: url("../img/nurserytab.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
  .bgprimaryprogrambanner {
        background-image: url("../img/primarytab.webp");
  }
    .bglowerprogrambanner {
        background-image: url("../img/lower6to8tab.webp");
  }
  .bggrade9to10programbanner{
    background-image: url("../img/grade9to10tab.webp");
  }
  .bggrade11to12programbanner{
    background-image: url("../img/grade11to12tab.webp");
  }
  .nurseryherocontent {
    text-align: center;
    position: absolute;
    padding: 30px;
    top: 10%;
  }
  .grade11to12herocontent{
    top: -5%;
  }
  .nurseryherocontent p {
    font-size: 18px;
    font-weight: 500;
  }
}
@media screen and (min-width: 430px) and (max-width: 768px) {
  .bgnurseryprogrambanner {
    height: 800px;
    background-image: url("../img/nurserytab.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
    .bgprimaryprogrambanner {
        background-image: url("../img/primarytab.webp");
  }
      .bglowerprogrambanner {
        background-image: url("../img/lower6to8tab.webp");
  }
    .bggrade9to10programbanner{
    background-image: url("../img/grade9to10tab.webp");
  }
    .bggrade11to12programbanner{
    background-image: url("../img/grade11to12tab.webp");
  }
  .nurseryherocontent {
    margin: auto;
    max-width: 330px;
    padding-top: 80px;
    text-align: center;
    /* position: absolute; */
    top: 25%;
  }

  .nurseryherocontent h3 {
    font-size: 32px;
    padding-bottom: 20px;
  }
  .nurseryherocontent p {
    font-size: 25px;
    font-weight: 500;
  }
}
@media screen and (min-width: 769px) {
  .bgnurseryprogrambanner {
    height: 600px;
    background-image: url("../img/nurserydesktop.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
    .bgprimaryprogrambanner {
        background-image: url("../img/primarydesktop.webp");
  }
      .bglowerprogrambanner {
        background-image: url("../img/lower6to8desktop.webp");
  }
    .bggrade9to10programbanner{
    background-image: url("../img/grade9to10desktop.webp");
  }
    .bggrade11to12programbanner{
    background-image: url("../img/grade11to12desktop.webp");
  }
  .nurseryherocontent {
    max-width: 330px;
    text-align: start;
    position: absolute;
    top: 30%;
    right: 5%;
  }
  .lowerherocontent{
    /* top: 20%; */
    right: 30%;
  }
  .nurseryherocontent p {
    font-size: 18px;
    font-weight: 600;
  }
}
@media screen and (min-width: 1400px) {
  .nurseryherocontent {
    max-width: 400px;
    text-align: start;
    position: absolute;
    top: 29%;
    right: 5%;
  }
    .lowerherocontent{
    /* top: 20%; */
    right: 32%;
  }
  .nurseryherocontent h3 {
    font-size: 35px;
  }
  .nurseryherocontent p {
    font-size: 24px;
  }
}

.academics-section {
  padding: 80px 12px;
}
.academics-section .academics-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 32px;
}
.academics-section .academics-row {
  align-items: center;
  justify-content: space-between;
}
.academics-section .academics-image {
  width: 100%;
  max-width: 650px;
  display: block;
}
.academics-section .acc-wrapper {
  max-width: 720px;
  margin: auto;
}
.academics-section .acc-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 18px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.academics-section .acc-left {
  flex: 1 1 auto;
  cursor: pointer;
}
.academics-section .acc-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
}
.academics-section .acc-body {
  color: #333;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0;
}
.academics-section .acc-body.open {
  padding-top: 6px;
  max-height: 800px;
}
.academics-section .acc-toggle {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 2px solid #111;
  background: #fff;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 40px;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  transition: background 0.18s ease;
}
.academics-section .acc-toggle.open {
  background: transparent;
}
@media (max-width: 991px) {
  .academics-section .academics-title {
    font-size: 28px;
    text-align: center;
  }
  .academics-section .academics-row {
    flex-direction: column-reverse;
    text-align: center;
  }
  .academics-section .acc-wrapper {
    margin-top: 18px;
  }
  .academics-section .acc-left {
    text-align: left;
  }
}
.styleresourcecontent {
  font-size: 50px !important;
}

  #calendar {
      max-width: 900px;
      margin: 40px auto;
      font-family: Arial, sans-serif;
    }
    .fc-tooltip {
      position: absolute;
      z-index: 9999;
      background: #fff;
      border: 1px solid #ccc;
      padding: 6px 10px;
      border-radius: 5px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
      font-size: 13px;
      display: none;
      pointer-events: none;
    }


    .fc {
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

/* Toolbar and title */
.fc .fc-toolbar-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #164194; /* deep blue */
  letter-spacing: 0.2px;
}

/* Buttons (prev/next/today) */
.fc .fc-button {
  background: #164194;
  color: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: none;
}
.fc .fc-button:hover, .fc .fc-button:focus {
  background: #0f316f;
  color: #fff;
  transform: translateY(-1px);
}

/* Active view button (month/week/day) */
.fc .fc-button-active {
  background:  #ff7a00 !important; /* gold */
  color: white !important;
  border-color:  #ff7a00 !important;
}

/* Day cells */
.fc .fc-daygrid-day {
  border: 1px solid rgba(0,0,0,0.04);
}
.fc .fc-daygrid-day-number {
  color: #333;
  font-weight: 600;
}

/* Today cell highlight */
.fc .fc-day-today {
  background: rgba(22,65,148,0.06); /* subtle blue */
  border: 2px solid rgba(22,65,148,0.12);
}

/* Weekend cells */
.fc .fc-day-sat, .fc .fc-day-sun {
  background: rgba(250,240,210,0.02); /* very subtle warm tint */
}

/* Event chips (day grid) */
.fc .fc-daygrid-event {
  border: 0;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  padding: 4px 8px;
  margin: 2px 0;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Make event text smaller to fit pills */
.fc .fc-daygrid-event .fc-event-title {
  font-size: 0.95rem;
  font-weight: 600;
}

/* All-day events in week/day view */
.fc .fc-event {
  border-radius: 6px;
}

/* Tooltip link styles inside tooltip if used */
.fc-tooltip a {
  color:  #ff7a00;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .fc .fc-toolbar-title { font-size: 1.2rem; }
  .fc .fc-button { padding: 6px 8px; }
}

/* ------------------------------
   Customize FullCalendar grid lines
   ------------------------------ */

/* Day grid cells (month view) */
.fc .fc-daygrid-day {
  border: 1px solid rgba(22, 65, 148, 0.15); /* light blue grid lines */
}

/* Vertical and horizontal lines */
.fc-theme-standard td, 
.fc-theme-standard th {
  border-color: rgba(22, 65, 148, 0.15);
}

/* Thicker outer border for calendar */
.fc .fc-scrollgrid {
  border: 2px solid #164194; /* Nest blue outer frame */
  border-radius: 8px;
  overflow: hidden;
}

/* Header row separator */
.fc .fc-col-header-cell {
  border-bottom: 2px solid #164194;
  background-color: rgba(22,65,148,0.05);
  color: #164194;
  font-weight: 600;
}


.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 10px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  color: #ff7a00;
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 10px 18px;
  margin: 0;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
