/* ==========================================
   CSS Variables & Reset
   ========================================== */
:root {
    --navy: #1B3A6B;
    --navy-dark: #0D2247;
    --gold: #C8963E;
    --gold-lt: #F5DFA0;
    --cream: #F7F5F0;
    --bdr: #E4DDD0;
}

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

html,
body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--navy-dark);
    background: var(--cream);
    line-height: 1.6;
}

/* ==========================================
   Scroll Progress Bar
   ========================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-lt));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ==========================================
   Topbar
   ========================================== */
.topbar {
    background: var(--navy);
    color: var(--cream);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(200, 150, 62, 0.2);
}

.topbar-btn {
    padding: 0.4rem 1rem;
    background: rgba(200, 150, 62, 0.15);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--gold-lt);
}

.topbar-btn:hover {
    background: var(--gold);
    color: var(--navy-dark);
}

.topbar-btn-alt {
    padding: 0.4rem 1rem;
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--gold-lt);
}

.topbar-btn-alt:hover {
    background: var(--gold);
    color: var(--navy-dark);
}

/* ==========================================
   Header
   ========================================== */
.header {
    background: #fff;
    box-shadow: 0 1px 0 var(--bdr);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow .3s;
}

.header.scrolled {
    box-shadow: 0 4px 24px rgba(27, 58, 107, 0.12);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bdr);
    flex-shrink: 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-mobile-logo { display: none; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-en {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
}

.logo-bn {
    font-family: 'Noto Serif Bengali', serif;
    font-size: 12px;
    color: #64748b;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--navy);
    opacity: 0.7;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-link {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 13px;
    border-radius: 8px;
    text-decoration: none;
    transition: all .15s;
    position: relative;
}

.nav-link:hover {
    color: var(--navy);
    background: #F0F4FC;
}

.nav-link.active {
    color: var(--navy);
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 13px;
    right: 13px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    opacity: 0;
    transition: opacity .15s;
}

.nav-link.active::after {
    opacity: 1;
}

.cta-btn {
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s;
    font-family: 'DM Sans', sans-serif;
    margin-left: 6px;
}

.cta-btn:hover {
    background: #2563EB;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    height: 520px;
    overflow: hidden;
    background: var(--cream);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-container {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 60px;
    align-items: center;
    height: 100%;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 48px;
    box-sizing: border-box;
}

.slide-text {
    padding-right: 20px;
}

.slide-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}

.slide-image img {
    width: 700px;
    max-width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(13, 34, 71, 0.15);
}

.stag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(200, 150, 62, 0.1);
    border: 1px solid rgba(200, 150, 62, 0.25);
    border-radius: 6px;
}

.sh1 {
    font-family: 'DM Serif Display', serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 14px;
}

.sbn {
    display: block;
    font-family: 'Noto Serif Bengali', serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 20px;
}

.sdesc {
    font-size: 16px;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 0;
}

/* Slider Controls */
.sarr {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(27, 58, 107, 0.1);
    border: 1px solid rgba(27, 58, 107, 0.15);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sarr:hover {
    background: rgba(27, 58, 107, 0.15);
    transform: translateY(-50%) scale(1.08);
    border-color: rgba(27, 58, 107, 0.25);
}

.sarr.prev {
    left: 24px;
}

.sarr.next {
    right: 24px;
}

.sdots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(27, 58, 107, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--gold);
}

.scnt {
    position: absolute;
    bottom: 32px;
    right: 32px;
    z-index: 10;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.05em;
}

.scnt #scur {
    color: var(--navy);
    font-size: 15px;
}

/* ==========================================
   Stats Bar
   ========================================== */
.sbar {
    background: var(--navy);
    padding: 2rem 0;
}

.sbar-in {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.sitem {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.sitem:last-child {
    border-right: none;
}

.snum {
    font-family: 'DM Serif Display', serif;
    font-size: 34px;
    font-weight: 400;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.slbl {
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Legacy stats-bar classes for backward compatibility */
.stats-bar {
    background: var(--navy);
    padding: 2rem 0;
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: 'DM Serif Display', serif;
    font-size: 34px;
    font-weight: 400;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================
   Page Hero
   ========================================== */
.page-hero {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--gold-lt);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--gold);
}

/* ==========================================
   Info Cards Grid
   ========================================== */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--bdr);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(27, 58, 107, 0.12);
}

.info-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold), var(--gold-lt));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.8rem;
}

.info-card p {
    color: var(--navy-dark);
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   Contact Form
   ========================================== */
.form-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--bdr);
    box-shadow: 0 4px 16px rgba(27, 58, 107, 0.06);
}

.form-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.form-card > p {
    color: var(--navy-dark);
    opacity: 0.7;
    margin-bottom: 2rem;
}

.subject-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.subject-tag {
    padding: 0.6rem 1.2rem;
    background: var(--cream);
    border: 2px solid var(--bdr);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.subject-tag:hover {
    background: rgba(200, 150, 62, 0.1);
    border-color: var(--gold);
}

.subject-tag.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-lt));
    border-color: var(--gold);
    color: white;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.form-group label .required {
    color: #e74c3c;
    margin-left: 0.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--bdr);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--navy-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-lt));
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(200, 150, 62, 0.3);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(200, 150, 62, 0.4);
}

.form-success {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: rgba(46, 213, 115, 0.1);
    border: 2px solid #2ed573;
    border-radius: 8px;
    color: #27ae60;
    font-weight: 500;
    display: none;
}

.form-success.show {
    display: block;
}

/* ==========================================
   Sidebar Cards
   ========================================== */
.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--bdr);
    margin-bottom: 2rem;
}

.sidebar-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
}

.office-hours-table {
    width: 100%;
}

.office-hours-table tr {
    border-bottom: 1px solid var(--bdr);
}

.office-hours-table tr:last-child {
    border-bottom: none;
}

.office-hours-table td {
    padding: 0.8rem 0;
    font-size: 0.95rem;
}

.office-hours-table td:first-child {
    font-weight: 600;
    color: var(--navy);
}

.office-hours-table td:last-child {
    text-align: right;
    color: var(--navy-dark);
    opacity: 0.8;
}

.map-placeholder {
    background: var(--cream);
    border: 2px dashed var(--bdr);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    color: var(--navy);
    opacity: 0.6;
    margin-bottom: 2rem;
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.dept-card {
    padding: 1.5rem;
    background: var(--cream);
    border-radius: 8px;
    border: 1px solid var(--bdr);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dept-card:hover {
    background: white;
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(27, 58, 107, 0.08);
}

.dept-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.dept-card p {
    font-size: 0.85rem;
    color: var(--navy-dark);
    opacity: 0.7;
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq-section {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--bdr);
}

.faq-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2rem;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid var(--bdr);
    padding: 1.5rem 0;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-chevron {
    width: 24px;
    height: 24px;
    color: var(--gold);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-top: 1rem;
}

.faq-answer p {
    color: var(--navy-dark);
    opacity: 0.8;
    line-height: 1.7;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--navy);
    color: var(--cream);
    margin-top: 6rem;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gold-lt);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold-lt);
    padding-left: 0.5rem;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 3rem 0;
}

/* ==========================================
   Utilities
   ========================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .info-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .dept-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   News & Announcements Page
   ========================================== */

/* Container */
.W {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Scroll progress bar */
.sprg {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gold);
    z-index: 999;
    transition: width .1s;
}

/* Page Hero */
.ph {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1e4d8c 100%);
    padding: 68px 0 80px;
    position: relative;
    overflow: hidden;
}

.ph-c {
    position: absolute;
    border-radius: 50%;
    opacity: .06;
}

.ph-in {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.ph-lbl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-lt);
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ph-lbl::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
    display: inline-block;
}

.ph-ttl {
    font-family: 'DM Serif Display', serif;
    font-size: 52px;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 12px;
}

.ph-sub {
    font-size: 16.5px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 540px;
    line-height: 1.75;
}

/* Breadcrumb */
.bc {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
}

.bcl {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    text-decoration: none;
}

.bcl:hover {
    color: rgba(255, 255, 255, 0.7);
}

.bcs {
    color: rgba(255, 255, 255, 0.25);
    font-size: 13px;
}

.bcc {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 500;
}

/* Fade-up animation */
.fu {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}

.fu.vis {
    opacity: 1;
    transform: translateY(0);
}

.fd1 { transition-delay: .06s; }
.fd2 { transition-delay: .12s; }
.fd3 { transition-delay: .18s; }
.fd4 { transition-delay: .24s; }

/* Filter Strip */
.filter-strip {
    background: #fff;
    border-bottom: 1px solid var(--bdr);
    padding: 16px 0;
    position: sticky;
    top: 70px;
    z-index: 90;
    box-shadow: 0 2px 12px rgba(27, 58, 107, 0.05);
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search-wrap {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 320px;
}

.search-wrap svg {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.search-inp {
    width: 100%;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    padding: 9px 12px 9px 38px;
    font-size: 13.5px;
    color: #334155;
    font-family: 'DM Sans', sans-serif;
    transition: border-color .2s, box-shadow .2s;
}

.search-inp:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.1);
}

.cat-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.cpill {
    padding: 7px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: 1.5px solid #E2E8F0;
    color: #64748b;
    background: #fff;
    transition: all .15s;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
}

.cpill:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.cpill.on {
    background: #EEF3FB;
    border-color: var(--navy);
    color: var(--navy);
    font-weight: 600;
}

.sort-sel {
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    padding: 8px 32px 8px 12px;
    font-size: 13.5px;
    color: #475569;
    font-family: 'DM Sans', sans-serif;
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11'%3E%3Cpath fill='%2364748b' d='M5.5 7L1 2h9z'/%3E%3C/svg%3E") no-repeat right 12px center;
    cursor: pointer;
    transition: border-color .2s;
}

.sort-sel:focus {
    outline: none;
    border-color: var(--navy);
}

.result-count {
    margin-left: auto;
    font-size: 13px;
    color: #94a3b8;
    white-space: nowrap;
}

/* Main Layout */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    padding: 32px 0 80px;
    align-items: start;
}

.pull-up {
    margin-top: 0;
    position: relative;
    z-index: 20;
}

/* Featured Article */
.featured {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--bdr);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(27, 58, 107, 0.07);
    transition: box-shadow .25s, transform .25s;
    cursor: pointer;
}

.featured:hover {
    box-shadow: 0 12px 40px rgba(27, 58, 107, 0.13);
    transform: translateY(-3px);
}

.feat-img {
    height: 340px;
    background: linear-gradient(135deg, var(--navy), #2E5FA3);
    display: flex;
align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feat-img-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 5px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.feat-body {
    padding: 32px;
}

.feat-cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 10px;
}

.feat-title {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 12px;
}

.feat-excerpt {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.feat-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12.5px;
    color: #94a3b8;
}

.feat-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: #fff;
    border-radius: 9px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s;
    font-family: 'DM Sans', sans-serif;
    margin-top: 20px;
}

.read-btn:hover {
    background: #2563EB;
    transform: translateY(-1px);
}

/* Article Cards */
.article-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.acard {
    background: #fff;
    border: 1px solid var(--bdr);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    cursor: pointer;
}

.acard:hover {
    box-shadow: 0 8px 32px rgba(27, 58, 107, 0.1);
    transform: translateY(-3px);
}

.acard-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.acard-body {
    padding: 20px;
}

.acard-cat {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 8px;
}

.acard-title {
    font-family: 'DM Serif Display', serif;
    font-size: 18px;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 8px;
}

.acard-excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.acard-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #94a3b8;
}

.acard-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Load More & Pagination */
.load-btn {
    width: 100%;
    background: #fff;
    border: 1.5px solid var(--bdr);
    border-radius: 12px;
    padding: 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
}

.load-btn:hover {
    border-color: var(--navy);
    background: #F0F4FC;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}

.page-btn {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    border: 1.5px solid var(--bdr);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    color: #475569;
    background: #fff;
    transition: all .15s;
}

.page-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.page-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.page-btn.arrow {
    color: #94a3b8;
}

/* Categories Sidebar */
.cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
}

.cat-row:hover {
    background: #F0F4FC;
}

.cat-row.sel {
    background: #EEF3FB;
}

.cat-name {
    font-size: 13.5px;
    color: #334155;
    font-weight: 500;
}

.cat-cnt {
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    background: #EEF3FB;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Popular Posts */
.pop-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #F1F5F9;
    cursor: pointer;
}

.pop-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pop-img {
    width: 64px;
    height: 64px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pop-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pop-date {
    font-size: 11px;
    color: #94a3b8;
}

/* Newsletter */
.nl-card {
    background: var(--navy);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.nl-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
}

.nl-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 18px;
}

.nl-inp {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13.5px;
    color: #1e293b;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 10px;
}

.nl-inp:focus {
    outline: none;
}

.nl-btn {
    width: 100%;
    background: var(--gold);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background .2s;
}

.nl-btn:hover {
    background: #b5832e;
}

/* Tags Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 500;
    border: 1px solid var(--bdr);
    color: #64748b;
    cursor: pointer;
    background: #fff;
    transition: all .15s;
}

.tag:hover {
    border-color: var(--navy);
    color: var(--navy);
    background: #F0F4FC;
}

/* Sidebar Card */
.sb-card {
    background: #fff;
    border: 1px solid var(--bdr);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(27, 58, 107, 0.04);
}

.sb-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 16px;
}

.sb-divider {
    width: 36px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
    margin-bottom: 14px;
}

/* List View Articles */
.alist {
    background: #fff;
    border: 1px solid var(--bdr);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    margin-bottom: 14px;
    transition: box-shadow .2s, transform .2s;
    cursor: pointer;
}

.alist:hover {
    box-shadow: 0 6px 24px rgba(27, 58, 107, 0.09);
    transform: translateY(-2px);
}

.alist-img {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
}

.alist-body {
    padding: 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.alist-top { flex: 1; }

.alist-cat {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .09em;
    margin-bottom: 6px;
}

.alist-title {
    font-family: 'DM Serif Display', serif;
    font-size: 18px;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 7px;
}

.alist-excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.alist-bot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}

.alist-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11.5px;
    color: #94a3b8;
}

.alist-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.alist-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap .15s;
}

.alist-link:hover { gap: 8px; }

/* Category Color Badges */
.c-society { background: #EEF3FB; color: var(--navy); }
.c-fee { background: #fef2f2; color: #b91c1c; }
.c-digital { background: #f0fdf4; color: #15803d; }
.c-infra { background: #fffbeb; color: #b45309; }
.c-event { background: #f5f3ff; color: #7c3aed; }
.c-env { background: #ecfdf5; color: #059669; }
.c-award { background: #fff7ed; color: #c2410c; }

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 4px;
    background: #F1F5F9;
    border-radius: 8px;
    padding: 3px;
}

.vt-btn {
    width: 32px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all .15s;
}

.vt-btn.on {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 1px 4px rgba(27, 58, 107, 0.1);
}

/* News Article Modal */
.modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(15, 25, 50, 0.6);
    z-index: 200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
}

.modal-box {
    background: #fff;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 32px 80px rgba(15, 25, 50, 0.25);
    animation: mslide .35s ease;
}

@keyframes mslide {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-img {
    height: 340px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #475569;
    transition: background .15s;
}

.modal-close:hover {
    background: #fff;
}

.modal-body {
    padding: 36px;
}

.modal-cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 10px;
}

.modal-title {
    font-family: 'DM Serif Display', serif;
    font-size: 30px;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 14px;
}

.modal-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12.5px;
    color: #94a3b8;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F1F5F9;
}

.modal-text p {
    font-size: 15px;
    color: #475569;
    line-height: 1.85;
    margin-bottom: 16px;
}

.modal-text h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: var(--navy);
    margin: 24px 0 10px;
}

.modal-text ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.modal-text li {
    font-size: 15px;
    color: #475569;
    line-height: 1.85;
    margin-bottom: 6px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #F1F5F9;
}

.mtag {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    background: #EEF3FB;
    color: var(--navy);
}

/* ==========================================
   NOTICES PAGE
   ========================================== */

/* Page grid */
.notice-page-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    padding: 52px 0 64px;
    align-items: start;
}

/* Notice Card */
.nc {
    background: #fff;
    border: 1px solid var(--bdr);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    transition: box-shadow .2s, transform .2s;
    cursor: pointer;
}
.nc:hover { box-shadow: 0 8px 28px rgba(27,58,107,0.09); transform: translateY(-2px); }

/* Urgent notice top bar */
.nc.urgent { border-color: #ef4444; }
.nc-urgent-bar {
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    padding: 6px 24px;
    text-transform: uppercase;
}

/* Inner row layout */
.nc-inner {
    display: flex;
    gap: 20px;
    padding: 22px 24px;
}

/* Date column */
.nc-date-col {
    flex-shrink: 0;
    width: 54px;
    background: linear-gradient(135deg, #EEF3FB, #dce8f8);
    border: 1px solid rgba(27,58,107,0.12);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    align-self: flex-start;
}
.nc-day { font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1; }
.nc-mon { font-size: 10px; color: #64748b; text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }

/* Notice body */
.nc-body { flex: 1; }
.nc-top { margin-bottom: 8px; }

.nc-title {
    font-family: 'DM Serif Display', serif;
    font-size: 17.5px;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 8px;
}
.nc-desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 12px;
}

/* Badge */
.nc-badge {
    display: inline-flex;
    align-items: center;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.nb-urgent   { background: #ef4444;              color: #fff; }
.nb-meeting  { background: rgba(200,150,62,.15); color: #92681c; }
.nb-fee      { background: rgba(220,38,38,.12);  color: #b91c1c; }
.nb-circular { background: rgba(124,58,237,.12); color: #6d28d9; }
.nb-general  { background: rgba(27,58,107,.1);   color: var(--navy); }

/* Meta row */
.nc-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.nc-metaitem { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #94a3b8; }

/* Actions */
.nc-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.nc-btn-view {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: color .15s;
}
.nc-btn-view:hover { color: var(--gold); }

.nc-btn-dl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    border: 1.5px solid var(--bdr);
    border-radius: 8px;
    padding: 6px 14px;
    transition: all .15s;
}
.nc-btn-dl:hover { border-color: var(--navy); background: #F0F4FC; }

/* Urgent alert sidebar card */
.nc-alert-card {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 20px;
    color: #fff;
}
.nc-alert-icon { font-size: 22px; margin-bottom: 8px; }
.nc-alert-title {
    font-family: 'DM Serif Display', serif;
    font-size: 17px;
    margin-bottom: 8px;
}
.nc-alert-desc {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,.85);
    margin-bottom: 14px;
}
.nc-alert-link {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 8px;
    padding: 7px 16px;
    transition: background .15s;
}
.nc-alert-link:hover { background: rgba(255,255,255,.25); }

/* Responsive */
@media (max-width: 1024px) {
    .notice-page-grid { grid-template-columns: 1fr; gap: 24px; padding: 36px 0 48px; }
}
@media (max-width: 640px) {
    .nc-inner { gap: 12px; padding: 16px; }
    .nc-date-col { width: 46px; }
    .nc-day { font-size: 20px; }
    .nc-title { font-size: 15.5px; }
    .nc-desc { font-size: 13px; }
}

/* ==========================================
   GALLERY PAGE
   ========================================== */

/* Filter bar */
.gal-fbar {
    background: #fff;
    border-bottom: 1px solid var(--bdr);
    padding: 14px 0;
    position: sticky;
    top: 70px;
    z-index: 90;
    box-shadow: 0 2px 10px rgba(27,58,107,0.06);
}
.gal-frow {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.gal-count { margin-left: auto; font-size: 13px; color: #94a3b8; white-space: nowrap; }
.gal-vtoggle { display: flex; gap: 3px; background: #F1F5F9; border-radius: 8px; padding: 3px; }
.gal-vtbtn { width: 32px; height: 28px; border-radius: 6px; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #94a3b8; transition: all .15s; }
.gal-vtbtn.on { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(27,58,107,0.1); }

/* Stats row */
.gal-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.gal-scard { background: #fff; border: 1px solid var(--bdr); border-radius: 14px; padding: 20px; text-align: center; box-shadow: 0 4px 18px rgba(27,58,107,0.07); }
.gal-snum { font-family: 'DM Serif Display', serif; font-size: 32px; color: var(--navy); line-height: 1; }
.gal-slbl { font-size: 12px; color: #94a3b8; margin-top: 5px; text-transform: uppercase; letter-spacing: .06em; }

/* Section heading */
.gal-sh { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.gal-sh-lbl { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: .13em; text-transform: uppercase; margin-bottom: 8px; }
.gal-sh-lbl::before { content: ''; width: 22px; height: 2px; background: var(--gold); border-radius: 1px; display: inline-block; }
.gal-sh-ttl { font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--navy); line-height: 1.2; }
.view-all { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: gap .15s; }
.view-all:hover { gap: 10px; }

/* Shared image/overlay */
.gal-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; transition: transform .4s ease; font-size: 1px; }
.gal-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,34,71,.82) 0%, rgba(13,34,71,.15) 55%, transparent 100%); opacity: 0; transition: opacity .25s; }

/* Color swatches for gradient backgrounds */
.g1  { background: linear-gradient(135deg,#1B3A6B,#2E5FA3); }
.g2  { background: linear-gradient(135deg,#C8963E,#F5DFA0); }
.g3  { background: linear-gradient(135deg,#065f46,#34d399); }
.g4  { background: linear-gradient(135deg,#7c3aed,#a78bfa); }
.g5  { background: linear-gradient(135deg,#b91c1c,#f87171); }
.g6  { background: linear-gradient(135deg,#0891b2,#67e8f9); }
.g7  { background: linear-gradient(135deg,#374151,#9ca3af); }
.g8  { background: linear-gradient(135deg,#b45309,#fbbf24); }
.g9  { background: linear-gradient(135deg,#15803d,#4ade80); }
.g10 { background: linear-gradient(135deg,#be185d,#f9a8d4); }
.g11 { background: linear-gradient(135deg,#1d4ed8,#60a5fa); }
.g12 { background: linear-gradient(135deg,#6d28d9,#c4b5fd); }

/* Caption */
.gal-caption-show { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px; background: linear-gradient(to top, rgba(13,34,71,.85), transparent); }
.gal-tag { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 7px; }
.gal-ttl  { color: #fff; font-family: 'DM Serif Display', serif; font-size: 20px; line-height: 1.3; }
.gal-ttl-sm { color: #fff; font-family: 'DM Serif Display', serif; font-size: 16px; line-height: 1.3; margin-bottom: 4px; }
.gal-meta { color: rgba(255,255,255,.6); font-size: 12px; margin-top: 5px; display: flex; align-items: center; gap: 10px; }

/* Play button */
.gal-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; transition: transform .2s, box-shadow .2s; box-shadow: 0 4px 20px rgba(0,0,0,.2); z-index: 2; }
.gal-play-btn:hover { transform: translate(-50%,-50%) scale(1.1); box-shadow: 0 8px 28px rgba(0,0,0,.3); }
.gal-play-pulse { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 80px; height: 80px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); animation: gal-pulse 2s ease infinite; z-index: 1; }
@keyframes gal-pulse { 0% { transform: translate(-50%,-50%) scale(.85); opacity: 1; } 100% { transform: translate(-50%,-50%) scale(1.4); opacity: 0; } }

/* Featured strip */
.gal-featured { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; margin-bottom: 16px; }
.gal-feat-main { border-radius: 18px; overflow: hidden; position: relative; cursor: pointer; height: 420px; }
.gal-feat-main:hover .gal-img { transform: scale(1.06); }
.gal-feat-main:hover .gal-overlay { opacity: 1; }
.gal-feat-side { display: flex; flex-direction: column; gap: 16px; }
.gal-feat-sm { border-radius: 14px; overflow: hidden; position: relative; cursor: pointer; flex: 1; }
.gal-feat-sm:hover .gal-img { transform: scale(1.06); }
.gal-feat-sm:hover .gal-overlay { opacity: 1; }

/* Section grid — 3-col with optional wide */
.gal-sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.gal-gcard { border-radius: 14px; overflow: hidden; position: relative; cursor: pointer; aspect-ratio: 4/3; }
.gal-gcard:hover .gal-img { transform: scale(1.06); }
.gal-gcard:hover .gal-overlay { opacity: 1; }
.gal-wide { grid-column: span 2; }
.gal-sq   { aspect-ratio: 1; }

/* 4-col grid */
.gal-4col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
/* 3-col grid */
.gal-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }

/* Video grid */
.gal-vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal-vcard { background: #fff; border: 1px solid var(--bdr); border-radius: 16px; overflow: hidden; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.gal-vcard:hover { box-shadow: 0 8px 32px rgba(27,58,107,.12); transform: translateY(-3px); }
.gal-vthumb { height: 200px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gal-vthumb:hover .gal-img { transform: scale(1.06); }
.gal-vdur { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,.7); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 5px; z-index: 3; }
.gal-vbody { padding: 16px; }
.gal-vcat  { font-size: 10.5px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 7px; }
.gal-vttl  { font-family: 'DM Serif Display', serif; font-size: 16px; color: var(--navy); line-height: 1.35; margin-bottom: 6px; }
.gal-vmeta { font-size: 12px; color: #94a3b8; display: flex; align-items: center; gap: 10px; }

/* Album grid */
.gal-album-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gal-album-card { background: #fff; border: 1px solid var(--bdr); border-radius: 14px; overflow: hidden; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.gal-album-card:hover { box-shadow: 0 8px 28px rgba(27,58,107,.1); transform: translateY(-3px); }
.gal-album-thumb { height: 160px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gal-album-count { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 5px; }
.gal-album-body  { padding: 14px; }
.gal-album-name  { font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.gal-album-date  { font-size: 11.5px; color: #94a3b8; }

/* Load more */
.gal-load-btn { border: 1.5px solid var(--bdr); border-radius: 12px; padding: 14px 36px; font-size: 14px; font-weight: 600; color: var(--navy); background: #fff; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; font-family: 'DM Sans', sans-serif; }
.gal-load-btn:hover { border-color: var(--navy); background: #F0F4FC; }

/* Lightbox */
.gal-lbox { position: fixed; inset: 0; background: rgba(10,16,30,.96); z-index: 300; display: flex; align-items: center; justify-content: center; animation: lbfade .25s ease; }
@keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }
.gal-lbox-inner { position: relative; max-width: 960px; width: 100%; padding: 20px; }
.gal-lbox-img { width: 100%; border-radius: 14px; overflow: hidden; }
.gal-lbox-close { position: absolute; top: -8px; right: 8px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: background .15s; z-index: 10; }
.gal-lbox-close:hover { background: rgba(255,255,255,.22); }
.gal-lbox-prev, .gal-lbox-next { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 24px; transition: background .15s; z-index: 10; }
.gal-lbox-prev { left: -64px; }
.gal-lbox-next { right: -64px; }
.gal-lbox-prev:hover, .gal-lbox-next:hover { background: rgba(255,255,255,.22); }
.gal-lbox-caption { text-align: center; margin-top: 16px; }
.gal-lbox-tag  { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: .08em; background: var(--gold); color: #fff; margin-bottom: 8px; }
.gal-lbox-ttl  { color: #fff; font-family: 'DM Serif Display', serif; font-size: 22px; margin-bottom: 6px; }
.gal-lbox-meta { color: rgba(255,255,255,.45); font-size: 12.5px; }
.gal-lbox-counter { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.4); font-size: 12.5px; }
.gal-lbox-thumbs { display: flex; gap: 8px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.gal-lbox-thumb { width: 60px; height: 60px; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: .45; transition: opacity .15s; border: 2px solid transparent; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.gal-lbox-thumb.active { opacity: 1; border-color: #fff; }

/* Responsive */
@media (max-width: 1024px) {
    .gal-stats     { grid-template-columns: repeat(2, 1fr); }
    .gal-featured  { grid-template-columns: 1fr; }
    .gal-feat-side { flex-direction: row; gap: 12px; }
    .gal-feat-sm   { height: 160px; }
    .gal-feat-main { height: 280px; }
    .gal-album-grid { grid-template-columns: repeat(2, 1fr); }
    .gal-vid-grid  { grid-template-columns: repeat(2, 1fr); }
    .gal-4col      { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .gal-sec-grid  { grid-template-columns: 1fr 1fr; }
    .gal-wide      { grid-column: span 2; }
    .gal-3col      { grid-template-columns: 1fr 1fr; }
    .gal-vid-grid  { grid-template-columns: 1fr; }
    .gal-4col      { grid-template-columns: 1fr 1fr; }
    .gal-lbox-prev { left: -20px; }
    .gal-lbox-next { right: -20px; }
    .gal-lbox-thumbs { display: none; }
}
@media (max-width: 480px) {
    .gal-album-grid { grid-template-columns: 1fr 1fr; }
    .gal-3col { grid-template-columns: 1fr; }
    .gal-feat-side { flex-direction: column; }
    .gal-feat-sm { height: 140px; }
}

/* ==========================================
   ABOUT US PAGE
   ========================================== */

/* Stats bar */
.au-statsbar { background: var(--navy); padding: 32px 0; }
.au-stats-row { display: flex; align-items: center; justify-content: space-around; }
.au-stat-item { text-align: center; }
.au-stat-num { font-family: 'DM Serif Display', serif; font-size: 38px; color: #fff; line-height: 1; }
.au-stat-lbl { font-size: 12px; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .09em; margin-top: 6px; }
.au-stat-div { width: 1px; height: 48px; background: rgba(255,255,255,.12); }

/* Section wrapper */
.au-section { padding: 80px 0; }

/* Split layout */
.au-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* Labels */
.au-label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: .13em; text-transform: uppercase; margin-bottom: 12px; }
.au-label-bar { width: 22px; height: 2px; background: var(--gold); border-radius: 1px; display: inline-block; }

/* Headings */
.au-ttl { font-family: 'DM Serif Display', serif; font-size: 36px; color: var(--navy); line-height: 1.2; margin-bottom: 6px; }
.au-rule { width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin: 16px 0 24px; }
.au-body { font-size: 15px; color: #475569; line-height: 1.85; margin-bottom: 16px; }
.au-center-head { text-align: center; margin-bottom: 40px; }
.au-center-sub { font-size: 15px; color: #64748b; margin-top: 10px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Feature cards (2x2 in story section) */
.au-feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.au-feat-card { background: #fff; border: 1px solid var(--bdr); border-radius: 12px; padding: 16px; }
.au-feat-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.au-feat-ttl { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.au-feat-sub { font-size: 12px; color: #94a3b8; line-height: 1.5; }

/* Illustration */
.au-illus-wrap { position: relative; }
.au-illus { width: 100%; height: 460px; border-radius: 16px; background: linear-gradient(135deg,#1B3A6B 0%,#2E5FA3 50%,#C8963E 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; box-shadow: 0 20px 60px rgba(27,58,107,0.18); }
.au-illus-badge { position: absolute; bottom: 18px; right: 18px; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); border-radius: 12px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.18); }
.au-illus-counter { position: absolute; bottom: -18px; left: -18px; background: #fff; border-radius: 14px; padding: 20px 22px; box-shadow: 0 8px 32px rgba(27,58,107,.14); border: 1px solid var(--bdr); }
.au-illus-num { font-family: 'DM Serif Display', serif; font-size: 38px; color: var(--navy); line-height: 1; }
.au-illus-ctxt { font-size: 12px; color: #64748b; margin-top: 4px; }
.au-illus-bar { width: 28px; height: 2px; background: var(--gold); border-radius: 1px; margin-top: 10px; }

/* Mission & Vision */
.au-mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.au-mv-card { border-radius: 18px; padding: 36px; }
.au-mv-mission { background: var(--navy); color: rgba(255,255,255,.75); }
.au-mv-vision  { background: #fff; border: 1.5px solid var(--bdr); box-shadow: 0 6px 28px rgba(27,58,107,.07); }
.au-mv-icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.au-mv-tag { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: .09em; background: rgba(255,255,255,.12); color: rgba(255,255,255,.7); margin-bottom: 12px; }
.au-mv-ttl  { font-family: 'DM Serif Display', serif; font-size: 24px; color: #fff; margin-bottom: 14px; }
.au-mv-body { font-size: 14.5px; line-height: 1.8; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.au-mv-list { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: rgba(255,255,255,.55); font-size: 13.5px; }
.au-mv-list li::before { content: '›'; color: var(--gold); margin-right: 8px; font-weight: 700; }

/* Timeline */
.au-timeline { position: relative; max-width: 900px; margin: 0 auto; }
.au-tl-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--bdr); transform: translateX(-50%); }
.au-tl-item { display: grid; grid-template-columns: 1fr 16px 1fr; column-gap: 24px; margin-bottom: 40px; align-items: start; }
.au-tl-left  { }
.au-tl-right { }
.au-tl-left  .au-tl-card { grid-column: 1; grid-row: 1; }
.au-tl-left  .au-tl-dot  { grid-column: 2; grid-row: 1; }
.au-tl-right .au-tl-dot  { grid-column: 2; grid-row: 1; }
.au-tl-right .au-tl-card { grid-column: 3; grid-row: 1; }
.au-tl-card { background: #fff; border: 1px solid var(--bdr); border-radius: 14px; padding: 22px 24px; box-shadow: 0 4px 18px rgba(27,58,107,.06); }
.au-tl-left .au-tl-card  { text-align: right; }
.au-tl-year { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--gold); margin-bottom: 6px; }
.au-tl-ttl  { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.au-tl-body { font-size: 13.5px; color: #64748b; line-height: 1.7; }
.au-tl-dot  { width: 16px; height: 16px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--navy); margin-top: 22px; flex-shrink: 0; }

/* Core Values */
.au-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.au-val-card { background: #fff; border: 1px solid var(--bdr); border-radius: 14px; padding: 24px; box-shadow: 0 4px 18px rgba(27,58,107,.05); transition: box-shadow .2s, transform .2s; }
.au-val-card:hover { box-shadow: 0 8px 32px rgba(27,58,107,.1); transform: translateY(-3px); }
.au-val-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.au-val-ttl  { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.au-val-body { font-size: 13.5px; color: #64748b; line-height: 1.7; }

/* Committee */
.au-committee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.au-com-card { background: #fff; border: 1px solid var(--bdr); border-radius: 16px; overflow: hidden; display: flex; gap: 16px; padding: 20px; box-shadow: 0 4px 18px rgba(27,58,107,.05); transition: box-shadow .2s, transform .2s; }
.au-com-card:hover { box-shadow: 0 8px 28px rgba(27,58,107,.1); transform: translateY(-2px); }
.au-com-avatar { width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.au-com-body { flex: 1; min-width: 0; }
.au-com-role { font-size: 10.5px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.au-com-name { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 4px; }
.au-com-dept { font-size: 11.5px; color: #94a3b8; margin-bottom: 8px; }
.au-com-contact { font-size: 11.5px; color: #64748b; display: flex; align-items: center; gap: 5px; }

/* Amenities list */
.au-amen-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.au-amen-item { display: flex; align-items: flex-start; gap: 14px; }
.au-amen-dot  { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.au-amen-ttl  { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.au-amen-sub  { font-size: 12.5px; color: #94a3b8; }

/* Block layout grid */
.au-blocks-wrap { }
.au-blocks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.au-block-card { border: 1px solid var(--bdr); border-radius: 12px; padding: 16px; text-align: center; background: #fff; }
.au-block-letter { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: 22px; margin: 0 auto 10px; }
.au-block-ttl { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.au-block-sub { font-size: 11.5px; color: #94a3b8; }
.au-blocks-note { font-size: 12.5px; color: #94a3b8; text-align: center; font-style: italic; border-top: 1px solid var(--bdr); padding-top: 14px; }

/* CTA strip */
.au-cta { position: relative; background: var(--navy-dark); padding: 72px 0; overflow: hidden; }
.au-cta-bg { position: absolute; inset: 0; background: radial-gradient(circle at 65% 50%, rgba(200,150,62,.15) 0%, transparent 60%); }
.au-cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.au-cta-ttl  { font-family: 'DM Serif Display', serif; font-size: 32px; color: #fff; margin-bottom: 10px; }
.au-cta-sub  { font-size: 15px; color: rgba(255,255,255,.5); max-width: 420px; }
.au-cta-btns { display: flex; gap: 14px; flex-shrink: 0; }
.au-cta-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #fff; font-size: 14.5px; font-weight: 600; padding: 14px 28px; border-radius: 12px; text-decoration: none; transition: background .2s, transform .15s; }
.au-cta-primary:hover { background: #b8862e; transform: translateY(-1px); }
.au-cta-ghost  { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); font-size: 14.5px; font-weight: 600; padding: 14px 28px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.au-cta-ghost:hover { background: rgba(255,255,255,.14); }

/* Responsive */
@media (max-width: 1024px) {
    .au-split          { grid-template-columns: 1fr; gap: 36px; }
    .au-illus-wrap .au-illus { height: 320px; }
    .au-illus-counter  { bottom: -14px; left: -10px; }
    .au-mv-grid        { grid-template-columns: 1fr; }
    .au-committee-grid { grid-template-columns: 1fr 1fr; }
    .au-values-grid    { grid-template-columns: 1fr 1fr; }
    .au-tl-line        { display: none; }
    .au-tl-item        { display: flex; flex-direction: column !important; gap: 12px; }
    .au-tl-left  .au-tl-card, .au-tl-right .au-tl-card { grid-column: unset; grid-row: unset; text-align: left; }
    .au-tl-left  .au-tl-dot,  .au-tl-right .au-tl-dot  { display: none; }
    .au-tl-dot         { display: none; }
    .au-cta-inner      { flex-direction: column; text-align: center; }
    .au-cta-btns       { justify-content: center; }
}
@media (max-width: 640px) {
    .au-statsbar .au-stats-row { flex-wrap: wrap; gap: 24px; justify-content: center; }
    .au-stat-div       { display: none; }
    .au-values-grid    { grid-template-columns: 1fr; }
    .au-committee-grid { grid-template-columns: 1fr; }
    .au-feat-grid      { grid-template-columns: 1fr; }
    .au-blocks-grid    { grid-template-columns: 1fr 1fr; }
    .au-ttl            { font-size: 26px; }
    .au-cta-ttl        { font-size: 24px; }
    .au-cta-btns       { flex-direction: column; width: 100%; }
    .au-cta-primary, .au-cta-ghost { justify-content: center; }
}

/* ==========================================
   RESPONSIVE DESIGN - Mobile & Tablet
   ========================================== */

/* Tablet & Below (1024px) */
@media (max-width: 1024px) {
    .hero {
        height: auto;
        min-height: 480px;
        padding: 48px 0;
    }
    
    .slide-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 32px;
    }
    
    .slide-text {
        padding-right: 0;
        text-align: center;
    }
    
    .slide-image {
        padding: 20px 0;
    }
    
    .slide-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 320px;
        max-height: 400px;
        object-fit: cover;
    }
    
    .sh1 {
        font-size: 38px;
    }
    
    .sbar-in {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    
    .sitem {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.5rem 1rem;
    }
    
    .sitem:nth-child(2n) {
        border-right: none;
    }
    
    .sitem:nth-child(3),
    .sitem:nth-child(4) {
        border-bottom: none;
    }
    
    /* News and Notice at tablet */
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* News Page — main grid collapses at tablet */
    .main-grid {
        grid-template-columns: 1fr !important;
    }
    
    .main-grid .pull-up {
        margin-top: 0;
    }
    
    .main-grid > div[style*="margin-top"] {
        margin-top: 0 !important;
    }
    
    .notice-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    .news-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }
    
    div[style*="max-width:1200px"],
    div[style*="max-width: 1200px"] {
        padding: 0 1.5rem !important;
        box-sizing: border-box !important;
    }

    /* Footer at tablet */
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
        padding: 48px 24px 36px !important;
    }

    .footer-bottom {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    /* Gallery at tablet */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-auto-rows: 180px !important;
    }
}

/* Mobile & Below (768px) */
@media (max-width: 768px) {
    /* Global Mobile Fixes */
    * {
        max-width: 100%;
    }
    
    body {
        width: 100vw;
        overflow-x: hidden;
    }
    
    .max-w-7xl {
        max-width: 100%;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Topbar */
    .topbar {
        display: none;
    }
    
    /* Header */
    .header {
        padding: 1rem 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .header-inner {
        padding: 0 16px;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-mobile-logo {
        display: flex;
        justify-content: center;
        padding: 20px 0 24px;
        margin-bottom: 8px;
        border-bottom: 1px solid var(--bdr);
    }

    /* Navigation Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 24px 24px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 100;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 14px 16px;
        border-bottom: 1px solid var(--bdr);
        text-align: left;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .cta-btn {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
        font-size: 0.9rem;
        margin-top: 16px;
    }
    
    /* Hero Slider */
    .hero {
        height: auto;
        min-height: 600px;
        padding: 0;
        width: 100%;
        overflow: visible;
    }
    
    .slide {
        width: 100%;
        height: auto;
        min-height: 600px;
        position: relative;
        display: flex;
        align-items: center;
    }
    
    .slide:not(.active) {
        display: none;
    }
    
    .slide-container {
        display: flex;
        flex-direction: column;
        padding: 32px 1rem;
        gap: 24px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        height: auto;
    }
    
    .slide-text {
        text-align: center;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
        order: 1;
    }
    
    .stag {
        font-size: 9px;
        padding: 4px 10px;
        display: inline-block;
    }
    
    .sh1 {
        font-size: 24px;
        line-height: 1.35;
        margin-bottom: 12px;
        word-wrap: break-word;
    }
    
    .sbn {
        font-size: 15px;
        margin-bottom: 12px;
        word-wrap: break-word;
    }
    
    .sdesc {
        font-size: 13px;
        line-height: 1.65;
        word-wrap: break-word;
    }
    
    .slide-image {
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        height: auto;
        order: 2;
    }
    
    .slide-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 280px;
        max-height: 400px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    /* Slider Controls */
    .sarr {
        width: 32px;
        height: 32px;
        z-index: 30;
        position: absolute;
    }
    
    .sarr svg {
        width: 14px;
        height: 14px;
    }
    
    .sarr.prev {
        left: 8px;
        top: 50%;
    }
    
    .sarr.next {
        right: 8px;
        top: 50%;
    }
    
    .sdots {
        bottom: 12px;
        z-index: 30;
        position: absolute;
    }
    
    .dot {
        width: 6px;
        height: 6px;
    }
    
    .dot.active {
        width: 18px;
    }
    
    .scnt {
        bottom: 12px;
        right: 12px;
        font-size: 10px;
        z-index: 30;
        position: absolute;
    }
    
    .scnt #scur {
        font-size: 12px;
    }
    
    /* Stats Bar */
    .sbar {
        padding: 1.5rem 0;
        width: 100%;
        overflow: hidden;
    }
    
    .sbar-in {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        padding: 0 1rem;
        max-width: 100%;
        width: 100%;
    }
    
    .sitem {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.25rem 0.75rem;
        box-sizing: border-box;
    }
    
    .sitem:nth-child(2n) {
        border-right: none;
    }
    
    .sitem:nth-child(3),
    .sitem:nth-child(4) {
        border-bottom: none;
    }
    
    .snum {
        font-size: 32px;
        margin-bottom: 6px;
    }
    
    .slbl {
        font-size: 9.5px;
        letter-spacing: 0.08em;
    }
    
    /* About Section & Grid Layouts */
    section {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    section[style*="padding:80px 0"] {
        padding: 40px 0 !important;
    }
    
    div[style*="max-width:1200px"],
    div[style*="max-width: 1200px"] {
        padding: 0 1rem !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr"] {
        display: block !important;
    }
    
    div[style*="gap:64px"],
    div[style*="gap: 64px"] {
        gap: 32px !important;
    }
    
    /* Latest News Section */
    .news-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }
    
    .news-header h2[style*="font-size:40px"] {
        font-size: 26px !important;
    }
    
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    /* Notice Board Section */
    section[style*="background:#1B3A6B"] {
        padding: 40px 0 !important;
    }
    
    .notice-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    .notice-grid div[style*="flex-direction:column"] {
        gap: 8px !important;
    }
    
    /* Notice items */
    .notice-grid > div:last-child {
        gap: 8px !important;
    }
    
    /* About grid */
    div[style*="grid-template-columns:1fr 1fr"][style*="gap:64px"] {
        display: block !important;
        gap: 0 !important;
    }
    
    div[style*="grid-template-columns:1fr 1fr"][style*="gap:14px"] {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    
    div[style*="width:100%;height:460px"] {
        height: 280px !important;
    }
    
    div[style*="bottom:-20px;left:-20px"] {
        position: static !important;
        margin-top: 16px !important;
        display: inline-block !important;
    }
    
    h2[style*="font-size:40px"] {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    
    p[style*="font-size:15px"] {
        font-size: 14px !important;
    }
    
    div[style*="grid-template-columns:1fr 1fr"][style*="gap:14px"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
    
    /* Feature Cards */
    .feature-card,
    div[style*="padding:20px"][style*="border-radius:12px"] {
        margin-bottom: 16px;
    }
    
    /* Info Cards Grid */
    .info-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    /* Form Layouts */
    .form-row {
        grid-template-columns: 1fr !important;
    }
    
    .dept-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    /* News Page */
    .news-grid {
        grid-template-columns: 1fr !important;
    }
    
    .ph {
        padding: 48px 0 60px;
    }
    
    .ph-ttl {
        font-size: 34px;
    }
    
    .ph-sub {
        font-size: 14px;
    }
    
    .article-grid {
        grid-template-columns: 1fr !important;
    }
    
    .feat-img {
        height: 220px;
    }
    
    .feat-title {
        font-size: 22px;
    }
    
    .alist-img {
        width: 100px;
    }
    
    .alist-title {
        font-size: 15px;
    }
    
    .filter-strip {
        top: 60px;
        padding: 12px 0;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-wrap {
        width: 100%;
    }
    
    /* Footer — 2-col grid, brand spans full width */
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 28px !important;
        padding: 40px 20px 32px !important;
    }

    /* Brand takes full width */
    .footer-grid > div:first-child {
        grid-column: 1 / -1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Center gold accent bars inside brand col */
    .footer-grid > div:first-child > div[style*="width:36px"] {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Center social buttons inside brand col */
    .footer-grid > div:first-child > div[style*="gap:8px"] {
        justify-content: center !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        text-align: center !important;
        padding: 16px 20px !important;
    }

    .footer-bottom > div:last-child {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 180px !important;
    }
    
    .footer-col h4 {
        font-size: 16px !important;
    }
    
    .footer-col ul {
        align-items: center !important;
    }
    
    /* Typography Adjustments */
    h1 {
        font-size: 32px !important;
    }
    
    h2 {
        font-size: 26px !important;
    }
    
    h3 {
        font-size: 20px !important;
    }
    
    /* Spacing Utilities */
    .px-6 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .gap-8 {
        gap: 1rem !important;
    }
    
    .max-w-7xl {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
    .hero {
        min-height: 550px;
    }
    
    .slide {
        min-height: 550px;
    }
    
    .slide-container {
        padding: 28px 16px;
        gap: 20px;
    }
    
    .sh1 {
        font-size: 20px;
        line-height: 1.4;
    }
    
    .sbn {
        font-size: 13px;
    }
    
    .sdesc {
        font-size: 13px;
        line-height: 1.65;
    }
    
    .slide-image img {
        min-height: 240px;
        max-height: 300px;
    }
    
    .logo-img {
        width: 44px;
        height: 44px;
    }
        height: 44px;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 12px 16px;
    }
    
    .sbar-in {
        padding: 0 16px;
    }
    
    .sitem {
        padding: 1.25rem 0.75rem;
    }
    
    .snum {
        font-size: 26px;
    }
    
    .slbl {
        font-size: 9.5px;
    }
    
    h2[style*="font-size"] {
        font-size: 20px !important;
    }
    
    section[style*="padding:48px 0"] {
        padding: 36px 0 !important;
    }
}
