/* ===== MODERN PREMIUM DESIGN ===== */
:root {
    /* Colors - Modern Palette */
    --color-primary: #1d3557;
    --color-primary-dark: #0f1e33;
    --color-primary-light: #2d4567;
    --color-secondary: #457b9d;
    --color-accent: #f1faee;
    --color-dark: #1d3557;

    /* Neutrals */
    --color-text: #2b2d42;
    --color-text-light: #6c757d;
    --color-text-lighter: #adb5bd;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-lighter: #fafbfc;

    /* Typography */
    --font-heading: 'Barlow Semi Condensed', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;

    /* Shadows - Layered */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-primary: 0 8px 24px rgba(29, 53, 87, 0.25);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--color-bg-lighter);
}

body.no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

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

ul {
    list-style: none;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

/* ===== HEADER - Modern Floating Style ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.navbar__toggle {
    display: none;
}

.navbar__brand {
    display: flex;
    align-items: center;
}

.navbar__logo {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.navbar__link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    color: var(--color-text);
    padding: var(--spacing-xs) 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    position: relative;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #d11616;
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.navbar__link:hover::after,
.navbar__link--active::after,
.navbar__link.active::after {
    width: 80%;
}

.navbar__link:hover,
.navbar__link--active,
.navbar__link.active {
    color: #d11616;
}

/* Dropdown Menu Styles */
.navbar__item {
    position: relative;
}

.navbar__item--dropdown>.navbar__link::before {
    content: '▾';
    margin-left: 6px;
    font-size: 12px;
    transition: var(--transition-base);
    display: inline-block;
}

.navbar__item--dropdown:hover>.navbar__link::before {
    transform: rotate(180deg);
}

.navbar__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 200px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: var(--spacing-xs) 0;
    margin-top: var(--spacing-xs);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.06);
    white-space: nowrap;
}

.navbar__item--dropdown:hover .navbar__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.navbar__dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateX(-50%) rotate(45deg);
}

.navbar__dropdown li {
    list-style: none;
}

.navbar__dropdown-link {
    display: block;
    padding: var(--spacing-sm) var(--spacing-sm);
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.navbar__dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #d11616;
    transform: scaleY(0);
    transition: var(--transition-base);
}

.navbar__dropdown-link:hover,
.navbar__dropdown-link.active {
    background: linear-gradient(90deg, rgba(209, 22, 22, 0.08) 0%, transparent 100%);
    color: #d11616;
}

.navbar__dropdown-link:hover::before,
.navbar__dropdown-link.active::before {
    transform: scaleY(1);
}

.navbar__lang {
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
    padding-left: var(--spacing-md);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar__lang img {
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-fast);
    border-radius: 4px;
}

.navbar__lang img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ===== HERO - Slideshow ===== */
.hero {
    width: 100%;
    height: calc(100vh - 70px);
    min-height: 500px;
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero__slideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero__slide--active {
    opacity: 1;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Preloader */
.hero__preloader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.hero__preloader.hero__preloader--hidden {
    opacity: 0;
    visibility: hidden;
}

.hero__preloader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Slogan Overlay on Hero - Modern Stacked Design */
.hero__slogan {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--spacing-md);
}

.hero__slogan-wrapper {
    animation: fadeInUp 1s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__slogan-label {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--spacing-xs);
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(0, 0, 0, 0.5);
}

.hero__slogan h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin: 0;
    line-height: 1;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.9),
        0 4px 16px rgba(0, 0, 0, 0.8),
        0 8px 32px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 0, 0, 0.6);
}

.hero__slogan-tagline {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 2px;
    margin-top: var(--spacing-sm);
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(0, 0, 0, 0.5);
}

/* Slideshow Indicators */
.hero__indicators {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 2;
}

.hero__indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition-base);
    padding: 0;
}

.hero__indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.hero__indicator--active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

/* ===== SECTION HEADER - Modern ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
}

.section-header p {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-text-light);
    margin: 0;
}

/* ===== NEWS SECTION - Card Grid ===== */
.news {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg);
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.news__card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.news__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.news__image {
    width: 100%;
    height: 250px;
    background-size: cover;
    /* Default to cover to fill spaces */
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f4f8;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.news__image.is-portrait {
    background-size: contain;
    /* Switch to contain for vertical posters */
}

.news__image.loading,
.event-item__image.loading {
    background: #f7fafc !important;
    background-image: none !important;
    position: relative;
}

.news__image.loading::before,
.event-item__image.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #e2e8f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.news__image::after {
    content: 'Ler mais →';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.news__card:hover .news__image::after {
    opacity: 1;
}

.news__card:hover .news__image {
    transform: scale(1.06);
}

.news__body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.news__date {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.news__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    color: #1f2937;
    line-height: 1.3;
}

.news__excerpt {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news .text-center {
    margin-top: var(--spacing-xl);
}


/* ===== BUTTONS - Modern ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    font-family: var(--font-heading);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn--primary {
    background: linear-gradient(135deg, #d11616 0%, #a01111 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(209, 22, 22, 0.25);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(209, 22, 22, 0.35);
}

.btn--white {
    background: white;
    color: #d11616;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.4);
}

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.6);
}

/* ===== INCIDENTS - Modern Accordion ===== */
.incidents {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
}

.incidents::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.incidents__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.incidents h2 {
    font-size: 1.75rem;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: white;
}

.incidents p {
    font-size: 1.125rem;
    margin: 0;
    font-weight: 400;
    opacity: 0.95;
}

.incidents__toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: var(--transition-base);
}

.incidents__chevron {
    transition: transform var(--transition-base);
}

.incidents__toggle.active .incidents__chevron {
    transform: rotate(180deg);
}

.incidents__accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    margin-top: 0;
}

.incidents__accordion.expanded {
    max-height: 1200px;
    margin-top: var(--spacing-xl);
}

.incidents__form {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.incidents__form .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.incidents__form .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 10px;
    padding-right: 10px;
}

.incidents__form .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

.incidents__form .form-group {
    margin-bottom: var(--spacing-md);
}

.incidents__form label {
    display: block;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.incidents__form label span {
    color: #d11616;
}

.incidents__form .form-control {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-family: var(--font-body);
    transition: var(--transition-fast);
    background: white;
}

.incidents__form .form-control:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

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

.incidents__form .form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.incidents__form .form-check-input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.incidents__form .form-check-label {
    font-weight: 400;
    font-size: 0.875rem;
    cursor: pointer;
    margin-bottom: 0;
}

.incidents__form .form-check-label a {
    color: #2c3e50;
    text-decoration: underline;
}

.incidents__form .form-check-label a:hover {
    color: #1a252f;
}

.incidents__form .btn--primary {
    margin-top: var(--spacing-md);
}

/* ===== EVENTS - Modern Split Layout ===== */
.events {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg);
}

.events__container {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: white;
}

.events__image {
    background-size: cover;
    background-position: center;
    min-height: 500px;
    position: relative;
}

.events__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.1) 0%, rgba(69, 123, 157, 0.1) 100%);
}

.events__list {
    padding: var(--spacing-xl);
    background: white;
}

.event {
    padding-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--color-bg-light);
    transition: var(--transition-base);
}

.event:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.event:hover {
    transform: translateX(8px);
}

.event__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.event__date {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-lighter);
    margin-left: var(--spacing-sm);
}

.event__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: var(--spacing-sm) 0;
    line-height: 1.4;
}

.event__description {
    font-size: 1rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.6;
}

/* ===== FOOTER - Modern Premium ===== */
.footer {
    background: linear-gradient(135deg, var(--color-dark) 0%, #0a1422 100%);
    color: white;
    padding: 30px 0 15px;
    /* Compact padding */
    position: relative;
    overflow: hidden;
}


.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: 20px;
    /* Reduced margin */
}

.footer__col h4 {
    font-size: 1rem;
    /* Slightly smaller */
    margin-bottom: 12px;
    /* Reduced margin */
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer__col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #d11616;
}

.footer__col--brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
    text-align: center;
}

.footer__brand-logo {
    max-width: 180px;
    height: auto;
}

.footer__brand-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 320px;
}

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

.footer__col ul li {
    margin-bottom: 0.75rem;
}

.footer__col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__col ul li a:hover {
    color: #667eea;
    transform: translateX(6px);
}

.footer__col h6 {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer__col h6 a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.footer__col h6 a:hover {
    color: white;
}

.footer__col small {
    font-family: var(--font-body);
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    display: block;
}

.footer__social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    /* Compact margin */
}

.social-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 32px;
    /* Smaller circles */
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-btn i {
    line-height: 1;
    /* Reset to natural */
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(1px);
    /* Manual optical adjustment to kill font top-bias */
}

.social-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.footer__partners {
    padding: 10px 0;
    /* Tight padding */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    /* Reduced margin */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer__partner-logo {
    max-width: 90px;
    /* Smaller partner logo */
    opacity: 0.9;
    filter: brightness(0) invert(1);
    /* Force white */
    transition: all 0.3s ease;
}

.footer__partner-logo:hover {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.footer__bottom {
    text-align: center;
}

.footer__bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .footer__col--brand {
        align-items: center;
        text-align: center;
    }
}

/* ===== EVENTS SECTION - Premium Horizontal Agenda ===== */
.events-agenda-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.event-item {
    display: flex;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 300px;
}

.event-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(29, 53, 87, 0.1);
}

.event-item__image-side {
    width: 380px;
    min-width: 380px;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: #f0f4f8;
}

.event-item__image {
    width: 100%;
    height: 100%;
    background-size: cover;
    /* Default to cover */
    background-position: center;
    background-repeat: no-repeat;
    transition: transform var(--transition-slow);
}

.event-item__image.is-portrait {
    background-size: contain;
    /* Contain for vertical posters */
}

.event-item:hover .event-item__image {
    filter: brightness(1.08);
}

.event-item__content-side {
    padding: var(--spacing-lg) var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    background: white;
}

.event-item__full-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #d11616;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 1px;
}

.event-item__title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.event-item__summary {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-item__btn {
    align-self: flex-start;
    padding: 12px 28px;
    background: linear-gradient(135deg, #d11616 0%, #a01111 100%);
    color: white !important;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-base);
    box-shadow: 0 8px 24px rgba(209, 22, 22, 0.25);
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-item:hover .event-item__btn {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(209, 22, 22, 0.35);
}

/* Responsive Agenda */
@media (max-width: 992px) {
    .event-item {
        flex-direction: column;
        height: auto;
    }

    .event-item__image-side {
        width: 100%;
        min-width: 100%;
        height: 220px;
    }

    .event-item__content-side {
        padding: var(--spacing-md);
    }
}

.events-empty__icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.5;
}

.events-empty__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.events-empty__text {
    font-size: 1rem;
    color: var(--color-text-light);
    margin: 0;
}

/* ===== BREADCRUMBS SECTION ===== */
.breadcrumbs-section {
    background: #f5f5f5;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.breadcrumbs-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: #d11616;
    margin-bottom: 6px;
    font-weight: 700;
}

.breadcrumbs-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.breadcrumbs-nav span {
    font-size: 0.6875rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
}

.breadcrumbs-nav span.active {
    color: var(--color-text);
    font-weight: 600;
}

/* ===== PRESIDENT MESSAGE SECTION ===== */
.president-message {
    padding: var(--spacing-xl) 0;
    background: white;
}

.president-message__content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.president-message__image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 0;
}

.president-message__text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.president-message__text p {
    margin-bottom: var(--spacing-md);
}

.president-message__greeting {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--spacing-lg) !important;
}

.president-message__signature {
    text-align: center;
    padding-top: 8px;
}

.president-message__signature strong {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--color-dark);
    display: block;
    margin-bottom: 4px;
}

.president-message__signature em {
    color: var(--color-text-light);
    font-style: italic;
    font-size: 0.9375rem;
}

/* Responsive President Message */
@media (max-width: 992px) {
    .president-message__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .president-message__image-wrapper {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .president-message__image-wrapper {
        max-width: 100%;
    }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1040px) {
    .navbar {
        justify-content: center;
        position: relative;
        min-height: 60px;
    }

    .navbar__toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 2000;
        position: absolute;
        left: var(--spacing-sm);
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar__toggle span {
        width: 100%;
        height: 2px;
        background-color: #d11616 !important;
        /* Force Logo Red */
        border-radius: 10px;
        transition: all 0.3s ease-in-out;
    }

    .navbar__toggle.active span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .navbar__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar__toggle.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .navbar__menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        background: white;
        display: flex;
        flex-direction: column;
        padding: 60px 0 var(--spacing-xl);
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1500;
        box-shadow: 20px 0 60px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
    }

    .navbar__menu.active {
        transform: translateX(0);
    }

    /* Hide desktop dropdown arrow (::before) on mobile */
    .navbar__item--dropdown>.navbar__link::before {
        display: none !important;
    }

    .navbar__menu li {
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .navbar__link {
        font-size: 1.05rem;
        padding: 2px 20px;
        width: 100%;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        color: var(--color-dark);
        font-weight: 700;
        text-decoration: none;
        background: transparent;
        position: relative;
        border-radius: 0;
    }

    /* Kill the desktop underline ::after completely on mobile */
    .navbar__link::after {
        content: none !important;
        display: none !important;
    }

    /* Add dropdown arrows ONLY on items with dropdowns using ::after */
    .navbar__item--dropdown>.navbar__link::after {
        content: '\25BC' !important;
        /* ▼ */
        display: inline-block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        transform: none !important;
        left: auto !important;
        bottom: auto !important;
        font-size: 10px;
        margin-left: 10px;
        transition: transform 0.3s ease;
        opacity: 0.4;
        color: var(--color-dark);
        flex-shrink: 0;
    }

    .navbar__item--dropdown:hover>.navbar__link::after,
    .navbar__item--dropdown.active>.navbar__link::after {
        transform: rotate(180deg) !important;
    }

    /* Mobile Dropdown Panel */
    .navbar__dropdown {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background: #f5f5f5;
        display: block;
        border-radius: 0 !important;
        white-space: normal !important;
        /* Fix text wrapping */
    }

    .navbar__dropdown::before {
        display: none !important;
    }

    .navbar__item--dropdown:hover .navbar__dropdown,
    .navbar__item--dropdown.active .navbar__dropdown {
        max-height: 1000px;
    }

    .navbar__dropdown li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }

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

    .navbar__dropdown-link {
        padding: 12px 20px 12px 30px !important;
        font-size: 0.95rem;
        color: var(--color-text-light) !important;
        display: block;
        transition: all 0.2s;
        white-space: normal !important;
        overflow: visible !important;
        position: static !important;
    }

    .navbar__dropdown-link:hover {
        color: #d11616 !important;
        background: rgba(209, 22, 22, 0.04);
        padding-left: 35px !important;
    }

    .navbar__dropdown-link::before {
        display: none !important;
    }

    .hero {
        height: calc(100vh - 60px);
        min-height: 450px;
    }

    .hero__slogan {
        bottom: var(--spacing-lg);
        max-width: 90%;
    }

    .hero__slogan h1 {
        font-size: clamp(2rem, 10vw, 3.5rem);
        letter-spacing: 4px;
    }

    .hero__slogan-label {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .hero__slogan-tagline {
        font-size: clamp(0.875rem, 3vw, 1.125rem);
        letter-spacing: 1px;
    }

    .hero__controls {
        padding: 0 var(--spacing-sm);
    }

    .hero__indicators {
        bottom: var(--spacing-md);
    }

    .slogan__text::before,
    .slogan__text::after {
        display: none;
    }

    .news__grid {
        grid-template-columns: 1fr;
    }

    .incidents__content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .events__container {
        grid-template-columns: 1fr;
    }

    .events__image {
        min-height: 300px;
    }

    .events-modern-grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }
}

/* ===== MODAL - Modern Policy Style ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 20, 34, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-bg-light);
}

.modal-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #d11616;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.modal-body h4 {
    color: var(--color-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--color-bg-light);
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .modal-container {
        max-height: 95vh;
        border-radius: 15px;
    }

    .modal-body {
        padding: 20px;
    }
}