:root {
    --shadow-small: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --bg-color: #0a1f33 ;
    --second-bg-color: #ffffff;
    --third-bg-color: #0b253d;
    --border-color: #666b71;
    --text-color: #fff;
    --main-color: #1D75BC;
    --hover-color:#12293f;
   --background-color: #E6F2FA;
}
@font-face {
  font-family: english_font;
  src: url(../font/font_english.ttf);
}
*{
    margin: 0;
    padding: 0;
}
/* welcome section start  */
    /* ===== Welcome Section CSS ===== */
    .wel_container{
        background-color: var(--background-color);
    }
    .wel_row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 60px 20px;
      gap: 40px;
      max-width: 1300px;
      width: 100%;
      margin: 0 auto;
    }

    /* Left Side */
    .wel_text {
      flex: 1;
    }

    .wel_title {
      font-size: 2.2rem;
      font-weight: bold;
      color: var(--main-color); /* Royal Blue */
      margin-bottom: 10px;
    }

    .wel_tagline {
      font-size: 1.1rem;
      font-style: italic;
      color: #555;
      margin-bottom: 15px;
    }

    .wel_desc {
      font-size: 1rem;
      color: #333;
      line-height: 1.6;
      margin-bottom: 20px;
    }

    .wel_buttons a {
      text-decoration: none;
      padding: 10px 20px;
      border-radius: 6px;
      font-size: 0.95rem;
      margin-right: 10px;
      transition: 0.3s ease;
    }

    .wel_btn1 {
      background: var(--main-color);
      color: #fff;
    }
    .wel_btn1:hover {
      background: #163076;
    }

    .wel_btn2 {
      border: 2px solid var(--main-color);
      color: var(--main-color);
    }
    .wel_btn2:hover {
      background: #1E3A8A;
      color: #fff;
    }

    /* Right Side (Image) */
    .wel_image {
      flex: 1;
      text-align: center;
      display: flex;
      justify-content: center;
    }

    .wel_image img {
      max-width: 100%;
      border-radius: 12px;
      box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
      transition: transform 0.4s ease;
      text-align: center;
      justify-content: center;
    }

    .wel_image img:hover {
      transform: scale(1.05);
    }

    /* Responsive */
    @media(max-width: 991px){
      .wel_row{
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
      }
      .wel_buttons {
        margin-top: 10px;
      }
    }
/* welcome section end  */
/* notice section start  */
.notice_container{
  background-color: var(--background-color);
}
.notice_body {
  padding: 50px 20px;
  text-align: left;
  max-width: 1300px;
  margin: 0 auto;
  background-color: #fff8e1;
  border-radius: 20px;
  background-repeat: no-repeat;
  background-size: cover;
}

.notice_header {
  margin-bottom: 20px;
}

.notice_title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--main-color); /* Royal Blue */
}

.notice_list {
  max-height: 180px; /* scrolling height */
  overflow: hidden;
  position: relative;
}

.notice_list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  animation: scrollNotice 20s linear infinite;
}

.notice_list li {
  padding: 10px 0;
  border-bottom: 1px dashed #ccc;
  font-size: 1rem;
  color: #333;
}

/* Scroll animation */
@keyframes scrollNotice {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

@media (max-width: 768px) {
  .notice_title {
    text-align: center;
  }

}
@media(max-width: 1300px){
  .notice_body {
  margin: 0px 20px;
}
}
/* notice section end  */
/* quick link section start  */
.quick_boxes_container{
  background: var(--background-color);
}
.quick_boxes_body {
  padding: 50px 0px;
  border-radius: 15px;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}

.quick_boxes_title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--main-color);
  text-align: center;
  margin-bottom: 40px;
}

.quick_boxes_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-content: center;
}

.quick_box {
  background: #fff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 380px; /* ensure equal height */
}

.quick_box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.quick_box_title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--main-color);
  text-align: center;
}

.quick_box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.quick_box ul li {
  margin-bottom: 12px;
  padding-bottom: 5px;
  border-bottom: 1px dashed var(--main-color); /* dash under each item */
}

.quick_box ul li:last-child {
  border-bottom: none; /* last item no dash */
}

.quick_box ul li a {
  text-decoration: none;
  color: var(--main-color);
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}

.quick_box ul li a:hover {
  color: #FACC15; /* gold */
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
  .quick_boxes_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .quick_boxes_grid {
    grid-template-columns: 1fr;
  }
  @media(max-width: 991px){
.quick_boxes_body {
  padding-left: 20px;
  padding-right: 20px;
}
  }
}
/* quick link section end  */
/* academic info section start  */
.academic_container{
  background-color: var(--background-color);
}
.academic_body {
  padding: 50px 0px;
  border-radius: 15px;
  max-width: 1300px;
  margin: 0 auto;
}

.academic_title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: var(--main-color);
  margin-bottom: 40px;
}

.academic_grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.academic_box {
  background: #fff;
  flex: 1 1 300px;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
}

.academic_box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.academic_box_title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--main-color);
  margin-bottom: 15px;
  text-align: center;
}

.academic_box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.academic_box ul li {
  margin-bottom: 12px;
  padding-bottom: 5px;
  border-bottom: 1px dashed var(--main-color); /* dash under each item */
}

.academic_box ul li:last-child {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 992px) {
  .academic_box {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .academic_box {
    flex: 1 1 100%;
  }
@media(max-width: 1300px){
  .academic_body {
  padding-left: 20px;
  padding-right: 20px;
}
}
}
/* academic info section end  */
/* gallery section start  */
.gallery_container{
  background-color: var(--background-color);
}
.gallery_body {
  padding: 50px 0px;
  max-width: 1300px;
  margin: 0 auto;
}

.gallery_title {
  font-size: 2rem;
  font-weight: bold;
  color: #1D75BC;
  text-align: center;
  margin-bottom: 30px;
}

.gallery_subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 30px 0 15px;
  color: #1863a0;
}

/* Photo Gallery */
.photo_gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.photo_gallery img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.photo_gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Video Gallery */
.video_gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.video_gallery iframe {
  width: 100%;
  height: 300px;
  border-radius: 10px;
}

/* Event Gallery */
.event_gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.event_card {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.event_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.event_card img {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.event_card h3 {
  font-size: 1.2rem;
  color: #1D75BC;
  margin-bottom: 5px;
}

.event_card p {
  font-size: 0.95rem;
  color: #19609b;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.8);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
.see_more {
  text-align: center;
  margin-top: 20px;
}

.see_more .btn {
  display: inline-block;
  padding: 10px 25px;
  background: #1D75BC;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.3s, transform 0.3s;
  text-decoration: none;
}

.see_more .btn:hover {
  background: #154f7e;
  transform: translateY(-2px);
}
@media(max-width: 991px){
.gallery_body{
  padding-left: 20px;
  padding-right: 20px;
}
}
/* gallery section end  */
/* testimonial section start  */

/* testimonial section end  */
/* contact section start  */
/* contact section start  */
.contact{
  background-color: var(--background-color);
}
.contact_container{
  max-width: 1300px;
  margin: 0 auto;
  padding: 0px 20px;
}
#title_problem{
  text-align: center;
  color: var(--main-color);
}
.boxes{
  display: flex;
  justify-content: space-between;
  padding: 20px 0px;
  align-items: center;
}
.box_col{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 5px;
}
.box_col #c_icon{
  font-size: 22px;
  padding: 15px;
  background-color: var(--text-color);
  color: var(--main-color);
  border: 1px solid rgba(0, 0, 0, 0.192);
}
.box_col p{
  color: var(--text-colo-gray);
}
.map_form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.map_form_col iframe{
    border: 1px solid rgba(13, 97, 166, 0.89) !important;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    height: 450px;
}
form{
  padding: 20px 0px;
}
.input_group .input_row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 10px;
}
input{
    display: block;
    width: 100%;
    padding: 15px 10px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #666565;
    background-color: var(--text-color);
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: 2px;
}
input:focus{
    color: #666565;
    background-color: #fff;
    border-color: #538bb9c0;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(0, 97, 176, 0.25);
}
textarea{
      display: block;
    width: 100%;
    padding: 15px 10px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #666565;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: 2px;  
}
textarea:focus{
      color: #666565;
    background-color: #fff;
    border-color: #538bb9c0;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(0, 97, 176, 0.25);
}
.input{
  padding-bottom: 20px;
}
@media(max-width: 1050px){
  .map_form{
  display: flex;
  justify-content: center;
  row-gap: 50px;
  flex-wrap: wrap;
}
.map_form_col{
  width: 100%;
}
.map_form_col iframe {
    width: 100%;
    max-width: 100%;
}
.boxes{
  justify-content: center;
  flex-wrap: wrap;
}
}
@media(max-width: 600px){
  .contact{
    zoom: 75%;
  }
}
#btn-animated {
    display: inline-block;
    padding: 10px 30px;
    color: white;
    background: var(--main-color);
    text-decoration: none;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: 1500ms;
}

#btn-animated:hover {
    background-color: #075391ee;
}

#btn-animated::after{
    		background: #fff;
			content: "";
			height: 100%;
			opacity: 0;
			position: absolute;
			top: -100px;
			transform: rotate(35deg);
			width: 50px;
			transition: all 1500ms cubic-bezier(.19,1,.22,1);
			left: -50%;
}
#btn-animated::before{
    		background: #fff;
			content: "";
			height: 20rem;
			opacity: 0;
			position: absolute;
			top: -100px;
			transform: rotate(35deg);
			transition: all 1500ms cubic-bezier(.19,1,.22,1);
			width: 8rem;
			left: -100%;
}
#btn-animated:hover::after{
            left: 200%;
			opacity: .3;
}
#btn-animated:hover::before{
    left: 120%;
    opacity: 0.2;
}
/* contact section end  */
/* footer section start  */
.footer {
  width: 100%;
  background: var(--third-bg-color);
  border-radius: 6px;
}
.footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3.5rem;
  padding: 60px 20px;
  max-width: 1300px;
  margin: 0 auto;
}
.footer-row .footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
}
.footer-col .links {
  margin-top: 20px;
}
.footer-col .links li {
  list-style: none;
  margin-bottom: 10px;
}
.footer-col .links li a {
  text-decoration: none;
  color: #bfbfbf;
}
.footer-col .links li a:hover {
  color: #fff;
}
.footer-col p {
  margin: 20px 0;
  color: #bfbfbf;
  max-width: 300px;
}
.footer-col form {
  display: flex;
  gap: 5px;
}
.footer-col input {
  height: 40px;
  border-radius: 6px;
  background: none;
  width: 100%;
  outline: none;
  border: 1px solid #7489C6 ;
  caret-color: #fff;
  color: #fff;
  padding-left: 10px;
}
.footer-col input::placeholder {
  color: #ccc;
}
 .footer-col form button {
  background: #fff;
  outline: none;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s ease;
}
.footer-col form button:hover {
  background: #cecccc;
}
.footer-col .icons {
  display: flex;
  margin-top: 30px;
  gap: 30px;
  cursor: pointer;
}
.footer-col .icons #i {
  color: var(--text-color);
}
.footer-col .icons #i:hover  {
  color: var(--main-color);
}
@media (max-width: 768px) {
  .footer {
    position: relative;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 0;
  }
  .footer .footer-row {
    padding: 20px;
    gap: 1rem;
  }
  .footer-col form {
    display: block;
  }
  .footer-col form :where(input, button) {
    width: 100%;
  }
  .footer-col form button {
    margin: 10px 0 0 0;
  }
}
/* footer section end  */
/* history section start  */
   .history_body{
    background-color: var(--background-color);
   }
    /* History Header */
    #history_header {
      background: var(--third-bg-color);
      color: #fff;
      padding: 40px 20px;
      text-align: center;
      max-width: 1300px;
      margin: 0 auto;
    }

    #history_header h1 {
      margin: 0;
      font-size: 36px;
      font-weight: 600;
    }

    #history_header p {
      font-size: 16px;
      margin-top: 8px;
      color: #ddd;
    }

    /* About / Intro */
    .history-intro {
      max-width: 1300px;
      margin: 40px auto;
      padding: 20px;
      text-align: center;
    }

    .history-intro h2 {
      font-size: 28px;
      color: var(--main-color);
      margin-bottom: 15px;
    }

    .history-intro p {
      font-size: 16px;
      line-height: 1.7;
      color: #444;
    }

    /* Timeline */
    .timeline {
      position: relative;
      max-width: 1300px;
      margin: 60px auto;
      padding: 20px 0;
    }

    .timeline::after {
      content: "";
      position: absolute;
      width: 4px;
      background: var(--main-color);
      top: 0;
      bottom: 0;
      left: 50%;
      margin-left: -2px;
    }

    .timeline-item {
      padding: 20px 30px;
      position: relative;
      width: 50%;
    }

    .timeline-item::after {
      content: "";
      position: absolute;
      width: 20px;
      height: 20px;
      right: -10px;
      background: #fff;
      border: 4px solid var(--main-color);
      top: 20px;
      border-radius: 50%;
      z-index: 1;
    }

    .timeline-item.left {
      left: 0;
    }

    .timeline-item.right {
      left: 50%;
    }

    .timeline-item.right::after {
      left: -10px;
    }

    .timeline-content {
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    }

    .timeline-content h3 {
      margin-top: 0;
      font-size: 20px;
      color: var(--main-color);
    }

    .timeline-content p {
      font-size: 15px;
      color: #555;
      line-height: 1.6;
    }

    /* Gallery */
    .history-gallery {
      max-width: 1300px;
      margin: 0px auto;
      padding: 20px;
      margin-top: 60px;
      padding-bottom: 60px;
    }

    .history-gallery h2 {
      text-align: center;
      font-size: 28px;
      color: var(--main-color);
      margin-bottom: 20px;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .gallery-grid img {
      width: 400px;
      height: 200px;
      object-fit: cover;
      border-radius: 12px;
      transition: transform 0.3s;
    }

    .gallery-grid img:hover {
      transform: scale(1.05);
    }

    /* Responsive */
    @media screen and (max-width: 768px) {
      .timeline::after {
        left: 20px;
      }

      .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 25px;
      }

      .timeline-item::after {
        left: 10px;
      }

      .timeline-item.right {
        left: 0;
      }
    }
/* history section end  */
/* mission section start  */
.mission_vission_body{
  background-color: var(--background-color);
}
    /* Header Section */
    #missionvision_header {
      background: var(--third-bg-color);
      color: #fff;
      padding: 40px 20px;
      text-align: center;
      max-width: 1300px;
      margin: 0 auto;
    }

    #missionvision_header h1 {
      margin: 0;
      font-size: 36px;
      font-weight: 600;
    }

    #missionvision_header p {
      font-size: 16px;
      margin-top: 8px;
      color: #ddd;
    }

    /* Mission & Vision Section */
    .missionvision-container {
      display: flex;
      justify-content: center;
      gap: 30px;
      max-width: 1300px;
      margin: 0px auto;
      flex-wrap: wrap;
      margin-top: 50px;
      padding-bottom: 50px;
    }

    .missionvision-box {
      flex: 1 1 45%;
      background: #fff;
      border-radius: 12px;
      padding: 30px;
      box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }

    .missionvision-box:hover {
      transform: translateY(-8px);
    }

    .missionvision-box h2 {
      font-size: 26px;
      color: var(--main-color);
      margin-bottom: 15px;
    }

    .missionvision-box p {
      font-size: 16px;
      line-height: 1.7;
      color: #444;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .missionvision-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
      }
      .missionvision-box {
        flex: 1 1 100%;
      }
    }
/* mission section end  */
/* principals massage section start  */
.principal_massage_body{
  background-color: var(--background-color);
}
    /* Header */
    #principal_header {
      background: var(--third-bg-color);
      color: #fff;
      padding: 40px 20px;
      text-align: center;
      max-width: 1300px;
      margin: 0 auto;
    }

    #principal_header h1 {
      margin: 0;
      font-size: 36px;
      font-weight: 600;
    }

    #principal_header p {
      font-size: 16px;
      margin-top: 8px;
      color: #ddd;
    }

    /* Principal Section */
    .principal-container {
      max-width: 1300px;
      margin: 0px auto;
      padding: 20px;
      display: flex;
      align-items: center;
      gap: 30px;
      flex-wrap: wrap;
      margin-top: 50px;
      padding-bottom: 50px;
    }

    .principal-photo {
      flex: 1 1 300px;
      text-align: center;
    }

    .principal-photo img {
      width: 260px;
      height: 260px;
      border-radius: 50%;
      object-fit: cover;
      border: 6px solid var(--main-color);
      box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
    }

    .principal-message {
      flex: 2 1 600px;
      background: #fff;
      padding: 25px 30px;
      border-radius: 12px;
      box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    }

    .principal-message h2 {
      margin-top: 0;
      font-size: 26px;
      color: var(--main-color);
    }

    .principal-message h4 {
      margin: 5px 0 20px;
      font-size: 16px;
      color: #555;
      font-weight: 500;
    }

    .principal-message p {
      font-size: 16px;
      line-height: 1.7;
      color: #444;
      text-align: justify;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .principal-container {
        flex-direction: column;
        text-align: center;
      }
      .principal-message {
        text-align: center;
      }
    }
/* principals massage section end*/
/* admission info section start  */
.admission_info_body{
  background-color: var(--background-color);
}
    .admission_header {
      background: var(--third-bg-color);
      padding: 60px 20px;
      text-align: center;
      color: white;
      max-width: 1300px;
      margin: 0 auto;
    }
    .admission_header h1 {
      font-size: 40px;
      margin: 0;
    }
    .admission_header p {
      font-size: 18px;
      margin-top: 10px;
    }

    .admission_container {
      max-width: 1300px;
      margin: 0px auto;
      padding: 20px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 20px;
      margin-top: 40px;
      padding-bottom: 40px;
    }

    .admission_card {
      background: white;
      padding: 25px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .admission_card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }
    .admission_card h2 {
      font-size: 24px;
      margin-bottom: 15px;
      color: var(--main-color);
      border-left: 4px solid var(--main-color);
      padding-left: 10px;
    }
    .admission_card ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .admission_card ul li {
      padding: 8px 0;
      border-bottom: 1px dashed #ccc;
      font-size: 16px;
    }
    .admission_card ul li i {
      margin-right: 8px;
      color: var(--main-color);
    }

    .toggle_btn {
      display: inline-block;
      margin-top: 15px;
      padding: 10px 20px;
      background: var(--main-color);
      color: white;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.3s;
      font-size: 14px;
    }
    .toggle_btn:hover {
      background: var(--third-bg-color);
    }

    .apply_btn {
      display: inline-block;
      margin-top: 15px;
      padding: 10px 20px;
      background: #28a745;
      color: white;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.3s;
      font-size: 14px;
      text-decoration: none;
    }
    .apply_btn:hover {
      background: #218838;
    }

    /* Hidden content animation */
    .hidden-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s ease, opacity 0.5s ease;
      opacity: 0;
    }
    .hidden-content.show {
      max-height: 500px;
      opacity: 1;
    }
/* admission info section end  */
/* class routine section start  */
.class_routine_body{
  background-color: var(--background-color);
}
.routine_header { background: var(--third-bg-color); padding:50px 20px; text-align:center; color:white;max-width: 1300px;margin: 0 auto; }
.routine_header h1 { font-size:40px; margin:0; }
.routine_header p { font-size:18px; margin-top:10px; }

.tab-container { max-width:1300px; margin:0px auto;margin-top: 30px;padding:0 20px;padding-bottom: 30px;  }
.tab-buttons { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:20px; }
.tab-buttons button { flex:1; padding:12px; border:none; background:var(--main-color); color:white; border-radius:6px; cursor:pointer; transition:background 0.3s; }
.tab-buttons button.active { background:var(--third-bg-color); color:var(--text-color); font-weight:bold; }
.tab-buttons button:hover { background:var(--third-bg-color); }

.tab-content { display:none; }
.tab-content.active { display:block; }

.accordion { margin-bottom:30px; }
.accordion-item { background:white; border-radius:12px; box-shadow:0 4px 12px rgba(0,0,0,0.1); margin-bottom:15px; overflow:hidden; }
.accordion-header { padding:15px 20px; cursor:pointer; background:var(--main-color); color:white; font-size:18px; display:flex; justify-content:space-between; align-items:center; }
.accordion-header i { transition: transform 0.3s ease; }
.accordion-content { max-height:0; overflow:hidden; transition:max-height 0.5s ease, padding 0.3s ease; padding:0 20px; }
table { width:100%; border-collapse:collapse; margin-top:15px; }
th, td { border:1px solid #ccc; padding:12px; text-align:center; font-size:14px; }
th { background:var(--main-color); color:white; }
tr:nth-child(even) { background:#f2f2f2; }
.download_btn { display:inline-block; margin:15px 0 20px 0; padding:12px 20px; background:var(--main-color); color:white; border-radius:6px; cursor:pointer; text-decoration:none; transition:background 0.3s; }
.download_btn:hover { background:var(--third-bg-color); }
/* class routine section end  */
/* rules and regulations start  */
.rules_regulations_body{
  background-color: var(--background-color);
  padding-bottom: 40px;
}
.rules_header {
    background: var(--third-bg-color);
    padding: 60px 20px;
    text-align: center;
    color: white;
    max-width: 1300px;
    margin: 0 auto;
}
.rules_header h1 {
    font-size: 40px;
    margin: 0;
}
.rules_header p {
    font-size: 18px;
    margin-top: 10px;
}

.rules_container {
    max-width: 1300px;
    margin: 0px auto;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    margin-top: 40px;
    padding-bottom: 40px;
}

.rules_container h2 {
    color: var(--main-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--third-bg-color);
    padding-bottom: 8px;
}

.rules_container ul {
    list-style: none;
    padding: 0;
}

.rules_container ul li {
    margin-bottom: 12px;
    font-size: 16px;
    padding-left: 30px;
    position: relative;
    line-height: 1.5;
}

.rules_container ul li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--third-bg-color);
}

.agree-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: var(--main-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}
.agree-btn:hover {
    background: var(--third-bg-color);
}

@media (max-width: 600px) {
    .rules_header h1 {
        font-size: 28px;
    }
    .rules_header p {
        font-size: 16px;
    }
}
/* rules and regulations end  */
/* teachers sections start  */
.teachers_body{
  background-color: var(--background-color);
  padding-bottom: 40px;
}
/* Header */
.teachers_header {
    background: var(--third-bg-color);
    padding:60px 20px;
    text-align:center;
    color:white;
    max-width: 1300px;
    margin: 0 auto;
}
.teachers_header h1 {
    font-size:40px;
    margin:0;
}
.teachers_header p {
    font-size:18px;
    margin-top:10px;
}

/* Container */
.teachers_container {
    max-width:1300px;
    margin:0px auto;
    padding:0 20px;
    margin-top: 40px;
}

/* Search Box */
.search_box {
    text-align:center;
    margin-bottom:30px;
}
.search_box input {
    padding:12px 15px;
    width:90%;
    margin: 0 auto;
    border-radius:25px;
    border:1px solid #ccc;
    font-size:16px;
    outline:none;
    transition: all 0.3s ease;
}
.search_box input:focus {
    border-color:var(--main-color);
    box-shadow:0 4px 12px rgba(38, 112, 208, 0.3);
}

/* Teacher Cards */
.teachers_grid {
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
    gap:25px;
}

.teacher_card {
    background:white;
    border-radius:12px;
    box-shadow:0 6px 15px rgba(0,0,0,0.1);
    text-align:center;
    padding:20px;
    cursor:pointer;
    transition:transform 0.3s, box-shadow 0.3s, background 0.3s;
    display: grid;
    justify-content: center;
}
.teacher_card:hover {
    transform: translateY(-5px);
    box-shadow:0 8px 20px rgba(0,0,0,0.2);
    background:#f0f8ff;
}
.teacher_card img {
    width:100px;
    height:100px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:15px;
}
.teacher_card h3 {
    margin:0;
    color:var(--main-color);
}
.teacher_card p {
    font-size:14px;
    color:#666;
}

/* Highlight for search */
.teacher_card.highlight {
    background:#e0ecfa;
    transform: translateY(-5px);
}

/* Modal */
.modal {
    display:none;
    position:fixed;
    z-index:999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    justify-content:center;
    align-items:center;
    opacity:0;
    transition: opacity 0.4s ease;
}
.modal.show {
    display:flex;
    opacity:1;
}
.modal_content {
    background:white;
    padding:30px;
    border-radius:12px;
    max-width:500px;
    width:90%;
    position:relative;
    box-shadow:0 6px 20px rgba(0,0,0,0.2);
    transform: translateY(-50px);
    transition: transform 0.4s ease;
}
.modal.show .modal_content {
    transform: translateY(0);
}
.modal_content h2 { color:var(--main-color); margin-top:0; }
.modal_content p { font-size:16px; line-height:1.5; color:#333; }
.close_modal {
    position:absolute;
    top:15px;
    right:15px;
    font-size:22px;
    cursor:pointer;
    color:#333;
    transition: color 0.3s;
}
.close_modal:hover { color:var(--third-bg-color); }

@media(max-width:600px){
    .teachers_header h1 { font-size:28px; }
    .teachers_header p { font-size:16px; }
    .search_box input { width:100%; }
}
/* teachers sections end  */
/* notice section start  */
/* Page Body */
/* Page Body */
.notice_page_body {
  background-color: var(--background-color);
  padding-bottom: 40px;
}

/* Header */
.notice_page_header {
  background:var(--third-bg-color);
  color:#fff;
  padding:20px;
  text-align:center;
  max-width: 1300px;
  margin: 0 auto;
}
.notice_page_header h1 {
  margin:0;
  font-size:26px;
  font-weight:600;
}

/* Search Bar */
.notice_page_search {
  padding:15px;
  text-align:right;
  border-bottom:1px solid #ddd;
}
.notice_page_search input {
  width:100%;
  max-width: 1300px;
  padding:8px 12px;
  border:1px solid #ccc;
  border-radius:4px;
  font-size:14px;
  transition:all 0.3s;
  margin: 0 auto;
}
.notice_page_search input:focus {
  border-color:var(--main-color);
  outline:none;
  box-shadow:0 0 5px rgba(52,152,219,0.3);
}

/* Table */
.notice_table {
  max-width: 1300px;
  margin: 0 auto;
  border-collapse:collapse;
}
.notice_table th,
.notice_table td {
  padding:14px 12px;
  text-align:left;
  border-bottom:1px solid #ddd;
  font-size:15px;
}
.notice_table th {
  background:#ecf0f1;
  font-weight:600;
  color:var(--main-color);
}
.notice_table tr:hover {
  background:#f9fcff;
}
.notice_table td a {
  color:var(--third-bg-color);
  text-decoration:none;
}
.notice_table td a:hover {
  text-decoration:underline;
}

/* Download Button */
.download_btn {
  background:var(--main-color);
  color:white !important;
  padding:6px 12px;
  border-radius:4px;
  font-size:14px;
  text-decoration:none !important;
  transition:background 0.3s;
}
.download_btn:hover {
  background:var(--third-bg-color);
}

/* Responsive */
@media (max-width:768px) {
  #notice_prb{
    display: none;
  }
  .notice_table, 
  .notice_table thead, 
  .notice_table tbody, 
  .notice_table th, 
  .notice_table td, 
  .notice_table tr {
    display:block;
    width:99%;
    margin: 0 auto;
  }
  .notice_table tr {
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:6px;
    /* padding:10px; */
    background:#fff;
  }
  .notice_table th {
    display:none;
    border-bottom:1px solid #ddd;
  }
  .notice_table td {
    border:none;
    position:relative;
    padding-left:50%;
    border-bottom:1px solid #ddd;
  }
  .notice_table td:before {
    position:absolute;
    top:10px;
    left:15px;
    width:45%;
    white-space:nowrap;
    font-weight:600;
    color:var(--third-bg-color);
  }
  .notice_table td:nth-of-type(1):before { content: "SL NO."; }
  .notice_table td:nth-of-type(2):before { content: "Notice Date"; }
  .notice_table td:nth-of-type(3):before { content: "Notice Title"; }
  .notice_table td:nth-of-type(4):before { content: "Download"; }
}
/* notice section end  */
/* photo gallery page start  */
.photo_gallery_page_body{
  background-color: var(--background-color);
}
    .gallery_page_container {
      max-width: 1300px;
      margin: 0px auto;
      padding: 20px;
      padding-top: 30px;
      padding-bottom: 30px;
    }

    .gallery_page_header {
      text-align: center;
      margin-bottom: 20px;
    }

    .gallery_page_header h1 {
      font-size: 2.2rem;
      color: var(--main-color);
      margin-bottom: 5px;
    }

    .gallery_page_header p {
      font-size: 1rem;
      color: #666;
    }

    /* ---------- Gallery Grid ---------- */
    .gallery_page_grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 15px;
      justify-content: center;
    }

    .gallery_page_item {
      position: relative;
      overflow: hidden;
      width: 300px;
      height: 175px;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      cursor: pointer;
      margin: 0 auto;
      transition: transform 0.3s ease;
    }

    .gallery_page_item:hover {
      transform: scale(1.03);
    }

    .gallery_page_item img {
      width: 300px;
      height: 175px;
      object-fit: cover;
      display: block;
      transition: transform 0.3s ease;
    }

    .gallery_page_item:hover img {
      transform: scale(1.1);
    }

    /* ---------- Modal ---------- */
    .gallery_page_modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.8);
      justify-content: center;
      align-items: center;
      padding: 20px;
    }

    .gallery_page_modal_content {
      max-width: 90%;
      max-height: 90%;
      border-radius: 10px;
      overflow: hidden;
      animation: fadeIn 0.4s ease;
    }

    .gallery_page_modal_content img {
      width: 100%;
      height: auto;
      display: block;
    }

    .gallery_page_modal_close {
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 30px;
      color: #fff;
      cursor: pointer;
      transition: color 0.3s;
    }

    .gallery_page_modal_close:hover {
      color: #ff5252;
    }

    @keyframes fadeIn {
      from {opacity: 0; transform: scale(0.95);}
      to {opacity: 1; transform: scale(1);}
    }
/* photo gallery page  end  */
/* video gallery page start  */
.video_gallery_page_body{
  background-color: var(--background-color);
}

    .video_page_container {
      max-width: 1300px;
      margin: 0px auto;
      padding: 20px;
      padding-top: 30px;
      padding-bottom: 30px;
    }

    .video_page_header {
      text-align: center;
      margin-bottom: 20px;
    }

    .video_page_header h1 {
      font-size: 2.2rem;
      color: var(--main-color);
      margin-bottom: 5px;
    }

    .video_page_header p {
      font-size: 1rem;
      color: #666;
    }

    /* ---------- Video Grid ---------- */
    .video_page_grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 20px;
    }

    .video_page_item {
      position: relative;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      background: #000;
    }

    .video_page_item iframe,
    .video_page_item video {
      width: 100%;
      height: 220px;
      display: block;
      border: none;
    }

    /* Responsive Adjust */
    @media (max-width: 600px) {
      .video_page_item iframe,
      .video_page_item video {
        height: 180px;
      }
    }
/* video gallery page end  */
/* upcoming event page start  */
.upcoming_event_page_body{
  background-color: var(--background-color);
}
    .events_container {
      max-width: 1300px;
      width: 100%;
      margin: 0px auto;
      padding-top: 40px;
      padding-bottom: 40px;
      padding-left: 20px;
      padding-right: 20px;
    }

    .events_header {
      text-align: center;
      margin-bottom: 25px;
    }

    .events_header h1 {
      font-size: 2rem;
      color: var(--main-color);
    }

    /* Search & Filter */
    .events_controls {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 15px;
      margin-bottom: 25px;
    }

    .search_box {
      flex: 1;
      min-width: 220px;
    }

    .search_box input {
      width: 100%;
      padding: 10px 12px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 1rem;
    }

    .filter_box {
      min-width: 200px;
    }

    .filter_box select {
      width: 100%;
      padding: 10px 12px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 1rem;
      background: white;
    }

    /* Events grid */
    .events_grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
      gap: 20px;
    }

    .event_card {
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      overflow: hidden;
      background: #fff;
      transition: 0.3s;
      display: flex;
      flex-direction: column;
    }

    .event_card:hover {
      transform: translateY(-5px);
      box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    }

    .event_img {
      width: 100%;
      height: 160px;
      object-fit: cover;
    }

    .event_content {
      padding: 15px;
      flex: 1;
    }

    .event_card h3 {
      font-size: 1.2rem;
      margin-bottom: 8px;
      color: #444;
    }

    .event_card p {
      font-size: 0.95rem;
      margin-bottom: 6px;
      color: #666;
    }

    .event_date {
      font-size: 0.9rem;
      font-weight: bold;
      color: var(--main-color);
    }

    @media (max-width: 600px) {
      .events_controls {
        flex-direction: column;
        align-items: stretch;
      }
    }
/* upcoming event page end  */
/* past event page start  */

/* past event page end  */