/* ============================================
   VILLAGE OF WESTCHESTER - MAIN STYLESHEET
   Celebrating 100 Years: 1925-2025
   ============================================ */

/* CSS Variables */
:root {
    /* NEW COLOR SCHEME - Matches Knight Logo */
    /* Primary Colors - Rich navy and gold for centennial */
    --primary: #1a3a5c;
    --primary-dark: #0f2744;
    --primary-light: #2d5a8a;
    
    /* Accent - Centennial Gold */
    --accent: #d4a84b;
    --accent-light: #f0c75e;
    --accent-dark: #b8860b;
    
    /* Secondary - Forest Green */
    --secondary: #2d5a3d;
    --secondary-dark: #1e3d2a;
    --secondary-light: #3d7a52;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Semantic Colors */
    --success: #059669;
    --warning: #d97706;
    --error: #dc2626;
    --info: #0284c7;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-3xl) 0;
}

.section--gray {
    background: var(--gray-100);
}

.section--dark {
    background: var(--primary-dark);
    color: #ffffff !important;
}

.section--dark h2,
.section--dark h3 {
    color: #ffffff !important;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.header__top {
    background: var(--primary-dark);
    color: #ffffff !important;
    padding: var(--space-xs) 0;
    font-size: 0.875rem;
}

.header__top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__contact {
    display: flex;
    gap: var(--space-lg);
}

.header__contact a {
    color: var(--gray-300);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.header__contact a:hover {
    color: var(--accent-light);
}

.header__social {
    display: flex;
    gap: var(--space-sm);
}

.header__social a {
    color: var(--gray-300);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.header__social a:hover {
    background: var(--accent);
    color: #ffffff !important;
}

.header__main {
    padding: var(--space-md) 0;
}

.header__main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.logo__image {
    height: 60px;
    width: auto;
}

.logo__text {
    display: flex;
    flex-direction: column;
}

.logo__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.1;
}

.logo__tagline {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav__list {
    display: flex;
    list-style: none;
    gap: var(--space-xs);
}

.nav__item {
    position: relative;
}

.nav__link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav__link:hover,
.nav__link--active {
    background: var(--gray-100);
    color: var(--primary);
}

.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav__item:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown-link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--gray-700);
    border-radius: var(--radius);
    font-size: 0.9375rem;
}

.nav__dropdown-link:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav__cta:hover {
    background: var(--accent-dark);
    color: #ffffff !important;
}

/* Mobile Menu Toggle */
.nav__toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--space-sm);
    cursor: pointer;
}

@media (max-width: 1024px) {
    .nav__toggle {
        display: block;
    }
    
    .nav__list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-2xl);
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 1001;
    }
    
    .nav__list.active {
        right: 0;
    }
    
    .nav__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: var(--space-md);
        display: none;
    }
    
    .nav__item:hover .nav__dropdown {
        display: block;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.hero__content {
    position: relative;
    z-index: 10;
    color: #ffffff !important;
    max-width: 700px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--accent);
    color: var(--primary-dark);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-2xl);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #ffffff !important;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    font-weight: 400;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* Animated shapes */
.hero__shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.1);
    animation: float 6s ease-in-out infinite;
}

.hero__shape--1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: 10%;
    animation-delay: 0s;
}

.hero__shape--2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    right: 25%;
    animation-delay: -2s;
}

.hero__shape--3 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: 10%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn--primary {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

.btn--primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    background: transparent;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.btn--outline:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.btn--secondary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--gray-200);
}

.btn--secondary:hover {
    background: var(--gray-100);
    border-color: var(--primary);
}

.btn--sm {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
}

.btn--lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
}

/* ============================================
   QUICK LINKS SECTION
   ============================================ */

.quick-links {
    background: var(--white);
    padding: var(--space-2xl) 0;
    margin-top: -60px;
    position: relative;
    z-index: 20;
}

.quick-links__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.quick-link:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.quick-link__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    color: #ffffff !important;
    transition: var(--transition);
}

.quick-link:hover .quick-link__icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    transform: scale(1.1);
}

.quick-link__title {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.9375rem;
}

/* ============================================
   NEWS SECTION
   ============================================ */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-header a {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.section-header a:hover {
    color: var(--accent);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-2xl);
}

@media (max-width: 1024px) {
    .section-grid {
        grid-template-columns: 1fr;
    }
}

/* Featured News Card */
.news-card--featured {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .news-card--featured {
        grid-template-columns: 1fr;
    }
}

.news-card--featured .news-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.news-card--featured .news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-card__content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card__badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    width: fit-content;
}

.news-card__content time {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: var(--space-sm);
    display: block;
}

.news-card__content h3 {
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.news-card__content h3 a {
    color: var(--gray-900);
}

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

.news-card__content p {
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.news-item {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.news-item:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent);
    transform: translateX(4px);
}

.news-item__image {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    border-radius: var(--radius);
    overflow: hidden;
}

.news-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item__content {
    flex: 1;
    min-width: 0;
}

.news-item__content time {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: var(--space-xs);
}

.news-item__content h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    line-height: 1.4;
}

.news-item__content h4 a {
    color: var(--gray-800);
}

.news-item__content h4 a:hover {
    color: var(--primary);
}

.news-item__content p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.5;
}

/* News Grid (for news page) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-card__image img {
    transform: scale(1.08);
}

/* ============================================
   MEETINGS SIDEBAR
   ============================================ */

.section-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.meetings-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.meeting-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.meeting-card:hover {
    box-shadow: var(--shadow-md);
}

.meeting-card__date {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff !important;
    border-radius: var(--radius);
    padding: var(--space-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.meeting-card__date .month {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.meeting-card__date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.meeting-card__info {
    flex: 1;
}

.meeting-card__info h4 {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--gray-800);
}

.meeting-card__info p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: var(--space-xs);
}

.meeting-card__info a {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
}

/* Video Widget */
.video-widget {
    background: linear-gradient(135deg, #0d1f33 0%, var(--primary-dark) 100%);
    color: #ffffff !important;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.video-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(201,162,39,0.2) 0%, transparent 70%);
}

.video-widget h3 {
    color: #ffffff !important;
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
    position: relative;
}

.video-widget p {
    font-size: 0.9375rem;
    opacity: 0.9;
    margin-bottom: var(--space-lg);
    position: relative;
}

.video-widget .btn {
    position: relative;
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

.video-widget .btn:hover {
    background: var(--white);
    border-color: #ffffff !important;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats {
    background: linear-gradient(135deg, #0d1f33 0%, var(--primary-dark) 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-xl);
    position: relative;
}

@media (max-width: 900px) {
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .stats__grid {
        grid-template-columns: 1fr;
    }
}

.stat {
    text-align: center;
    color: #ffffff !important;
}

.stat__number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat__label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   WELCOME / ABOUT SECTION
   ============================================ */

.welcome {
    padding: var(--space-3xl) 0;
}

.welcome__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

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

.welcome__content h2 {
    margin-bottom: var(--space-lg);
}

.welcome__content h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin-top: var(--space-md);
    border-radius: 2px;
}

.welcome__content p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
}

.welcome__image {
    position: relative;
}

.welcome__image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.welcome__image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ============================================
   ALERTS
   ============================================ */

.alerts {
    background: var(--warning);
    color: #ffffff !important;
    padding: var(--space-md) 0;
}

.alert {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.alert__icon {
    flex-shrink: 0;
}

.alert__content {
    flex: 1;
}

.alert__content strong {
    display: block;
    font-weight: 700;
}

.alert__close {
    background: none;
    border: none;
    color: #ffffff !important;
    cursor: pointer;
    padding: var(--space-sm);
    opacity: 0.8;
}

.alert__close:hover {
    opacity: 1;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    background: linear-gradient(135deg, #0d1f33 0%, var(--primary-dark) 100%);
    color: #ffffff !important;
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-header h1 {
    color: #ffffff !important;
    margin-bottom: var(--space-sm);
    position: relative;
}

.page-header p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    position: relative;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.875rem;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
    position: relative;
}

.breadcrumb a {
    color: #ffffff !important;
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

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

@media (max-width: 600px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

.footer__brand {
    max-width: 350px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.footer__logo img {
    height: 50px;
}

.footer__logo-text {
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer__brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer__social {
    display: flex;
    gap: var(--space-sm);
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    color: var(--gray-400);
    border-radius: var(--radius);
    transition: var(--transition);
}

.footer__social a:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.footer__column h4 {
    color: #ffffff !important;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: var(--space-sm);
}

.footer__links a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--accent);
    padding-left: var(--space-xs);
}

.footer__contact p {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
}

.footer__contact svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__contact a {
    color: var(--gray-400);
}

.footer__contact a:hover {
    color: var(--accent);
}

.footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.875rem;
}

.footer__copyright {
    color: var(--gray-500);
}

.footer__legal {
    display: flex;
    gap: var(--space-lg);
}

.footer__legal a {
    color: var(--gray-500);
}

.footer__legal a:hover {
    color: var(--accent);
}

/* ============================================
   GOVERNMENT PAGE
   ============================================ */

.officials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.officials-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.official-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.official-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.official-card__photo {
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-100));
}

.official-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.official-card__info {
    padding: var(--space-lg);
}

.official-card__name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.official-card__title {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

.official-card__bio {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.official-card__contact {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.official-card__contact a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--primary);
}

.official-card__contact a:hover {
    color: var(--accent);
}

/* Compact Official Card */
.official-card--compact {
    display: flex;
    padding: var(--space-lg);
    gap: var(--space-md);
}

.official-card--compact .official-card__photo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 50%;
    aspect-ratio: 1;
}

.official-card--compact .official-card__info {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.official-card--compact .official-card__name {
    font-size: 1.0625rem;
}

.official-card--compact .official-card__title {
    margin-bottom: var(--space-sm);
    font-size: 0.8125rem;
}

/* Placeholder */
.official-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-100));
    color: var(--gray-400);
}

/* ============================================
   DEPARTMENT PAGES
   ============================================ */

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.department-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.department-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.department-card__header {
    background: linear-gradient(135deg, #0d1f33 0%, var(--primary-dark) 100%);
    padding: var(--space-lg);
}

.department-card__header h2 {
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 1.35rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.department-card__body {
    padding: var(--space-lg);
}

.department-card__description {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.department-card__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: 0.9375rem;
}

.department-card__info span {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gray-600);
}

.department-card__info svg {
    flex-shrink: 0;
    color: var(--primary);
}

/* Department Detail */
.department-detail {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-2xl);
    align-items: start;
}

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

.department-main h2 {
    margin-bottom: var(--space-lg);
}

.department-main p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

/* Staff Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.staff-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.staff-card:hover {
    box-shadow: var(--shadow-md);
}

.staff-card__photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-100);
}

.staff-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    background: var(--gray-100);
}

.staff-card__info {
    flex: 1;
    min-width: 0;
}

.staff-card__name {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
}

.staff-card__title {
    font-size: 0.8125rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.staff-card__contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.staff-card__contact a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
    color: var(--primary);
}

/* Sidebar */
.sidebar-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: var(--space-lg);
}

.sidebar-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--accent);
}

.sidebar-card p {
    font-size: 0.9375rem;
    margin-bottom: var(--space-sm);
}

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

.sidebar-links li {
    margin-bottom: var(--space-sm);
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    color: var(--gray-700);
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 0.9375rem;
}

.sidebar-links a:hover,
.sidebar-links a.active {
    background: var(--gray-100);
    color: var(--primary);
}

/* ============================================
   ARTICLE PAGE
   ============================================ */

.article {
    padding: var(--space-3xl) 0;
}

.article__layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-2xl);
    align-items: start;
}

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

.article__header {
    margin-bottom: var(--space-xl);
}

.article__header time {
    display: block;
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: var(--space-sm);
}

.article__header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
}

.article__image {
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.article__image img {
    width: 100%;
    height: auto;
}

.article__content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.article__content p {
    margin-bottom: var(--space-lg);
}

.article__content h2,
.article__content h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.article__content ul,
.article__content ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-lg);
}

.article__content li {
    margin-bottom: var(--space-sm);
}

.article__footer {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-200);
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: var(--space-sm);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff !important;
    transition: var(--transition);
}

.share-btn--facebook {
    background: #1877f2;
}

.share-btn--facebook:hover {
    background: #0d6efd;
    color: #ffffff !important;
}

.share-btn--email {
    background: var(--gray-600);
}

.share-btn--email:hover {
    background: var(--gray-700);
    color: #ffffff !important;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-200);
}

.pagination__link {
    padding: var(--space-sm) var(--space-lg);
    background: var(--primary);
    color: #ffffff !important;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.pagination__link:hover {
    background: var(--primary-dark);
    color: #ffffff !important;
}

.pagination__info {
    color: var(--gray-500);
}

/* ============================================
   INFO CARDS (Meetings, etc.)
   ============================================ */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.info-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.info-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    color: var(--primary-dark);
}

.info-card ul {
    list-style: none;
}

.info-card li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    font-size: 0.9375rem;
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card li strong {
    color: var(--gray-800);
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

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

/* ============================================
   UTILITIES
   ============================================ */

.no-content {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--gray-500);
    font-style: italic;
}

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

.read-more:hover {
    color: var(--accent);
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .nav,
    .quick-links,
    .alerts {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: black;
        background: white;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--primary-dark);
    color: #ffffff !important;
    border-radius: var(--radius);
    z-index: 9999;
    transition: top 0.2s;
}

.skip-link:focus {
    top: var(--space-md);
}

/* Modern Table Styles */
.table-wrapper {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

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

.modern-table thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.modern-table thead th {
    color: var(--white);
    font-weight: 600;
    text-align: left;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.15s;
}

.modern-table tbody tr:hover {
    background: var(--gray-50);
}

.modern-table tbody tr:last-child {
    border-bottom: none;
}

.modern-table td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
}

.table-date {
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.table-title {
    color: var(--gray-800);
    font-weight: 500;
}

.table-badge {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.table-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.table-link {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}

.table-link--agenda {
    background: var(--accent);
    color: var(--primary-dark);
}

.table-link--agenda:hover {
    background: var(--accent-dark);
}

.table-link--minutes {
    background: var(--gray-200);
    color: var(--gray-700);
}

.table-link--minutes:hover {
    background: var(--gray-300);
}

.table-link--video {
    background: var(--primary);
    color: var(--white);
}

.table-link--video:hover {
    background: var(--primary-dark);
}

/* Responsive Table */
@media (max-width: 768px) {
    .table-wrapper {
        border-radius: 8px;
    }
    
    .modern-table thead {
        display: none;
    }
    
    .modern-table tbody tr {
        display: block;
        padding: 1rem;
        margin-bottom: 0.5rem;
        border: 1px solid var(--gray-200);
        border-radius: 8px;
    }
    
    .modern-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .modern-table td:last-child {
        border-bottom: none;
    }
    
    .modern-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--gray-600);
        font-size: 0.8rem;
        text-transform: uppercase;
    }
}

/* Community Page */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.community-card {
    background: var(--white);
    border-radius: 12px;
    padding: var(--space-xl);
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-100);
    transition: all 0.2s;
}

.community-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--primary);
}

.community-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.community-card__icon svg {
    stroke: var(--white);
}

.community-card h3 {
    color: var(--gray-900);
    font-size: 1.25rem;
    margin: 0 0 var(--space-sm) 0;
}

.community-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.partner-card {
    background: var(--white);
    border-radius: 12px;
    padding: var(--space-lg);
    text-decoration: none;
    border: 2px solid var(--gray-100);
    transition: all 0.2s;
    text-align: center;
}

.partner-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.partner-card__icon {
    width: 80px;
    height: 80px;
    background: var(--gray-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.partner-card__icon svg {
    stroke: var(--primary);
}

.partner-card h4 {
    color: var(--gray-900);
    font-size: 1.1rem;
    margin: 0 0 var(--space-xs) 0;
}

.partner-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0 0 var(--space-sm) 0;
}

.partner-card__link {
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.partner-card:hover .partner-card__link {
    color: var(--primary);
}

/* =============================================
   MODERN NAVBAR STYLES
   ============================================= */

.header-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-modern.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-modern__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 2rem;
}

/* Logo */
.header-modern__logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    flex-shrink: 0;
}

.header-modern__logo img {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-modern__logo:hover img {
    transform: scale(1.05);
}

.header-modern__logo-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.header-modern__logo-text {
    display: flex;
    flex-direction: column;
}

.header-modern__logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.header-modern__logo-tagline {
    font-size: 0.7rem;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Navigation */
.nav-modern {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-modern__link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.625rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-modern__link:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.nav-modern__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-modern__link:hover::after {
    width: calc(100% - 2rem);
}

.nav-modern__arrow {
    transition: transform 0.2s ease;
    opacity: 0.5;
}

.nav-modern__link:hover .nav-modern__arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown */
.nav-modern__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 100;
}

.nav-modern__link:hover .nav-modern__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-modern__dropdown a {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.15s ease;
}

.nav-modern__dropdown a:hover {
    background: var(--gray-50);
    color: var(--primary);
    padding-left: 1.25rem;
}

/* Actions */
.header-modern__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-modern__icon-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--gray-100);
    border-radius: 10px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-modern__icon-btn:hover {
    background: var(--gray-200);
    color: var(--primary);
    transform: scale(1.05);
}

/* CTA Button */
.header-modern__cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(201, 162, 39, 0.3);
}

.header-modern__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.header-modern__cta svg {
    transition: transform 0.2s ease;
}

.header-modern__cta:hover svg {
    transform: translateX(3px);
}

/* Waffle Menu */
.waffle-menu {
    position: relative;
}

.waffle-menu__dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 320px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.25s ease;
    z-index: 200;
}

.waffle-menu:hover .waffle-menu__dropdown,
.waffle-menu__dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.waffle-menu__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.waffle-menu__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.waffle-menu__item:hover {
    background: var(--gray-50);
    transform: scale(1.05);
}

.waffle-menu__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.waffle-menu__item:hover .waffle-menu__icon {
    transform: scale(1.1);
}

.waffle-menu__item span {
    font-size: 0.7rem;
    color: var(--gray-600);
    font-weight: 500;
    text-align: center;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(30, 58, 95, 0.98);
    padding: 0;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.4s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-overlay__inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-overlay__form {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.search-overlay__input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    font-size: 1.25rem;
    color: white;
    outline: none;
}

.search-overlay__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-overlay__btn {
    padding: 1rem 1.5rem;
    border: none;
    background: var(--accent);
    color: var(--primary-dark);
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-overlay__btn:hover {
    background: var(--accent-dark);
}

.search-overlay__close {
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.search-overlay__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Mobile Toggle */
.header-modern__mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: none;
    background: var(--gray-100);
    border-radius: 10px;
    cursor: pointer;
}

.header-modern__mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header-modern__mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header-modern__mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.header-modern__mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .nav-modern {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: white;
        padding: 1.5rem;
        gap: 0.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        align-items: stretch;
    }
    
    .nav-modern.active {
        transform: translateX(0);
    }
    
    .nav-modern__link {
        padding: 1rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .nav-modern__link::after {
        display: none;
    }
    
    .nav-modern__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-modern__link.expanded .nav-modern__dropdown {
        max-height: 500px;
    }
    
    .header-modern__mobile-toggle {
        display: flex;
    }
    
    .header-modern__cta {
        display: none;
    }
}

@media (max-width: 640px) {
    .header-modern__logo-text {
        display: none;
    }
    
    .waffle-menu__dropdown {
    right: 0 !important;
        width: 240px;
        right: -50px;
    }
}

/* Fix for nav items with dropdowns */
.nav-modern__item {
    position: relative;
}

.nav-modern__item:hover .nav-modern__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-modern__item .nav-modern__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-modern__item:hover .nav-modern__link::after {
    width: calc(100% - 2rem);
}

.nav-modern__item:hover .nav-modern__arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* Enhanced Logo Styles */
.header-modern__logo {
    position: relative;
    padding: 0.5rem;
    margin: -0.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.header-modern__logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05) 0%, rgba(201, 162, 39, 0.1) 100%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header-modern__logo:hover::before {
    opacity: 1;
}

.header-modern__logo img {
    height: 60px;
    filter: drop-shadow(0 4px 12px rgba(30, 58, 95, 0.2));
}

.header-modern__logo-title {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: -0.02em;
}

.header-modern__logo-tagline {
    font-size: 0.75rem;
    background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent) 50%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.header-modern__logo:hover img {
    transform: scale(1.08) rotate(-2deg);
    filter: drop-shadow(0 6px 16px rgba(30, 58, 95, 0.3));
}

.header-modern__logo:hover .header-modern__logo-title {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Logo icon fallback enhanced */
.header-modern__logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 14px;
    font-size: 1.75rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
    transition: all 0.3s ease;
}

.header-modern__logo:hover .header-modern__logo-icon {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4);
}

/* BIGGER, BOLDER Logo Styles */
.header-modern__logo img {
    height: 70px !important;
}

.header-modern__logo-text {
    padding-left: 0.25rem;
}

.header-modern__logo-title {
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.header-modern__logo-tagline {
    font-size: 0.8rem !important;
    margin-top: 0.2rem;
    letter-spacing: 2px;
    position: relative;
    padding-left: 0;
}

/* Gold accent bar under logo text */
.header-modern__logo-text::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    margin-top: 0.4rem;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.header-modern__logo:hover .header-modern__logo-text::after {
    width: 100%;
}

/* Glowing effect on hover */
.header-modern__logo:hover img {
    filter: drop-shadow(0 0 20px rgba(201, 162, 39, 0.5)) drop-shadow(0 4px 12px rgba(30, 58, 95, 0.3));
}

/* Subtle pulse animation on logo */
@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 4px 12px rgba(30, 58, 95, 0.2)); }
    50% { filter: drop-shadow(0 4px 20px rgba(201, 162, 39, 0.3)); }
}

.header-modern__logo img {
    animation: logoPulse 3s ease-in-out infinite;
}

.header-modern__logo:hover img {
    animation: none;
}

/* =============================================
   NEW COLOR SCHEME - Knight Logo Theme
   ============================================= */
:root {
    /* Primary - Deep Navy Blue */
    --primary: #1a3a5c;
    --primary-dark: #0f2744;
    --primary-light: #2d5a8a;
    
    /* Accent - Rich Gold/Bronze */
    --accent: #d4a84b;
    --accent-dark: #b8860b;
    
    /* Secondary - Forest Green */
    --secondary: #2d5a3d;
    --secondary-dark: #1e3d2a;
    --secondary-light: #3d7a52;
    --accent-light: #f0c75e;
    
    /* Secondary - Forest Green */
    --secondary: #2d5a3d;
    --secondary-dark: #1e3d2a;
    --secondary-light: #3d7a52;
    
    /* Updated Grays with warm tint */
    --gray-50: #faf9f7;
    --gray-100: #f3f1ed;
    --gray-200: #e8e4dc;
    --gray-300: #d4cfc3;
}

/* Header with new colors */
.header-modern {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(250,249,247,0.95) 100%);
    border-bottom: 3px solid var(--accent);
}

/* Navigation hover with gold accent */
.nav-modern__link:hover {
    color: var(--accent-dark);
}

.nav-modern__link::after,
.nav-modern__item .nav-modern__link::after {
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

/* Dropdown with subtle green accent */
.nav-modern__dropdown {
    border-top: 3px solid var(--accent);
}

.nav-modern__dropdown a:hover {
    background: linear-gradient(90deg, rgba(45, 90, 61, 0.08), transparent);
    color: var(--secondary-dark);
    border-left: 3px solid var(--secondary);
    padding-left: calc(1.25rem - 3px);
}

/* CTA Button - Gold gradient */
.header-modern__cta {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 50%, var(--accent-dark) 100%);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(212, 168, 75, 0.4);
}

.header-modern__cta:hover {
    box-shadow: 0 6px 25px rgba(212, 168, 75, 0.5);
}

/* Icon buttons */
.header-modern__icon-btn:hover {
    background: var(--accent-light);
    color: var(--primary-dark);
}

/* Waffle menu icons with new scheme */
.waffle-menu__dropdown {
    right: 0 !important;
    border-top: 3px solid var(--accent);
}

/* Hero section updates */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.hero__badge {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--primary-dark);
}

/* Buttons */
.btn--primary {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    color: var(--primary-dark);
    border: none;
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    box-shadow: 0 4px 20px rgba(212, 168, 75, 0.4);
}

.btn--outline {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--outline:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

/* Quick Links with green accent */
.quick-links {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.quick-links__item:hover {
    background: var(--secondary);
}

.quick-links__icon {
    color: var(--accent);
}

/* Stats section */
.stats {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
}

.stats__number {
    color: var(--accent-light);
}

/* Department cards */
.department-card__header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

/* Meeting table */
.modern-table thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.table-link--agenda {
    background: var(--accent);
    color: var(--primary-dark);
}

.table-link--video {
    background: var(--secondary);
    color: white;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Page headers */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

/* Logo enhanced for new theme */
.header-modern__logo-title {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.header-modern__logo-tagline {
    background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent) 50%, var(--accent-dark) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.header-modern__logo-text::after {
    background: linear-gradient(90deg, var(--accent), var(--secondary), var(--accent));
}

/* Card accents */
.community-card:hover {
    border-color: var(--accent);
}

.community-card__icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-dark) 100%);
}

.partner-card:hover {
    border-color: var(--accent);
}

/* News cards */
.news-card--featured:hover {
    border-color: var(--accent);
}

/* Animated logo pulse with gold glow */
@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 4px 12px rgba(30, 58, 95, 0.2)); }
    50% { filter: drop-shadow(0 4px 20px rgba(212, 168, 75, 0.4)); }
}

/* Alert banner colors */
.alert--info {
    background: var(--primary-light);
    border-color: var(--primary);
}

.alert--success {
    background: var(--secondary-light);
    border-color: var(--secondary);
}

.alert--warning {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--primary-dark);
}

/* Fix Pay Online button */
.header-modern__cta {
    white-space: nowrap;
    padding: 0.625rem 1rem;
}

.header-modern__cta span {
    white-space: nowrap;
}

/* Footer Grid Fix */
.footer {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: rgba(255,255,255,0.9);
    padding: 4rem 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__brand {
    padding-right: 2rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer__logo img {
    height: 60px;
    width: auto;
}

.footer__logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer__brand > p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 0.75rem;
}

.footer__social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.2s ease;
}

.footer__social a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.footer__column h4 {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

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

.footer__links li {
    margin-bottom: 0.625rem;
}

.footer__links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer__links a:hover {
    color: var(--accent);
    padding-left: 0.25rem;
}

.footer__contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer__contact svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: var(--accent);
}

.footer__contact a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__contact a:hover {
    color: var(--accent);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin: 0;
}

.footer__legal {
    display: flex;
    gap: 1.5rem;
}

.footer__legal a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer__legal a:hover {
    color: var(--accent);
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer__brand {
        grid-column: span 2;
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__brand {
        grid-column: span 1;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Payments Page */
.payments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: var(--accent);
}

.payment-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.payment-card:hover .payment-card__icon {
    transform: scale(1.1);
}

.payment-card__content {
    flex: 1;
}

.payment-card__content h3 {
    color: var(--gray-900);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.payment-card__content p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.payment-card__arrow {
    color: var(--gray-400);
    transition: all 0.2s ease;
}

.payment-card:hover .payment-card__arrow {
    color: var(--accent);
    transform: translateX(4px);
}

.payments-info {
    max-width: 600px;
    margin: 0 auto;
}

.payments-info__card {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--gray-200);
}

.payments-info__card h3 {
    color: var(--primary);
    margin: 0 0 1rem;
}

.payments-info__card p {
    color: var(--gray-600);
    margin: 0.5rem 0;
}

.payments-info__card a {
    color: var(--accent-dark);
    font-weight: 500;
}

.payments-info__card a:hover {
    color: var(--primary);
}

/* Payments Page Redesign */
.payments-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.payments-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.payment-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.payment-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gray-200);
    transition: all 0.3s ease;
}

.payment-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-color: transparent;
}

.payment-tile:hover::before {
    background: var(--accent);
}

.payment-tile__icon-wrap {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.payment-tile:hover .payment-tile__icon-wrap {
    transform: scale(1.1) rotate(-5deg);
}

.payment-tile h3 {
    color: var(--gray-900);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.payment-tile p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.payment-tile__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(212, 168, 75, 0.1);
    transition: all 0.2s ease;
}

.payment-tile:hover .payment-tile__cta {
    background: var(--accent);
    color: var(--primary-dark);
}

.payment-tile:hover .payment-tile__cta svg {
    transform: translateX(3px);
}

.payment-tile__cta svg {
    transition: transform 0.2s ease;
}

/* Help section */
.payments-help {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
}

.payments-help__icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.payments-help__content h4 {
    color: var(--gray-900);
    font-size: 1rem;
    margin: 0 0 0.25rem;
}

.payments-help__content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

.payments-help__content a {
    color: var(--accent-dark);
    font-weight: 500;
}

@media (max-width: 900px) {
    .payments-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .payments-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .payment-tile {
        padding: 2rem 1.5rem;
    }
    
    .payments-help {
        flex-direction: column;
        text-align: center;
    }
}

/* Vehicle Stickers Page */
.stickers-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    color: white;
    text-align: center;
}

.stickers-hero h2 {
    font-size: 2rem;
    margin: 0 0 1rem;
    color: var(--accent-light);
}

.stickers-hero > .stickers-hero__content > p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.stickers-hero__alert {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fecaca;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.stickers-hero .btn--lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.stickers-hero__alt {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Pricing Table */
.stickers-pricing {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-200);
}

.stickers-pricing h3 {
    text-align: center;
    color: var(--primary-dark);
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
}

.stickers-table-wrap {
    overflow-x: auto;
}

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

.stickers-table thead {
    background: var(--primary);
    color: white;
}

.stickers-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stickers-table th:first-child {
    border-radius: 10px 0 0 0;
}

.stickers-table th:last-child {
    border-radius: 0 10px 0 0;
}

.stickers-table th:not(:first-child) {
    text-align: center;
    width: 140px;
}

.stickers-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.95rem;
    color: var(--gray-700);
}

.stickers-table td:not(:first-child) {
    text-align: center;
}

.stickers-table tbody tr:hover {
    background: var(--gray-50);
}

.stickers-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 10px;
}

.stickers-table tbody tr:last-child td:last-child {
    border-radius: 0 0 10px 0;
}

.price {
    display: inline-block;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.price--late {
    color: #dc2626;
}

.price--free {
    color: #16a34a;
}

/* Info Cards */
.stickers-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stickers-info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.stickers-info-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.stickers-info-card__icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.stickers-info-card h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}

.stickers-info-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.stickers-info-card a {
    color: var(--accent-dark);
    font-weight: 500;
}

@media (max-width: 900px) {
    .stickers-info-grid {
        grid-template-columns: 1fr;
    }
    
    .stickers-hero {
        padding: 2rem 1.5rem;
    }
    
    .stickers-hero h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .stickers-table th,
    .stickers-table td {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .stickers-table th:not(:first-child),
    .stickers-table td:not(:first-child) {
        width: 80px;
    }
}

/* Calendar Page */
.calendar-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-200);
}

.calendar-header__info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.calendar-header__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.calendar-header__info h2 {
    margin: 0 0 0.25rem;
    color: var(--primary-dark);
    font-size: 1.25rem;
}

.calendar-header__info p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.calendar-header__actions {
    display: flex;
    gap: 0.75rem;
}

/* Calendar Embed Wrapper */
.calendar-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-200);
    margin-bottom: 2rem;
    min-height: 700px;
    overflow: hidden;
}

.calendar-embed {
    min-height: 600px;
}

/* Loading State */
.calendar-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: var(--gray-500);
}

.calendar-loading__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Override CalendarWiz styles */
.calendar-embed iframe {
    border: none !important;
    width: 100% !important;
}

/* Legend */
.calendar-legend {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--gray-200);
}

.calendar-legend h4 {
    margin: 0 0 1rem;
    color: var(--primary-dark);
    font-size: 1rem;
}

.calendar-legend__items {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.calendar-legend__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.calendar-legend__dot {
    width: 12px;
    height: 12px;
    border-radius: 4px;
}

/* CTA */
.calendar-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    color: white;
}

.calendar-cta__content h3 {
    margin: 0 0 0.5rem;
    color: var(--accent-light);
}

.calendar-cta__content p {
    margin: 0;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .calendar-header {
        flex-direction: column;
        text-align: center;
    }
    
    .calendar-header__info {
        flex-direction: column;
    }
    
    .calendar-legend__items {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .calendar-cta {
        flex-direction: column;
        text-align: center;
    }
}

/* Employment Page */
.employment-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.employment-intro {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    color: white;
}

.employment-intro__icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.employment-intro__content h2 {
    margin: 0 0 0.5rem;
    color: var(--accent-light);
}

.employment-intro__content p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.6;
}

/* Jobs List */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.job-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

.job-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.job-card__header h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.25rem;
}

.job-card__dept {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

.job-card__meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.job-card__type {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.job-card__salary {
    background: var(--accent-light);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-card__desc {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.job-card__reqs {
    background: var(--gray-50);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.job-card__reqs h4 {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.job-card__reqs p, .job-card__reqs ul {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.job-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    flex-wrap: wrap;
}

.job-card__deadline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* No Jobs State */
.no-jobs {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 20px;
    border: 2px dashed var(--gray-300);
    margin-bottom: 3rem;
}

.no-jobs__icon {
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.no-jobs h3 {
    color: var(--primary-dark);
    margin: 0 0 0.5rem;
}

.no-jobs p {
    color: var(--gray-600);
    margin: 0 0 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Section */
.employment-benefits {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--gray-200);
}

.employment-benefits h3 {
    text-align: center;
    color: var(--primary-dark);
    margin: 0 0 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.benefit-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.benefit-card h4 {
    color: var(--primary-dark);
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.benefit-card p {
    color: var(--gray-600);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .employment-intro {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .job-card__header {
        flex-direction: column;
    }
    
    .job-card__footer {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Alerts Page */
.alerts-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.alerts-intro {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    color: white;
}

.alerts-intro__icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alerts-intro__content h2 {
    margin: 0 0 0.5rem;
    color: #fecaca;
}

.alerts-intro__content p {
    margin: 0;
    opacity: 0.95;
    line-height: 1.6;
}

.alerts-widget-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-200);
    min-height: 400px;
}

.alerts-widget {
    min-height: 350px;
}

.alerts-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.alerts-info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.alerts-info-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.alerts-info-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.alerts-info-card h4 {
    color: var(--primary-dark);
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.alerts-info-card p {
    color: var(--gray-600);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.alerts-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--primary);
    border-radius: 16px;
    color: white;
}

.alerts-cta__content h3 {
    margin: 0 0 0.5rem;
    color: var(--accent-light);
}

.alerts-cta__content p {
    margin: 0;
    opacity: 0.9;
}

.alerts-cta__links {
    display: flex;
    gap: 0.75rem;
}

.alerts-cta .btn--outline {
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.alerts-cta .btn--outline:hover {
    background: white;
    color: var(--primary-dark);
}

@media (max-width: 900px) {
    .alerts-info-grid {
        grid-template-columns: 1fr;
    }
    
    .alerts-intro {
        flex-direction: column;
        text-align: center;
    }
    
    .alerts-cta {
        flex-direction: column;
        text-align: center;
    }
    
    .alerts-cta__links {
        flex-direction: column;
        width: 100%;
    }
}

/* Alerts Page - Modern Layout */
.alerts-hero {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
}

.alerts-hero h2 {
    color: #fecaca;
    margin: 0 0 0.75rem;
    font-size: 1.75rem;
}

.alerts-hero p {
    margin: 0 auto;
    max-width: 700px;
    opacity: 0.95;
    line-height: 1.6;
}

.alerts-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
}

.alerts-widget-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-200);
}

.alerts-widget-card h3 {
    margin: 0 0 1rem;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.alerts-widget-embed {
    background: var(--gray-50);
    border-radius: 12px;
    min-height: 500px;
    overflow: hidden;
}

.alerts-widget-embed iframe {
    display: block;
}

/* Sidebar Cards */
.alerts-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alert-type-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.alert-type-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transform: translateX(-4px);
}

.alert-type-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alert-type-card__content h4 {
    margin: 0 0 0.25rem;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.alert-type-card__content p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.8rem;
}

/* Resources Box */
.alerts-resources {
    background: var(--white);
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid var(--gray-200);
    margin-top: 0.5rem;
}

.alerts-resources h4 {
    margin: 0 0 1rem;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--gray-700);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
}

.resource-link:last-child {
    margin-bottom: 0;
}

.resource-link:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.resource-link--emergency {
    background: #fef2f2;
    color: #dc2626;
    font-weight: 600;
}

.resource-link--emergency:hover {
    background: #fee2e2;
    color: #b91c1c;
}

@media (max-width: 900px) {
    .alerts-grid {
        grid-template-columns: 1fr;
    }
    
    .alerts-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .alerts-resources {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .alerts-sidebar {
        grid-template-columns: 1fr;
    }
    
    .alerts-resources {
        grid-column: span 1;
    }
    
    .alerts-hero {
        padding: 1.5rem;
    }
    
    .alerts-hero h2 {
        font-size: 1.4rem;
    }
}

/* Department Card Header Fix */
.department-card__header h2,
.department-card__header h3,
.department-card .department-card__header h2,
.department-card .department-card__header h3 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* Welcome Media Section */
.welcome__media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome__media img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.welcome__video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.welcome__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Hide empty media container */
.welcome__media:empty {
    display: none;
}

/* ==========================================
   3D HERO EFFECTS
   ========================================== */

/* Animated gradient orbs */
.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: heroOrbFloat 20s ease-in-out infinite;
    pointer-events: none;
}

.hero__orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.4) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.hero__orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(42, 74, 108, 0.6) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -10s;
}

.hero__orb--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.4) 0%, transparent 70%);
    bottom: 20%;
    right: 20%;
    animation-delay: -5s;
    opacity: 0.3;
}

@keyframes heroOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

/* 3D Geometric elements */
.hero__geo {
    position: absolute;
    opacity: 0.15;
    animation: heroGeoRotate 30s linear infinite;
    pointer-events: none;
}

.hero__geo--1 {
    width: 200px;
    height: 200px;
    border: 2px solid var(--gold, #d4a84b);
    top: 15%;
    right: 15%;
    transform: rotateX(45deg) rotateY(45deg);
}

.hero__geo--2 {
    width: 150px;
    height: 150px;
    border: 2px solid #fff;
    bottom: 25%;
    right: 25%;
    transform: rotateX(-30deg) rotateY(60deg);
    animation-delay: -15s;
    animation-direction: reverse;
}

.hero__geo--3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(212, 168, 75, 0.4), transparent);
    top: 30%;
    right: 30%;
    transform: rotateX(60deg) rotateY(-30deg);
    animation-delay: -7s;
}

@keyframes heroGeoRotate {
    0% { transform: rotateX(45deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(45deg) rotateY(360deg) rotateZ(360deg); }
}

/* Particles */
.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero__particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold, #d4a84b);
    border-radius: 50%;
    opacity: 0.4;
    animation: heroParticleFloat 15s linear infinite;
}

@keyframes heroParticleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* Watermark */
.hero__watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%) rotateX(10deg) rotateY(-5deg);
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: clamp(2rem, 6vw, 4.5rem);
    white-space: nowrap;
    color: transparent;
    background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(212, 168, 75, 0.15), rgba(255,255,255,0.08));
    -webkit-background-clip: text;
    background-clip: text;
    z-index: 5;
    pointer-events: none;
    animation: heroWatermarkShift 8s ease-in-out infinite;
}

@keyframes heroWatermarkShift {
    0%, 100% { transform: translate(-30%, -50%) rotateX(10deg) rotateY(-5deg); }
    50% { transform: translate(-32%, -48%) rotateX(8deg) rotateY(-3deg); }
}

/* Enhanced badge with float */
.hero__badge {
    animation: heroBadgeFloat 4s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(212, 168, 75, 0.4);
}

@keyframes heroBadgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Enhanced title */
.hero__title {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 60px rgba(212, 168, 75, 0.15);
    animation: heroTitleReveal 1s ease-out forwards;
}

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

/* Parallax layer base */
.parallax-layer {
    transition: transform 0.1s ease-out;
}

/* 3D Quick Link Cards */
.quick-link--3d {
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.quick-link--3d:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 30px rgba(212, 168, 75, 0.1);
}

.quick-link--3d .quick-link__icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(20px);
}

.quick-link--3d:hover .quick-link__icon {
    transform: translateZ(40px) scale(1.1);
}

/* Hide watermark on mobile */
@media (max-width: 768px) {
    .hero__watermark {
        display: none;
    }
    .hero__geo {
        display: none;
    }
}

/* Z-INDEX FIXES FOR 3D EFFECTS */
.hero__background { z-index: 1; }
.hero::before { z-index: 2; }
.hero__orb { z-index: 3; }
.hero__geo { z-index: 3; }
.hero__particles { z-index: 4; }
.hero__watermark { z-index: 5; }
.hero__content { z-index: 10; position: relative; }
.hero .container { position: relative; z-index: 10; }

/* 3D HERO CONTENT POP */
.hero {
    perspective: 1000px;
}

.hero__content {
    transform: translateZ(60px);
    transform-style: preserve-3d;
    background: rgba(10, 22, 40, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 100px rgba(212, 168, 75, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 600px;
}

.hero__title {
    transform: translateZ(30px);
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(212, 168, 75, 0.2);
}

.hero__badge {
    transform: translateZ(40px);
    box-shadow: 
        0 10px 30px rgba(212, 168, 75, 0.5),
        0 5px 0 rgba(180, 140, 50, 1);
}

.hero__subtitle {
    transform: translateZ(20px);
}

.hero__actions {
    transform: translateZ(50px);
}

.hero__actions .btn--primary {
    box-shadow: 
        0 8px 30px rgba(212, 168, 75, 0.4),
        0 4px 0 0 #b8923d;
}

.hero__actions .btn--primary:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(212, 168, 75, 0.5),
        0 6px 0 0 #b8923d;
}

.hero__actions .btn--outline {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-width: 2px;
}

.hero__actions .btn--outline:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
}

/* 3D QUICK LINKS BAR */
.quick-links {
    perspective: 1000px;
    background: linear-gradient(135deg, #722F37 0%, #5a252c 50%, #4a1f24 100%);
    padding: 2.5rem 0;
    margin-top: -30px;
    position: relative;
    z-index: 20;
    box-shadow: 
        0 -10px 40px rgba(0, 0, 0, 0.3),
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.quick-links__grid {
    transform: translateZ(40px);
    transform-style: preserve-3d;
}

.quick-link--3d {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 16px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 5px 0 rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateZ(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-link--3d:hover {
    transform: translateY(-12px) translateZ(40px) !important;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 8px 0 rgba(0, 0, 0, 0.15),
        0 0 30px rgba(212, 168, 75, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.quick-link--3d .quick-link__icon {
    box-shadow: 
        0 8px 20px rgba(26, 58, 92, 0.4),
        0 3px 0 rgba(15, 40, 65, 1);
}

.quick-link--3d:hover .quick-link__icon {
    transform: scale(1.1) translateZ(30px);
    box-shadow: 
        0 12px 25px rgba(26, 58, 92, 0.5),
        0 4px 0 rgba(15, 40, 65, 1);
}

/* ==========================================
   DRAMATIC GLASSMORPHISM + LAYERED DEPTH
   ========================================== */

/* Hero layered background panels */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(212, 168, 75, 0.2), rgba(212, 168, 75, 0.05));
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: rotate(15deg) translateZ(20px);
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero__content {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 3.5rem !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 120px rgba(212, 168, 75, 0.15) !important;
    transform: translateZ(80px) !important;
    position: relative;
    overflow: visible;
}

/* Floating accent shapes behind content */
.hero__content::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(212, 168, 75, 0.4), rgba(212, 168, 75, 0.1));
    border-radius: 24px;
    transform: rotate(-15deg);
    z-index: -1;
    filter: blur(2px);
    border: 1px solid rgba(212, 168, 75, 0.3);
}

.hero__content::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border-radius: 16px;
    transform: rotate(20deg);
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced badge - floating pill */
.hero__badge {
    background: linear-gradient(135deg, #d4a84b, #f0c866) !important;
    box-shadow: 
        0 15px 40px rgba(212, 168, 75, 0.5),
        0 5px 0 #b8923d,
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    transform: translateZ(60px) !important;
    animation: badgeFloat 3s ease-in-out infinite !important;
}

/* Title with stronger depth */
.hero__title {
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(212, 168, 75, 0.3) !important;
    transform: translateZ(40px) !important;
}

/* Buttons with heavy 3D */
.hero__actions .btn--primary {
    background: linear-gradient(135deg, #d4a84b, #e8c577) !important;
    box-shadow: 
        0 15px 40px rgba(212, 168, 75, 0.5),
        0 6px 0 #a07a35,
        inset 0 2px 0 rgba(255, 255, 255, 0.3) !important;
    transform: translateZ(50px);
    border: none !important;
}

.hero__actions .btn--primary:hover {
    transform: translateY(-6px) translateZ(60px) !important;
    box-shadow: 
        0 25px 60px rgba(212, 168, 75, 0.6),
        0 8px 0 #a07a35,
        inset 0 2px 0 rgba(255, 255, 255, 0.4) !important;
}

.hero__actions .btn--outline {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 6px 0 rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transform: translateZ(50px);
}

.hero__actions .btn--outline:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-6px) translateZ(60px) !important;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 8px 0 rgba(0, 0, 0, 0.2) !important;
}

/* ==========================================
   QUICK LINKS - FLOATING GLASS CARDS
   ========================================== */

.quick-links {
    background: linear-gradient(135deg, #6B2D35 0%, #4a1f24 100%) !important;
    padding: 4rem 0 !important;
    margin-top: -50px !important;
    position: relative;
    z-index: 30;
    box-shadow: 
        0 -20px 60px rgba(0, 0, 0, 0.4),
        0 30px 80px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    overflow: visible;
}

/* Glass overlay on maroon */
.quick-links::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Decorative floating shapes */
.quick-links::after {
    content: '';
    position: absolute;
    top: -60px;
    left: 10%;
    width: 200px;
    height: 200px;
    background: rgba(212, 168, 75, 0.15);
    border-radius: 30px;
    transform: rotate(-10deg);
    filter: blur(40px);
    pointer-events: none;
}

.quick-links__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem !important;
    position: relative;
    z-index: 5;
}

.quick-link--3d {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px !important;
    padding: 2rem 1.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 8px 0 rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 1),
        inset 0 -2px 10px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(0) translateZ(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

/* Glass shine effect */
.quick-link--3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.quick-link--3d:hover::before {
    left: 100%;
}

.quick-link--3d:hover {
    transform: translateY(-20px) scale(1.05) !important;
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 12px 0 rgba(0, 0, 0, 0.1),
        0 0 40px rgba(212, 168, 75, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 1) !important;
}

.quick-link--3d .quick-link__icon {
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, #1a3a5c, #2a5a8c) !important;
    border-radius: 18px !important;
    box-shadow: 
        0 12px 30px rgba(26, 58, 92, 0.5),
        0 4px 0 #0f2540,
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.quick-link--3d:hover .quick-link__icon {
    transform: translateY(-8px) scale(1.1) rotate(-5deg) !important;
    box-shadow: 
        0 20px 40px rgba(26, 58, 92, 0.6),
        0 6px 0 #0f2540,
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.quick-link--3d .quick-link__title {
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    color: #1a3a5c !important;
    margin-top: 1rem !important;
}

/* Responsive fix */
@media (max-width: 900px) {
    .quick-links__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero::after {
        display: none;
    }
}

@media (max-width: 500px) {
    .quick-links__grid {
        grid-template-columns: 1fr;
    }
}

/* QUICK LINKS - SHIFT DOWN & SMALLER */
.quick-links {
    margin-top: 0 !important;
    padding: 2.5rem 0 !important;
}

.quick-links__grid {
    gap: 1.5rem !important;
}

.quick-link--3d {
    padding: 1.5rem 1rem !important;
    border-radius: 16px !important;
}

.quick-link--3d .quick-link__icon {
    width: 56px !important;
    height: 56px !important;
    border-radius: 14px !important;
}

.quick-link--3d .quick-link__title {
    font-size: 1rem !important;
    margin-top: 0.75rem !important;
}

/* QUICK LINKS - BACK TO BLUE */
.quick-links {
    background: linear-gradient(135deg, #1a3a5c 0%, #0f2540 50%, #0a1a30 100%) !important;
}

.quick-links::after {
    background: rgba(212, 168, 75, 0.1) !important;
}

/* QUICK LINKS - SOFT GOLD GLASS */
.quick-links {
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.7) 0%, rgba(180, 140, 70, 0.6) 50%, rgba(160, 120, 50, 0.7) 100%) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
}

.quick-links::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 60%) !important;
}

.quick-links::after {
    background: rgba(255, 255, 255, 0.15) !important;
    filter: blur(50px) !important;
}

/* QUICK LINKS - ROUNDED FLOATING BAR */
.quick-links {
    background: linear-gradient(135deg, #1a3a5c 0%, #0f2540 100%) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    margin: -40px auto 0 !important;
    max-width: 1100px !important;
    border-radius: 24px !important;
    padding: 2rem !important;
    position: relative;
    z-index: 30;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.quick-links::before {
    border-radius: 24px !important;
}

.quick-links::after {
    display: none !important;
}

/* FORM STYLES */
.form h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
    color: var(--primary);
}
.form h3:first-of-type { margin-top: 0; }
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}
.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
}
.sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.sidebar-card h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.sidebar-card ul {
    margin: 0;
    padding-left: 1.25rem;
}
.sidebar-card li {
    margin-bottom: 0.5rem;
}
@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   DEPARTMENT PAGE - GLASS HEADER & POLISH
   ========================================== */

.dept-header {
    position: relative;
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, var(--primary-dark, #0a1628) 0%, var(--primary, #1a3a5c) 50%, var(--primary-light, #2a4a6c) 100%);
    overflow: hidden;
}

.dept-header__bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.dept-header__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.dept-header__orb--1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.5) 0%, transparent 70%);
    top: -100px;
    right: 10%;
}

.dept-header__orb--2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(42, 74, 108, 0.6) 0%, transparent 70%);
    bottom: -50px;
    left: 5%;
}

.dept-header__content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.dept-header__content .breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.dept-header__content .breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.dept-header__content .breadcrumb a:hover {
    color: #fff;
}

.dept-header__content .breadcrumb span {
    color: var(--gold, #d4a84b);
}

.dept-header__content h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.dept-header__content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Layout */
.dept-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
}

.dept-main {
    min-width: 0;
}

/* Featured Staff Card */
.dept-staff-featured {
    margin-bottom: 2rem;
}

.staff-card-featured {
    display: flex;
    gap: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 1rem;
}

.staff-card-featured__photo {
    flex-shrink: 0;
}

.staff-card-featured__photo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.staff-card-featured__placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.staff-card-featured__info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
    color: var(--primary-dark, #0a1628);
}

.staff-card-featured__title {
    display: inline-block;
    color: var(--gold, #d4a84b);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.staff-card-featured__bio {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.staff-card-featured__contact {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.staff-card-featured__contact .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Content Card */
.dept-content-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.dept-content h3 {
    color: var(--primary, #1a3a5c);
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.dept-content h3:first-child {
    margin-top: 0;
}

.dept-content ul {
    margin: 1rem 0;
    padding-left: 0;
    list-style: none;
}

.dept-content ul li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.dept-content ul li:last-child {
    border-bottom: none;
}

.dept-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--gold, #d4a84b);
    border-radius: 50%;
}

.dept-content ul li a {
    color: var(--primary, #1a3a5c);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.dept-content ul li a:hover {
    color: var(--gold, #d4a84b);
}

.dept-content p {
    line-height: 1.7;
    color: #444;
}

/* Sidebar */
.dept-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card--contact {
    background: linear-gradient(135deg, var(--primary, #1a3a5c), var(--primary-dark, #0a1628));
    color: #fff;
}

.sidebar-card--contact h3 {
    color: #fff;
}

.sidebar-card--contact a {
    color: var(--gold, #d4a84b);
}

.sidebar-card__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.sidebar-card__header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.sidebar-card__item {
    margin-bottom: 1rem;
}

.sidebar-card__item:last-child {
    margin-bottom: 0;
}

.sidebar-card__label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

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

.sidebar-links li {
    border-bottom: 1px solid #e9ecef;
}

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

.sidebar-links li a {
    display: block;
    padding: 0.75rem 0;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-links li a:hover {
    color: var(--primary, #1a3a5c);
    padding-left: 0.5rem;
}

.sidebar-links li.active a {
    color: var(--gold, #d4a84b);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
    .dept-layout {
        grid-template-columns: 1fr;
    }
    
    .staff-card-featured {
        flex-direction: column;
        text-align: center;
    }
    
    .staff-card-featured__contact {
        justify-content: center;
    }
    
    .dept-header__content h1 {
        font-size: 2rem;
    }
}

/* ALERT STYLES */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.alert--info {
    background: #e8f4fd;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}

.alert--success {
    background: #ecfdf5;
    border-left: 4px solid #22c55e;
    color: #166534;
}

.alert--warning {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.alert--error {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.alert strong {
    display: block;
    margin-bottom: 0.25rem;
}

/* DEPARTMENT HEADER - ROUNDED GLASS BOX */
.dept-header {
    background: transparent !important;
    padding: 2rem 0 0 !important;
    overflow: visible !important;
}

.dept-header__bg {
    display: none !important;
}

.dept-header__orb {
    display: none !important;
}

.dept-header__content {
    background: linear-gradient(135deg, #1a3a5c 0%, #0f2540 100%) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    max-width: 100% !important;
    border-radius: 24px !important;
    padding: 2.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.dept-header .container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Page header (used on other pages) - same style */
.page-header {
    background: transparent !important;
    padding: 2rem 0 0 !important;
}

.page-header .container {
    background: linear-gradient(135deg, #1a3a5c 0%, #0f2540 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.page-header h1 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
}

.page-header .breadcrumb {
    margin-bottom: 1rem;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.page-header .breadcrumb a:hover {
    color: #fff;
}

.page-header .breadcrumb span {
    color: var(--gold, #d4a84b);
}

/* WIDER HEADER BOX */
.dept-header .container {
    max-width: 1400px !important;
}

.dept-header__content {
    max-width: 100% !important;
}

.page-header .container {
    max-width: 1400px !important;
}

/* FORMS PAGE STYLES */
.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.forms-department-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.forms-department-card__header {
    background: linear-gradient(135deg, var(--primary, #1a3a5c), var(--primary-dark, #0f2540));
    color: #fff;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forms-department-card__header h2 {
    font-size: 1.2rem;
    margin: 0;
}

.forms-count {
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

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

.forms-list li {
    border-bottom: 1px solid #f0f0f0;
}

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

.form-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.form-item:hover {
    background: #f8f9fa;
}

.form-item__icon {
    width: 44px;
    height: 44px;
    background: #fee2e2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    flex-shrink: 0;
}

.form-item__info {
    flex: 1;
}

.form-item__name {
    display: block;
    font-weight: 600;
    color: var(--primary, #1a3a5c);
}

.form-item__desc {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

.form-item__download {
    color: #22c55e;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.empty-state svg {
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
}

/* Big Forms Button for Department Pages */
.dept-forms-button {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
    transition: all 0.3s;
}

.dept-forms-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.4);
}

.dept-forms-button__icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dept-forms-button__text h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.3rem;
}

.dept-forms-button__text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

@media (max-width: 500px) {
    .forms-grid {
        grid-template-columns: 1fr;
    }
}

/* Forms button should be outside content card */
.dept-content .dept-forms-button {
    margin: 0 0 1.5rem 0;
}

.dept-content-card {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.dept-content h3:first-of-type {
    margin-top: 0;
}

/* FORMS PAGE - READABLE HEADERS */
.forms-department-card__header {
    background: linear-gradient(135deg, var(--primary, #1a3a5c), var(--primary-dark, #0f2540)) !important;
    color: #fff !important;
}

.forms-department-card__header h2 {
    color: #fff !important;
    font-size: 1.25rem !important;
}

.forms-count {
    background: rgba(255,255,255,0.25) !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* FIX DARK DEPT BUTTON TEXT */
.dept-forms-button h3,
.dept-forms-button p {
    color: #fff !important;
}

.dept-forms-button__text h3 {
    color: #fff !important;
}

.dept-forms-button__text p {
    color: rgba(255,255,255,0.9) !important;
}

/* FORM SUBMIT PAGE */
.form-submit-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.pdf-viewer-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.pdf-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.pdf-viewer-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.pdf-viewer-frame {
    height: 600px;
    background: #333;
}

.pdf-viewer-frame iframe {
    width: 100%;
    height: 100%;
}

.pdf-viewer-note {
    padding: 1rem 1.5rem;
    background: #fffbeb;
    border-top: 1px solid #fef3c7;
    font-size: 0.9rem;
    margin: 0;
}

.upload-form-section h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload__label {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.2s;
    background: #f9fafb;
}

.file-upload:hover .file-upload__label {
    border-color: var(--primary);
    background: #f0f7ff;
}

.file-upload__label svg {
    margin-bottom: 0.5rem;
    color: #9ca3af;
}

.file-upload__label span {
    display: block;
    font-weight: 600;
    color: #374151;
}

.file-upload__label small {
    display: block;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.file-upload__preview {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #ecfdf5;
    border-radius: 8px;
    color: #166534;
    font-size: 0.9rem;
}

/* Form list with actions */
.form-item-row {
    display: flex;
    align-items: center;
}

.form-item-row .form-item {
    flex: 1;
}

.form-item__actions {
    display: flex;
    gap: 0.5rem;
    padding-right: 1rem;
}

.form-item__actions .btn--sm {
    padding: 0.5rem;
}

@media (max-width: 900px) {
    .form-submit-layout {
        grid-template-columns: 1fr;
    }
    
    .pdf-viewer-frame {
        height: 400px;
    }
}

/* SUCCESS BUTTON */
.btn--success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    border: none;
}

.btn--success:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
}

.form-item__actions {
    display: flex;
    gap: 0.5rem;
    padding-right: 1rem;
    align-items: center;
}

.form-item__actions .btn--sm {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

.form-item-row {
    display: flex;
    align-items: center;
}

.form-item-row .form-item {
    flex: 1;
}

/* ONLINE FORMS */
.form-page-layout {
    max-width: 700px;
    margin: 0 auto;
}

.form-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.online-form .form-group {
    margin-bottom: 1.5rem;
}

.online-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e3a5f;
}

.online-form input[type="text"],
.online-form input[type="email"],
.online-form input[type="tel"],
.online-form input[type="date"],
.online-form input[type="file"],
.online-form select,
.online-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.online-form input:focus,
.online-form select:focus,
.online-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.confirmation-card {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.confirmation-icon {
    margin-bottom: 1.5rem;
}

.confirmation-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.confirmation-details p {
    margin: 0.5rem 0;
}

.confirmation-actions {
    margin-top: 2rem;
}

/* FORMS LEGEND */
.forms-legend {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.legend-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.legend-icon--pdf {
    background: #fee2e2;
    color: #dc2626;
}

.legend-icon--online {
    background: #dcfce7;
    color: #16a34a;
}

/* FORM ITEMS */
.form-item--online {
    border-left: 3px solid #22c55e;
}

.form-item--pdf {
    border-left: 3px solid #ef4444;
}

.form-item__icon--online {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0) !important;
    color: #16a34a !important;
}

.form-item__icon--pdf {
    background: linear-gradient(135deg, #fee2e2, #fecaca) !important;
    color: #dc2626 !important;
}

.form-item__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #22c55e;
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.25rem;
}

.form-item__arrow {
    color: #22c55e;
    transition: transform 0.2s;
}

.form-item--online:hover .form-item__arrow {
    transform: translateX(4px);
}

.form-item__download {
    color: #dc2626;
}

/* FORMS FILTER */
.forms-filter-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: #e8f4fd;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.forms-filter-bar .filter-label {
    margin-left: auto;
    color: #666;
}

.forms-dept-filter {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.forms-dept-filter .filter-label {
    font-weight: 500;
    color: #666;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #475569;
    transition: all 0.2s;
    text-decoration: none;
}

.filter-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* SIDEBAR FORMS BUTTON */
.sidebar-forms-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: all 0.2s;
}

.sidebar-forms-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
    color: #fff;
}

.sidebar-forms-btn__icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-forms-btn__text {
    flex: 1;
}

.sidebar-forms-btn__text strong {
    display: block;
    font-size: 1rem;
}

.sidebar-forms-btn__text span {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ACTIVE FILTER BUTTON */
.filter-btn.active {
    background: var(--primary);
    color: #fff;
}

/* ========================================
   EMERGENCY ALERT MODAL
   ======================================== */

.alert-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.alert-modal.active {
    display: flex;
}

.alert-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.alert-modal__content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    animation: alertSlideIn 0.3s ease-out;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.alert-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s;
}

.alert-modal__close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.alert-modal__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.alert-modal__title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #1e293b;
}

.alert-modal__message {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    text-align: center;
    margin-bottom: 1rem;
}

.alert-modal__time {
    font-size: 0.875rem;
    color: #94a3b8;
    text-align: center;
}

/* Alert Types */
.alert-modal--danger .alert-modal__icon {
    background: #fef2f2;
    color: #dc2626;
}

.alert-modal--danger .alert-modal__content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 4px solid #dc2626;
}

.alert-modal--warning .alert-modal__icon {
    background: #fffbeb;
    color: #f59e0b;
}

.alert-modal--warning .alert-modal__content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 4px solid #f59e0b;
}

.alert-modal--info .alert-modal__icon {
    background: #eff6ff;
    color: #3b82f6;
}

.alert-modal--info .alert-modal__content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 4px solid #3b82f6;
}

.alert-modal--default .alert-modal__icon {
    background: #f1f5f9;
    color: #64748b;
}

.alert-modal--default .alert-modal__content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 4px solid #64748b;
}

/* ========================================
   ALERT BAR (Top Banner)
   ======================================== */

.alert-bar {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 0;
    position: relative;
    z-index: 1000;
    overflow: hidden;
}

.alert-bar__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.alert-item {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-right: 1px solid rgba(255,255,255,0.1);
}

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

.alert-item:hover {
    background: rgba(255,255,255,0.1);
}

.alert-item__icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert-item__text {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    line-height: 1.4;
}

.alert-item__more {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    padding: 0.25rem 0.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: all 0.2s;
}

.alert-item:hover .alert-item__more {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* Alert Type Colors */
.alert-item--danger,
.alert-item--red {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.alert-item--danger:hover,
.alert-item--red:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.alert-item--warning,
.alert-item--yellow {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.alert-item--warning:hover,
.alert-item--yellow:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.alert-item--info,
.alert-item--blue {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.alert-item--info:hover,
.alert-item--blue:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.alert-item--default {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
}

.alert-item--default:hover {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .alert-item {
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .alert-item:last-child {
        border-bottom: none;
    }
}

/* ========================================
   ALERT MODAL - GLASS EFFECT UPDATE
   ======================================== */

.alert-modal__content {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.alert-modal__backdrop {
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Center all text in modal */
.alert-modal__title,
.alert-modal__message,
.alert-modal__time {
    text-align: center !important;
}

.alert-modal__icon {
    margin: 0 auto 1.5rem !important;
}

/* Alert bar glass effect */
.alert-bar {
    background: rgba(30, 41, 59, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.alert-item {
    justify-content: center;
    text-align: center;
}

.alert-item__text {
    text-align: center;
    flex: unset;
}

.alert-item--danger,
.alert-item--red {
    background: rgba(220, 38, 38, 0.9) !important;
    backdrop-filter: blur(12px);
}

.alert-item--warning,
.alert-item--yellow {
    background: rgba(217, 119, 6, 0.9) !important;
    backdrop-filter: blur(12px);
}

.alert-item--info,
.alert-item--blue {
    background: rgba(37, 99, 235, 0.9) !important;
    backdrop-filter: blur(12px);
}

/* ========================================
   ALERT - ENHANCED GLASS EFFECT
   ======================================== */

.alert-modal__content {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.8) !important;
}

.alert-modal__backdrop {
    background: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.alert-bar {
    background: rgba(30, 41, 59, 0.6) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.alert-item--danger,
.alert-item--red {
    background: rgba(220, 38, 38, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.alert-item--danger:hover,
.alert-item--red:hover {
    background: rgba(239, 68, 68, 0.8) !important;
}

.alert-item--warning,
.alert-item--yellow {
    background: rgba(217, 119, 6, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.alert-item--warning:hover,
.alert-item--yellow:hover {
    background: rgba(245, 158, 11, 0.8) !important;
}

.alert-item--info,
.alert-item--blue {
    background: rgba(37, 99, 235, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.alert-item--info:hover,
.alert-item--blue:hover {
    background: rgba(59, 130, 246, 0.8) !important;
}

.alert-item--default {
    background: rgba(71, 85, 105, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.alert-item--default:hover {
    background: rgba(100, 116, 139, 0.7) !important;
}

/* ========================================
   ALERT MODAL - SOLID (NOT GLASS)
   ======================================== */

.alert-modal__content {
    background: white !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4) !important;
}

.alert-modal__backdrop {
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ========================================
   ALERT MODAL EXTRA INFO
   ======================================== */

.alert-modal__extra {
    margin-top: 1.5rem;
    text-align: left;
}

.alert-extra-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1rem;
    border-left: 4px solid #3b82f6;
}

.alert-extra-section--danger {
    background: #fef2f2;
    border-left-color: #dc2626;
}

.alert-extra-section--warning {
    background: #fffbeb;
    border-left-color: #f59e0b;
}

.alert-extra-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
}

.alert-extra-section h4:not(:first-child) {
    margin-top: 1.25rem;
}

.alert-extra-section ul {
    margin: 0;
    padding-left: 1.25rem;
}

.alert-extra-section li {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.alert-extra-section li:last-child {
    margin-bottom: 0;
}

.alert-extra-section strong {
    color: #1e293b;
}

/* Fix dark text in page headers - ensure visibility */
.page-header h1,
.page-header h2,
.page-header h3,
.page-header p,
.page-header .breadcrumb,
.page-header .breadcrumb a,
.page-header .breadcrumb span,
.page-header * {
    color: #ffffff !important;
}
.page-header .breadcrumb a {
    opacity: 0.8;
}
.page-header .breadcrumb a:hover {
    opacity: 1;
}
.page-header .breadcrumb span {
    color: #fbbf24 !important;
}

/* Form hero text fix */
.form-hero h1 { color: #ffffff !important; }
.form-hero p { color: #e2e8f0 !important; }
