/* --- Google Fonts & Variables --- */
@import url('https://fonts.cdnfonts.com/css/google-sans');

:root {
    --primary-color: #047857; /* Deep Bangladeshi Green */
    --primary-light: #059669;
    --primary-dark: #065f46;
    --secondary-color: #d97706; /* Premium Gold/Orange */
    --secondary-hover: #b45309;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --bg-light: #f9fafb;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Product Sans', 'Google Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

input, button, select, textarea {
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-highlight {
    color: var(--secondary-color);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* --- Topbar --- */
.topbar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    padding: 10px 0;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.topbar-left span {
    margin-right: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.topbar-left span i {
    color: var(--secondary-color);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-right a {
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.topbar-right a:not(.btn-portal):hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.btn-portal {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    gap: 6px;
}

.btn-portal:hover {
    background-color: var(--secondary-hover);
    color: var(--white) !important;
}

/* --- Header Navigation --- */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.main-nav .nav-links {
    display: flex;
    gap: 36px;
}

.nav-links li a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    border-radius: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-dark);
    transition: var(--transition);
}

.mobile-toggle:hover {
    color: var(--primary-color);
}

/* --- Notice Ticker --- */
.notice-ticker {
    background-color: #f1f5f9;
    border-bottom: 1px solid #e5e7eb;
}

.ticker-container {
    display: flex;
    align-items: center;
    height: 45px;
    padding: 0; /* Override container padding to stretch label */
    max-width: 1280px;
    margin: 0 auto;
    background-color: transparent;
}

.ticker-label {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    gap: 8px;
    z-index: 2;
    position: relative;
}

.ticker-label::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    border-top: 45px solid var(--secondary-color);
    border-right: 15px solid transparent;
}

.ticker-content {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px 0 30px;
    background-color: transparent;
}

.ticker-content marquee {
    width: 100%;
    font-weight: 600;
    font-size: 0.95rem;
}

.ticker-content a {
    color: var(--primary-dark);
    transition: var(--transition);
}

.ticker-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* --- Hero Section & Slider --- */
.hero {
    position: relative;
}

.hero-slider {
    width: 100%;
    height: 70vh;
    min-height: 550px;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    text-align: left !important; /* Fix Swiper default center alignment */
    padding-bottom: 120px; /* Prevent buttons from hiding behind stats overlay */
}

.slide-1 { background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=2070&auto=format&fit=crop'); }
.slide-2 { background-image: url('https://images.unsplash.com/photo-1541829070764-84a7d30dd3f3?q=80&w=2069&auto=format&fit=crop'); }
.slide-3 { background-image: url('https://images.unsplash.com/photo-1509062522246-3755977927d7?q=80&w=2000&auto=format&fit=crop'); }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Elegant gradient overlay */
    background: linear-gradient(135deg, rgba(6, 95, 70, 0.85) 0%, rgba(17, 24, 39, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 900px;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-subtitle::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 24px;
}

/* Swiper Customization */
.swiper-button-next, .swiper-button-prev {
    color: var(--secondary-color) !important;
}
.swiper-pagination-bullet-active {
    background: var(--secondary-color) !important;
}
.swiper-slide-active .hero-content {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Stats Overlay */
.hero-stats-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

.hero-stats {
    display: flex;
    gap: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 30px 0 40px 0;
}

.stat-item h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* --- Main Content Layout --- */
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.mt-8 { margin-top: 32px; }

.grid-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

/* Premium Card Design */
.premium-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.premium-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.card-header {
    padding: 20px 24px 15px;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.card-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.card-header h2 i {
    color: var(--secondary-color);
}

.header-line {
    height: 4px;
    width: 60px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.card-body {
    padding: 24px;
}

/* History Section */
.history-body {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.history-image {
    flex: 0 0 40%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.history-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.premium-card:hover .history-image img {
    transform: scale(1.05);
}

.history-text {
    flex: 1;
}

.history-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    text-align: justify;
    line-height: 1.7;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
    gap: 12px;
}

/* Principal Section */
.principal-body {
    display: flex;
    gap: 24px;
    align-items: center;
}

.principal-image {
    flex: 0 0 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f1f5f9;
    box-shadow: var(--shadow-md);
}

.principal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.principal-text {
    flex: 1;
    position: relative;
    padding-left: 10px;
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: -15px;
    font-size: 3rem;
    color: rgba(4, 120, 87, 0.05); /* faint primary color */
    z-index: 0;
}

.principal-text p {
    position: relative;
    z-index: 1;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.7;
}

.principal-info h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 700;
}

.principal-info span {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Premium VIP Profile Cards */
.profile-card {
    position: relative;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.profile-header-bg {
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: center;
    padding-top: 15px;
}

.profile-badge {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1;
    height: fit-content;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.profile-card .card-body {
    padding: 0 24px 24px;
    margin-top: -60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.profile-image-wrapper {
    padding: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-light));
    border-radius: 50%;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(4, 120, 87, 0.2);
}

.profile-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid var(--white);
    overflow: hidden;
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-card:hover .profile-image img {
    transform: scale(1.1);
}

.profile-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.profile-designation {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0;
}

.profile-divider {
    width: 40px;
    height: 3px;
    background-color: #e2e8f0;
    margin: 16px auto;
    border-radius: 2px;
}

.btn-profile-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 25px;
    border: 1px solid #e2e8f0;
    background-color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.btn-profile-premium:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(4, 120, 87, 0.2);
}

.btn-profile-premium i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.btn-profile-premium:hover i {
    transform: translateX(4px);
}
.mb-6 { margin-bottom: 24px; }

/* Quick Links Sidebar */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-links li a {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background-color: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.quick-links li a:hover {
    background-color: var(--primary-color);
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.link-icon {
    width: 32px;
    height: 32px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-right: 16px;
    transition: var(--transition);
}

.quick-links li a:hover .link-icon {
    color: var(--secondary-color);
}

.link-text {
    flex: 1;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.quick-links li a:hover .link-text {
    color: var(--white);
}

.arrow-icon {
    color: #cbd5e1;
    transition: var(--transition);
    font-size: 0.8rem;
}

.quick-links li a:hover .arrow-icon {
    color: var(--white);
}

/* Info Cards Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.info-card .card-header {
    background-color: var(--primary-color);
    padding: 15px 20px;
    border-bottom: none;
}

.info-card .card-header h2 {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0;
}

.info-card-body {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-icon {
    flex: 0 0 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(4, 120, 87, 0.1), rgba(4, 120, 87, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    border: 2px dashed rgba(4, 120, 87, 0.2);
}

.custom-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.custom-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 4px 0;
}

.custom-list li a i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: var(--transition);
}

.custom-list li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.custom-list li a:hover i {
    color: var(--secondary-color);
}

/* Sidebar Lists */
.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px !important;
}

.sidebar-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    color: var(--text-dark);
    border-bottom: 1px dashed #e2e8f0;
    transition: var(--transition);
    font-weight: 500;
}

.sidebar-list li:last-child a {
    border-bottom: none;
}

.sidebar-list li a i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.sidebar-list li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    background-color: #f8fafc;
    border-radius: 6px;
}
.p-0 { padding: 0 !important; }

/* Notice Board Clean Design */
.notice-board-card {
    padding: 20px 25px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.notice-header-clean {
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 15px;
}

.notice-header-clean h2 {
    color: #166534;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-list {
    display: flex;
    flex-direction: column;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    gap: 15px;
    transition: var(--transition);
    cursor: pointer;
}

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

.notice-item:hover {
    background-color: #f8fafc;
}

.notice-dot {
    width: 10px;
    height: 10px;
    background-color: #16a34a;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.notice-content {
    flex: 1;
}

.notice-content h3 {
    font-size: 1rem;
    color: #334155;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.notice-item:hover .notice-content h3 {
    color: #166534;
}

.notice-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #64748b;
}

.badge-general {
    background-color: #ffedd5;
    color: #9a3412;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.notice-arrow {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 10px;
}

.btn-all-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #059669;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-all-notice:hover {
    background-color: #047857;
    color: #ffffff;
}

.news-bottom-bar {
    background-color: #fdf2f8;
    border-radius: 6px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.news-label {
    color: #059669;
    font-weight: 700;
    margin-right: 10px;
}

.news-title {
    color: #334155;
    font-weight: 500;
    flex: 1;
}

.btn-news-all {
    background-color: #059669;
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-news-all:hover {
    background-color: #047857;
    color: #ffffff;
}

/* Meeting Calendar Widget */
.calendar-card {
    border: 1px solid #e2e8f0;
    padding: 15px;
    background: #ffffff;
}

.calendar-header {
    background-color: var(--primary-color);
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.calendar-header h2 {
    color: var(--white);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 700;
}

.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e5e7eb;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.calendar-btn {
    background: #ffffff;
    border: 1px solid #9ca3af;
    padding: 5px 12px;
    cursor: pointer;
    border-radius: 2px;
    color: #1f2937;
    transition: var(--transition);
}

.calendar-btn:hover {
    background: #f3f4f6;
}

.calendar-month {
    font-weight: 700;
    color: #1f2937;
    font-size: 1.1rem;
}

.calendar-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px;
}

.calendar-table th {
    text-align: center;
    padding: 8px 0;
    color: #374151;
    font-weight: 500;
}

.calendar-table td {
    border: 1px solid #d1d5db;
    text-align: center;
    padding: 8px 0;
    color: #1f2937;
    font-size: 1.05rem;
    background-color: #ffffff;
}

.calendar-table td.today {
    background-color: #16a34a;
    color: #ffffff;
    font-weight: bold;
    border-color: #16a34a;
}

/* Emergency Contact Widget */
.emergency-card {
    border: 1px solid #e2e8f0;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.emergency-header {
    background-color: var(--primary-color);
    padding: 12px 15px;
    text-align: left;
}

.emergency-header h2 {
    color: var(--white);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 700;
}

.emergency-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.emergency-item {
    background-color: #f8fafc;
    border-radius: 4px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #f1f5f9;
}

.emergency-text {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.emergency-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ef4444;
}

.emergency-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--primary-color);
    color: var(--text-dark);
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 5px;
    transition: var(--transition);
}

.emergency-btn:hover {
    background-color: #f8fafc;
    color: var(--primary-color);
}

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color), #26363F);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-banner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
    text-decoration: underline;
}

.breadcrumb span.current {
    font-weight: 600;
}

/* Notice Table */
.notice-table-wrapper {
    overflow-x: auto;
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
}

.notice-table th {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    border: 1px solid var(--primary-color);
}

.notice-table th.text-center {
    text-align: center;
}

.notice-table td {
    padding: 15px 20px;
    border: 1px solid #e2e8f0;
    color: #334155;
    vertical-align: middle;
}

.notice-table tbody tr {
    transition: var(--transition);
}

.notice-table tbody tr:hover {
    background-color: #f8fafc;
}

.notice-table td.text-center {
    text-align: center;
}

.notice-title-link {
    color: #1e293b;
    font-weight: 600;
    transition: var(--transition);
    display: block;
}

.notice-title-link:hover {
    color: var(--primary-color);
}

.btn-download {
    display: inline-block;
    background-color: #ef4444;
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-download:hover {
    background-color: #dc2626;
    color: var(--white);
    transform: translateY(-2px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-bottom: 30px;
}

.page-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #f1f5f9;
    color: #475569;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.page-link:hover, .page-link.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* News Page Design */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.news-date-badge .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.news-date-badge .month {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-top: 2px;
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-category {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.news-content h3 a {
    color: inherit;
    transition: var(--transition);
}

.news-content h3 a:hover {
    color: var(--primary-color);
}

.news-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.news-content .read-more {
    margin-top: auto;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.news-content .read-more:hover {
    text-decoration: underline;
}

/* Single News Page Design */
.single-news-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 30px;
}

.article-card {
    padding: 0;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 400px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-meta {
    padding: 20px 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: var(--primary-color);
}

.article-title {
    padding: 15px 30px 20px;
    margin: 0;
    font-size: 1.8rem;
    color: #1e293b;
    font-weight: 800;
    line-height: 1.4;
}

.article-body {
    padding: 0 30px 30px;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h3 {
    color: #1e293b;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-footer {
    padding: 20px 30px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background-color: #f8fafc;
}

.article-tags, .article-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-tags span, .article-share span {
    font-weight: 700;
    color: #334155;
    margin-right: 5px;
}

.article-tags a {
    background-color: #e2e8f0;
    color: #475569;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.article-tags a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.share-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.share-btn.fb { background-color: #1877f2; }
.share-btn.tw { background-color: #1da1f2; }
.share-btn.wa { background-color: #25d366; }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Sidebar Widgets */
.sidebar-widget {
    padding: 25px;
}

.widget-title {
    font-size: 1.2rem;
    color: #1e293b;
    margin: 0 0 10px 0;
}

.sidebar-widget .header-line {
    margin-bottom: 20px;
}

.sidebar-search {
    display: flex;
    position: relative;
}

.sidebar-search input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    outline: none;
}

.sidebar-search button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 45px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-search button:hover {
    background-color: var(--primary-dark);
}

.recent-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-news-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.recent-news-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.recent-content h4 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    line-height: 1.3;
}

.recent-content h4 a {
    color: #1e293b;
    transition: var(--transition);
}

.recent-content h4 a:hover {
    color: var(--primary-color);
}

.recent-content span {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li:last-child {
    margin-bottom: 0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #475569;
    font-weight: 500;
    transition: var(--transition);
}

.category-list a span {
    background-color: #cbd5e1;
    color: #1e293b;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.category-list a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.category-list a:hover span {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Footer Section */
.footer {
    background-color: #1e293b;
    color: #e2e8f0;
    margin-top: 40px;
}

.footer-top {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

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

.footer-logo i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.footer-logo h2 {
    font-size: 1.2rem;
    color: var(--white);
    margin: 0;
    line-height: 1.3;
}

.footer-about {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #cbd5e1;
}

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

.footer-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #cbd5e1;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

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

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #cbd5e1;
    line-height: 1.6;
}

.footer-contact li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.newsletter-text {
    margin-bottom: 20px;
    color: #cbd5e1;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border-radius: 4px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    outline: none;
}

.newsletter-form input::placeholder {
    color: #94a3b8;
}

.newsletter-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #eab308;
}

.footer-bottom {
    background-color: #0f172a;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-bottom p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
}

.developer-link {
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
}

.developer-link:hover {
    color: var(--white);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-stats {
        gap: 40px;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .topbar {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 80px;
    }
    .logo-text h1 {
        font-size: 1.2rem;
    }
    .logo-text p {
        font-size: 0.7rem;
    }
    .logo-icon {
        font-size: 2.2rem;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .ticker-label {
        padding: 0 12px;
        font-size: 0.85rem;
    }
    
    .main-nav {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        padding: 0;
        visibility: hidden;
        opacity: 0;
    }
    
    .main-nav.active {
        left: 0;
        visibility: visible;
        opacity: 1;
        padding: 24px 0;
    }
    
    .main-nav .nav-links {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        display: block;
        padding: 16px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--bg-light);
    }
    
    .nav-links li a::after {
        display: none; /* remove underline effect on mobile */
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 1.5rem !important;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
        text-align: center;
        padding: 20px 0;
    }
    .stat-item h3 {
        font-size: 1.5rem;
    }
    .stat-item p {
        font-size: 0.75rem;
    }
    .hero-subtitle::before {
        display: none;
    }
    .hero-subtitle {
        justify-content: flex-start;
    }
    .hero-content {
        text-align: left;
    }
    
    .history-body {
        flex-direction: column;
    }
    .history-image {
        flex: 0 0 100%;
        width: 100%;
    }
    .principal-body {
        flex-direction: column;
        text-align: center;
    }
    .quote-icon {
        left: 50%;
        transform: translateX(-50%);
    }
    .py-16 {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    .info-card-body {
        flex-direction: column;
        text-align: center;
    }
    .info-icon {
        margin: 0 auto;
    }
    .custom-list {
        width: 100%;
    }
    .single-news-grid {
        grid-template-columns: 1fr;
    }
}
