@import url(https://fonts.bunny.net/css?family=google-sans-flex:200,300,400,500,600,700,800,900|outfit:100,200,300,400,500,600,700,800,900);
:root{

--primary: #0B2F6A; /* Header */
--secondary: #174A96; /* Hover State */
--accent: #F5A623; /* Highlights & Icons */
--light: #FFFFFF; /* Cards */
--dark:#1f2937;
--gray: #F5F7FA; /* Section Background */
--border:#e5e7eb;
--hero-button: #14823B;
--footer-bg: #08254D;

}
a{
    text-decoration:none;
    
}
*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family: 'Google Sans Flex', sans-serif;
background:#fff;
}
.container{
width:min(1200px,92%);
margin:auto;
}

/* ========== Notices Page Styles ========== */
.notice-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    margin-bottom: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.notice-list li:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.notice-list li a {
    display: flex;
    align-items: center;
    flex-grow: 1;
    text-decoration: none;
    color: var(--text-primary);
    padding: 20px;
}

.notice-list .notice-icon {
    font-size: 22px;
    color: var(--primary);
    margin-right: 20px;
}

.notice-list .notice-title {
    font-weight: 500;
    flex-grow: 1;
    line-height: 1.4;
}

.notice-list .notice-date {
    color: #6c757d;
    font-size: 14px;
    margin-left: 20px;
    flex-shrink: 0;
    font-weight: 500;
}

.notice-list .new-badge {
    margin-left: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Lightbox Customizations */
.lightbox {
    background: rgba(20, 25, 30, 0.9);
}

.lightbox .lb-data .lb-caption {
    font-size: 16px;
    font-weight: 500;
    color: #eee;
}

/* ========== Materials Page Styles ========== */
.material-category-group {
    margin-bottom: 40px;
}

.material-category-group h3 {
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
    color: var(--primary);
}

.material-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.material-list li {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.material-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.09);
}

.material-list li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
}

.material-icon {
    font-size: 24px;
    color: var(--error); /* Using error color for PDF icon */
    margin-right: 20px;
}

.material-details {
    flex-grow: 1;
}

.material-title {
    font-weight: 500;
    display: block;
    line-height: 1.4;
}

.material-meta {
    font-size: 13px;
    color: #6c757d;
}

.material-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
    flex-shrink: 0;
}

.material-date {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.download-icon {
    color: var(--secondary);
    font-size: 18px;
    transition: color 0.2s;
}

.material-list li a:hover .download-icon {
    color: var(--primary);
}

/* Search Form Styles */
.search-container {
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-form {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.search-form input {
    flex-grow: 1;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    outline: none;
    font-family: inherit;
}

.search-form button {
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.search-form button:hover {
    background-color: var(--secondary);
}

/* ========== Trade Details Page Styles ========== */
.trade-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.trade-header img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.trade-header-content h1 {
    margin-bottom: 15px;
}

.trade-header-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.trade-header-content .course-meta {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.affiliation{
    background-color: var(--accent);
    color: var(--light);
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
}
.trade-sub-section {
    margin-top: 50px;
}

.sub-section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--primary);
    border-bottom: 2px solid var(--border);
    padding-bottom: 15px;
}

@media (max-width: 768px) {
    .trade-header {
        grid-template-columns: 1fr;
    }
}

/* ========== About Page Styles ========== */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.about-text h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    margin-top: 25px;
}

.about-text h2:first-of-type {
    margin-top: 0;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image {
        order: -1; /* Move image to the top on smaller screens */
        margin-bottom: 30px;
    }
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 40px;
    font-weight: 700;
}

/* ========== Contact Page Styles ========== */
.contact-form-container iframe {
    display: block;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-details,
.contact-form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.contact-details h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-details p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-list i {
    font-size: 20px;
    color: var(--primary);
}

.contact-info-list span {
    display: block;
    font-size: 14px;
    color: #6c757d;
}

.contact-info-list a {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* Full-width Map Section Styles */
.map-container-full {
    width: 100%;
}
.map-container-full iframe {
    display: block;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary);
}
.new-badge {
    background-color: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    margin-left: auto;
    flex-shrink: 0;
}

/* =================================== */
/* ========== Media Queries ========== */
/* =================================== */

/* Tablets and smaller desktops */
@media (max-width: 992px) {
    .course-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .faculty-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .message-section {
        flex-direction: column;
    }

    .principal-message,
    .whats-new-container {
        width: 100%;
    }
}

/* Mobile phones */
@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }

    .principal-message .message-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .course-grid,
    .faculty-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 26px;
    }

    .about-text h2, .contact-details h3, .sub-section-title {
        font-size: 22px;
    }

    .about-text p, .contact-details p {
        font-size: 15px;
    }
    .section-title, .principal-message h2, .whats-new-container h2 {
        font-size: 28px;
    }

}