/* VoteVega.nyc Custom Styles */
/* Matching the original design with custom styling */

/* Custom Vanguardia Font */
@font-face {
    font-family: 'Vanguardia';
    src: url('../fonts/vanguardia-regular-webfont.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vanguardia';
    src: url('../fonts/vanguardia-medium-webfont.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vanguardia';
    src: url('../fonts/vanguardia-semibold-webfont.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vanguardia';
    src: url('../fonts/vanguardia-bold-webfont.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Color palette based on original site */
    --primary-red: #dc3545;
    --primary-blue: #0d6efd;
    --secondary-blue: #6c757d;
    --yellow-bg: #ffc107;
    --dark-nav: #000000;
    --text-dark: #212529;
    --text-light: #ffffff;
    --font-headings: 'Vanguardia', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Source Sans Pro', sans-serif;
    --font-primary: var(--font-body); /* Default to body font */
}

/* Global Styles */
* {
    box-sizing: border-box;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll offset for fixed navbar - applies to all anchor targets */
#volunteer {
    scroll-margin-top: 80px;
}

/* Global scroll offset for all anchor targets (footnotes, headings, etc.) */
*[id] {
    scroll-margin-top: 80px;
}

/* Specific targeting for footnotes and footnote references */
.footnote-ref,
.footnote-backref,
sup[id],
li[id] {
    scroll-margin-top: 80px;
}

/* Hide scrollbars on mobile for seamless design */
@media (max-width: 767px) {
    body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Hide scrollbar for WebKit browsers */
    ::-webkit-scrollbar {
        width: 0px;
        background: transparent;
    }
    
    /* Hide scrollbar for Firefox */
    html {
        scrollbar-width: none;
    }
}

body {
    font-family: var(--font-primary);
    font-size: 1.2em;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    background-color: black;
}

.site-main {
    background-color: white;
}

/* Typography - Headings use Vanguardia */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
}

/* Featured quote uses Vanguardia */
.featured-quote {
    font-family: var(--font-headings);
}

/* Clickable header links */
.card-title a {
    color: inherit;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--primary-red);
}

/* Buttons and navigation use Vanguardia bold */
.btn {
    font-family: var(--font-headings);
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-family: var(--font-headings);
    font-weight: 700;
}

.dropdown-item {
    font-family: var(--font-headings);
    font-weight: 500;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 6px;
    z-index: 999999;
    text-decoration: none;
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 8px 16px;
}

.skip-link:focus {
    left: 6px;
}

/* Header Styles */
.site-header {
    background-color: var(--dark-nav) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    transform: translateY(-100%) !important;
    transition: transform 0.3s ease-in-out !important;
    padding: 0 !important;
    min-height: auto !important;
}

.site-header.show {
    transform: translateY(0) !important;
}

/* Force visibility for debugging */
.site-header.show {
    visibility: visible !important;
    opacity: 1 !important;
}

.navbar-dark {
    background-color: var(--dark-nav) !important;
    padding: 0.5rem 1rem !important; /* Much more compact padding */
    min-height: 60px !important; /* Set specific compact height */
}

/* Compact navbar styling */
.navbar {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

/* Fix mobile navbar jumping with absolute positioning approach */
@media (max-width: 991.98px) {
    .navbar {
        position: relative;
        padding: 0;
    }
    
    /* Create fixed header area that never moves */
    .navbar .container-fluid {
        height: 60px;
        padding: 0.5rem 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        z-index: 10;
        background-color: inherit;
    }
    
    .navbar-brand {
        margin: 0;
        padding: 0;
        line-height: 1;
    }
    
    .navbar-toggler {
        margin: 0;
        padding: 0.375rem 0.5rem;
        border: none;
    }
    
    /* Position collapse absolutely so it doesn't affect header */
    .navbar-collapse {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100vw;
        background-color: var(--dark-nav);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem 1rem 2rem 1rem; /* Extra bottom padding for buttons */
        z-index: 9;
        
        /* Dynamic height with scrolling */
        max-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        opacity: 0;
        transition: max-height 0.3s ease-in-out, opacity 0.2s ease-in-out;
        
        /* Ensure it covers full width */
        margin-left: 0;
        margin-right: 0;
    }
    
    .navbar-collapse.show {
        max-height: calc(100vh - 60px); /* Full viewport height minus navbar */
        opacity: 1;
    }
    
    /* Style the nav items */
    .navbar-nav {
        margin: 0;
        padding: 0;
    }
    
    .nav-item {
        margin: 0;
    }
    
    .nav-link {
        padding: 0.75rem 0;
        margin: 0;
    }
    
    /* Fix button container on mobile */
    .d-grid.gap-2.d-sm-flex {
        margin-top: 1rem;
        margin-bottom: 1rem;
        padding: 0;
    }
    
    /* Improve button styling in mobile menu */
    .navbar-collapse .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.navbar .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.2rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    margin-right: 1rem;
}

.navbar-brand img {
    max-height: 45px !important; /* Compact logo height */
    width: auto !important;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 0.75rem !important; /* More compact link padding */
    font-size: 0.9rem; /* Slightly smaller font */
}

/* Compact navbar buttons */
.navbar .btn {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.875rem !important;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-red) !important;
}

.dropdown-menu {
    background-color: var(--dark-nav);
    border: none;
    min-width: 300px;
    max-width: 400px;
    word-wrap: break-word;
    white-space: normal;
    padding: 0.5rem 0;
}

.dropdown-item {
    color: var(--text-light);
    transition: background-color 0.3s ease;
    padding: 0.75rem 1.25rem;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background-color: var(--primary-red);
    color: var(--text-light);
}

.dropdown-item:focus {
    background-color: var(--primary-red);
    color: var(--text-light);
}

/* Mobile dropdown improvements */
@media (max-width: 991.98px) {
    .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: rgba(0, 0, 0, 0.9);
        border: none;
        border-radius: 0;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
        
        /* Add smooth slide animation */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease-in-out, opacity 0.2s ease-in-out;
    }
    
    .dropdown-menu.show {
        max-height: 500px; /* Adjust based on your content */
        opacity: 1;
    }
    
    .dropdown-item {
        padding: 0.75rem 2rem;
        color: rgba(255, 255, 255, 0.8);
        transform: translateX(-10px);
        opacity: 0;
        transition: all 0.2s ease;
    }
    
    .show > .dropdown-menu .dropdown-item {
        transform: translateX(0);
        opacity: 1;
    }
    
    /* Stagger animation for dropdown items */
    .show > .dropdown-menu .dropdown-item:nth-child(1) {
        transition-delay: 0.1s;
    }
    
    .show > .dropdown-menu .dropdown-item:nth-child(2) {
        transition-delay: 0.15s;
    }
    
    .show > .dropdown-menu .dropdown-item:nth-child(3) {
        transition-delay: 0.2s;
    }
    
    .show > .dropdown-menu .dropdown-item:nth-child(4) {
        transition-delay: 0.25s;
    }
    
    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: var(--primary-red);
        color: var(--text-light);
        transform: translateX(5px);
    }
    
    .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
    
    .show > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* Twitter embed styling */
.tweet-embed {
    text-align: center;
    margin: 2rem 0;
}

.twitter-tweet {
    margin: 1.5rem auto !important;
    max-width: 550px !important;
    min-height: 200px;
    display: inline-block;
    font-family: "Helvetica Neue", Roboto, "Segoe UI", Calibri, sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 16px;
    border-color: #eee #ddd #bbb;
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    color: #000;
    padding: 0;
    text-align: left;
}

/* Ensure Twitter embeds are responsive */
@media (max-width: 767px) {
    .twitter-tweet {
        margin: 1rem auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .tweet-embed {
        margin: 1.5rem 0;
    }
}

/* Professional Button Styles */
.hero-cta .btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #e63946, #dc2626);
    border-color: #e63946;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    transform: translateY(-1px);
}

/* Professional Button Variants */
.btn-gold {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    border-color: #000000;
    color: white;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #1a1a1a, #333333);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* ====== STATEMENTS PAGE STYLES ====== */

.statements-page {
    padding-top: 0;
}

.statements-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 2px solid var(--primary-red);
}

.statements-header h1 {
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -1px;
}

.statements-header .lead {
    font-size: 1.3rem;
    font-weight: 400;
}

.statements-content {
    background-color: #f8f9fa;
}

/* Featured Statement Card */
.featured-statement {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 2px solid var(--primary-red);
    border-radius: 1rem;
    transform: scale(1);
    transition: all 0.3s ease;
}

.featured-statement:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(220, 53, 69, 0.15) !important;
}

.featured-statement .card-title {
    color: var(--text-dark);
    font-weight: 700;
}

.featured-statement .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

/* Statement Cards */
.statement-card {
    background-color: #ffffff;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.statement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--primary-red);
}

.statement-card .card-title {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

.statement-card .card-text {
    color: #666;
    line-height: 1.6;
}

.statement-meta .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Statement Badge Colors */
.badge.bg-secondary {
    background-color: #6c757d !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.badge.bg-info {
    background-color: #0dcaf0 !important;
    color: #000 !important;
}

.badge.bg-success {
    background-color: #198754 !important;
}

/* Button Styling for Statements Page */
.btn-outline-primary {
    border-color: var(--primary-red);
    color: var(--primary-red);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    transform: translateX(5px);
}

.btn-outline-primary i {
    transition: transform 0.3s ease;
}

.btn-outline-primary:hover i {
    transform: translateX(3px);
}

/* Responsive Statements Page */
@media (max-width: 768px) {
    .statements-header h1 {
        font-size: 2.5rem;
    }
    
    .featured-statement .card-body {
        padding: 2rem !important;
    }
    
    .statement-card .card-body {
        padding: 2rem !important;
    }
}

@media (max-width: 576px) {
    .statements-header h1 {
        font-size: 2rem;
    }
    
    .featured-statement .card-body {
        padding: 1.5rem !important;
    }
    
    .statement-card .card-body {
        padding: 1.5rem !important;
    }
}

.btn-green {
    background: linear-gradient(135deg, #198754, #157347);
    border-color: #198754;
    color: white;
}

.btn-green:hover {
    background: linear-gradient(135deg, #157347, #0f5132);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(25, 135, 84, 0.4);
}

.btn-dark-blue {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    border-color: #0d6efd;
    color: white;
}

.btn-dark-blue:hover {
    background: linear-gradient(135deg, #0b5ed7, #0a58ca);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.4);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #1a1a1a, #333333);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

/* Professional Charcoal Button */
.btn-green {
    background: linear-gradient(135deg, #374151, #1f2937);
    border-color: #374151;
    color: white;
}

.btn-green:hover {
    background: linear-gradient(135deg, #1f2937, #111827);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(55, 65, 81, 0.3);
}

/* Professional Navy Button */
.btn-dark-blue {
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
    border-color: #1e40af;
    color: white;
}

.btn-dark-blue:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 64, 175, 0.3);
}

/* Hero Section */
#home-hero {
    min-height: 70vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

#home-hero .hero-sm {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    display: block;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.7) 0%, rgba(108, 117, 125, 0.6) 100%), url('../images/Group_shot_jose_coruched_167th_CONCOURSE.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: local;
    position: relative;
    min-height: 70vh;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 70%);
    z-index: 1;
}

.hero-cta > * {
    position: relative;
    z-index: 2;
}

/* Hero Logo - Overlay on Image */
.hero-logo-overlay {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-logo-overlay-img {
    max-width: 425px;
    height: auto;
    display: block;
}

.site-description {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    margin-bottom: 2rem;
}

/* Quote Section */
.featured-quote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

.featured-quote .red {
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: bold;
}

.featured-quote-author {
    font-weight: 600;
    color: var(--secondary-blue);
    margin-top: 1rem;
}

/* Issues Section */
.issues {
    background-color: var(--yellow-bg);
    color: var(--text-dark);
}

.yellow-bg {
    background-color: var(--yellow-bg) !important;
}

.blue-bg {
    background-color: var(--primary-blue) !important;
}

.issue-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.issues h2 {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about-home img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-home h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-home p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

/* News and Statements Sections */
.news h3 a,
.statements h3 a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news h3 a:hover,
.statements h3 a:hover {
    color: var(--primary-red);
}

.post-meta {
    color: var(--secondary-blue);
    font-size: 0.9rem;
    font-weight: 500;
}

.red {
    color: var(--primary-red) !important;
}

/* Footer Signup Section */
.footer-signup {
    margin: 0;
}

.footer-signup h3 {
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-signup .text-white {
    color: var(--text-light) !important;
}

/* Footer */
.site-footer {
    background-color: var(--dark-nav);
    color: var(--text-light);
}

.site-footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--primary-red);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-red);
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Form Styles */
#email-signup .form-control {
    border: none;
    border-radius: 0.375rem 0 0 0.375rem;
}

#email-signup .btn {
    border-radius: 0 0.375rem 0.375rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-description {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .featured-quote {
        font-size: 1.2rem;
    }
    
    .about-home h2 {
        font-size: 2rem;
    }
    
    .issues h2 {
        font-size: 1.5rem;
    }
    
    .issue-icon {
        width: 60px;
        height: 60px;
    }
    
    .footer-signup h3 {
        font-size: 1.5rem;
    }
    
    /* Responsive dropdown menu */
    .dropdown-menu {
        min-width: 250px;
        max-width: 320px;
    }
    
    .dropdown-item {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 576px) {
    .site-description {
        font-size: 1.5rem;
    }
    
    .hero-cta .btn {
        font-size: 0.9rem;
    }
    
    .featured-quote {
        font-size: 1rem;
    }
    
    .about-home h2 {
        font-size: 1.8rem;
    }
}

/* Animation and Transitions */
.btn,
.nav-link,
.dropdown-item,
.social-icons a {
    transition: all 0.3s ease;
}

/* Alternative Hero Layout - Responsive Overlay */
#alt-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.alt-hero-img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* Logo Overlay */
.alt-hero-logo {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
}

.alt-hero-logo img {
    max-width: 300px;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.5));
}

/* Desktop Buttons - Right Side Overlay */
.alt-buttons-desktop {
    position: absolute;
    top: 50%;
    right: 5%; /* Use percentage for better responsive scaling */
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 350px;
}

.alt-hero-text {
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
}

.alt-btn {
    width: 320px;
    padding: 18px 30px;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Tablet-specific adjustments (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .alt-buttons-desktop {
        right: 3%;
        max-width: 280px;
    }
    
    .alt-hero-text {
        font-size: 2.4rem;
        letter-spacing: 2px;
        margin-bottom: 2rem;
    }
    
    .alt-btn {
        width: 280px;
        padding: 16px 24px;
        font-size: 1.1rem;
        letter-spacing: 1.2px;
        margin-bottom: 14px;
    }
    
    .alt-hero-logo img {
        max-width: 250px;
    }
}

/* Small laptops (1025px - 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
    .alt-buttons-desktop {
        right: 4%;
    }
}

/* Large desktops (1367px+) */
@media (min-width: 1367px) {
    .alt-buttons-desktop {
        right: 8%;
    }
    
    .alt-hero-logo img {
        max-width: 350px;
    }
}

.alt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Mobile Stacked Layout */
#alt-hero-mobile {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    overflow-x: hidden;
}

.mobile-hero-image {
    height: 60vh;
    position: relative;
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
}

.mobile-hero-img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

.mobile-hero-logo {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    text-align: center;
}

.mobile-hero-logo img {
    max-width: 220px;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.7));
}

.mobile-content-below {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1a1a 100%);
    padding: 2rem 1.5rem 2rem 1.5rem;
    text-align: center;
    margin: 0;
    display: block;
    flex-grow: 1;
}

.mobile-hero-text {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.mobile-button-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
    margin: 0 auto;
}

.mobile-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mobile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.sub-hero-container {
    position: relative;
    overflow: hidden;
}

.sub-hero-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.sub-hero-img {
    width: 100%;
    transition: transform 0.3s ease;
}

.sub-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sub-hero-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #dc3545;
    color: #dc3545;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.sub-hero-container:hover .sub-hero-overlay {
    opacity: 1;
}

.sub-hero-container:hover .sub-hero-btn {
    transform: translateY(0);
}

.sub-hero-container:hover .sub-hero-img {
    transform: scale(1.05);
}

.sub-hero-btn:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

/* Statements Page Styles */

.statements-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.statements-content {
    background-color: #f8f9fa;
}

.featured-statement {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 5px solid var(--primary-red);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-statement:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.statement-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
}

.statement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.statement-meta .badge {
    font-size: 0.75rem;
    padding: 0.5em 0.75em;
}

.statement-card .card-title {
    color: var(--text-dark);
    line-height: 1.3;
}

.statement-card .card-text {
    color: #6c757d;
    line-height: 1.6;
}

.statement-card .btn-outline-primary {
    border-width: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.statement-card .btn-outline-primary:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

/* Featured statement special styling */
.featured-statement .card-title {
    color: var(--primary-red);
    font-size: 2rem;
}

.featured-statement .card-text.lead {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
}

.featured-statement .btn-outline-primary {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* Badge colors for different categories */
.badge.bg-secondary {
    background-color: #6c757d !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
}

.badge.bg-info {
    background-color: #0dcaf0 !important;
}

.badge.bg-success {
    background-color: #198754 !important;
}

/* Responsive adjustments for statements page */
@media (max-width: 768px) {
    .statements-header h1 {
        font-size: 2.5rem;
    }
    
    .featured-statement .card-body {
        padding: 2rem;
    }
    
    .featured-statement .card-title {
        font-size: 1.75rem;
    }
    
    .statement-card .card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .statements-header h1 {
        font-size: 2rem;
    }
    
    .featured-statement .card-body {
        padding: 1.5rem;
    }
    
    .featured-statement .card-title {
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.text-uppercase {
    text-transform: uppercase;
}

.fw-bold {
    font-weight: bold !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

/* Custom spacing */
.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.my-6 {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
}

/* ====== STATEMENT CONTENT STYLES ====== */

/* Image constraints for statement content */
.statement-article img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto 0.5rem auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.statement-article img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Image captions styling */
.statement-article img + em {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
    margin: 0.5rem auto 2rem auto;
    max-width: 90%;
    line-height: 1.4;
}

/* Policy content similar styling */
.policy-article img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto 0.5rem auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-article img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.policy-article img + em {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
    margin: 0.5rem auto 2rem auto;
    max-width: 90%;
    line-height: 1.4;
}

/* Responsive image adjustments */
@media (max-width: 768px) {
    .statement-article img,
    .policy-article img {
        margin: 1.5rem auto 0.5rem auto;
        border-radius: 0.375rem;
    }
    
    .statement-article img + em,
    .policy-article img + em {
        font-size: 0.85rem;
        margin: 0.5rem auto 1.5rem auto;
    }
}

/* ====== BLOCKQUOTE STYLES ====== */

blockquote {
    border-left: 4px solid var(--primary-red);
    background: rgba(248, 249, 250, 0.8);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-dark);
    border-radius: 0 0.5rem 0.5rem 0;
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* ====== PDF DOWNLOAD BUTTON STYLES ====== */

.pdf-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
    margin: 1rem 0;
    border: 2px solid transparent;
}

.pdf-download-btn:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.pdf-download-btn:focus {
    color: white;
    text-decoration: none;
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

.pdf-download-btn i {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Alternative PDF button style */
.pdf-download-btn.btn-outline {
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
    box-shadow: none;
}

.pdf-download-btn.btn-outline:hover {
    background: #dc3545;
    color: white;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Responsive PDF button */
@media (max-width: 768px) {
    .pdf-download-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
        width: 100%;
        max-width: 280px;
        margin: 1rem auto;
        display: flex;
    }
}

/* ====== EVENTS PAGE STYLES ====== */

.events-page {
    padding-top: 0;
}

.events-header h1 {
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -1px;
}

.events-header .lead {
    font-size: 1.3rem;
    font-weight: 400;
}

.events-content {
    background-color: #f8f9fa;
}

/* Featured Event Card */
.featured-event {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 2px solid var(--primary-blue);
    border-radius: 1rem;
    transform: scale(1);
    transition: all 0.3s ease;
}

.featured-event:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(13, 110, 253, 0.15) !important;
}

.featured-event .card-title {
    color: var(--text-dark);
    font-weight: 700;
}

.featured-event .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

/* Event Cards */
.event-card {
    background-color: #ffffff;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--primary-blue);
}

.event-card .card-title {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

.event-card .card-text {
    color: #666;
    line-height: 1.6;
}

.event-meta .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Event Badge Colors by Type */
.badge.bg-primary {
    background-color: var(--primary-blue) !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
}

.badge.bg-success {
    background-color: #198754 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.badge.bg-info {
    background-color: #0dcaf0 !important;
    color: #000 !important;
}

/* Event Detail Cards */
.event-detail-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 1px solid rgba(13, 110, 253, 0.2) !important;
    transition: all 0.3s ease;
}

.event-detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.15);
}

.event-detail-card i {
    font-size: 1.5rem;
}

/* Event Single Page Styling */
.event-header {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.event-content {
    background-color: #ffffff;
}

.event-article {
    font-size: 1.1rem;
    line-height: 1.7;
}

.event-article h1, .event-article h2, .event-article h3 {
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.event-article blockquote {
    border-left: 4px solid var(--primary-blue);
    background: rgba(13, 110, 253, 0.05);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Event Sidebar */
.event-sidebar .card {
    border: none;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.event-sidebar .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-sidebar .card-header {
    font-weight: 600;
    border: none;
}

/* Past Events */
.past-event-card {
    background: rgba(108, 117, 125, 0.05);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.past-event-card:hover {
    background: rgba(108, 117, 125, 0.1);
    transform: translateX(5px);
}

/* Events CTA Section */
.events-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Add to Calendar Section */
.add-to-calendar {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Responsive Events Page */
@media (max-width: 768px) {
    .events-header h1 {
        font-size: 2.5rem;
    }
    
    .featured-event .card-body {
        padding: 2rem !important;
    }
    
    .event-card .card-body {
        padding: 2rem !important;
    }
    
    .event-detail-card {
        margin-bottom: 1rem;
    }
    
    .event-header .col-md-4 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .events-header h1 {
        font-size: 2rem;
    }
    
    .featured-event .card-body {
        padding: 1.5rem !important;
    }
    
    .event-card .card-body {
        padding: 1.5rem !important;
    }
    
    .event-header .display-4 {
        font-size: 2rem;
    }
}

/* Button styling for events */
.events-page .btn-primary,
.events-page .btn-outline-primary {
    transition: all 0.3s ease;
}

.events-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.4);
}

.events-page .btn-outline-primary {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.events-page .btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    transform: translateX(5px);
}
