/* Base Reset */
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
html, body{
    font-family: 'Roboto', sans-serif, Arial;
    font-size: 16px;
    color: #242424;
    background-color: #fff;
    overflow-x: hidden;
}

/* Base Grid Layout Container */
.container{
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}
.main-section{
    padding: 60px 0;
    width: 100%;
}
.gray-bg{
    background-color: #f0f3fa;
}

/* Universal Typography Elements */
.heading{
   font-size: 28px;
   font-weight: 500;
   border-bottom: 3px solid #46b7c1;
   margin-bottom: 25px;
   padding-bottom: 5px;
   color: #46b7c1;
}

/* Top Header Bar Adjustments */
.header{
    background: #46b7c1;
    padding: 8px 0;
}
.flex-header {
    display: flex;
    align-items: center;
}
.header b{
   background: #fff;
   color: red;
   padding: 6px 12px;
   font-size: 16px;
   border-radius: 4px;
   white-space: nowrap;
}
.motto-marquee{
   font-size: 18px;
   color: #fff;
   width: 100%;
   margin-left: 15px;
}

/* Clean Professional Desktop Header Layout */
.nav-wrapper {
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.logo{
   height: 90px;
   width: auto;
}
nav a{
   color: #333;
   text-decoration: none;
   font-size: 17px;
   padding: 8px 15px;
   font-weight: 500;
   transition: 0.3s;
}
nav a:hover, nav a.active{
   color: #46b7c1;
}
.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: #46b7c1;
    cursor: pointer;
}

/* Image Assets Management Layouts */
.slider img {
   width: 100%;
   height: auto;
   display: block;
}
.responsive-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Modern Layout Systems (Grid Components) */
.grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.grid-two {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

/* Campus Information & Events Cards */
.event-card, .info-card {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.card-heading {
    font-size: 20px;
    color: #fff;
    background: #46b7c1;
    padding: 10px;
    text-align: center;
    margin-bottom: 15px;
    border-radius: 4px;
}
.card-content ul {
    list-style: none;
}
.card-content ul li {
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 15px;
}

/* Events Date Icon Layouts */
.event-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.event-date {
    background: #46b7c1;
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    padding: 6px;
    min-width: 50px;
    border-radius: 4px;
    line-height: 16px;
    margin-right: 15px;
}
.event-text {
    font-size: 15px;
}

/* Notice Links styling features */
.notice-list li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}
.notice-list li a:hover {
    color: #46b7c1;
    text-decoration: underline;
}
.view-all-btn {
    display: inline-block;
    margin-top: 15px;
    color: #46b7c1;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
}

/* About Us Layout Styling Adjustments */
.about-text h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}
.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}
.info-card h3 {
    font-size: 20px;
    color: #46b7c1;
    margin-bottom: 15px;
}
.info-card p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.5;
}
.image-gallery, .image-grid-mini {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.image-grid-mini img {
    width: 48%;
}

/* Testimonials System Styles */
.testimonial-container {
    max-width: 700px;
    margin: 0 auto;
}
.testimonial-card {
    background: #f0f3fa;
    padding: 30px;
    border-radius: 12px;
}
.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
    color: #444;
    margin-bottom: 20px;
    text-align: center;
}
.testimonial-profile {
    display: flex;
    align-items: center;
    justify-content: center;
}
.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 3px solid #46b7c1;
}
.profile-info h5 {
    font-size: 16px;
    color: #333;
}
.profile-info p {
    font-size: 14px;
    color: #777;
}

/* Notices Page Table Styling Elements */
.notice-board-table {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}
.table-row {
    display: grid;
    grid-template-columns: 1.5fr 7fr 2fr;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
}
.table-header {
    background: #46b7c1;
    color: #fff;
    font-weight: bold;
}
.date-col {
    color: #666;
    font-size: 14px;
    font-weight: bold;
}
.title-col {
    font-size: 16px;
    font-weight: 500;
}
.download-btn {
    background: #46b7c1;
    color: #fff;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    display: inline-block;
    transition: 0.3s;
}
.download-btn:hover {
    background: #359ca5;
}

/* Mobile Responsive Breakpoints Query Styles */
@media (max-width: 992px) {
    .grid-three, .grid-two {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .menu-toggle {
        display: block;
    }
    nav {
        display: none;
        position: absolute;
        top: 135px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 1000;
    }
    nav.show {
        display: flex;
    }
    nav a {
        padding: 12px 25px;
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .table-header {
        display: none;
    }
}
/* Mobile Navigation Toggle Styles */
#nav-menu {
    display: none; /* Keeps it hidden until clicked */
}

/* --- RESPONSIVE NAVIGATION SYSTEM --- */

/* 1. Mobile & Tablet Styles (Screens smaller than 992px wide) */
@media (max-width: 991px) {
    #nav-menu {
        display: none; /* Hide standard links by default on mobile */
        width: 100%;
        flex-direction: column; /* Stack menu items vertically */
        background-color: #ffffff; /* Change to match your theme color */
        position: absolute;
        top: 60px; /* Adjust based on your header height */
        left: 0;
        z-index: 1000;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    /* This class is added by your JavaScript when clicked */
    #nav-menu.show {
        display: flex !important; 
    }

    /* Make the mobile menu button visible */
    #mobile-menu {
        display: block; 
        cursor: pointer;
    }
    
    #nav-menu a {
        padding: 15px 20px;
        border-bottom: 1px solid #eaeaea;
        width: 100%;
    }
}

/* 2. Desktop Styles (Screens 992px wide and larger) */
@media (min-width: 992px) {
    #mobile-menu {
        display: none !important; /* Hide hamburger icon on big screens */
    }

    #nav-menu {
        display: flex !important; /* Always show links horizontally */
        flex-direction: row;
        position: static;
        box-shadow: none;
        background-color: transparent;
    }

    #nav-menu a {
        padding: 0 15px;
        border-bottom: none;
        width: auto;
    }
}
