/*main page appearance*/ 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    background-color: #737A8C; 
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* ===== NAVBAR HIDE/SHOW ON SCROLL ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* When the navbar should be hidden */
nav.nav-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto; /* Centers everything */
    display: flex;
    justify-content: space-between; /* Pushes logo left, menu right */
    align-items: center;
    padding: 0 20px;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.nav-menu {
    list-style: none; /* Removes bullet points */
    display: flex;
    gap: 30px; /* Space between menu items */
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #dce7f5; /* Changes color when you hover over it */
}

.nav-menu li a.active {
    color: #834950;
    border-bottom: 3px solid #834950;
}

.hero {
    /* This is your background image */
    background-image: url('homepage1.jpg'); /* Change this to your image filename */
    background-size: cover; /* Makes the image fill the whole section */
    background-position: center; /* Centers the image */
    background-attachment: fixed;
    height: 500px; /* Adjust this to make it taller or shorter */
    display: flex;
    align-items: center; /* Centers text vertically */
    justify-content: center; /* Centers text horizontally */
    text-align: center;
}


.hero-content {
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7); /* Makes text readable on any image */
    padding: 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 20px;
}

.hero-btn {
    background-color: #834950;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.hero-btn:hover {
    background-color: #834950;
}

.about-section {
    background-color: #fce6d7; /* Soft light gray */
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.text-col {
    flex: 2; /* Takes up 2/3 of the space */
}

.icon-col {
    flex: 1; /* Takes up 1/3 */
    text-align: center;
}

.text-col h2 {
    font-size: 36px;
    color: #535865;
    margin-bottom: 20px;
}

.text-col .lead {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
}

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

.text-link {
    color: #834950;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid #dce7f5;
    padding-bottom: 3px;
}

.section-image {
    width: 100%; /* Makes image fill the column */
    height: 350px; /* Fixed height for consistency */
    object-fit: cover; /* Crops image nicely to fit the box */
    border-radius: 12px; /* Rounded corners look modern */
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); /* Subtle shadow for depth */
    display: block;
}

/* ===== EVENTS SECTION ===== */
.events-section {
    background-color: #ffffff; /* Clean white, or use #fafafa for slight contrast */
    padding: 80px 20px;
}

.section-title {
    font-size: 38px;
    color: #535865;
    text-align: center;
    margin-bottom: 50px;
}

.events-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* ===== LEFT COLUMN: Current Events ===== */
.current-events {
    flex: 1.5; /* Takes up 60% of the space */
}

.recent-events {
    flex: 1; /* Takes up 40% of the space */
}

.column-heading {
    font-size: 24px;
    color: #535865;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #dce7f5;
    display: inline-block;
}

/* ===== EVENT ROWS ===== */
.event-row {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.event-row:hover {
    background-color: #fce6d7;
    margin: 0 -15px;
    padding: 20px 15px;
    border-radius: 8px;
}

.event-row:last-child {
    border-bottom: none;
}

/* Date box */
.event-date {
    background-color: #737A8C;
    color: white;
    border-radius: 8px;
    text-align: center;
    padding: 8px 15px;
    min-width: 60px;
    height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.event-date .day {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
}

.event-date .month {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Event text */
.event-details {
    flex: 1;
}

.event-name {
    font-size: 20px;
    color: #535865;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.event-desc {
    font-size: 16px;
    color: #555;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

/* ===== RIGHT COLUMN: Recent Events ===== */
.recent-events {
    flex: 1; /* Takes up 1/3 of the space */
}

.recent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 20px; /* Space between the two posters */
}

.recent-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left-aligns text */
}

/* Square Poster - The Magic Part! */
.poster-placeholder {
    background: linear-gradient(135deg, #737A8C, #535865);
    border-radius: 12px;
    width: 100%; /* Fills the column width */
    aspect-ratio: 1 / 1; /* Makes it a PERFECT SQUARE */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-placeholder:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.poster-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.poster-text {
    font-size: 14px;
    opacity: 0.7;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Recent event text */
.recent-date {
    font-size: 14px;
    color: #888;
    margin: 0 0 4px 0;
    font-weight: 500;
}

.recent-name {
    font-size: 18px;
    color: #535865;
    margin: 0 0 6px 0;
    font-weight: 600;
    line-height: 1.3;
}

/* ===== LEARN MORE LINK ===== */
.learn-more {
    color: #834950;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.learn-more:hover {
    color: #834950;
    transform: translateX(5px);
}
.events-footer {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    background-color: #737A8C;
    color: white;
    padding: 14px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.view-all-btn:hover {
    background-color: #834950;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .events-layout {
        flex-direction: column;
    }
    
    .current-events,
    .recent-events {
        flex: 1;
        width: 100%;
    }
    
    /* Current events: Date boxes stay horizontal on mobile */
    .event-row {
        flex-direction: row;
        gap: 15px;
        padding: 15px 0;
    }
    
    .event-date {
        min-width: 55px;
        height: 55px;
        padding: 5px 12px;
    }
    
    .event-date .day {
        font-size: 20px;
    }
    
    .event-date .month {
        font-size: 11px;
    }
    
    /* Recent events: Stack vertically on mobile */
    .recent-grid {
        grid-template-columns: 1fr; /* One column on phones */
        gap: 30px;
    }
    
    .poster-placeholder {
        height: auto;
        aspect-ratio: 1 / 1; /* Stays square even on mobile */
    }
}
/* ===== COURSES SECTION ===== */
.courses-section {
    /* Replace 'courses-bg.jpg' with your actual image filename */
    background-image: url('courses-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional: creates parallax effect */
    position: relative;
}

.courses-overlay {
    background-color: #535865; /* Dark overlay for readability */
    padding: 80px 20px;
}

.courses-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: stretch;
}

/* ===== LEFT COLUMN: General Info ===== */
.courses-info {
    flex: 1;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.courses-info h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color: white;
}

.courses-info .courses-lead {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 15px;
    opacity: 0.9;
}

.courses-info p {
    font-size: 17px;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 10px;
}

.courses-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #dce7f5;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== RIGHT COLUMN: Course List ===== */
.courses-list {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    align-self: flex-start;
}

.courses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #dce7f5;
}

.courses-header h3 {
    font-size: 24px;
    color: #535865;
    margin: 0;
}

.read-all-link {
    color: #834950;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.read-all-link:hover {
    color: #834950;
    transform: translateX(5px);
}

/* ===== INTERACTIVE COURSE ITEMS ===== */
.course-item {
    margin-bottom: 8px;
}

/* Hide the actual checkbox */
.course-toggle {
    display: none;
}

/* The clickable label (the course name row) */
.course-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fce6d7;
    padding: 14px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    user-select: none;
}

.course-label:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.course-name {
    font-size: 17px;
    font-weight: 600;
    color: #535865;
}

.course-arrow {
    font-size: 14px;
    color: #888;
    transition: transform 0.3s ease;
}

/* The hidden description (collapsed by default) */
.course-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    padding: 0 18px;
    background-color: #fce6d7;
    border-radius: 0 0 8px 8px;
}

.course-description p {
    margin: 0;
    padding: 0;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

/* When checkbox is checked: expand the description */
.course-toggle:checked + .course-label {
    border-radius: 8px 8px 0 0;
    background-color: #e9ecef;
}

.course-toggle:checked + .course-label .course-arrow {
    transform: rotate(180deg);
}

.course-toggle:checked + .course-label + .course-description {
    max-height: 200px; /* Adjust based on your content length */
    opacity: 1;
    padding: 15px 18px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .courses-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .courses-info {
        text-align: center;
    }
    
    .courses-stats {
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .courses-list {
        padding: 20px;
    }
    
    .courses-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .courses-info h2 {
        font-size: 30px;
    }
    
    .courses-section {
        background-attachment: scroll; /* Removes parallax on mobile for better performance */
    }
}
/* ===== FOOTER ===== */
.site-footer {
    background-color: #737A8C; /* Same as navigation bar */
    color: #d0d7de;
    padding-top: 50px;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 50px;
    align-items: start;
}

/* ===== Footer Columns ===== */
.footer-col h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dce7f5;
    display: inline-block;
}

/* Column 1: Contact Info */
.footer-col-contact {
    display: flex;
    flex-direction: column;
}

.footer-logos {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Makes logos white */
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-col-contact h4 {
    font-size: 16px;
    color: white;
    margin-top: 5px;
    border-bottom: none;
    padding-bottom: 0;
    display: block;
}

.footer-dept {
    font-size: 14px;
    margin: 2px 0;
    color: #d7dde0;
}

.footer-address {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.8;
    color: #d7dde0;
}

/* Column 2: Important Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d7dde0;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #dce7f5;
    transform: translateX(5px);
}

/* Column 3: Social / Contact */
.footer-col-social p {
    margin: 10px 0;
    font-size: 15px;
    color: #d7dde0;
}

.footer-col-social a {
    color: #d7dde0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col-social a:hover {
    color: #dce7f5;
}

.footer-icon {
    margin-right: 8px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-social .social-link {
    color: #d7dde0;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 14px;
    border: 1px solid #3a4a5a;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.footer-social .social-link:hover {
    color: white;
    background-color: #dce7f5;
    border-color: #dce7f5;
    transform: translateY(-2px);
}

/* ===== Footer Bottom Bar ===== */
.footer-bottom {
    background-color: #0f1a24; /* Slightly darker than footer */
    padding: 18px 0;
    margin-top: 40px;
    border-top: 1px solid #2a3a4a;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: #8a9aa8;
    margin: 0;
}

.footer-credit {
    color: #6a7a88;
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-bottom .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logos {
        justify-content: center;
    }
    
    .footer-col-contact h4 {
        text-align: center;
    }
    
    .footer-address {
        text-align: center;
    }
    
    .footer-col h4 {
        display: block;
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links a:hover {
        transform: none;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-col-social p {
        text-align: center;
    }
}
/* Intro Section - Full width, different background */
.about-intro-full {
    background-color: #A9AFB2; /* fallback behind the artwork */
    /* Self-contained artwork: preserve exact source pixels and keep columns at both edges. */
    background-image: url('about-column-left.svg'), url('about-column-right.svg'), url('about-line-art-embedded.svg?v=edge-layout-20261001');
    background-repeat: no-repeat;
    background-position: left center, right center, center center;
    background-size: auto 118%, auto 118%, cover;
    color: #293044;
    padding: 70px 20px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.about-intro-full .container {
    max-width: 900px;
    margin: 0 auto;
}

.about-intro-full h1 {
    font-size: 42px;
    color: #535865(4, 0, 0);
    margin-bottom: 25px;
    letter-spacing: 1px;
}


.about-intro-full .intro-text {
    font-size: 20px; /* Bigger than card text */
    line-height: 1.8;
    color: #293044;
    margin-bottom: 0;
}

/* Cards Section */
.about-content-modern {
    padding: 60px 20px;
    background-color: #fce6d7;
}

.about-content-modern .container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.card-tag {
    display: inline-block;
    background: #834950;
    color: white;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.about-card h2 {
    font-size: 30px;
    color: #535865;
    margin-bottom: 20px;
}

.about-card p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

/* ===== HISTORY TIMELINE ===== */
.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
}

.timeline-item {
    display: flex;
    gap: 25px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    font-size: 18px;
    font-weight: bold;
    color: #834950;
    min-width: 120px;
    flex-shrink: 0;
    padding-top: 2px;
}

.timeline-content {
    flex: 1;
}

.timeline-content p {
    margin: 0;
    font-size: 16px;
    color: #444;
    line-height: 1.7;
}

.timeline-item.highlight .timeline-content p {
    color: #737A8C;
}

/* ===== MISSION HIGHLIGHT ===== */
.mission-highlight {
    background: #737A8C;
    color: white;
    padding: 25px 30px;
    border-radius: 12px;
    margin-top: 20px;
}

.mission-highlight p {
    color: #d0d7de !important;
    margin: 0;
    font-size: 17px !important;
    line-height: 1.8 !important;
}

/* ===== TEACHING OBJECTIVES ===== */
.objectives-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

.objective-item {
    background: #fce6d7;
    padding: 25px 22px;
    border-radius: 12px;
    border-left: 4px solid #dce7f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objective-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.objective-item h4 {
    font-size: 18px;
    color: #737A8C;
    margin: 0 0 8px 0;
}

.objective-item p {
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .about-intro-full {
        padding: 50px 20px;
    }
    
    .about-intro-full h1 {
        font-size: 32px;
    }
    
    .about-intro-full .intro-lead {
        font-size: 20px;
    }
    
    .about-intro-full .intro-text {
        font-size: 17px;
    }
    
    .about-card {
        padding: 25px;
    }
    
    .about-card h2 {
        font-size: 26px;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 6px;
        padding: 15px 0;
    }
    
    .timeline-year {
        min-width: auto;
        font-size: 16px;
    }
    
    .timeline-item.highlight {
        margin: 0;
        padding: 15px;
    }
    
    .objectives-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-highlight {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .about-intro-full .intro-lead {
        font-size: 18px;
    }
    
    .about-intro-full .intro-text {
        font-size: 16px;
    }
    
    .objective-item {
        padding: 18px 16px;
    }
}
/* ===== DROPDOWN ===== */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #737A8C;
    min-width: 180px;
    padding: 8px 0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    list-style: none;
    z-index: 100;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: #dce7f5;
    color: #737A8C;
}

/* Show dropdown on hover */
.nav-dropdown:hover .dropdown-menu {
    display: block;
}

/* Keep the parent link styling consistent */
.nav-dropdown > a {
    cursor: pointer;
}
/* ===== STAFF PAGE ===== */

/* ===== STAFF HEADER ===== */
.staff-header {
    background: #A9AFB2;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    padding-top: 70px; /* Adjust this to match your navbar height */
}

.staff-header h1 {
    margin: 0;
    padding: 0;
    font-size: 48px;
    color: #dce7f5;
    font-weight: 600;
    text-align: center;
}

/* Staff Grid Section */
.staff-grid-section {
    padding: 60px 20px;
    background-color: #fce6d7;
}

.staff-grid-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

/* 3x3 Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* Staff Card */
.staff-card {
    background: white;
    border-radius: 16px;
    padding: 25px 20px 30px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(41, 48, 68, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(41, 48, 68, 0.15);
}

/* Staff Photo */
.staff-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    background-color: #fce6d7;
    border: 4px solid #dce7f5;
    box-shadow: 0 4px 12px rgba(41, 48, 68, 0.08);
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Staff Name & Position */
.staff-name {
    font-size: 20px;
    font-weight: 600;
    color: #293044;
    margin: 0 0 4px 0;
}

.staff-position {
    font-size: 15px;
    color: #737A8C;
    margin: 0;
    font-weight: 400;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .staff-header {
        height: 250px;
    }
    
    .staff-header h1 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    .staff-header {
        height: 200px;
    }
    
    .staff-header h1 {
        font-size: 28px;
        white-space: normal; /* Allows text to wrap if needed */
    }
    
    .staff-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .staff-photo {
        width: 100px;
        height: 100px;
    }
    
    .staff-name {
        font-size: 16px;
    }
    
    .staff-position {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .staff-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ===== STAFF PROFILE MODAL ===== */
.staff-card {
    cursor: pointer;
}

.staff-card:focus-visible {
    outline: 3px solid #737A8C;
    outline-offset: 4px;
}

body.modal-open {
    overflow: hidden;
}

.staff-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(20, 24, 34, 0.68);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4vh 4vw;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.staff-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.staff-modal {
    position: relative;
    width: min(1120px, 92vw);
    min-height: 72vh;
    max-height: 88vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
    padding: 48px;
    transform: translateY(18px) scale(0.98);
    transition: transform 0.25s ease;
}

.staff-modal-overlay.is-open .staff-modal {
    transform: translateY(0) scale(1);
}

.staff-modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #293044;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.staff-modal-close:hover,
.staff-modal-close:focus-visible {
    background-color: #fce6d7;
    transform: scale(1.05);
    outline: none;
}

.staff-modal-layout {
    min-height: calc(72vh - 96px);
    display: grid;
    grid-template-columns: minmax(240px, 34%) 1fr;
    gap: 56px;
    align-items: center;
}

.staff-modal-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 62vh;
    border-radius: 16px;
    background: #fce6d7;
    border: 3px solid #dce7f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #737A8C;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.staff-modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.staff-modal-content {
    padding-right: 36px;
}

.staff-modal-content h2 {
    margin: 0 0 28px;
    color: #293044;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
}

.staff-modal-content p {
    margin: 0;
    color: #535865;
    font-size: 18px;
    line-height: 1.85;
    white-space: pre-line;
}

@media (max-width: 760px) {
    .staff-modal-overlay {
        padding: 20px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .staff-modal {
        width: 100%;
        min-height: auto;
        max-height: none;
        margin: 20px 0;
        padding: 60px 24px 32px;
        border-radius: 20px;
    }

    .staff-modal-layout {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .staff-modal-photo {
        width: min(320px, 100%);
        margin: 0 auto;
        max-height: none;
    }

    .staff-modal-content {
        padding-right: 0;
    }

    .staff-modal-content h2 {
        font-size: 32px;
        margin-bottom: 18px;
    }

    .staff-modal-content p {
        font-size: 16px;
        line-height: 1.7;
    }
}


/* ===== ANNOUNCEMENTS PAGE ===== */
.announcements-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.announcements-header {
    background: #A9AFB2;
    padding: 140px 0 70px;
}

.announcements-header-inner {
    text-align: left;
}

.announcements-eyebrow,
.announcements-section-kicker {
    margin: 0 0 10px;
    color: #834950;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.announcements-header h1 {
    margin: 0 0 18px;
    color: #293044;
    font-size: 58px;
    line-height: 1.08;
}

.announcements-intro {
    max-width: 720px;
    margin: 0;
    color: #293044;
    font-size: 19px;
    line-height: 1.7;
}

.announcements-main {
    background: #ffffff;
    padding: 64px 0 80px;
}

.announcement-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 36px;
    align-items: stretch;
    margin-bottom: 60px;
    overflow: hidden;
    background: #fce6d7;
    border: 1px solid rgba(83, 88, 101, 0.08);
    border-radius: 18px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(41, 48, 68, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.announcement-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(41, 48, 68, 0.13);
}

.announcement-featured-copy {
    padding: 42px 44px;
}

.announcement-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.announcement-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.tag-ikal {
    background: #737A8C;
    color: #ffffff;
}

.tag-fei {
    background: #dce7f5;
    color: #535865;
}

.tag-students {
    background: #fce6d7;
    color: #535865;
}

.tag-deadline {
    background: #834950;
    color: #ffffff;
}

.announcement-date {
    color: #737A8C;
    font-size: 13px;
    font-weight: 600;
}

.announcement-featured h2 {
    margin: 0 0 16px;
    color: #293044;
    font-size: 34px;
    line-height: 1.2;
}

.announcement-featured p {
    max-width: 700px;
    margin: 0 0 24px;
    color: #535865;
    font-size: 17px;
    line-height: 1.75;
}

.announcement-read-link {
    color: #834950;
    font-weight: 700;
}

.announcement-featured-mark {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #737A8C;
    color: #dce7f5;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.announcements-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.82fr);
    gap: 46px;
    align-items: start;
}

.announcements-section-heading,
.important-dates-heading {
    margin-bottom: 24px;
}

.announcements-section-heading h2,
.important-dates-heading h2 {
    margin: 0;
    color: #535865;
    font-size: 30px;
}

.announcement-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.announcement-card {
    position: relative;
    min-height: 245px;
    display: flex;
    flex-direction: column;
    padding: 28px 28px 54px;
    background: #ffffff;
    border: 1px solid #e4e7eb;
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(41, 48, 68, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.announcement-card:hover {
    transform: translateY(-5px);
    border-color: #dce7f5;
    box-shadow: 0 12px 28px rgba(41, 48, 68, 0.11);
}

.announcement-card h3 {
    margin: 0 0 12px;
    color: #293044;
    font-size: 21px;
    line-height: 1.35;
}

.announcement-card p {
    margin: 0;
    color: #666b76;
    font-size: 15px;
    line-height: 1.65;
}

.announcement-card-arrow {
    position: absolute;
    right: 26px;
    bottom: 22px;
    color: #834950;
    font-size: 22px;
    font-weight: 700;
}

.important-dates-panel {
    padding: 28px;
    background: #fce6d7;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(41, 48, 68, 0.07);
}

.important-date-item {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 17px;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid rgba(83, 88, 101, 0.15);
    color: inherit;
    text-decoration: none;
}

.important-date-item:first-of-type {
    border-top: none;
}

.important-date-box {
    min-height: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #737A8C;
    border-radius: 12px;
    color: #ffffff;
}

.important-date-day {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.important-date-month {
    margin-top: 5px;
    color: #dce7f5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.important-date-type {
    display: block;
    margin-bottom: 4px;
    color: #834950;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.important-date-item h3 {
    margin: 0 0 4px;
    color: #293044;
    font-size: 16px;
    line-height: 1.35;
}

.important-date-item p {
    margin: 0;
    color: #737A8C;
    font-size: 13px;
    line-height: 1.4;
}

.important-date-item:hover h3 {
    color: #834950;
}

@media (max-width: 900px) {
    .announcement-featured {
        grid-template-columns: 1fr;
    }

    .announcement-featured-mark {
        min-height: 120px;
    }

    .announcements-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .announcements-header {
        padding: 115px 0 50px;
    }

    .announcements-header h1 {
        font-size: 38px;
    }

    .announcement-featured-copy {
        padding: 30px 26px;
    }

    .announcement-featured h2 {
        font-size: 27px;
    }

    .announcement-card-grid {
        grid-template-columns: 1fr;
    }

    .important-dates-panel {
        padding: 24px 20px;
    }
}


/* ===== STU FEI FOOTER LOGO ===== */
.footer-logo[src="fei-logo.png"],
.footer-logo-fei {
    height: 72px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    filter: none;
    background: #ffffff;
    padding: 7px 11px;
    border-radius: 8px;
}


/* ===== ANNOUNCEMENTS HEADING FONT ===== */
.announcements-header h1,
.announcements-main .announcement-featured h2,
.announcements-main .announcements-section-heading h2,
.announcements-main .important-dates-heading h2,
.announcements-main .announcement-card h3,
.announcements-main .important-date-item h3,
.announcements-main .announcement-featured-mark {
    font-family: "Arial Rounded MT Bold", "Arial Rounded MT", "Trebuchet MS", Arial, sans-serif !important;
    font-weight: 700;
}

/* ===== ANNOUNCEMENTS HEADER LINE ART ===== */
.announcements-header {
    position: relative;
    overflow: hidden;
    background: #A9AFB2;
}

.announcements-header-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.32;
    z-index: 0;
    pointer-events: none;
}

.announcements-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(169, 175, 178, 0.26);
    z-index: 0;
    pointer-events: none;
}

.announcements-header .announcements-container {
    position: relative;
    z-index: 1;
}
