* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, #4a90e2 0%, #ffffff 100%);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left .logo {
  /* width: 407px; */
  height: 82px;

}

.header-right {
  text-align: right;
  flex: 1;
  margin-left: 30px;
}

.school-info h1 {
  font-size: 12px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
  line-height: 1.3;
}

.established {
  font-size: 12px;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 500;
}

.mandatory-disclosure {
  background-color: #f1c40f;
  color: #2c3e50;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 3px 6px rgba(241, 196, 15, 0.3);
}

.mandatory-disclosure:hover {
  background-color: #f39c12;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(241, 196, 15, 0.4);
}

/* Navigation Styles */
.navbar {
  background-color: #2c3e50;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-menu {
  display: flex;
  list-style: none;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  background-color: #34495e;
  color: #4a90e2;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #34495e;
  min-width: 220px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 8px 8px;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu li:last-child a {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

.dropdown-menu li a:hover {
  background-color: #4a90e2;
  padding-left: 25px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Banner Slider Styles */
.banner-slider {
  position: relative;
  height: 450px;
  overflow: hidden;
  
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-150px); /* Start far to the left */
  }
  100% {
    opacity: 1;
    transform: translateX(0); /* End in normal position */
  }
}

.slide-content {
  opacity: 0; /* Start hidden */
}

.slide.active .slide-content {
  animation: slideInFromLeft 1s ease-out forwards;
}
.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  /* object-fit: contain; */
  object-fit: cover;
}

.slide-content {
  position: absolute;
  bottom: 60px;
  left: 60px;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 30px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.slide-content h2 {
  font-size: 36px;
  margin-bottom: 10px;
  font-weight: 700;
}

.slide-content p {
  font-size: 18px;
  font-weight: 400;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
}

.slider-nav button {
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-nav button:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active,
.dot:hover {
  background-color: white;
  transform: scale(1.2);
}

/* Main Content Styles */
.main-content {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.content-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: start;
}

.principal-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: sticky;
  top: 100px;
}

.principal-photo {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.principal-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #2c3e50;
  font-weight: 600;
}

.principal-title {
  color: #7f8c8d;
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
}

.message-section {
  background: white;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.message-section h2 {
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: 32px;
  border-bottom: 4px solid #4a90e2;
  padding-bottom: 15px;
  font-weight: 700;
}

.message-content p {
  margin-bottom: 25px;
  text-align: justify;
  line-height: 1.8;
  font-size: 16px;
  color: #555;
}

.message-content ul {
  margin: 25px 0;
  padding-left: 30px;
}

.message-content li {
  margin-bottom: 12px;
  line-height: 1.7;
  font-size: 16px;
  color: #555;
}

.mission-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 3px solid #ecf0f1;
}

.mission-section h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 26px;
  font-weight: 600;
}

.mission-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

.transfer-certificate {
  margin-top: 40px;
  text-align: center;
}

.tc-button {
  display: inline-block;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 18px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tc-button:hover {
  background: linear-gradient(135deg, #c0392b, #a93226);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}
.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Footer Styles */
.footer {
  background-color: #2c3e50;
  color: white;
  padding: 50px 0 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #34495e;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 5px;
}

.footer-links a:hover {
  color: #4a90e2;
  background-color: rgba(74, 144, 226, 0.1);
}

.contact-info {
  text-align: center;
  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
}

.copyright {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid #34495e;
  color: #95a5a6;
  font-size: 14px;
}

/* Page-specific styles */
.page-header {

  background: linear-gradient(135deg, #4a90e2 0%, #2c3e50 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-header p {
  font-size: 20px;
  opacity: 0.9;
  font-weight: 400;
}

.page-content {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.content-section {
  background: white;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.content-section h2 {
  color: #2c3e50;
  margin-bottom: 25px;
  font-size: 28px;
  border-bottom: 3px solid #4a90e2;
  padding-bottom: 12px;
  font-weight: 600;
}

.content-section h3 {
  color: #34495e;
  margin: 25px 0 18px;
  font-size: 22px;
  font-weight: 600;
}

.content-section p {
  margin-bottom: 18px;
  line-height: 1.8;
  text-align: justify;
  font-size: 16px;
  color: #555;
}
.content-section p a {
  margin-bottom: 18px;
  line-height: 1.8;
  text-align: justify;
  text-decoration: none;
  font-size: 16px;
  color: #555;
}
.content-section p a:hover {

  margin-bottom: 18px;
  line-height: 1.8;
  text-align: justify;
  font-size: 16px;
  color: #34495e;
}

.content-section ul,
.content-section ol {
  margin: 20px 0;
  padding-left: 35px;
}

.content-section li {
  margin-bottom: 10px;
  line-height: 1.7;
  font-size: 16px;
  color: #555;
}

.content-section button {
  background: linear-gradient(135deg, #4a90e2, #2c3e50);

  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
}
.content-section button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}
.content-section button a{
  background: linear-gradient(135deg, #4a90e2, #2c3e50);
  color: white;
  text-decoration: none;
}
.document-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}


.document-list li {
    background-color: #f7f9fc;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 10px 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.document-list li:hover {
    background-color: #e9f0ff;
    border-color: #aac6f2;
}

.document-list li a {
    text-decoration: none;
    color: #0077cc;
    font-weight: 500;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.document-list li a::before {
    content: '📄';
    margin-right: 8px;
    font-size: 1.2rem;
}

.info-map-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.5rem;
}

.info-map-section > div {
  flex: 1;
  min-width: 300px;
}

.map-container {
  position: relative;
  width: 100%;
  height: 250px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.students-table-wrapper,
.booklist-table-wrapper {
  overflow-x: auto;
  border-bottom:  solid #ececec;
  border-radius: 8px;
}

.content-table, .students-table,
.booklist-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
}

.content-table thead,
.students-table thead,
.booklist-table thead {
  background: linear-gradient(135deg, #4a90e2, #2c3e50);
  color: white;
  font-weight: 600;
}
.content-table th,
.content-table td,
.students-table th,
.students-table td,
.booklist-table th,
.booklist-table td {
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid #ececec;
  font-size: 15px;
}
.content-table tbody tr:hover,
.students-table tbody tr:hover,
.booklist-table tbody tr:hover {
  background-color: #f2f9ff;
  transition: all 0.3s ease;
}
.table-heading{
  color: black;
  background-color: #f2f3ff;
  text-align:left;
  padding:10px 16px;
  border-radius: 8px;
}
.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* center the image */

}
/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .header-right {
    text-align: center;
    margin-left: 0;
  }

  .school-info h1 {
    font-size: 20px;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #2c3e50;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .dropdown-menu {
    display: none; 
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: #34495e;
  }

  .banner-slider {
    /* height: 300px; */
    height: 250px;
  }

  .slide-content {
    /* left: 30px;
    bottom: 40px;
    padding: 15px 20px; */
    left: 20px;
    bottom: 30px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.5); /* slightly darker for contrast on smaller screens */
 
  }

  .slide-content h2 {
    font-size: 24px;
  }

  .slide-content p {
    /* font-size: 16px; */
    font-size: 14px;
  }
  .slider-nav button {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .slider-dots {
    bottom: 10px;
    gap: 6px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }
  .content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .principal-card {
    position: static;
  }

  .message-section,
  .content-section {
    padding: 30px 25px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .document-list {
        grid-template-columns: 1fr 1fr;
    }
  .info-map-section {
    flex-direction: column;
  }

  .map-container {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .header {
    padding: 15px 0;
  }

  .school-info h1 {
    font-size: 18px;
  }

  .banner-slider {
    /* height: 250px; */
    height: 200px; 
  }
  .slide-content {
    left: 10px;
    bottom: 20px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.6); /* darker overlay for mobile readability */
    border-radius: 6px;
  }

  .slide-content h2 {
    font-size: 16px;
    margin-bottom: 5px;
    /* font-size: 20px; */
  }

  .slide-content p {
    /* font-size: 14px; */
    font-size: 12px;
  }
  .slider-nav button {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .slider-dots {
    bottom: 10px;
    gap: 6px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }
  .message-section h2 {
    font-size: 26px;
  }

  .principal-card {
    padding: 25px 20px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .page-header p {
    font-size: 18px;
  }
  .map-container {
    height: 200px;
  }
  .document-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .document-list li {
    
    font-size: 14px;
    padding: 8px 12px;
  }

  .document-list li a::before {
    font-size: 1rem;
  }

  .info-map-section {
    gap: 1rem;
  }

  .info-map-section > div {
    min-width: 100%;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

