/* ---------------------------------for philosphy-------------------------- */

/* Main Section */
.inner-page {
  background: #f8f9fa;
  padding: 50px 20px;
  border-radius: 10px;
}

/* Core Box Container */
.corebox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-top: 20px;
}

/* Image Styling */
.core img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

/* Description Box */
.coredesc {
  padding: 20px;
  flex: 1;
}

.coredesc p {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 16px;
  line-height: 28px;
  color: #444;
  text-align: justify;
}

/* Highlight Text */
.coredesc strong.color {
  color: #007bff;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
  .corebox {
      flex-direction: column;
      text-align: center;
  }

  .coredesc {
      padding: 15px;
  }

  .core img {
      margin-bottom: 15px;
  }
}

/* -------------------------end of philosophy-------------------- */

/* -----------------------------contact page------------ */
.contact{
  font-family: math;
    line-height: 28px;
    color: #444;
    text-align: center;
}

/* ------------------------end contact------------------ */

/* ---------------------------------footer------------- */
.footer {
  background-color: #e3e0e0;
}

/* ------------------------------------end footer--------- */

.links {
  text-align: center; /* Center align text */
  margin: 20px auto; /* Center the div itself */
}

.links p {
  font-size: 16px;
  color: #444;
  margin-bottom: 10px;
}

.links a {
  color: #007bff; /* Make email link stand out */
  text-decoration: none;
  font-weight: bold;
}

.links i {
  margin-right: 8px; /* Space between icon & text */
  color: #007bff; /* Make icons match theme */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .links {
      text-align: center;
  }
}

/* --------------atal welcome----------------- */
.atal {
  position: relative;
  background: url('assets/images/background.jpg') no-repeat center center;
  background-size: cover;
  padding: 50px 0; /* Add padding for better spacing */
  color: white;
  text-align: center;
}

.atal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
  z-index: 1;
}

.atal .row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.atal h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  padding: 20px;
}

.atal p {
  color: white;
  font-size: 18px;
  line-height: 1.6;
  padding: 20px;
  background: rgba(255, 255, 255, 0.2); /* Light transparent background for text */
  border-radius: 10px;
  backdrop-filter: blur(5px); /* Glassmorphism effect */
}

@media (max-width: 768px) {
  .atal .row {
      flex-direction: column;
      text-align: center;
  }
  .cbse{
    margin-top:20px;
  }

  .atal h2 {
      font-size: 28px;
  }

  .atal p {
      font-size: 16px;
      padding: 15px;
  }
}

/* -------------------end of atal------------------- */

.quick-links {
  list-style: none;
  padding: 0;
}

.quick-links li {
  margin: 10px 0;
}

.quick-links a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

.quick-links a:hover {
  color: #0056b3;
  text-decoration: underline;
}


.text-start {
  height: 500px;
  background-color: #bfedff;
}


.quick {
  padding-top: 47px;
  display: flex;
  font-size: 24px;
  flex-direction: column;
  gap: 20px;
  font-family: monospace;
}
/* -----------------quick link--------------------- */
.link-head {
  text-align: center;
  font-weight: 800;
  font-size: larger;
}
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.popup img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}
.gallery img {
width: 350px;
height: 244px;
margin: 10px;
cursor: pointer;
border-radius: 5px;
transition: transform 0.2s;
}
.gallery img:hover {
  transform: scale(1.1);
}


.teacher-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.teacher-table th, .teacher-table td {
  border: 1px solid #ddd;
  padding: 10px;
}
.teacher-table th {
  background-color: #000000;
  font-weight: bold;
}
.teacher-table tr:nth-child(even) {
  background-color: #f9f9f9;
}
.teacher-table tr:hover {
  background-color: #f1f1f1;
}
.staff {
  padding: 52px 0;
  text-align: center;
  padding: 1%;
}

.fa-brands {
  margin-top: 7px;
  font-weight: 400;
}


@media only screen and (max-width: 768px) {
  .footer-contact .links p {
      text-align: center;
      color: #686464;
      text-decoration: none;
      font-size: 14px;
  }
}
@media screen and (max-width: 767px) {
  .footer-social {
      text-align: center;
      margin-top: 20px;
  }
  .gallery {
    text-align: center;
}
}

.cbse{
  margin-left:20px;
}