/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ================= RECENT NOTICE BAR ================= */

.notice-bar {
    display: flex;
    align-items: center;
    background-color: #f2f2f2;
    border-bottom: 2px solid #003366;
    height: 40px;
}

.notice-title {
    background-color: #003366;
    color: #fff;
    padding: 0 15px;
    font-weight: bold;
    height: 100%;
    display: flex;
    align-items: center;
}

.notice-marquee {
    flex: 1;
    padding-left: 10px;
}

.notice-marquee a {
    text-decoration: none;
    color: #c40000;
    font-weight: bold;
    margin: 0 10px;
}

.notice-marquee span {
    color: #000;
    margin: 0 5px;
}

/* ================= TOP NAV BAR ================= */

.top-nav {
    background-color: skyblue;
    border-bottom: 1px solid #ccc;
    padding: 5px 0;
}

.top-nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    margin-right: 20px;
}

.top-nav-links li {
    margin-left: 20px;
}

/* Move email to right */
.top-nav-links li:last-child {
    margin-left: auto;
}

.top-nav-links a {
    text-decoration: none;
    color: #003366;
    font-size: 14px;
    font-weight: normal;
}

.top-nav-links a:hover {
    color: #0056b3;
    text-decoration: underline;
}
/* ================= UNIVERSITY HEADER ================= */

.university-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 15px 40px;
    border-bottom: 2px solid #003366;
}

.logo img {
    width: 90px;
    height: auto;
}

.university-name {
    text-align: center;
    flex: 1;
}

.university-name h1 {
    color: #003366;
    font-size: 28px;
    font-weight: bold;
}

.university-name p {
    font-size: 14px;
    color: #444;
    margin-top: 4px;
}

.university-name span {
    font-size: 13px;
    color: #666;
}

/* ================= MAIN NAV BAR ================= */

.main-nav {
    background-color: #003366;
}

.main-menu {
    list-style: none;
    display: flex;
    justify-content: center;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    display: block;
    padding: 14px 20px;
    color: skyblue;
    text-decoration: none;
    font-size: 15px;
    font-weight: normal;
}

.main-menu a:hover {
    background-color: skyblue;
    color: #003366;
}
/* ================= MOBILE MENU ================= */

.menu-toggle {
    display: none;
    font-size: 26px;
    color: #ffffff;
    padding: 12px 20px;
    cursor: pointer;
}

/* MOBILE VIEW */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .main-menu {
        flex-direction: column;
        display: none;
        width: 100%;
        background-color: #003366;
    }

    .main-menu li {
        text-align: center;
        border-top: 1px solid #004080;
    }

    .main-menu a {
        padding: 15px;
        display: block;
    }

    .main-menu.show {
        display: flex;
    }
}

/* ===== DROPDOWN MENU ===== */

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #003366;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 120px;
    display: none;
    z-index: 999;
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #0055aa;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background-color: white;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* ================= WELCOME SECTION ================= */

.welcome {
    padding: 40px;
    text-align: center;
}

.welcome h2 {
    color: #003366;
    margin-bottom: 15px;
}

/* ===== ABOUT & NOTICE BOARD ===== */

.about-notice-section {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 30px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

/* ===== ABOUT UNIVERSITY ===== */

.about-university {
    background: #ffffff91;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.about-university h3 {
    color: #003366;
    margin-bottom: 15px;
}

.about-university p {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 12px;
}

.read-more-btn {
    display: inline-block;
    margin-top: 10px;
    background: #003366;
    color: #fff;
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

.read-more-btn:hover {
    background: #0056b3;
}

/* ===== NOTICE BOARD ===== */
/* ================= ABOUT & NOTICE BOARD ================= */

.about-notice-section {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 30px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    align-items: start;
}

/* ================= ABOUT UNIVERSITY (FIXED SIZE) ================= */

.about-university {
    background: #f4f8fc;              /* Professional light blue */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);

    height: 360px;                    /* ✅ FIXED HEIGHT */
    overflow-y: auto;                 /* Scroll if content increases */
    display: flex;
    flex-direction: column;
}

.about-university h3 {
    color: #003366;
    margin-bottom: 15px;
}

.about-university p {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 12px;
}

.read-more-btn {
    margin-top: auto;                 /* Push button to bottom */
    align-self: flex-start;
    background: #003366;
    color: #fff;
    padding: 9px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease;
}

.read-more-btn:hover {
    background: #0056b3;
}

/* ================= NOTICE BOARD (AUTO SIZE) ================= */

.notice-board {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.notice-board h3 {
    color: #003366;
    margin-bottom: 12px;
}

/* ================= NOTICE TABS ================= */

.notice-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
}

.notice-tabs .tab {
    padding: 6px 14px;
    font-size: 14px;
    cursor: pointer;
    background: none;
    border: none;
    color: #555;
    transition: color 0.15s ease, border-bottom 0.15s ease;
}

.notice-tabs .tab.active {
    color: #003366;
    font-weight: 600;
    border-bottom: 3px solid #003366;
}

.notice-tabs .tab:hover {
    color: #0056b3;
}

/* ================= NOTICE LIST (SCROLLABLE) ================= */

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 220px;        /* ✅ FIXED SCROLL AREA */
    overflow-y: auto;
    display: none;
}

.notice-list.active {
    display: block;
}

/* Scrollbar */
.notice-list::-webkit-scrollbar {
    width: 6px;
}

.notice-list::-webkit-scrollbar-thumb {
    background: #003366;
    border-radius: 5px;
}

.notice-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Notice Item */
.notice-list li {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ddd;
    font-size: 14px;
}

/* Date */
.notice-list .date {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 3px;
}

/* Links */
.notice-list a {
    color: #003366;
    text-decoration: none;
}

.notice-list a:hover {
    text-decoration: underline;
}

/* NEW Badge */
.new-badge {
    background: #d60000;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    font-weight: bold;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    .about-notice-section {
        grid-template-columns: 1fr;
    }

    .about-university {
        height: auto; /* Allow natural height on mobile */
    }
}



/* ================= DEPARTMENT SECTION ================= */

.departments {
    background: #f5f5f5;
    padding: 40px;
    text-align: center;
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.dept {
    background: #ffffff;
    padding: 20px;
    border: 1px solid #ddd;
    font-weight: bold;
}

/* ================= IMAGE SLIDER ================= */

.slider {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: all 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: translateY(0);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services */
/* ===== SERVICES SECTION ===== */

.services-section {
    background-color: #f4f7fb;
    padding: 60px 20px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: #003366;
    margin-bottom: 40px;
}

.section-title.center {
    text-align: center;
}

/* ===== GRID ===== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
}

/* ===== SERVICE CARD ===== */

.service-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 15px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* ===== ICON ===== */

.icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0055aa, #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.icon-circle i {
    color: #ffffff;
    font-size: 28px;
}

/* ===== TEXT ===== */

.service-item span {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    display: block;
    margin-top: 8px;
}

/* ===== MOBILE ===== */

@media (max-width: 600px) {
    .services-section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 22px;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
    }

    .icon-circle i {
        font-size: 24px;
    }
}

/* ================= FOOTER ================= */

.footer-top {
    background: linear-gradient(135deg, #003366, #002244);
    color: #ffffff;
    padding: 60px 20px 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

/* ===== FOOTER BOX ===== */

.footer-box h3 {
    font-size: 18px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

/* Decorative underline */
.footer-box h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #8fd3ff;;
    border-radius: 5px;
}

/* ===== LINKS ===== */

.footer-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-box ul li {
    margin-bottom: 10px;
}

.footer-box ul li a {
    color: #e0e0e0;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover animation */
.footer-box ul li a::before {
    content: "›";
    margin-right: 6px;
    color: #8fd3ff;;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-box ul li a:hover::before {
    opacity: 1;
}

.footer-box ul li a:hover {
    color: #8fd3ff;;
    padding-left: 6px;
}

/* ===== TEXT ===== */

.footer-box p {
    font-size: 14px;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 12px;
}

/* ===== CONTACT ICON ===== */

.footer-box p strong {
    color: #ffffff;
}

/* ===== FOOTER BOTTOM ===== */

.footer-bottom {
    background-color: #001a33;
    color: #cccccc;
    text-align: center;
    padding: 14px 10px;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .footer-top {
        text-align: center;
    }

    .footer-box h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
/* ===== FOOTER EMAIL LINK ===== */

.footer-box a[href^="mailto"] {
    color: #8fd3ff;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

/* Hover effect */
.footer-box a[href^="mailto"]:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Optional glow effect */
.footer-box a[href^="mailto"]:hover {
    text-shadow: 0 0 6px rgba(0, 187, 255, 0.6);
}
.footer-box a[href^="mailto"]:hover {
    transform: translateX(3px);
}

/* ================= CONTACT PAGE ================= */

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, #003366, #0056b3);
    color: #ffffff;
    text-align: center;
    padding: 75px 20px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
    letter-spacing: 0.6px;
    font-weight: 600;
}

.page-header p {
    font-size: 16px;
    opacity: 0.95;
}

/* ===== MAIN CONTACT SECTION ===== */
.contact-section {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
    text-align: center;
}

.contact-title {
    font-size: 30px;
    color: #003366;
    margin-bottom: 12px;
}

.contact-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 45px;
    line-height: 1.7;
}

/* ===== CONTACT CARDS GRID ===== */
.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 55px;
}

/* ===== CONTACT CARD ===== */
.contact-item {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.15);
}

/* ===== CARD TITLE ===== */
.contact-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #003366;
    font-weight: 600;
}

/* ===== EMAIL LINK ===== */
.contact-item a {
    font-size: 14px;
    color: #0056b3;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #003366;
    text-decoration: underline;
}

/* ===== ADDRESS SECTION ===== */
.contact-address {
    background: #f4f8fc;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: auto;
}

.contact-address h3 {
    color: #003366;
    margin-bottom: 14px;
    font-size: 20px;
    font-weight: 600;
}

.contact-address p {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

    .contact-details {
        grid-template-columns: 1fr;
    }

    .contact-title {
        font-size: 26px;
    }

    .page-header h1 {
        font-size: 28px;
    }
}


/* ================= HELP PAGE ================= */

.help-page {
    padding: 50px 20px;
    background-color: #f5f5f5;
}

.help-page h2 {
    text-align: center;
    color: #003366;
    margin-bottom: 40px;
}

.help-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.help-box {
    background: #ffffff;
    padding: 25px;
    border: 1px solid #ddd;
}

.help-box h3 {
    color: #003366;
    margin-bottom: 15px;
}

.help-box ul {
    padding-left: 20px;
}

.help-box ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

.help-box p {
    font-size: 14px;
    line-height: 1.6;
}

/* ================= STUDENT LOGIN PAGE ================= */

.login-page {
    background-color: #f5f5f5;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.login-box {
    background: #ffffff;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border: 1px solid #ddd;
    text-align: center;
}

.login-box h2 {
    color: #003366;
    margin-bottom: 10px;
}

.login-box p {
    font-size: 14px;
    margin-bottom: 25px;
    color: #555;
}

.login-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
}

.login-box button {
    width: 100%;
    padding: 10px;
    background-color: #003366;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.login-box button:hover {
    background-color: #c40000;
}

.login-links {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

.login-links a {
    font-size: 13px;
    text-decoration: none;
    color: #003366;
}

.login-links a:hover {
    text-decoration: underline;
}

/* ================= ADMIN LOGIN PAGE ================= */

.admin-login-page {
    background-color: #e9eef3;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.admin-login-box {
    background: #ffffff;
    padding: 45px;
    width: 100%;
    max-width: 380px;
    border-top: 5px solid #c40000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    text-align: center;
}

.admin-login-box h2 {
    color: #003366;
    margin-bottom: 8px;
}

.admin-login-box p {
    font-size: 13px;
    margin-bottom: 25px;
    color: #666;
}

.admin-login-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
}

.admin-login-box button {
    width: 100%;
    padding: 10px;
    background-color: #c40000;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.admin-login-box button:hover {
    background-color: #003366;
}

/* ================= ABOUT PAGE ================= */

.page-banner {
    background: linear-gradient(to right, #003366, #0055a5);
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

.about-page {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.about-container {
    max-width: 1100px;
    margin: auto;
}

.about-text {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid #003366;
}

.about-text h3 {
    margin-bottom: 10px;
    color: #003366;
}

.about-text ul {
    padding-left: 20px;
}

.about-text ul li {
    margin-bottom: 8px;
}

/* ================= DEPARTMENTS PAGE ================= */

.departments-page {
    padding: 50px 20px;
    background-color: #f5f5f5;
}

.dept-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.dept-card {
    background: #ffffff;
    padding: 25px;
    border-top: 4px solid #003366;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.dept-card h3 {
    color: #003366;
    margin-bottom: 10px;
}

.dept-card p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #555;
}

.dept-card a {
    text-decoration: none;
    font-weight: bold;
    color: #003366;
}

.dept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* ================= ACADEMICS PAGE ================= */

.academics-page {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.academics-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.academics-box {
    background: #ffffff;
    padding: 25px;
    border-left: 5px solid #003366;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.academics-box h3 {
    margin-bottom: 15px;
    color: #003366;
}

.academics-box ul {
    padding-left: 18px;
}

.academics-box ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

/* ================= ADMISSIONS PAGE ================= */

.admissions-page {
    padding: 50px 20px;
    background-color: #f5f5f5;
}

.admissions-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.admission-box {
    background: #ffffff;
    padding: 25px;
    border-top: 4px solid #003366;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.admission-box h3 {
    color: #003366;
    margin-bottom: 15px;
}

.admission-box ul,
.admission-box ol {
    padding-left: 20px;
}

.admission-box li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

/* ================= EXAMINATIONS PAGE ================= */

.examinations-page {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.exam-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.exam-box {
    background: #ffffff;
    padding: 25px;
    border-left: 5px solid #003366;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.exam-box h3 {
    color: #003366;
    margin-bottom: 15px;
}

.exam-box ul {
    padding-left: 20px;
}

.exam-box ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.exam-box a {
    text-decoration: none;
    color: #003366;
    font-weight: bold;
}

.exam-box a:hover {
    text-decoration: underline;
}

/* ================= FACULTY PAGE ================= */

.faculty-page {
    padding: 50px 20px;
    background-color: #f5f5f5;
}

.faculty-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
}

.faculty-card {
    background: #ffffff;
    padding: 20px;
    text-align: center;
    border-top: 4px solid #003366;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.faculty-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.faculty-card h3 {
    color: #003366;
    margin-bottom: 5px;
}

.faculty-card .designation {
    font-weight: bold;
    font-size: 14px;
    color: #444;
}

.faculty-card .department {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.faculty-card p {
    font-size: 13px;
    color: #555;
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* ================= RESULTS PAGE ================= */
.results-section {
    padding: 50px;
    display: flex;
    justify-content: center;
}

.results-box {
    width: 400px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

.results-box input {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
}

.results-box button {
    width: 100%;
    padding: 10px;
    background: #003366;
    color: #fff;
    border: none;
    cursor: pointer;
}

.result-display {
    margin-top: 20px;
    text-align: left;
}

.result-display .error {
    color: red;
    font-weight: bold;
}

/* ===== RESULT NOTICE BAR ===== */
.result-notice-bar {
    background-color: #8b0000;
    color: #ffffff;
    padding: 8px 0;
    font-size: 15px;
    text-align: center;
}

.result-notice-bar marquee {
    font-weight: bold;
}

.syllabus-section {
    padding: 50px;
    display: flex;
    justify-content: center;
}

.syllabus-box {
    width: 420px;
    background: #fff;
    padding: 30px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.syllabus-box select,
.syllabus-box button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

.syllabus-box button {
    background: #003366;
    color: #fff;
    border: none;
    cursor: pointer;
}

.syllabus-result {
    margin-top: 20px;
}

.download-btn {
    display: inline-block;
    margin-top: 10px;
    color: #003366;
    font-weight: bold;
}

/* ===== TIME TABLE ===== */
.timetable-section {
    padding: 50px;
    display: flex;
    justify-content: center;
}

.timetable-box {
    width: 90%;
    max-width: 900px;
}

.timetable-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.timetable-table th,
.timetable-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

.timetable-table th {
    background: #003366;
    color: #fff;
}

/* ===== HALL TICKET ===== */
.hallticket-section {
    padding: 50px;
    display: flex;
    justify-content: center;
}

.hallticket-box {
    width: 420px;
    background: #fff;
    padding: 30px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.hallticket-box input,
.hallticket-box select,
.hallticket-box button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

.hallticket-box button {
    background: #003366;
    color: #fff;
    border: none;
    cursor: pointer;
}

.hallticket-result {
    margin-top: 20px;
}

.hallticket-card {
    border: 1px solid #ccc;
    padding: 20px;
}

.hallticket-card h3 {
    text-align: center;
}

.error {
    color: red;
    font-weight: bold;
}

/* Wrapper to keep heading + card aligned */
.about-wrapper {
    display: flex;
    flex-direction: column;
}

/* Section heading outside box */
.section-heading {
    font-size: 22px;
    font-weight: 600;
    color: #003366;
    margin-bottom: 12px;
    position: relative;
}

/* Small underline effect */
.section-heading::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #003366;
    display: block;
    margin-top: 6px;
    border-radius: 2px;
}
