body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #343a40;
}

.top-bar {
  background-color: #0a2f4b;
  color: #ffffff;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 15px;
}

.top-bar a {
  color: #fdcb6e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-bar a:hover {
  color: #ffde8e;
}

.top-bar a strong {
  color: #90ee90;
  font-weight: bold;
  margin-left: 5px;
}

.header {
  text-align: center;
  padding: 20px;
  background-color: lightblue;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.logo {
  width: 150px;
  height: 150px;
  vertical-align: middle;
}

.left-content, .right-content {
  display: inline-block;
  vertical-align: middle;
}

.quotation {
  font-size: 18px;
  font-style: italic;
  color:black;
  margin: 0;
  opacity: 0;
}

.left-content .quotation {
  animation: slideInLeft 8s ease-out infinite;
}

.right-content .quotation {
  animation: slideInRight 8s ease-out infinite;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  10% {
    opacity: 1;
    transform: translateX(0);
  }
  85% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50px);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  10% {
    opacity: 1;
    transform: translateX(0);
  }
  85% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(50px);
  }
}

.school-name h1 {
  margin: 0;
  color: #1a5276;
  font-size: 2.5em;
  letter-spacing: 0.5px;
}

.school-name h3 {
  margin: 5px 0 0;
  font-weight: normal;
  color: #6c757d;
  font-size: 1.2em;
}

.navbar {
  background-color: #1a5276;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.menu > li {
  position: relative;
}

.menu > li > a {
  display: block;
  padding: 15px 25px;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.menu > li:hover > a {
  background-color: #fdcb6e;
  color: #0a2f4b;
}

.dropdown-content,
.quick-dropdown {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 200px;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border-top: 3px solid #fdcb6e;
  border-radius: 0 0 5px 5px;
}

.dropdown-content li a,
.quick-dropdown li a {
  color: #343a40;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-size: 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-content li a:hover,
.quick-dropdown li a:hover {
  background-color: #e2e6ea;
  color: #1a5276;
}

.dropdown:hover .dropdown-content,
.quick-links:hover .quick-dropdown {
  display: block;
}

.quick-links {
  position: relative;
}

.quick-btn {
  background: none;
  color: #ffffff;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 14px;
  transition: color 0.3s ease;
}

.quick-btn:hover {
  color: #fdcb6e;
}

.quick-dropdown {
  right: 0;
  left: auto;
}

.content-display-area {
  max-width: 1400px;
  margin: 30px auto;
  padding: 0 20px;
}

.content-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.slideshow-container {
  flex: 1;
  max-width: 800px;
  margin: 0;
  position: relative;
  text-align: center;
}

.mySlides img {
  width: 100%;
  max-width: 800px;
  height: auto;
  max-height: 500px;
  display: block;
  border-radius: 8px;
}
.mySlides:nth-child(2) img {
  max-width: 900px;
  max-height: 500px;
}
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: left;
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  left: 0;
}

#slideshow-dots {
  text-align: center;
  margin: 10px 0;
  position: relative;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 5px;
  border-radius: 5px;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #666;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #1a5276;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 3px;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.welcome-section {
  padding: 50px 20px;
  background-color: #ffffff;
  text-align: center;
  border-top: 4px solid #1a5276;
  border-bottom: 4px solid #1a5276;
}

.welcome-container {
  max-width: 900px;
  margin: auto;
}
@keyframes rotateInLoop {
  0% {
    transform: rotateY(-90deg);
    opacity: 0;
  }
  20% {
    transform: rotateY(15deg);
    opacity: 1;
  }
  80% {
    transform: rotateY(15deg);
    opacity: 1;
  }
  100% {
    transform: rotateY(-90deg);
    opacity: 0;
  }
}

.welcome-section h2 {
  font-size: 4em;
  color: #5dade2;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
  animation: rotateInLoop 5s ease-in-out infinite;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}



.welcome-section p {
  font-size: 1.1em;
  color: #343a40;
  line-height: 1.7;
  margin-bottom: 30px;
}

.read-more-btn {
  margin-left: 103px;
  background-color: #fdcb6e;
  color: #0a2f4b;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #ffda8e;
  color: #0a2f4b;
}
.read-more-btns {
  background-color: #fdcb6e;
  color: #0a2f4b;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 800px;  
}

.read-more-btns:hover {
  background-color: #ffda8e;
  color: #0a2f4b;
}

.recent-posts-section {
  flex: 1;
  max-width: 400px;
  margin: 0;
  padding: 15px;
  background-color: #ffffff;
  border-top: 4px solid #1a5276;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.recent-posts-section h2 {
  font-size: 1.5em;
  color: #0a2f4b;
  margin-bottom: 15px;
  border-left: 5px solid #fdcb6e;
  padding-left: 10px;
}

.recent-posts-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts-section li {
  margin-bottom: 10px;
  font-size: 1em;
  position: relative;
  padding-left: 25px;
  display: flex;
  align-items: center;
  min-height: 30px;
}

.recent-posts-section li::before {
  content: "»";
  color: #fdcb6e;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: -2px;
}

.recent-posts-section a {
  text-decoration: none;
  color: #343a40;
  transition: color 0.3s ease;
  cursor: pointer;
}

.recent-posts-section a:hover {
  color: #1a5276;
  text-decoration: underline;
}

.event-content {
  padding: 50px 20px;
  background-color: #ffffff;
  text-align: center;
  border-top: 4px solid #1a5276;
  border-bottom: 4px solid #1a5276;
  display: none;
  width: 100%;
  box-sizing: border-box;
}

.event-content h2 {
  font-size: 2.5em;
  color: #1a5276;
  margin-bottom: 20px;
}

.event-content p {
  font-size: 1.1em;
  color: #343a40;
  line-height: 1.7;
  margin-bottom: 30px;
}

.event-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
#art-music-content .event-image {
  max-width: 500px;
  max-height: 350px;
}
.row {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
  background-color: #ffffff;
  border-top: 4px solid #1a5276;
  border-bottom: 4px solid #1a5276;
  border-radius: 8px;
}
.card {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  margin: 10px;
  width: 25%;
  background-color: #f9f9f9;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}


.card:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background-color: #e0f7fa;
  border-color: #00796b;

}
.card img {
  max-width: 100%;
  max-height: 120px;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1; 
  }
}

@keyframes slideIn {
  to {
    transform: translateY(0); 
    opacity: 1; 
  }
}
.card:nth-child(1) h2, .card:nth-child(1) p {
  animation-delay: 0.1s; 
}

.card:nth-child(2) h2, .card:nth-child(2) p {
  animation-delay: 0.2s; 
}

.card:nth-child(3) h2, .card:nth-child(3) p {
  animation-delay: 0.3s; 
}
.card h2 {
  font-size: 1.2em;
  color: #0a2f4b; 
  margin: 0 0 8px;
  cursor: pointer;
  transition: color 0.3s ease; 
}
.card:hover h2 {
  color: #00796b;
}
.card p {
  font-size: 0.9em;
  color: #343a40; 
  line-height: 1.5;
  margin: 0;
  transition: color 0.3s ease; 
}
.card:hover p {
  color: #555; 
}
@media (max-width: 768px) {
  .content-container {
    flex-direction: column;
    align-items: center;
  }

  .slideshow-container,
  .recent-posts-section {
    max-width: 100%;
  }

  .slideshow-container {
    max-width: 90%;
  }

  .mySlides img {
    max-width: 100%;
    max-height: 400px;
  }

  .recent-posts-section {
    margin-top: 20px;
  }

  #slideshow-dots {
    margin: 5px 0;
  }

  .dot {
    height: 12px;
    width: 12px;
    margin: 0 3px;
  }

  .recent-posts-section li {
    padding-left: 20px;
  }

  .recent-posts-section li::before {
    left: 0;
  }

  .row {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .card {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
  }

  .card img {
    max-height: 100px;
  }

  .card h2 {
    font-size: 1.1em;
  }

  .card p {
    font-size: 0.85em;
  }
}
.faculty-section {
  background-color: #f5a623; 
  padding: 40px 20px;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 1200px;
}

.faculty-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.faculty-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  width: 45%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; 
  height: 400px;
}

.faculty-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  background-color: #e0f7fa;
}

.faculty-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  transition: transform 0.3s ease; 
}

.faculty-card:hover .faculty-image {
  transform: scale(1.1);
}

.faculty-name {
  font-size: 1.5em;
  color: #0a2f4b; 
  margin: 0 0 5px;
  transition: color 0.3s ease; 
}

.faculty-card:hover .faculty-name {
  color: #00796b;
}

.faculty-title {
  font-size: 1.1em;
  color: #c71585; 
  margin: 0 0 15px;
  transition: color 0.3s ease; 
}

.faculty-card:hover .faculty-title {
  color: #d5006d; 
}

.faculty-quote {
  font-size: 1em;
  color: #343a40;
  line-height: 1.7;
  margin: 0 0 10px; 
  font-style: italic;
}


.faculty-quote::before {
  content: "“";
  font-size: 1.5em;
  color: #343a40;
}

.faculty-quote::after {
  content: "”";
  font-size: 1.5em;
  color: #343a40;
}
.faculty-link {
  display: inline-block;
  margin-top: 0px; 
  color: #1a5276;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
.faculty-card:first-child .faculty-link {
  position: relative;
  top: 10px; 
}
.faculty-card:nth-child(2) .faculty-link {
  position: relative;
  top: 10px; 
}


.faculty-link:hover {
  color: #fdcb6e; 
  text-decoration: underline;
}
.faculty-card {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1; 
  }
}
.faculty-card:nth-child(1) {
  animation-delay: 0.1s;
}

.faculty-card:nth-child(2) {
  animation-delay: 0.2s; 
}
@media (max-width: 768px) {
  .faculty-container {
    flex-direction: column;
    align-items: center;
  }

  .faculty-card {
    width: 80%;
    margin: 10px 0;
  }

  .faculty-image {
    width: 120px;
    height: 120px;
  }

  .faculty-name {
    font-size: 1.3em;
  }

  .faculty-title {
    font-size: 1em;
  }

  .faculty-quote {
    font-size: 0.95em;
  }
}

.footer {
  background-color: #0a2f4b;
  color: #ffffff;
  padding: 30px 20px;
  text-align: center;
  width: 100%;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav li {
  display: inline;
}

.footer-nav a {
  color: #fdcb6e;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #ffde8e;
  text-decoration: underline;
}

.footer p {
  margin: 5px 0;
  font-size: 14px;
}

.whatsapp-link {
  color: #fdcb6e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.whatsapp-link:hover {
  color: #ffde8e;
  text-decoration: underline;
}

.powered-by {
  font-size: 12px;
  color: #b0c4de;
}

.powered-by a {
  color: #fdcb6e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.powered-by a:hover {
  color: #ffde8e;
  text-decoration: underline;
}

.entry-content {
  width: 90%;
  max-width: 1200px;
  margin: -48px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

h1 {
  text-align: center;
  color: #2c3e50;
  font-size: 2.5em;
  margin-bottom: 0px;
}

h2 {
  color: #2c3e50;
  font-size: 1.8em;
  border-bottom: 2px solid #3498db;
  padding-bottom: 8px;
  margin: 30px 0 20px;
}

h5 {
  color: #e74c3c;
  font-size: 1em;
  margin: 20px 0;
  font-weight: bold;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 1em;
}

th,
td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

th {
  background-color: #3498db;
  color: #fff;
  font-weight: bold;
}

td {
  background-color: #0996afe7;
}

tr:nth-child(even) td {
  background-color: #f9f9f9;
}

tr:hover td {
  background-color: #f1f1f1;
}

strong label {
  font-weight: normal;
  display: block;
}

a {
  color: #3498db;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .entry-content {
    width: 95%;
    padding: 15px;
  }

  table {
    font-size: 0.9em;
  }

  th,
  td {
    padding: 8px;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  table {
    font-size: 0.8em;
  }

  th,
  td {
    padding: 6px;
  }

  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 1.3em;
  }

  table,
  tbody,
  tr,
  td,
  th {
    display: block;
  }

  tr {
    margin-bottom: 10px;
  }

  th,
  td {
    width: 100%;
    text-align: left;
  }

  th {
    background-color: #2c3e50;
  }
}
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  max-height: 500px;
  overflow-y: auto;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-image {
  width: 50%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.close-btn:hover {
  color: #ff0000;
}

.popup-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 15px;
}

.popup-btn:hover {
  background-color: #0056b3;
}

.popup h2 {
  color: #333;
  margin-bottom: 15px;
}

.popup p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}
.Enrollpopup {
  background-color: #1e3a8a;
  color: #fff;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 15px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.Enrollpopup:hover {
  background-color: #274bac;
  transform: scale(1.05);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
  max-width: 800px;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.image-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: block;
}

.image-grid img:hover {
  transform: scale(1.05);
  z-index: 1;
}

.image-wrapper {
  overflow: hidden;
  border-radius: 10px;
}

.navbars {
  background-color: #222;
  padding: 12px 20px;
  font-family: "Segoe UI", sans-serif;
}

.navitems {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navitems li {
  position: relative;
}

.navitems a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 15px;
  display: block;
  transition: background 0.3s, color 0.3s;
}

.navitems a:hover {
  background-color: #444;
  border-radius: 8px;
}

.dropdown-menus {
  position: absolute;
  background-color: #333;
  top: 100%;
  left: 0;
  display: none;
  flex-direction: column;
  min-width: 150px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 100;
  list-style-type: none;
}

.dropdown-menus li {
  width: 100%;
}

.dropdowns:hover .dropdown-menus {
  display: flex;
}

.dropdown-menus a:hover {
  background-color: #555;
}

html {
  scroll-behavior: smooth;
}

.lab,
.library,
.sports,
.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 50px;
  padding: 6px 20px;
  min-height: 100vh;
  border-radius: 15px;
  color: #ffffff;
  font-family: "Segoe UI", sans-serif;
  font-weight: 400;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
  overflow: hidden;
  position: relative;
  animation: fadeInUp 0.8s ease forwards;
  transform: translateY(30px);
  opacity: 0;
  min-height: 450px;
  margin-top: 40px;
}

.lab {
  background: linear-gradient(135deg, #0077b6, #00b4d8);
}
.library {
  background: linear-gradient(135deg, #6a0572, #ab83a1);
}
.sports {
  background: linear-gradient(135deg, #007f5f, #2b9348);
}
.gallery {
  background: linear-gradient(135deg, #ff6f61, #ff9671);
}

.lab:hover,
.library:hover,
.sports:hover,
.gallery:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.lab::after,
.library::after,
.sports::after,
.gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  border: 2px solid transparent;
  transition: border 0.5s ease;
}

.lab:hover::after,
.library:hover::after,
.sports:hover::after,
.gallery:hover::after {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.para,
.para1,
.para2,
.para3 {
  opacity: 0;
  text-align: center;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  margin-top: 10px;
  color: #f1f1f1;
}

.lab:hover .para,
.library:hover .para1,
.sports:hover .para2,
.gallery:hover .para3 {
  opacity: 1;
  transform: translateY(0);
}

.lab img,
.library img,
.sports img,
.gallery img {
  width: 100%;
  max-width: 500px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 20px;
  transition: transform 0.5s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lab:hover img,
.library:hover img,
.sports:hover img,
.gallery:hover img {
  transform: scale(1.05);
}

.lab::before,
.library::before,
.sports::before,
.gallery::before {
  content: attr(class);
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  text-transform: capitalize;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .lab,
  .library,
  .sports,
  .gallery {
    margin: 15px;
    padding: 18px;
  }

  .para,
  .para1,
  .para2,
  .para3 {
    font-size: 14px;
    max-width: 90%;
  }

  .lab::before,
  .library::before,
  .sports::before,
  .gallery::before {
    font-size: 22px;
  }
}

@keyframes fadeInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

table {
  width: 80%;
  border-collapse: collapse;
  margin: 20px auto;
  font-family: Arial, sans-serif;
}
th,
td {
  border: 1px solid #0456c2;
  padding: 10px;
  text-align: center;
}
th {
  background-color: #f2f2f2;
}
caption {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

th,
td {
  border: 1px solid #333;
  padding: 12px;
  vertical-align: middle;
}

th {
  background-color: #e6e6e6;
}

a {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

table {
  width: 80%;
  border-collapse: collapse;
  margin: 20px auto;
  font-family: Arial, sans-serif;
}
th,
td {
  border: 1px solid #333;
  padding: 10px;
  text-align: center;
}
th {
  background-color: #f2f2f2;
}
caption {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
}
.image-gallery {
  width: 80%;
  margin: 10px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.image-gallery img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border: 2px solid #ccc;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.TCs {
  color: #333;
}
#TCs input[type="file"] {
  margin-bottom: 20px;
}
#TCs #gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
#TCs .thumbnail {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border: 2px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}
#TCs .thumbnail:hover {
  transform: scale(1.05);
  border-color: #3d7ef8;
}
#TCs .modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}
#TCs .modal-content {
  display: block;
  margin: 5% auto;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}
#TCs .modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}
h1 {
  color: #333;
}

input[type="file"] {
  margin-bottom: 20px;
}

#gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.thumbnail {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border: 2px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.thumbnail:hover {
  transform: scale(1.05);
  border-color: #3d7ef8;
}

.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  display: block;
  margin: 5% auto;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}
.headerp {
  color: white;
  text-align: center;
  padding: 20px 0;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 1.2px;
}
#contact-page-content {
  padding: 50px 20px;
  background: #fff;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.heading-contact,
.contact-form-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #004085;
  margin-bottom: 20px;
  position: relative;
}

.heading-contact::after,
.contact-form-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #007bff;
  margin: 10px auto 0;
  border-radius: 2px;
}
.contact-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

.contact-box {
  background: #f1f5ff;
  padding: 20px;
  border-radius: 15px;
  width: 280px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, background 0.3s;
}

.contact-box:hover {
  background: #e0ebff;
  transform: translateY(-10px);
}

.contact-box i {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 10px;
}
.contact-form-section {
  max-width: 600px;
  margin: 0 auto;
  background: #f4f8fc;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  animation: slideIn 1s ease-in-out;
}

@keyframes slideIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.contact-form-section input,
.contact-form-section textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form-section input:focus,
.contact-form-section textarea:focus {
  border-color: #007bff;
  outline: none;
}

.contact-form-section button {
  background-color: #007bff;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form-section button:hover {
  background-color: #0056b3;
}

#thankYouMessage {
  text-align: center;
  margin-top: 20px;
  color: green;
  font-weight: bold;
}

.hidden {
  display: none;
}
@media (max-width: 768px) {
  .contact-options {
    flex-direction: column;
    align-items: center;
  }
}

.route-map-section {
  max-width: 100%;
  width: 100%;
  margin: px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
table {
  width: 90%;
  margin: 30px auto;
  border-collapse: collapse;
  font-family: "Segoe UI", sans-serif;
  font-size: 16px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

caption {
  caption-side: top;
  font-size: 24px;
  font-weight: 600;
  padding: 15px;
  background-color: #800000;
  color: white;
}

th {
  background-color: #f0e6e6;
  color: #800000;
  font-weight: bold;
  padding: 12px 16px;
  text-align: left;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid #1035d6;
}

tr:hover {
  background-color: #fdf1f1;
}

td:first-child {
  text-align: center;
  color: #333;
  font-weight: 500;
}
#Tcgallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.gallery-item {
  width: 200px;
  height: 270px;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.modal-close:hover,
.modal-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-container > a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.dropdown-container > a:hover {
  background-color: #e0e0e0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 4px;
}

.dropdown-content li {
  position: relative;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.sub-menu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 2;
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 4px;
}

.sub-menu a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

.sub-menu a:hover {
  background-color: #ddd;
}

.class-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background-color: #f9f9f9;
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 3;
  list-style: none;
  padding: 10px;
  margin: 0;
  border-radius: 4px;
}

.class-submenu li {
  padding: 5px 0;
}

.class-submenu select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  font-size: 14px;
}

.dropdown-container:hover .dropdown-content {
  display: block;
}
.dropdown-content li:hover > .sub-menu {
  display: block;
}
.sub-menu li:hover > .class-submenu {
  display: block;
}
.school-timetable-area,
.school-syllabus-area {
  padding: 20px;
  margin-top: 30px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hidden {
  display: none;
}

.class-schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

.class-schedule-table th,
.class-schedule-table td {
  border: 1px solid #e0e0e0;
  padding: 12px;
  text-align: center;
  font-size: 15px;
}

.class-schedule-table th {
  background-color: #007bff;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
}

.class-schedule-table tr:nth-child(even) {
  background-color: #f5f9ff;
}

.class-schedule-table tr:hover {
  background-color: #e9f2ff;
}

.class-schedule-table td[rowspan] {
  vertical-align: middle;
  font-weight: bold;
  background-color: #ffc107;
  color: #333;
  font-size: 16px;
}

.class-syllabus-details {
  background-color: white;
  padding: 25px;
  margin-top: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.class-syllabus-details .headingg {
  color: #007bff;
  font-size: 26px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  font-weight: bold;

  background-color: #e0f2f7;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-left: -15px;
  text-align: center;
}

.section-title {
  color: #333;
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid #007bff;
  display: block;
  background-color: #f0f0f0;
  padding-top: 15px;
  padding-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.contact-options {
  display: flex;
  justify-content: space-around;
  padding: 30px 20px;
  background-color: #f5f5f5;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-box {
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-box i {
  font-size: 24px;
  color: #3d7ef8;
  margin-bottom: 10px;
}

.contact-form-section {
  padding: 0px 20px;
  background-color: #ffffff;
  max-width: 800px;
  margin: auto;
}

.contact-form-section form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form-section input,
.contact-form-section textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form-section button {
  background-color: #3d7ef8;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form-section button:hover {
  background-color: #2c5ec9;
}

.hidden {
  display: none;
}
.top-images {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  background-color: #fff;
  padding: 0px;
}

.top-images img {
  width: 150px;
  height: 150px;
  vertical-align: middle;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.gallery-section {
  padding: 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.gallery-section h2 {
  margin-bottom: 20px;
  color: #3d7ef8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  padding: 0 10px;
}

.gallery-grid img {
  width: 100%;
  max-width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
  margin: auto;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}
.heading-about {
  font-size: 2.2rem;
  color: #2d58a7;
  text-align: center;
  margin: 20px 0;
}

.heading-gallery {
  font-size: 2rem;
  color: #1e8449;
  text-align: center;
  margin: 30px 0 15px;
}

.heading-contact {
  font-size: 2rem;
  color: #b03a2e;
  text-align: center;
  margin-top: 40px;
}

.heading-form {
  font-size: 1.8rem;
  color: #3f51b5;
  text-align: center;
  margin: 20px 0;
}
.about-akrg {
  font-family: "Poppins", sans-serif;
  color: #2c3e50;
  margin-bottom: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

h2.about-akrg {
  font-weight: 700;
  font-size: 2.4rem;
  margin-top: 24px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1a2a42;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
h3.about-akrg {
  font-weight: 600;
  font-size: 1.6rem;
  margin-top: 20px;
  margin-bottom: 12px;
  color: #34495e;
  border-left: 4px solid #2980b9;
  padding-left: 10px;
}
p.about-akrg {
  font-weight: 400;
  font-size: 1.1rem;
  color: #4a4a4a;
  max-width: 720px;
  margin-bottom: 20px;
}
.about-text ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 24px;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 720px;
}

.read-more-btn2 {
  background-color: #fdcb6e;
  color: #0a2f4b;
  padding: 7px 20px;
  margin-left: 318px;
  position: absolute;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.read-more-btns3 {
  background-color: #fdcb6e;
  color: #0a2f4b;
  margin-top: 7px;
  padding: 8px 20px;
  margin-left: -123px;
  position: absolute;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.read-more-btn4 {
  background-color: #fdcb6e;
  color: #0a2f4b;
  margin-top: 7px;
  padding: 7px 20px;
  margin-left: -75px;
  position: absolute;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 1000;
  animation: slow-blink-fade 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
}

@keyframes slow-blink-fade {
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}
.nationalsports {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
  justify-items: center;
}

.event-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}
.independence-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 16px;
  margin-bottom: 20px;
}

.event-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.annual-day-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 15px;
  margin-bottom: 20px;
}

.event-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.annual-day-gallery img:nth-child(1) {
  height: 400px; 
  object-fit: cover;
}

.annual-day-gallery img:nth-child(6) {
  height: 200px;
  object-fit: cover;
}
.graduation-day-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 16px;
  margin-bottom: 20px;
}

.event-image {
  width: 100%;           
  height: 250px;        
  object-fit: cover;     
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.event-image:hover {
  transform: scale(1.05);
  cursor: pointer;
}
@media (max-width: 992px) {
  .graduation-day-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .graduation-day-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 400px) {
  .graduation-day-gallery {
    grid-template-columns: 1fr;
  }
}
