    /* ===== Premium Variables ===== */
    :root{
  --primary:#0b3c5d;
  --secondary:#f4b400;
  --light:#f8f9fa;
}

/* ================= GLOBAL OPTIMIZATION ================= */
*{scroll-behavior:smooth}
body{font-family:'Segoe UI',system-ui,sans-serif}
img,video{will-change:transform}

/* ================= SCROLL ANIMATION ================= */
.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:all .9s ease;
}
.reveal.active{
  opacity:1;
  transform:none;
}
.reveal-left{transform:translateX(-60px)}
.reveal-right{transform:translateX(60px)}
.reveal-zoom{transform:scale(.9)}


    body {
      font-family: 'Segoe UI', system-ui, sans-serif;
    }

    /* ===== Topbar ===== */
    .topbar {
      background: linear-gradient(90deg, var(--primary), #06283d);
      color: #fff;
      font-size: 14px;
    }

    .notice-marquee {
      white-space: nowrap;
      overflow: hidden;
      position: relative;
      width: 100%;
    }

    .notice-marquee span {
      display: inline-block;
      padding-left: 100%;
      animation: marquee 20s linear infinite;
    }

    .notice-marquee span a {
        color: #fff;
        text-decoration: none;
    }

    @keyframes marquee {
      0% { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }

    /* ===== Navbar ===== */
    .navbar {
      background: #ffffff;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }

    .navbar-brand {
      font-weight: 700;
      color: var(--primary) !important;
    }

    .nav-link {
      font-weight: 500;
      margin-left: 10px;
      color: #333 !important;
    }

    .nav-link:hover {
      color: var(--secondary) !important;
    }

    .btn-admission {
      background: var(--secondary);
      color: #000;
      font-weight: 600;
      border-radius: 30px;
      padding: 6px 18px;
    }

    .btn-admission:hover {
      background: #d9a100;
      color: #000;
    }

    /* ===== Mobile ===== */
    @media (max-width: 991px) {
      .nav-link {
        margin-left: 0;
      }
    }




    .quick-links{background:#fff}
    .quick-card{display:block;text-align:center;padding:30px 20px;background:#f9fbfd;border-radius:16px;text-decoration:none;color:#333;height:100%;box-shadow:0 10px 30px rgba(0,0,0,.06);transition:.3s}
    .quick-card:hover{transform:translateY(-8px);box-shadow:0 15px 35px rgba(0,0,0,.12)}
    .quick-card h5{margin-top:15px;font-weight:600;color:var(--primary)}
    .quick-card p{font-size:14px;color:#666}
    .icon-box{width:70px;height:70px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto;color:#fff;font-size:28px}

 /* ===== SCHOOL INTRO SECTION ===== */
    .school-intro {
      background: #f9fbfd;
    }

    .school-intro h2 {
      color: var(--primary);
    }

    .fact-box {
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      text-align: center;
      box-shadow: 0 8px 25px rgba(0,0,0,0.06);
      transition: transform 0.3s ease;
    }

    .fact-box:hover {
      transform: translateY(-5px);
    }

    .fact-box h3 {
      color: var(--secondary);
      font-weight: 700;
      margin-bottom: 5px;
    }

    .intro-images {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 15px;
    }

    .intro-images img {
      width: 100%;
      border-radius: 14px;
      object-fit: cover;
      height: 220px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    }

    @media (max-width: 768px) {
      .intro-images {
        grid-template-columns: 1fr;
      }

      .intro-images img {
        height: 200px;
      }
    }

    /* ===== SCHOOL SHOWCASE ===== */
.school-showcase {
background: #f9fbfd;
}


.showcase-card {
background: #fff;
border-radius: 18px;
overflow: hidden;
box-shadow: 0 12px 35px rgba(0,0,0,0.08);
transition: transform 0.3s ease;
height: 100%;
}


.showcase-card:hover {
transform: translateY(-8px);
}


.showcase-card img {
width: 100%;
height: 260px;
object-fit: cover;
}


.showcase-content {
padding: 25px;
}


.showcase-content h4 {
font-weight: 700;
color: var(--primary);
margin-bottom: 10px;
}


.showcase-content p {
font-size: 15px;
color: #555;
margin-bottom: 15px;
}


@media (max-width: 768px) {
.showcase-card img {
height: 220px;
}
}

.quick-card{display:block;text-align:center;padding:30px 20px;background:#f9fbfd;border-radius:16px;text-decoration:none;color:#333;height:100%;box-shadow:0 10px 30px rgba(0,0,0,.06);transition:.3s}
.quick-card:hover{transform:translateY(-8px);box-shadow:0 15px 35px rgba(0,0,0,.12)}
.quick-card h5{margin-top:15px;font-weight:600;color:var(--primary)}
.quick-card p{font-size:14px;color:#666}
.icon-box{width:70px;height:70px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto;color:#fff;font-size:28px;}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
}

.hero-img,
.hero-video {
  height: 90vh;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  left: 8%;
  right: auto;
  max-width: 520px;
  background: rgba(11, 60, 93, 0.65);
  backdrop-filter: blur(6px);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.carousel-caption h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
}

.carousel-caption p {
  font-size: 1.1rem;
  margin: 15px 0 25px;
  color: #f1f1f1;
}

.carousel-caption .hero-btn {
  background: var(--secondary);
  color: #000;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 26px;
  text-decoration: none;
}

.carousel-caption .hero-btn:hover {
  background: #d9a100;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-img,
  .hero-video {
    height: 70vh;
  }

  .carousel-caption {
    left: 5%;
    right: 5%;
    max-width: 100%;
    padding: 20px;
  }

  .carousel-caption h1 {
    font-size: 1.6rem;
  }
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(rgba(11,60,93,.75), rgba(11,60,93,.75)),
              url('assets/images/about-hero.jpg') center/cover;
  padding: 90px 0;
  color:#fff;
}

.page-hero h1 {
  font-weight: 800;
}

/* ===== EDITOR BOX ===== */
.editor-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

/* CKEditor Content Styling */
.editor-box h1,
.editor-box h2,
.editor-box h3,
.editor-box h4 {
  font-weight: 700;
  margin-top: 30px;
  color: var(--primary);
}

.editor-box p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 18px;
}

.editor-box ul,
.editor-box ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.editor-box img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
}

.editor-box table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
}

.editor-box table th,
.editor-box table td {
  border: 1px solid #dee2e6;
  padding: 12px;
}

.editor-box iframe {
  width: 100%;
  min-height: 350px;
  border-radius: 14px;
  margin: 25px 0;
}

/* ===== SIDE CARD ===== */
.side-card {
  background: linear-gradient(135deg, var(--primary), #06283d);
  color:#fff;
  border-radius: 18px;
  padding: 30px;
  position: sticky;
  top: 120px;
}

.side-card h5 {
  font-weight: 700;
}

.featured-image-wrap img{
    width: 100%;
}

@media(max-width:768px){
  .editor-box { padding: 25px; }
}

/* ===== TEAM GRID ===== */
.team-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}
.team-card:hover {
  transform: translateY(-10px);
}

.team-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-body {
  padding: 20px;
}

.team-body h5 {
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--primary);
}

.team-body span {
  display: block;
  font-size: 0.9rem;
  color: #6c757d;
}

@media(max-width:768px){
  .team-img { height: 220px; }
}

/* ===== CLASSES / CURRICULUM ===== */
.class-card {
  background: #fff;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,.08);
  transition: 0.3s ease;
  padding: 20px;
}
.class-card:hover {
  transform: translateY(-8px);
}


/* ===== HERO ===== */
.page-hero {
  background: linear-gradient(rgba(11,60,93,.7), rgba(11,60,93,.7)),
              url('assets/images/notices-hero.jpg') center/cover;
  padding: 80px 0;
  color: #fff;
  text-align: center;
}
.page-hero h1 { font-weight: 800; }

/* ===== NOTICE CARD ===== */
.notice-card {
  border-left: 5px solid var(--primary);
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  transition: 0.3s ease;
}
.notice-card:hover {
  background: #f8f9fa;
}
.notice-card h5 {
  font-weight: 700;
  color: var(--primary);
}
.notice-card .date {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 10px;
}
.notice-card p {
  font-size: 0.95rem;
}

.notice-card a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
  transition: all 0.3s ease;
}
.notice-card a:hover {
  color: #fff;
  background: var(--primary);
  padding: 2px 8px;
  border-radius: 5px;
  border-bottom: none;
}


/* ===== Pagination ===== */
.pagination .page-link {
  color: #fff;
  background: var(--primary);
  border: none;
  margin: 0 3px;
  transition: all 0.3s ease;
}
.pagination .page-link:hover {
  background: #06283d;
  color: #fff;
}
.pagination .page-item.active .page-link {
  background: var(--secondary);
  color: #000;
  font-weight: 700;
}
.pagination .page-link:focus {
  box-shadow: none;
}

/* ===== HERO ===== */
.page-hero {
  background: linear-gradient(rgba(11,60,93,.7), rgba(11,60,93,.7)),
              url('assets/images/notices-hero.jpg') center/cover;
  padding: 80px 0;
  color: #fff;
  text-align: center;
}
.page-hero h1 { font-weight: 800; }

/* ===== NOTICE DETAIL ===== */
.notice-detail {
  padding: 50px 0;
}
.notice-detail h2 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}
.notice-detail .date {
  color: #6c757d;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.notice-detail img.featured-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 30px;
}
.notice-detail p {
  line-height: 1.7;
  margin-bottom: 15px;
}
.notice-detail ul {
  padding-left: 20px;
}
.notice-detail a.read-more {
  display: inline-block;
  margin-top: 15px;
  padding: 6px 15px;
  color: #fff;
  background: var(--primary);
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s ease;
}
.notice-detail a.read-more:hover {
  background: #06283d;
}

/* ===== ATTACHMENTS ===== */
.attachments {
  margin-top: 30px;
}
.attachments a {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 6px 12px;
  background: #f8f9fa;
  color: var(--primary);
  border-radius: 5px;
  font-size: 0.9rem;
  border: 1px solid var(--primary);
  transition: 0.3s ease;
}
.attachments a:hover {
  background: var(--primary);
  color: #fff;
}

/* ===== RELATED NOTICES ===== */
.related-notices {
  margin-top: 50px;
}
.related-notices h5 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}
.related-notices .card {
  transition: 0.3s ease;
  border-radius: 10px;
}
.related-notices .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,.1);
}
.related-notices .card a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
}
.related-notices .card a:hover {
  text-decoration: underline;
}

/* ===== PHOTO DETAIL ===== */
.photo-detail {
  padding: 50px 0;
}
.photo-detail h2 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}
.photo-detail .date {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.photo-detail p {
  line-height: 1.7;
  margin-bottom: 15px;
}
.editor-box {
  margin-bottom: 30px;
}

/* ===== THUMBNAILS ===== */
.gallery-thumbs {
  margin-top: 30px;
}
.gallery-thumbs img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-thumbs img:hover {
  transform: scale(1.05);
}

/* ===== RELATED PHOTOS ===== */
.related-photos {
  margin-top: 50px;
}
.related-photos h5 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}
.related-photos .card {
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s ease;
}
.related-photos .card img {
  object-fit: cover;
  height: 200px;
}
.related-photos .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,.1);
}

.page-hero p { font-size: 1.1rem; }

/* ADMISSION FORM */
.admission-section {
  padding: 60px 0;
}
.admission-section h2 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 30px;
}
.admission-section form .form-control {
  border-radius: 10px;
  padding: 10px 15px;
}
.admission-section form .btn-submit {
  background: var(--secondary);
  color: #000;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 30px;
}
.admission-section form .btn-submit:hover {
  background: #d9a100;
  color: #000;
}

/* CONTACT INFO */
.contact-info {
  background: var(--primary);
  color: #fff;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
}
.contact-info i {
  font-size: 1.5rem;
  margin-right: 10px;
}

/* MAP */
.map-container {
  border-radius: 15px;
  overflow: hidden;
  height: 400px;
}

/* BREADCRUMB */
.breadcrumb-container {
  background: #f8f9fa;
  padding: 15px 0;
}

/* FILTERS */
.filters {
  margin: 30px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-end;
}
.filters select {
  border-radius: 50px;
  padding: 8px 15px;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
}
.filters select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 8px rgba(11,60,93,0.2);
}

/* RESULTS GRID */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 20px;
}
.result-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  text-align: center;
}
.result-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.result-item:hover img {
  transform: scale(1.05);
}
.result-item h6 {
  font-weight: 700;
  margin: 10px 0 5px 0;
  color: var(--primary);
}
.result-item a {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.result-item a:hover {
  color: var(--primary);
}

/* BLOG DETAIL */
.blog-detail {
  padding: 50px 0;
}
.blog-detail h2 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}
.blog-detail .date {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.blog-detail .featured-img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 30px;
}
.editor-box p {
  line-height: 1.7;
  margin-bottom: 15px;
}

/* RELATED BLOGS */
.related-blogs {
  margin-top: 50px;
}
.related-blogs h5 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}
.related-blogs .card {
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s ease;
}
.related-blogs .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,.1);
}
.related-blogs img {
  height: 200px;
  object-fit: cover;
}
.related-blogs .card-body {
  padding: 10px;
}
.related-blogs .card-title {
  font-weight: 600;
  font-size: 1rem;
}


/* BLOG CARDS */
.blog-card {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card .card-body {
  padding: 15px;
}
.blog-card .card-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.blog-card .card-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.read-more {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
}
.read-more:hover {
  text-decoration: underline;
}

/* ===== GALLERY GRID ===== */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-card:hover img {
  transform: scale(1.05);
}
.gallery-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: rgba(11,60,93,0.8);
  color: #fff;
  text-align: center;
  font-weight: 600;
  transition: background 0.3s ease;
}
.gallery-card:hover .overlay {
  background: rgba(11,60,93,0.95);
}

/* ===== VIDEO DETAIL ===== */
.video-detail {
  padding: 50px 0;
}
.video-detail h2 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}
.video-detail .date {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.video-detail .editor-box {
  margin-bottom: 30px;
  line-height: 1.7;
}

/* ===== RELATED VIDEOS ===== */
.related-videos {
  margin-top: 50px;
}
.related-videos h5 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}
.related-videos .card {
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s ease;
}
.related-videos .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,.1);
}
.related-videos iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
}
.related-videos .card-title {
  font-weight: 600;
  margin-top: 8px;
  text-align: center;
}

/* ===== VIDEO CARDS ===== */
.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.video-card:hover img {
  transform: scale(1.05);
}
.video-card .overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex; justify-content: center; align-items: center;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.video-card:hover .overlay {
  opacity: 1;
}
.video-card .title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(11,60,93,0.8);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-weight: 600;
}

.menu-container {
      display: flex;
      justify-content: center;
      align-items: center;
      height: auto;
      padding: 20px;
      background: white;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      border-radius: 8px;
  }
  
  .flipbook-wrapper {
      width: 100%;
      max-width: 900px;
      height: 600px;
      position: relative;
  }
