* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5aa0;
    --secondary-color: #43A7FA;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #000000;
    --border-color: #ddd;
    --success-color: #28a745;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: #feffdd;
    margin: 0px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 20px;*/
}

.header-top {
    /*background: var(--dark-color);*/
    color: #FFE1C2;
    padding: 0px 0;
    font-size: 14px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: #0136a7;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.social-links a {
    color: white;
    margin-left: 15px;
    font-size: 16px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.header-main {
    width:100vw;
    align-items: center;
    background-color: #FFF88F;     /* #FFF88F = Light yellow color in background */
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    width: 100vw;
    display:flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 15px 0; */
    flex-wrap: wrap;
}


.logo h1 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 5px;
}

.logo .tagline {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-color);
}

.nav-menu {
    list-style: none;
    width: 100vw;
    display:flex;
    align-items: center;
    background-color: #e24000;
}

.nav-menu > li {
    position: relative;
    margin-left: 25px;
}

.nav-menu > li > a {
    /*color: var(--text-color);*/
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s;
}

.nav-menu > li > a:hover{
    background-color: #e6781e;
}
.nav-menu > li > a.active {
    /*color: var(--primary-color);*/
    color: white;
    
    
}

.nav-menu > li > a i {
    font-size: 10px;
    margin-left: 5px;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #e6781e;
    min-width: 220px;
    box-shadow: var(--shadow);
    list-style: none;
    padding: 10px 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
}

.submenu li a {
    /*color: var(--text-color);*/
    color: white;
    text-decoration: none;
    padding: 10px 10px;
    display: block;
    transition: background 0.3s;
}

.submenu li a:hover {
    background: var(--light-color);
    color: var(--primary-color);
    padding-left: 25px;
}

.slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 40px 60px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.slide-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
    animation: slideInDown 1s;
}

.slide-content p {
    font-size: 20px;
    animation: slideInUp 1s;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    color: var(--primary-color);
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: white;
    box-shadow: var(--shadow);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

.img-building{
  width: 30%;
  height: 25%;
}

.img-building img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-hl{
    width: 30%;
    height: 25%;
}

.img-responsive{
    width: 100%;
    max-width:900px;
    height: auto;
    align-items: center;
}

.img-center{
    align-items: center;
}

.img-hl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-section {
    padding: 20px 0;
    background: var(--light-color);
}

.welcome-container{
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.welcome-content {
    text-align: center;
    width: 500px;
    max-width: 500px;
    margin: 0 auto;
}

.welcome-content h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.welcome-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.notice-section {
    padding: 20px 0;
    background: #f9d5e5;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.notice-board {
    max-width: 900px;
    margin: 0 auto;
    height: 400px;
}

.notice-item {
    display: flex;
    gap: 20px;
    background-color: #f4ffc2;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.notice-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.notice-date {
    min-width: 120px;
    background: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.notice-date i {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

.notice-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.notice-content p {
    color: #666;
    line-height: 1.6;
}

.features-section {
    padding: 80px 0;
    background: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.feature-card p {
    color: #666;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
}

.about-content {
    padding: 0px 0;

}

.about-intro {
    /* width: 80%;
    padding: 20px;
    display:block;
    align-items:center;    
    background-color: #ffd4eb; */

    /* display: grid; */
    flex: 1; /* Allows columns to grow and shrink equally */
    min-width: 250px; /* Prevents columns from becoming too narrow */
    padding: 20px;
    width: 100%;
    background-color: #fff1b4;    
}

.about-intro h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 20px;
}

.about-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 20px;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin: 60px 0;
}

.vm-card {
    background: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.vm-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.vm-card h3 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 20px;
}

.vm-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #1d1d1d;
}

.values-section {
    margin: 60px 0;
}

.values-section h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.value-item {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.value-item i {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.value-item h4 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.value-item p {
    color: #666;
    font-size: 14px;
}

.infrastructure {
    margin: 60px 0;
    background: var(--light-color);
    padding: 60px 0;
}

.infrastructure h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.infra-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.infra-item i {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.infra-item h4 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.infra-item p {
    color: #666;
    line-height: 1.6;
}

.message {
    /*margin: 60px 0;*/
    flex: 1; /* Allows columns to grow and shrink equally */
    min-width: 250px; /* Prevents columns from becoming too narrow */
    padding: 10px;
    background-color: #004369;    
}

.message h2 {
    color: #e62b1e;
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.message-content {

    max-width: 50ew;
    margin: 0 auto;
    background: var(--light-color);
    padding: 40px;
    border-radius: 10px;

    flex: 1; /* Allows columns to grow and shrink equally */
    min-width: 250px; /* Prevents columns from becoming too narrow */
    padding: 25px;
    background: linear-gradient(0deg, #ffd3e5, #f9ffa0);
}

.container-message {
  display: flex; /* Enables flexbox for the container */
  flex-wrap: wrap; /* Allows columns to wrap to the next line if needed */
  padding: 50px; /* Adds space between columns */
}

.principal-info {
    text-align: center;
    margin-bottom: 30px;
}

.principal-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
}

.principal-info h4 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 5px;
}

.principal-info p {
    color: #000000;
    font-style: italic;
}

.message-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 20px;
}

.main-footer {
    background: var(--dark-color);
    color: white;
    margin-top: 80px;
}

.footer-content {
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-links i {
    margin-right: 8px;
    font-size: 12px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 18px;
    min-width: 20px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-content p {
    margin: 5px 0;
}

.footer-bottom i.fa-heart {
    color: var(--secondary-color);
}

.table-container {
max-width: 1200px;        
margin: auto;
background: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.table-container h2 {        
text-align: center;
background: #007BFF;
color: #fff;
padding: 5px 0;
margin: 0;
}

.responsive-table {
width: 100%;
border-collapse: collapse;
}

.responsive-table th, 
.responsive-table td {
text-align: left;
padding: 6px 8px;
border-bottom: 1px solid #ddd;
}

.responsive-table th {
background: #f2f2f2;
color: #333;
}

.responsive-table tr:hover {
background-color: #f9f9f9;
}

.th {
    background-color: #ffc89a;color: rgb(1, 3, 122);
}

/* Staff Image Gallery */
.staff-gallery {
  text-align: center;
}

.staff-gallery h1 {
  margin-bottom: 30px;
  font-size: 2em;
  color: #2c3e50;
}

/* Gallery layout */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0px;
  max-width: 1200px;
  margin: auto;
}

/* Individual staff card */
.staff-card {
    width: 250px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 10px;
}

.staff-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Image styling */
.staff-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Text info */
.staff-info {
  padding: 5px;
}

.staff-info h2 {
  margin: 10px 0 5px;
  font-size: 1.2em;
  color: #003366;
}

.staff-info .post {
  color: #0056b3;
  font-weight: 500;
}

.staff-info .qualification {
  color: #666;
  font-size: 0.9em;
  margin-top: 5px;
}

/* End of staff image gallery */

.image-gallery {
  text-align: center;
}

.image-gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 15px;
  max-width: 1200px;
  margin: auto;
}

.gallery-card {
    max-width: 500px;
    width: 400px;
    height: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow:hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
    
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit:cover;
}
/* .gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
} */

.caption {
  padding: 5px;
}

.caption h2 {
  margin: 10px 0 5px;
  font-size: 1.2em;
  color: #003366;
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
    }
    
    .logo {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }
    
    .main-nav {
        width: 100%;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }
    
    .nav-menu.active {
        max-height: 1000px;
    }
    
    .nav-menu > li {
        margin: 0;
        width: 100%;
        border-top: 1px solid var(--border-color);
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }
    
    .has-submenu.active .submenu {
        max-height: 500px;
    }
    
    .slide-content h2 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .slide-content {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .slider-container {
        height: 350px;
    }
    
    .header-top-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info span {
        display: block;
        margin: 1px 0;
    }
    
    .welcome-content h2,
    .section-title,
    .page-header h1 {
        font-size: 20px;
    }
    
    .features-grid,
    .values-grid,
    .infrastructure-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .slider-btn {
        padding: 10px 15px;
        font-size: 16px;
    }
    
    .slider-btn.prev {
        left: 10px;
    }
    
    .slider-btn.next {
        right: 10px;
    }

}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 15px;
    }

    .logo img{
        height: 30px;
        width: 30px;
    }
    
    .title-text h1 {
        font-size: 1em;
    }

    .slider-container {
        height: 250px;
    }
    
    .slide-content h2 {
        font-size: 13px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .notice-item {
        flex-direction: column;
    }
    
    .notice-date {
        min-width: auto;
    }

    .responsive-table thead {
        display: none;
    }

    .responsive-table, 
    .responsive-table tbody, 
    .responsive-table tr, 
    .responsive-table td {
        display: block;
        width: 100%;
    }

    .responsive-table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 10px;
        background: #fff;
    }

    .responsive-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .responsive-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        padding-left: 10px;
        font-weight: bold;
        text-align: left;
        color: #333;
    }

}

@media (max-width: 600px) {
    .logo h1 {
        font-size: 15px;
    }

    .logo img{
        height: 30px;
        width: 30px;
    }
    
    .title-text h1 {
        font-size: .5em;
    }

  .staff-card img {
    height: 300px;
    width: 100%;
  }

  .gallery-card img {
    height: 300px;
  }
  
}