* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
}

.head {
  display: flex;
  align-items: center;
  padding: 20px;
  background-image: url('./assets/imgschool.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: rgba(5, 5, 245, 0.47);
  background-blend-mode: overlay;
  color: white;
  flex-wrap: wrap;
  padding-top: 5px;
  padding-bottom: 5px;
}

.logo {
  height: 130px;
  margin-right: 20px;
  margin-left: 10px;
  flex-shrink: 0;
}

.header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  flex: 1;
  min-width: 0;
}

.heading-wrapper {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-text h1 {
  font-size: clamp(1rem, 6vw, 3.5rem);
  font-weight: 700;
  margin: 0;
}

.header-text .tagline {
  font-size: clamp(0.9rem, 2vw, 1.5rem);
  font-weight: 400;
  margin-top: 5px;
}


.middle{
    background-color: rgb(255, 255, 255);
}

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: Arial, sans-serif;
    }

    /* Hamburger */
    .hamburger {
      font-size: 20px; /* smaller size */
      cursor: pointer;
      display: none;
      padding: 6px 10px;
      background-color: #0d47a1;
      color: white;
      border-radius: 4px;
      position: fixed;
      top: 10px;
      left: 10px;
      z-index: 2000;
    }
    .py-3{
      padding-top: 5px !important;
      padding-bottom: 5px !important;
    }

    /* Sidebar */
    .sidebar {
      position: fixed;
      top: 0;
      left: -260px;
      width: 250px;
      height: 100%;
      background-color: #0d47a1;
      color: white;
      padding-top: 60px;
      z-index: 1500;
      transition: left 0.3s ease;
    }

    .sidebar.open {
      left: 0;
    }

    .sidebar .nav-link {
      display: block;
      padding: 12px 20px;
      color: white;
      text-decoration: none;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sidebar .nav-link:hover {
      background-color: #1565c0;
    }

    .mobile-dropdown .submenu {
      display: none;
      background-color: #1976d2;
    }

    .mobile-dropdown.open .submenu {
      display: block;
    }

    .submenu .dropdown-item {
      padding-left: 30px;
      color: white;
      display: block;
      padding: 10px;
      text-decoration: none;
    }

    .submenu .dropdown-item:hover {
      background-color: #1e88e5;
    }

    .nav-wrapper {
      background-color: #f8f9fa;
      text-align: center;
    }

    .nav-pills {
      list-style: none;
      display: flex;
      justify-content: center; /* Center items */
      gap: 10px;
      flex-wrap: wrap;
    }

    .nav-item {
      background: transparent !important; /* transparent background */
    }

    .nav-item .nav-link {
      padding: 10px 20px;
      text-decoration: none;
      background-color: transparent;
      color: #0d47a1;
      border-radius: 5px;
      transition: background 0.2s;
    }

    .nav-item .nav-link:hover {
      background-color: #bbdefb;
    }

    .nav-link.active {
      background-color: #0d47a1;
      color: white;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background: white;
      min-width: 200px;
      z-index: 1000;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .dropdown-content .dropdown-item {
      padding: 10px 15px;
      display: block;
      color: #0d47a1;
      text-decoration: none;
    }

    .dropdown-content .dropdown-item:hover {
      background-color: #e3f2fd;
    }

    .position-relative {
      position: relative;
    }

    .container {
      max-width: 2200px;
      margin: auto;
    }
        /* Responsive */
    @media (max-width: 768px) {
      .container{
        padding-top: 5px;
      }
      .nav-wrapper {
        display: none !important;
      }

      .hamburger {
        display: block;
        font-size: 15px;
      }
    }
    /*images-slider*/
     * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: Arial, sans-serif;
      background-color: #000;
    }

    .slider-container {
      position: relative;
      width: 100%;
      height: 75vh; /* 75% screen height */
      overflow: hidden;
    }

    .slide {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }

    .slide.active {
      opacity: 1;
      z-index: 1;
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .text-content {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%) scale(0.95) translateY(100%);
      text-align: center;
      color: white;
      opacity: 0;
      transition: transform 1.2s ease, opacity 1.2s ease;
    }

    .slide.active .text-content {
      transform: translateX(-50%) scale(1) translateY(0);
      opacity: 1;
    }

    .text-content h2 {
      font-size: 3.2rem;
      margin-bottom: 1rem;
      text-shadow: 0 0 10px rgb(6, 32, 164), 0 0 20px #0ff, 0 0 30px #0ff;
      color: rgb(255, 255, 255);
    }

    .text-content p {
      font-size: 1.5rem;
      max-width: 90%;
      margin: auto;
      text-shadow: 0 0 6px #fff, 0 0 12px rgb(66, 47, 232);
      color: #fff;
    }

    /* Responsive */
    @media (max-width: 768px) {
      
      .text-content h2 {
        font-size: 2.4rem;
      }
      .text-content p {
        font-size: 1.2rem;
      }
    }

    @media (max-width: 480px) {
      .text-content h2 {
        font-size: 1.8rem;
      }
      .text-content p {
        font-size: 1rem;
      }
    }
    #contactss {
      margin-top: 100vh;
      padding: 50px;
      background-color: #e3f2fd;
      text-align: center;
    }
 
  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    z-index: 1000;
  }

  .dropdown-item {
    color: #0d47a1;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    border-radius: 4px;
  }

  .dropdown-item:hover {
    background-color: #e3f2fd;
  }

/*.row{*/
/*    margin-top: 10px !important;*/
/*    background-color: aqua;*/
    
/*}*/
/*.row {*/
/*  background-color: white;*/
/*  color: #0d47a1;*/
/*  padding: 20px;*/
/*  border-radius: 10px;*/
/*  transition: box-shadow 0.3s;*/
/*}*/

/*.row:hover {*/
/*  box-shadow: 0 0 20px #2196f3;*/
/*}*/
/*.row {*/
/*  position: relative;*/
/*  background-color: white;*/
/*  color: #0d47a1;*/
/*  padding: 20px;*/
/*  border-radius: 10px;*/
/*  overflow: hidden;*/
/*  transition: 0.4s ease;*/
/*}*/

/*.row::before {*/
/*  content: "";*/
/*  position: absolute;*/
/*  top: -100%;*/
/*  left: -100%;*/
/*  width: 200%;*/
/*  height: 200%;*/
/*  background: linear-gradient(135deg, #2196f3 0%, transparent 70%);*/
/*  transform: rotate(45deg);*/
/*  transition: 0.5s;*/
/*  z-index: 0;*/
/*}*/

/*.row:hover::before {*/
/*  top: 0;*/
/*  left: 0;*/
/*}*/

/*.row * {*/
/*  position: relative;*/
/*  z-index: 1;*/
/*}*/


#mu-footer {
  background-color: #fff;
  color: #000;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-top: 40px;
  margin: auto;
  font-size: 14px;
}

.mu-footer-top-area,
.mu-footer-bottom-area {
  padding-left: 30px;
  padding-right: 30px;
}

.mu-footer-top {
  padding-bottom: 40px;
}

.mu-footer-widget {
  padding-left: 10px;
  padding-right: 10px;
}

.mu-footer-widget h4 {
  font-size: 25;
  margin-bottom: 10px;
  color: #000;
  font-weight: 600;
}

.mu-footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mu-footer-widget ul li {
  margin-bottom: 1px;
}

.mu-footer-widget ul li a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mu-footer-widget ul li a:hover {
  color: #444;
  text-decoration: underline;
}

.mu-footer-widget address p {
  margin-bottom: 3px;
  color: #000;
}

.map-container {
  margin-top: 15px;
  text-wrap: auto;
  
}

.map {
  width: 180px;
  height: auto;
  border-radius: 5px;
}


@media (max-width: 991px) {
    .mu-footer-widget h4 {
  font-size: 20px;
    }
  .mu-footer-widget {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
    .mu-footer-widget h4 {
  font-size: 23px;
    }
    .mu-footer-widget ul{
        font-size: 1rem;
    }
    .address {
        font-size: 1rem;
    }
    .mu-footer-widget address p{
        margin-bottom: 3px;
    }
 
  .mu-footer-top-area,
  .mu-footer-bottom-area {
    padding-left: 20px;
    padding-right: 20px;
  }

  .map {
    margin: 0 auto;
  }

  .mu-footer-widget {
    text-align: center;
  }
}

@media (max-width: 970px) and (min-width: 498px) {
  .heading-wrapper {
    white-space: normal;        
    text-align: center;
  }

  .header-text h1 {
    font-size: clamp(1.1rem, 6vw, 2.5rem);  /* Slightly smaller */
  }
}

@media (max-width: 480px) {
  .head {
    flex-direction: column;
    text-align: center;
    padding-bottom: 5px;
  }
  
  .logo {
    margin-top: -10px ;
    height: 100px;
    margin-bottom: 10px
    height: 90px;
  }

  .heading-wrapper {
    white-space: nowrap;
  }
  
}
/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
}

/* About Section */
.about-section {
  width: 100%;
  height: 75vh;
  min-height: 500px;
  background-color: #e0f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

/* Image Section */
.about-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Text Section */
.about-text {
  flex: 1;
  color: #003366;
}

.about-text h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #003366;
  letter-spacing: 1px;
  font-weight: bold;
  text-align: left;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .about-section {
    height: auto;
    padding: 30px 15px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .about-image img {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
  }

  .about-text h2 {
    font-size: 2rem;
    text-align: center;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 10px;
  }
}
.notice-bar {
      overflow: hidden;
      background: #ffeeba;
      border: 1px solid #f5c06f;
      color: #856404;
      padding: 7px 0;
      border-radius: 0px;
      margin-bottom: 0px;
      position: relative;
    }

    .notice-track {
      display: inline-block;
      white-space: nowrap;
      animation: scrollLeft 20s linear infinite;
    }

    .notice-item {
      display: inline-block;
      margin-right: 60px;
      font-size: 12px;
    }
     @keyframes scrollLeft {
      0% {
        transform: translateX(100%);
      }
      100% {
        transform: translateX(-100%);
      }
    }
/*.main-section {*/
/*  display: flex;*/
/*  flex-wrap: wrap;*/
/*  gap: 20px;*/
/*  padding: 30px;*/
/*}*/
.main-section {
  display: block;
  padding: 30px;
}


/* Section Box */
/*.section {*/
/*  flex: 1 1 100%;*/
/*  background-color: #fdfdfd;*/
/*  border-radius: 12px;*/
/*  padding: 20px;*/
/*  box-shadow: 0 0 12px rgba(0, 0, 0, 0.06);*/
/*min-height: 450px; /* fixed height for uniformity */
/*  display: flex;*/
/*  flex-direction: column;*/
/*  justify-content: space-between;*/
/*}*/
.section {
  flex: 1 1 100%;
  background-color: #fdfdfd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.06);
  min-height: 450px;
  /* REMOVE display:flex, flex-direction, justify-content */
}


/* Section Heading */
.section h2 {
  font-size: 1.6em;
  color: #2c3e50;
  border-bottom: 2px solid #2980b9;
  margin-bottom: 15px;
  padding-bottom: 5px;
}

/* Bottom-aligned "More" Link */
.section a {
  margin-top: auto;
  font-weight: bold;
  color: #2980b9;
  text-decoration: none;
  display: flex;
  justify-content: flex-end;
}

/* Gallery Layout */
.gallery-container {
  display: block !important;
}


.gallery-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
}


/* Notice Text Styling */
.notice-container h3 {
  font-size: 1.2em;
  margin: 10px 0 4px;
  color: #1a1a1a;
  font-weight: 600;
}

.notice-container p {
  font-size: 0.95em;
  margin: 0 0 4px;
  color: #444;
  line-height: 1.4;
}

.notice-container .timestamp {
  font-size: 0.8em;
  color: #888;
  margin-bottom: 12px;
  display: block;
}
.section {
  flex: 1 1 100%;
  background-color: #fdfdfd;
  border-radius: 12px;
  padding: 20px;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  /* ✨ Blue Border and subtle shadow */
  border: 2px solid #3498db; /* Light blue border */
  box-shadow: 0 0 15px rgba(52, 152, 219, 0.1); /* Light blue glow */
}

/* Responsive: side-by-side on large, stacked on small */
@media (min-width: 768px) {
  .section {
    flex: 1 1 calc(50% - 20px);
  }
}
.message-full-section {
  width: 100%;
  background-color: #ecf5fd;
  padding: 12px 5vw 40px 5vw;
  box-sizing: border-box;
}

.message-title {
  padding-top: 20px;
  padding-bottom: 10px;
}

.message-title h2 {
  font-size: 1.8em;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  display: inline-block;
  padding-bottom: 5px;
  margin: 0;
}

.message-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.message-row.reverse {
  flex-direction: row-reverse;
}

.message-img img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.message-text {
  flex: 1;
  min-width: 280px;
}

.message-text p {
  font-size: 1.05em;
  line-height: 1.6;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .message-row,
  .message-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .message-img img {
    max-width: 90%;
  }

  .message-title h2 {
    font-size: 1.5em;
  }
}
.back-button {
  position: fixed;
  top: 20px;
  left: 20px;
  background-color: #3498db;
  color: white;
  font-size: 20px;
  padding: 8px 12px;
  border-radius: 50%;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: #2c80b4;
}


.gallery-container {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gallery-container > .col-6,
.gallery-container > .col-md-4 {
  width: 50% !important;
  float: left !important;
  box-sizing: border-box;
  padding: 8px 4px; /* Adjust for spacing */
}

@media (min-width: 768px) {
  .gallery-container > .col-md-4 {
    width: 33.3333% !important;
  }
}
.gallery-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
