body { font-family: Arial, sans-serif; scroll-behavior: smooth; }

    /* Topbar */
    .topbar { background: #002244; color: #fff; font-size: 0.9rem; padding: 6px 0; }
    .topbar a { color: #ffcc00; text-decoration: none; }

   
/* =====================
   NAVBAR STYLING
===================== */
.navbar {
  background: #003366;
  padding: 10px 0;
  transition: background 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff !important;
}

.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* Navbar links */
.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  padding: 10px 15px;
  position: relative;
  transition: color 0.3s ease;
  font-size:12px;
}

/* Underline effect */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0%;
  height: 2px;
  background: #ffc107;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Keep text color consistent */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffc107 !important;
}

/* =====================
   FIX: Remove underline from dropdown nav links
===================== */
.navbar-nav .nav-item.dropdown > .nav-link::after {
  width: 0 !important;
}

/* Prevent hover underline for dropdown */
.navbar-nav .nav-item.dropdown > .nav-link:hover::after {
  width: 0 !important;
}

/* Keep text color normal */
.navbar-nav .nav-item.dropdown > .nav-link:hover,
.navbar-nav .nav-item.dropdown > .nav-link.show {
  color: #fff !important;
}
/* =====================
   REMOVE DOT / LINE FROM STUDENTS DROPDOWN
===================== */
.navbar-nav .nav-item.dropdown > .nav-link::after {
  content: none !important;
}




/* =====================
   DROPDOWN STYLING
===================== */

.navbar .nav-link {
  color: #fff;
  font-weight: 500;
  padding: 8px 16px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  background: #77838161;
  color: #000;
  border-radius: 6px;
}

/* Dropdown menu styling */
.dropdown-menu {
  background: #fff;
  padding: 10px 0;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.dropdown-menu .dropdown-item {
  padding: 8px 20px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.dropdown-menu .dropdown-item:hover {
  background: #ffc107;
  color: #000;
  border-radius: 6px;
}



    /* Sticky wrapper for topbar + navbar */
    .sticky-header { position: sticky; top: 0; z-index: 1020; }

    /* Hero Slider */
    .carousel-item img { height: 85vh; object-fit: cover; }
    .carousel-caption { background: rgba(0,0,0,0.5); padding: 20px; border-radius: 10px; }

    section { padding: 60px 20px; }

    /* Notice Board */
    /*.notice-board {
      background: #f9f9f9; border-left: 5px solid #003366; padding: 20px;
      border-radius: 8px; height: 180px; overflow: hidden; position: relative;
    }
    .notice-list { position: absolute; animation: scrollNotice 10s linear infinite; }
    @keyframes scrollNotice { 0% { top: 100%; } 100% { top: -100%; } }*/

    /* Principal */
    .principal-img { max-width: 300px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

    /* Footer */
    footer { background: #003366; color: #fff; text-align: center; padding: 20px 0; }
    .social-icons a { color: #ffcc00; font-size: 1.4rem; margin: 0 10px; transition: color 0.3s ease; }
    .social-icons a:hover { color: #fff; }

    /* Collapsible Quick Links */
    /* =====================
   Collapsible Quick Links
===================== */
/* =====================
   Collapsible Quick Links
===================== */
.quick-links {
  position: fixed;
  top: 30%;
  right: 0;
  background: #003366;
  color: #fff;
  padding: 15px;
  width: 220px;
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 2px 8px rgba(0,0,0,0.2);
  z-index: 1100;
  transition: transform 0.3s ease;
}

.quick-links.collapsed {
  transform: translateX(180px);
}

.quick-links h5 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #ffcc00;
  text-align: left;
}

.quick-links a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin: 5px 0;
  padding: 6px;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.quick-links a:hover {
  background: #0055aa;
  padding-left: 10px;
}

/* Toggle button */
.toggle-btn {
  position: absolute;
  left: -35px;
  top: 10px;
  background: #003366;
  border: none;
  color: #fff;
  padding: 5px 8px;
  border-radius: 5px 0 0 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-btn:hover {
  background: #0055aa;
}

/* =====================
   ABOUT US STYLING
===================== */
.about-section {
    background: linear-gradient(120deg, #f0f9ff, #ffffff); /* Lighter, soft blueish gradient */
    position: relative;
  }

  .about-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
  }
  .about-section .section-title::after {
    content: "";
    width: 80%;
    height: 4px;
    background: linear-gradient(45deg, #17a2b8, #33d4ff); /* Different gradient from Vision */
    position: absolute;
    bottom: -10px;
    left: 20%;
    border-radius: 2px;
  }

  .about-box {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 900px;
    font-size: 1.15rem;
    line-height: 1.8;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: justify;       /* Justify text */
    text-indent: 40px;         /* Indent first line */
  }
  .about-box:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  }

  .about-box p {
    margin-bottom: 1rem;
    color: #555;
  }

  .highlight-about {
    background: linear-gradient(45deg, #17a2b8, #33d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
  }
  
  /* Slider inside about section */
.about-slider {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.about-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.about-slide.active {
  display: block;
  opacity: 1;
}

.about-controls {
  margin-top: 20px;
  text-align: center;
}

.about-btn {
  background: linear-gradient(45deg, #17a2b8, #33d4ff);
  border: none;
  color: #fff;
  padding: 8px 15px;
  margin: 0 10px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.about-btn:hover {
  transform: scale(1.1);
  background: linear-gradient(45deg, #138496, #17a2b8);
}


/* Dot navigation */
.about-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-left: 40px;
}

.about-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.about-dots span.active {
  background: #17a2b8;
  transform: scale(1.2);
}



/* =====================
   Responsive Fix
===================== */
@media (max-width: 768px) {
  .quick-links {
    top: auto;
    bottom: 20%;
    width: 180px;
    padding: 12px;
  }

  .quick-links.collapsed {
    transform: translateX(80px);
  }

  .quick-links h5 {
    font-size: 0.9rem;
  }

  .quick-links a {
    font-size: 0.85rem;
    padding: 5px;
  }

  .toggle-btn {
    left: -30px;
    top: 5px;
    padding: 4px 6px;
    font-size: 0.9rem;
  }
}


    .toggle-btn:hover { background: #0055aa; }

    @media (max-width: 768px) { .quick-links { transform: translateX(180px); } }
    @media (min-width: 769px) { .quick-links:hover { transform: translateX(0) !important; } }
	
	/* Contact cards hover effect */
  .contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  .contact-card:hover .card-title i {
    transform: rotate(10deg) scale(1.2);
    transition: transform 0.3s ease;
  }
  
  /* Facilities/Features hover animation */
   /* Circle icons with gradient */
  .icon-circle {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 30px;
    margin: 0 auto;
  }

  /* Gradient backgrounds */
  .bg-gradient-primary { background: linear-gradient(45deg, #007bff, #00d4ff); }
  .bg-gradient-success { background: linear-gradient(45deg, #28a745, #85e085); }
  .bg-gradient-warning { background: linear-gradient(45deg, #ffc107, #ff9800); }
  .bg-gradient-danger  { background: linear-gradient(45deg, #dc3545, #ff5f6d); }
  .bg-gradient-dark    { background: linear-gradient(45deg, #343a40, #495057); }
  .bg-gradient-info    { background: linear-gradient(45deg, #17a2b8, #33d4ff); }

  /* Card hover effect */
  .feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
  }
  .feature-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  }
  .feature-card h5 {
    font-weight: 600;
    margin-top: 10px;
  }

.vision-section {
    background: linear-gradient(120deg, #f9f9f9, #ffffff);
    position: relative;
  }

  .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #4e7e95;
    position: relative;
    display: inline-block;
  }
  .section-title::after {
    content: "";
    width: 80%;
    height: 4px;
    background: linear-gradient(45deg, #007bff, #00d4ff);
    position: absolute;
    bottom: -10px;
    left: 20%;
    border-radius: 2px;
  }

  .vision-box {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 900px;
    font-size: 1.2rem;
    line-height: 1.8;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: justify;       /* ✅ Justify text */
    text-indent: 40px;         /* ✅ Indent first line */
  }
  .vision-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  }

  .vision-box p {
    margin: 0;
    color: #555;
    font-weight: 400;
  }

  .highlight {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    animation: glowText 3s infinite alternate;
  }

  /* glowing text animation */
  @keyframes glowText {
    0% { text-shadow: 0 0 5px rgba(0,123,255,0.3); }
    100% { text-shadow: 0 0 20px rgba(0,212,255,0.6); }
  }
  
  /* mission section */
  .mission-section {
    background: linear-gradient(120deg, #f5fdf9, #ffffff);
    position: relative;
  }

  .mission-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
  }
  .mission-section .section-title::after {
    content: "";
    width: 80%;
    height: 4px;
    background: linear-gradient(45deg, #28a745, #00c795);
    position: absolute;
    bottom: -10px;
    left: 20%;
    border-radius: 2px;
  }

  .mission-box {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 900px;
    font-size: 1.2rem;
    line-height: 1.8;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: justify;       /* ✅ Justified text */
    text-indent: 40px;         /* ✅ First-line indent */
  }
  .mission-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  }

  .mission-box p {
    margin: 0;
    color: #555;
    font-weight: 400;
  }

  .highlight-mission {
    background: linear-gradient(45deg, #28a745, #00c795);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    animation: glowMission 3s infinite alternate;
  }

  /* glowing text animation */
  @keyframes glowMission {
    0% { text-shadow: 0 0 5px rgba(40,167,69,0.3); }
    100% { text-shadow: 0 0 20px rgba(0,199,149,0.6); }
  }
  
 /* messege section */ 
   .desk-card { background:#fff; border-radius:14px; display:flex; flex-direction:column; transition: transform .28s ease, box-shadow .28s ease; }
  .desk-card:hover { transform:translateY(-6px); box-shadow:0 14px 30px rgba(0,0,0,0.12); }

  .desk-img { width:110px; height:110px; object-fit:cover; border-radius:50%; border:3px solid #007bff; box-shadow:0 6px 14px rgba(0,0,0,0.12); }

  .reading-area { min-height:160px; display:flex; flex-direction:column; overflow:hidden; }
  .text-wrap { position:relative; z-index:2; }
  .preview span, .extra-content span { display:block; margin-bottom:6px; font-size:0.96rem; color:#333; line-height:1.7; text-align:justify; text-indent:36px; transition: background 0.25s ease; }
  .preview span:hover, .extra-content span:hover { background: #e9f4ff; border-radius:4px; }

  .extra-content { 
  max-height: 0; 
  overflow: hidden; 
  transition: max-height 0.8s ease-in-out; /* slower, smooth transition */
}


  .btn-sm { border-radius:20px; padding:6px 16px; }
  .read-toggle[aria-expanded="true"] { font-weight:600; }
 /* message section ends */ 
 
 /* =====================
   NOTICE BOARD STYLING
===================== */
.notice-section {
  background: #f9f9f9;
  text-align: center; /* Ensure section text defaults to center */
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #003366;
  display: inline-block;
  margin: 0 auto 30px auto; /* Center horizontally */
  text-align: center;
}
.notice-section .section-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: #ffc107;
  margin-left:-40px;
  border-radius: 2px;
}


.notice-box {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notice-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.notice-subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  color: #003366;
  margin-bottom: 20px;
  border-left: 5px solid #ffc107;
  padding-left: 10px;
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-list li {
  font-size: 0.9rem;
  color: #333;
  padding: 10px 0;
  border-bottom: 1px dashed #ddd;
  display: flex;
  align-items: center;
  text-align:left;
  transition: background 0.3s ease;
}

.notice-list li:last-child {
  border-bottom: none;
}

.notice-list li i {
  color: #ffc107;
  margin-right: 10px;
  font-size: 1.2rem;
}

.notice-list li:hover {
  background: rgba(255, 193, 7, 0.1);
  border-radius: 5px;
  cursor: pointer;
}

/* Ensure all gallery images have same height */
  .gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  .gallery-img:hover {
    transform: scale(1.05);
  }

  /* Modal image style */
  #modalImage {
    max-height: 80vh;
    transition: transform 0.4s ease;
  }

  /* Navigation buttons */
  .carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
  }
  .carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
  }
  
 /* CSS for modal table of school hours */ 
  .school-hours-table th {
  background: linear-gradient(45deg, #17a2b8, #33d4ff);
  color: #fff;
}

.school-hours-table td {
  font-size: 15px;
  color: #333;
}

#schoolHoursModal .modal-content {
  border-radius: 12px;
  overflow: hidden;
}

#schoolHoursModal .modal-header {
  background: linear-gradient(45deg, #17a2b8, #33d4ff);
}


.school-time-table th {
  background: linear-gradient(45deg, #17a2b8, #33d4ff);
  color: #fff;
}

.school-time-table td {
  font-size: 15px;
  color: #333;
}

#schoolTimeModal .modal-content {
  border-radius: 12px;
  overflow: hidden;
}

#schoolTimeModal .modal-header {
  background: linear-gradient(45deg, #17a2b8, #33d4ff);
  color: #fff;
}

#schoolTimeModal .nav-tabs .nav-link {
  font-weight: 600;
  border-radius: 8px 8px 0 0;
}

#schoolTimeModal .nav-tabs .nav-link.active {
  background: linear-gradient(45deg, #17a2b8, #33d4ff);
  color: #fff;
}


.school-time-table th {
  background: linear-gradient(45deg, #17a2b8, #33d4ff);
  color: #fff;
}

.school-time-table td {
  font-size: 15px;
  color: #333;
}

#patModal .modal-content {
  border-radius: 12px;
  overflow: hidden;
}

#patModal .modal-header {
  background: linear-gradient(45deg, #17a2b8, #33d4ff);
  color: #fff;
}

#patModal .nav-tabs .nav-link {
  font-weight: 600;
  color: #17a2b8;
}
#patModal .nav-tabs .nav-link.active {
  background: #17a2b8;
  color: #fff;
}

.school-time-table th {
  background: linear-gradient(45deg, #17a2b8, #33d4ff);
  color: #fff;
}

.school-time-table td {
  font-size: 15px;
  color: #333;
}

#teModal .modal-content {
  border-radius: 12px;
  overflow: hidden;
}

#teModal .modal-header {
  background: linear-gradient(45deg, #17a2b8, #33d4ff);
  color: #fff;
}

#teModal .nav-tabs .nav-link {
  font-weight: 600;
  color: #17a2b8;
}

#teModal .nav-tabs .nav-link.active {
  background: #17a2b8;
  color: #fff;
}


