/* ==========================================================================
   POLITICAL CANDIDATE LANDING PAGE STYLESHEET
   ========================================================================== */

/* --- CSS VARIABLES / DESIGN SYSTEM --- */
:root {
    --primary: #051b33;       /* Political Deep Navy */
    --primary-light: #0c2542; /* Medium Navy */
    --accent: #e03927;        /* Vibrant Campaign Red */
    --accent-hover: #b82a1c;  /* Darker Red */
    --body-text: #7e7e7e;     /* Medium Slate Gray */
    --title-text: #1a1a1a;    /* Dark Charcoal */
    --white: #ffffff;
    --light-bg: #f9fafb;      /* Soft Off-White */
    --border-color: #ececec;  /* Thin Border Gray */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--body-text);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

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

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

/* Prevent any element from causing horizontal overflow */
video, iframe, embed, object {
    max-width: 100%;
}

/* Fix for elements with negative margins */
.stats-section {
    overflow: visible;
}

.stats-section > .container {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--title-text);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
    background: none;
}

/* --- GRID & LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Banner - Account for header height */
.page-banner {
    padding: 140px 0 50px !important;
}

section {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.subtitle {
    display: block;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* --- BUTTONS --- */
.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 4px;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-accent:hover {
    background-color: transparent;
    color: var(--accent);
}

.btn-navy {
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 4px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-navy:hover {
    background-color: transparent;
    color: var(--primary);
}

/* --- SCROLL TO TOP --- */
.scroll-to-top {
    position: fixed;
    right: 25px;
    bottom: -60px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--title-text);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
    opacity: 0;
}

.scroll-to-top.show {
    bottom: 25px;
    opacity: 1;
}

.scroll-to-top:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* --- TOP SOCIAL BAR --- */
.top-bar {
    background-color: rgba(5, 27, 51, 0.5);
    padding: 12px 0;
    font-size: 0.8125rem;
    color: var(--white);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

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

.top-social ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.top-social ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.top-social ul li a:hover {
    color: var(--accent);
}

.top-info {
    display: flex;
    align-items: center;
    gap: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.top-info span a {
    color: var(--white);
}

.top-info span a:hover {
    color: var(--accent);
}

.donate-btn-top {
    background-color: var(--accent);
    color: var(--white);
    padding: 6px 18px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.donate-btn-top:hover {
    background-color: var(--accent-hover);
}

/* --- MAIN HEADER --- */
.main-header {
    background-color: transparent;
    position: absolute;
    top: 47px;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Sticky Header State */
.main-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: none;
    z-index: 1000;
}

.main-header.scrolled .site-logo .logo-text {
    color: var(--title-text);
}

.main-header.scrolled .nav-menu ul li a {
    color: var(--title-text);
}

.main-header.scrolled .nav-menu ul li a:hover,
.main-header.scrolled .nav-menu ul li a.active {
    color: var(--accent);
}

.main-header.scrolled .mobile-menu-toggle .bar {
    background-color: var(--title-text);
}

.main-header.scrolled .mobile-menu-toggle.active .bar {
    background-color: var(--title-text);
}

/* Top bar - hide when scrolled */
.top-bar {
    transition: transform 0.3s ease;
}

.top-bar.scrolled {
    transform: translateY(-100%);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    width: 100%;
}

.site-logo {
    flex-shrink: 0;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.site-logo a {
    display: block;
}

.site-logo img {
    max-height: 48px;
    width: auto;
    display: block;
}

.site-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
}

.main-header.scrolled .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu ul li {
    display: flex;
    align-items: center;
}

.nav-menu ul li a {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white);
    padding: 10px 0;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: var(--accent);
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-menu ul li a:hover {
    animation: bounce 0.4s ease;
}

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

/* Hide donate menu item on desktop - we have a donate button instead */
.nav-menu ul li a.donate-nav-link {
    display: none;
}

/* --- DROPDOWN MENU --- */
.nav-menu ul li {
    position: relative;
}

.nav-menu ul li.has-dropdown {
    position: relative;
}

.nav-menu ul li.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
}

.nav-menu ul li.has-dropdown > a .dropdown-arrow {
    font-size: 0.5rem;
    transition: transform 0.3s ease;
    margin-left: 2px;
    display: flex;
    align-items: center;
}

.nav-menu ul li.has-dropdown:hover > a .dropdown-arrow,
.nav-menu ul li.has-dropdown.show-dropdown > a .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 8px 0;
    z-index: 1002;
    border-top: 3px solid var(--accent);
    list-style: none;
    display: block !important;
    margin-top: 15px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.nav-menu ul li.has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block !important;
}

.dropdown-menu li {
    margin: 0;
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px !important;
    font-size: 0.8125rem !important;
    color: var(--title-text) !important;
    border-bottom: none !important;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-menu li a:hover {
    background-color: var(--light-bg);
    color: var(--accent) !important;
    padding-left: 25px !important;
    border-left: 3px solid var(--accent);
}

.dropdown-menu li a::after {
    display: none !important;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.donate-btn-main {
    background-color: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 25px;
    border-radius: 4px;
    display: block;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

.donate-btn-main:hover {
    background-color: var(--primary);
    transform: scale(1.05);
}

/* Header Action Button */
.header-action-btn {
    display: flex;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle:focus {
    outline: none;
}

.mobile-menu-toggle .bar {
    width: 24px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-menu-toggle .bar:nth-child(1) {
    top: 6px;
}

.mobile-menu-toggle .bar:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.mobile-menu-toggle .bar:nth-child(3) {
    bottom: 6px;
}

/* --- HERO SLIDER --- */
.hero-slider {
    position: relative;
    height: 800px;
    background-color: #030a14;
    padding: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.hero-slider .slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(5, 27, 51, 0.85) 40%, rgba(5, 27, 51, 0.4) 100%);
    z-index: 2;
}

.hero-slider .slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 100;
    padding-top: 130px;
}

.slide-text {
    flex: 0 0 55%;
    color: var(--white);
    padding-right: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s ease, opacity 0.8s ease;
    transition-delay: 0.3s;
}

.hero-slider .slide.active .slide-text {
    opacity: 1;
    transform: translateY(0);
}

.slide-text h1 {
    font-size: 3.75rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    text-transform: capitalize;
}

.slide-text h1 span {
    color: var(--accent);
}

.slide-text p {
    font-size: 1.125rem;
    line-height: 1.8;
}

.slide-image {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    position: relative;
    align-self: flex-end;
    opacity: 0;
    transform: translateX(50px);
    transition: transform 0.8s ease, opacity 0.8s ease;
    transition-delay: 0.5s;
}

.hero-slider .slide.active .slide-image {
    opacity: 1;
    transform: translateX(0);
}

.slide-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    position: relative;
    bottom: 0;
}

/* Slider dots navigation */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 19%;
    display: flex;
    gap: 10px;
    z-index: 10;
    margin: 0 auto;
    padding-left: 0;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background-color: var(--accent);
    transform: scale(1.2);
}

/* --- DONATION SECTION --- */
.donation-section {
    background-color: var(--primary);
    padding: 50px 0;
    color: var(--white);
}

.donation-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.donation-info {
    width: 100%;
}

.donation-info h2 {
    color: var(--white);
    font-size: 1.875rem;
    margin-bottom: 15px;
}

.donation-info h2 span {
    color: var(--accent);
}

.donation-form {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.donation-input-group {
    display: flex;
    align-items: center;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 15px;
    border-radius: 4px;
}

.donation-input-group .currency-symbol {
    font-size: 1.25rem;
    font-weight: 600;
    margin-right: 5px;
}

.donation-input-group input {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    width: 120px;
}

.donation-presets {
    display: flex;
    gap: 8px;
}

.preset-btn {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 8px 18px;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.preset-btn:hover,
.preset-btn.active {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.donate-submit-btn {
    background-color: var(--accent);
    color: var(--white);
    padding: 10px 25px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid var(--accent);
    transition: var(--transition);
}

.donate-submit-btn:hover {
    background-color: transparent;
    color: var(--accent);
}

/* --- WHAT I BELIEVE SECTION --- */
.believe-section {
    background-color: var(--white);
    background-image: url('images/politic-recovered.png');
    background-position: left 20px center;
    background-repeat: no-repeat;
}

.believe-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.believe-title-left h2 {
    font-size: 2.25rem;
}

.believe-title-left h2 span {
    color: var(--accent);
}

.believe-tabs-right {
    display: flex;
    gap: 15px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.tab-link {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    position: relative;
    padding: 5px 15px;
    transition: var(--transition);
}

.tab-link:hover,
.tab-link.active {
    color: var(--accent);
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent);
}

/* Skills Content Grid */
.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
}

.skill-item {
    background-color: var(--white);
}

.skill-info h3 {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.skill-info p {
    font-size: 0.9375rem;
    margin-bottom: 15px;
}

.skill-progress-wrapper {
    margin-top: 10px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--title-text);
    margin-bottom: 5px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e3e3e3;
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--accent);
    border-radius: 6px;
    transform: scaleX(0);
    transform-origin: left;
    animation: fillBar 1s cubic-bezier(0.1, 0.8, 0.25, 1) forwards;
}

@keyframes fillBar {
    to { transform: scaleX(1); }
}

.believe-footer {
    margin-top: 50px;
}

.know-more-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 35px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.know-more-btn:hover {
    background-color: transparent;
    color: var(--primary);
}

/* --- VIDEO BANNER SECTION --- */
.video-banner {
    position: relative;
    padding: 160px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(5, 27, 51, 0.7);
    z-index: 1;
}

.video-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.play-btn-link {
    display: inline-block;
    margin-bottom: 30px;
    position: relative;
}

.play-icon-img {
    width: 90px;
    height: 90px;
    transition: var(--transition);
}

.play-btn-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: pulsePlay 2s infinite;
    z-index: -1;
}

@keyframes pulsePlay {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
}

.play-btn-link:hover .play-icon-img {
    transform: scale(1.1);
}

.video-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.4;
}

.video-content h2 span {
    color: var(--accent);
}

/* --- STATS SECTION (COUNTER BAR) --- */
.stats-section {
    padding: 0;
    margin-top: -65px; /* Overlap the video banner */
    position: relative;
    z-index: 10;
}

.stats-wrapper {
    background-color: var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 40px 10px;
}

.stat-card {
    text-align: center;
    border-right: 1px solid var(--border-color);
}

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

.stat-num-box {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: var(--title-text);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--title-text);
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 10px;
}

/* --- UPCOMING EVENTS SECTION --- */
.events-section {
    background-color: var(--white);
    padding-top: 90px;
}

.events-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
}

.events-title h2 {
    font-size: 2.25rem;
}

.events-title h2 span {
    color: var(--accent);
}

.events-navigation {
    display: flex;
    gap: 10px;
}

.nav-arrow {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--title-text);
    transition: var(--transition);
}

.nav-arrow:hover {
    background-color: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

/* Event Cards Common */
.event-card-large,
.event-card-small {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    border: 1px solid var(--border-color);
}

.event-image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.event-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 3px;
    z-index: 3;
}

/* Event Content Overlay style */
.event-card-large .event-content,
.event-card-small .event-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0) 100%);
    color: var(--white);
    z-index: 2;
    transition: var(--transition);
}

.event-card-large h3,
.event-card-small h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.event-card-large h3 a,
.event-card-small h3 a {
    color: var(--white);
    font-weight: 700;
}

.event-card-large h3 a:hover,
.event-card-small h3 a:hover {
    color: var(--accent);
}

.event-cat {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

/* Small Event Cards Column */
.event-column-small {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.event-column-small .event-card-small {
    flex: 1;
}

.event-card-large:hover .event-image-wrapper img,
.event-card-small:hover .event-image-wrapper img {
    transform: scale(1.05);
}

/* --- SHORT BIOGRAPHY TIMELINE --- */
.biography-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.bio-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(5, 27, 51, 0.92);
    z-index: 1;
}

.biography-section .container {
    position: relative;
    z-index: 2;
}

.bio-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.bio-header h2 {
    color: var(--white);
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.bio-header p {
    color: rgba(255,255,255,0.7);
}

/* Timeline Layout */
.timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--accent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 60px;
    width: 100%;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    width: 42%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 30px;
    border-radius: 4px;
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.timeline-content h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.timeline-content p {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.timeline-date {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.timeline-date h4 {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Timeline Dot - Always centered on the line */
.timeline-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--accent);
    border: 3px solid rgba(255,255,255,0.9);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--white);
    border-color: var(--accent);
    transform: translate(-50%, -50%) scale(1.3);
}

/* Left Item - Content on Left, Date on Right */
.left-item {
    justify-content: flex-start;
}

.left-item .timeline-content {
    text-align: right;
}

.left-item .timeline-date {
    left: calc(50% + 25px);
}

/* Right Item - Date on Left, Content on Right */
.right-item {
    justify-content: flex-end;
}

.right-item .timeline-date {
    right: calc(50% + 25px);
    text-align: right;
}

.right-item .timeline-content {
    text-align: left;
}

/* --- BECOME A VOLUNTEER SECTION --- */
.volunteer-section {
    background-image: linear-gradient(rgba(249, 250, 251, 0.94), rgba(249, 250, 251, 0.94)), url('images/subscribe-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    padding: 100px 0;
}

.volunteer-box {
    max-width: 800px;
    margin: 0 auto;
}

.volunteer-subtitle {
    display: block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.volunteer-box h2 {
    font-size: 2.75rem;
    margin-bottom: 20px;
}

.volunteer-box h2 span {
    color: var(--accent);
}

.volunteer-box p {
    font-size: 1.0625rem;
    max-width: 650px;
    margin: 0 auto 35px;
}

.join-us-btn {
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 35px;
    border-radius: 4px;
    display: inline-block;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.join-us-btn:hover {
    background-color: transparent;
    color: var(--primary);
}

/* --- NEWSLETTER SECTION --- */
.newsletter-section {
    background-color: var(--white);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.newsletter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-title h2 {
    font-size: 2rem;
    line-height: 1.25;
}

.newsletter-title h2 span {
    color: var(--accent);
    border-bottom: 3px solid var(--accent);
    padding-bottom: 5px;
}

.newsletter-form-box {
    flex: 1;
    max-width: 600px;
}

.newsletter-form {
    display: flex;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 4px 0 0 4px;
    font-size: 0.9375rem;
    background-color: var(--light-bg);
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--accent);
    background-color: var(--white);
    box-shadow: 0 0 15px rgba(224, 57, 39, 0.1);
    transform: translateY(-2px);
}

.subscribe-btn {
    background-color: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0 35px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.subscribe-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.subscribe-btn:hover::before {
    left: 100%;
}

.subscribe-btn:hover {
    background-color: var(--accent-hover);
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(224, 57, 39, 0.3);
}

/* --- POLITIC NEWS (BLOG) SECTION --- */
.blog-section {
    background-color: var(--white);
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.blog-title h2 {
    font-size: 2.25rem;
}

.blog-title h2 span {
    color: var(--accent);
}

.blog-navigation {
    display: flex;
    gap: 10px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.blog-image {
    overflow: hidden;
    position: relative;
}

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

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

.blog-content {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
}

.blog-content h3 {
    font-size: 1.125rem;
    margin-bottom: 15px;
    height: 56px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-content h3 a:hover {
    color: var(--accent);
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8125rem;
    color: #999;
}

.blog-meta span i {
    margin-right: 5px;
}

/* --- FOOTER --- */
.footer-section {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0 0;
    font-size: 0.9375rem;
    overflow: hidden;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent);
}

/* Footer About Column */
.footer-about .footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    display: block;
}

.footer-logo img {
    max-height: 38px;
    width: auto;
    display: block;
}

.footer-about p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-social-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.footer-social-links li a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.footer-social-links li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.footer-social-links li a:hover::before {
    left: 100%;
}

.footer-social-links li a.social-fb { background-color: #3b5998; }
.footer-social-links li a.social-tw { background-color: #1da1f2; }
.footer-social-links li a.social-tb { background-color: #35465c; }
.footer-social-links li a.social-rss { background-color: #f26522; }

.footer-social-links li a:hover {
    transform: translateY(-5px) rotate(5deg);
    opacity: 0.9;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Footer links common style */
.footer-links {
    list-style: none;
}

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

.footer-links li a {
    position: relative;
    padding-left: 12px;
    transition: var(--transition);
}

.footer-links li a::before {
    content: '\f105';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--white);
    padding-left: 20px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.footer-links li a:hover::before {
    color: var(--accent);
    transform: translateX(3px);
}

/* Footer Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.footer-gallery .gallery-item {
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.footer-gallery .gallery-item img {
    width: 100%;
    height: 75px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.footer-gallery .gallery-item:hover img {
    transform: scale(1.1) rotate(2deg);
}

/* Footer Bottom Copyright */
.footer-bottom {
    background-color: var(--accent);
    padding: 25px 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--white);
}

/* --- VIDEO MODAL/LIGHTBOX --- */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 2;
}

.video-modal-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-modal-close:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
}

/* Play button hover effect */
.video-play-btn {
    cursor: pointer;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

/* Fade In Up Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Fade In Down Animation */
.fade-in-down {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Fade In Left Animation */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade In Right Animation */
.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale In Animation */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Slide In from Bottom */
.slide-in-bottom {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-bottom.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation Delay Classes */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* Pulse Animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse-hover:hover {
    animation: pulse 0.6s ease;
}

/* Shake Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.shake-hover:hover {
    animation: shake 0.4s ease;
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

.bounce-hover:hover {
    animation: bounce 0.8s ease;
}

/* Glow Animation */
@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(224, 57, 39, 0.2); }
    50% { box-shadow: 0 0 20px rgba(224, 57, 39, 0.4); }
    100% { box-shadow: 0 0 5px rgba(224, 57, 39, 0.2); }
}

.glow-hover:hover {
    animation: glow 1.5s ease infinite;
}

/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Rotate Animation */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotate-hover:hover {
    animation: rotate 0.5s ease;
}

/* Typing Animation for Hero Text */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

.typing-animation {
    overflow: hidden;
    border-right: 3px solid var(--accent);
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent); }
}

/* Progress Bar Animation */
@keyframes progressFill {
    from { width: 0; }
    to { width: var(--progress-width); }
}

.animate-progress .progress-fill {
    animation: progressFill 1.5s ease-out forwards;
}

/* Counter Animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.count-up {
    animation: countUp 0.6s ease-out forwards;
}

/* Ripple Effect */
@keyframes ripple {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
}

.ripple-effect:active::after {
    animation: ripple 0.6s linear;
}

/* Smooth Hover Transform for Cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Image Zoom on Hover */
.hover-zoom {
    overflow: hidden;
}

.hover-zoom img {
    transition: transform 0.5s ease;
}

.hover-zoom:hover img {
    transform: scale(1.1);
}

/* Border Glow on Hover */
.hover-glow-border {
    transition: box-shadow 0.3s ease;
}

.hover-glow-border:hover {
    box-shadow: 0 0 30px rgba(224, 57, 39, 0.3);
}

/* Text Gradient Animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-text-animated {
    background: linear-gradient(45deg, var(--accent), var(--primary), var(--accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

/* Loading Spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Elastic Hover Effect */
@keyframes elastic {
    0% { transform: scale(1); }
    30% { transform: scale(1.1); }
    50% { transform: scale(0.95); }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.elastic-hover:hover {
    animation: elastic 0.6s ease;
}

/* Slide Up on Hover */
@keyframes slideUp {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}

.slide-up-hover:hover {
    animation: slideUp 0.3s ease forwards;
}

/* Border Draw Animation */
@keyframes drawBorder {
    0% { width: 0; height: 0; }
    25% { width: 100%; height: 0; }
    50% { width: 100%; height: 100%; }
    75% { width: 0; height: 100%; }
    100% { width: 0; height: 0; }
}

.border-draw:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border: 2px solid var(--accent);
    animation: drawBorder 1s ease forwards;
}

/* Neon Glow Effect */
@keyframes neon {
    0%, 100% { text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent), 0 0 30px var(--accent); }
    50% { text-shadow: 0 0 5px var(--accent), 0 0 10px var(--accent), 0 0 15px var(--accent); }
}

.neon-text:hover {
    animation: neon 1.5s ease infinite;
}

/* Page Transition Fade */
@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

body.loaded {
    animation: fadeInPage 0.6s ease;
}

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

/* Parallax Effect */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1199px) {
    .hero-slider {
        height: 700px;
    }
    
    .slide-text h1 {
        font-size: 3rem;
    }
    
    .slide-image img {
        max-height: 600px;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }
}

@media (max-width: 991px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    
    section {
        padding: 60px 0;
        overflow: hidden;
    }
    
    .container {
        overflow: visible;
        max-width: 100%;
    }
    
    /* Top bar on mobile */
    .top-bar {
        position: relative;
        background-color: var(--primary);
        z-index: 1001;
        transition: transform 0.3s ease;
    }
    
    .top-bar.scrolled {
        transform: translateY(-100%);
    }
    
    /* Header on mobile - below top bar initially */
    .main-header {
        position: relative;
        top: auto;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        z-index: 1000;
    }
    
    .main-header.scrolled {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: var(--white);
        z-index: 1002;
    }
    
    .main-header.scrolled .site-logo .logo-text {
        color: var(--white);
        background-color: var(--accent);
    }
    
    .main-header.scrolled .nav-menu ul li a {
        color: var(--title-text);
    }
    
    .main-header.scrolled .mobile-menu-toggle .bar {
        background-color: var(--title-text);
    }
    
    .main-header.scrolled .mobile-menu-toggle.active .bar {
        background-color: var(--title-text);
    }
    
    .main-header.scrolled .mobile-menu-toggle.active {
        background-color: transparent;
    }
                    /* Mobile Timeline Styles */
    .timeline-line {
        left: 20px !important;
        width: 2px !important;
    }
    
    .timeline-item,
    .bio-timeline-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: relative !important;
        margin-bottom: 40px !important;
        padding-top: 0 !important;
    }
    
    .timeline-content,
    .bio-timeline-content {
        width: calc(100% - 50px) !important;
        max-width: calc(100% - 50px) !important;
        text-align: left !important;
        margin-left: 50px !important;
        margin-top: 30px !important;
    }
    
    .timeline-date,
    .bio-timeline-date {
        position: absolute !important;
        top: 0 !important;
        left: 40px !important;
        right: auto !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        z-index: 5 !important;
        width: auto !important;
        margin: 0 !important;
    }
    
    .timeline-date h4,
    .bio-timeline-date h4 {
        margin: 0 !important;
        white-space: nowrap !important;
        color: var(--white) !important;
        font-weight: 700 !important;
        font-size: 1rem !important;
    }
    
    .timeline-dot,
    .bio-timeline-dot {
        position: absolute !important;
        left: 14px !important;
        right: auto !important;
        top: 0 !important;
        transform: none !important;
        z-index: 6 !important;
        width: 12px !important;
        height: 12px !important;
        background-color: rgba(255,255,255,0.6) !important;
        border: 2px solid rgba(255,255,255,0.8) !important;
        border-radius: 50% !important;
    }
    
    .timeline-item:hover .timeline-dot,
    .bio-timeline-item:hover .bio-timeline-dot {
        background-color: var(--white) !important;
        transform: scale(1.2) !important;
    }
    
    .left-item .timeline-date,
    .right-item .timeline-date,
    .bio-left-item .bio-timeline-date,
    .bio-right-item .bio-timeline-date {
        left: 40px !important;
        right: auto !important;
    }
    
    .left-item .timeline-dot,
    .right-item .timeline-dot,
    .bio-left-item .bio-timeline-dot,
    .bio-right-item .bio-timeline-dot {
        left: 14px !important;
        right: auto !important;
    }
    
    .timeline-item:hover .left-item .timeline-dot,
    .timeline-item:hover .right-item .timeline-dot,
    .bio-timeline-item:hover .bio-left-item .bio-timeline-dot,
    .bio-timeline-item:hover .bio-right-item .bio-timeline-dot {
        background-color: var(--white) !important;
        transform: scale(1.2) !important;
    }
    
    
    /* Top bar - center and stack content */
    .top-bar-inner {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .top-info {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }
    
    .header-inner {
        padding: 10px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .site-logo {
        flex-shrink: 0;
    }
    
    .nav-menu {
        flex: none;
        justify-content: flex-start;
    }
    
    /* Toggle Mobile Menu Elements */
    .mobile-menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 1001;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 30px;
        display: none;
        z-index: 1000;
        border-radius: 0 0 8px 8px;
        border-top: 2px solid var(--accent);
    }
    
    .nav-menu.show {
        display: block;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-menu ul li {
        width: 100%;
        display: block;
    }
    
    .nav-menu ul li a {
        color: var(--primary);
        padding: 14px 0;
        display: block;
        border-bottom: 1px solid var(--border-color);
        transition: var(--transition);
        text-align: left;
        font-size: 0.9375rem;
    }
    
    .nav-menu ul li:last-child a {
        border-bottom: none;
    }
    
    .nav-menu ul li a.donate-nav-link {
        display: block !important;
        background-color: var(--accent);
        color: var(--white) !important;
        text-align: center;
        padding: 12px 20px;
        margin-top: 10px;
        border-radius: 4px;
        border-bottom: none;
    }
    
    .nav-menu ul li a.donate-nav-link:hover,
    .nav-menu ul li a.donate-nav-link.active {
        background-color: var(--primary);
        padding-left: 20px;
    }
    
    .nav-menu ul li a:hover {
        color: var(--accent);
        padding-left: 10px;
    }
    
    .nav-menu ul li a::after {
        display: none;
    }
    
    /* Mobile Dropdown Styles */
    .nav-menu ul li.has-dropdown > a {
        justify-content: space-between;
        width: 100%;
    }
    
    .nav-menu ul li.has-dropdown > a .dropdown-arrow {
        font-size: 0.75rem;
        transition: transform 0.3s ease;
    }
    
    .nav-menu ul li.has-dropdown.show-dropdown > a .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border-top: none !important;
        background-color: var(--light-bg);
        border-radius: 4px;
        margin-top: 0 !important;
        display: none;
        padding: 10px 0 10px 20px;
        margin-bottom: 0;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        border: none;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .nav-menu ul li.has-dropdown.show-dropdown > .dropdown-menu {
        display: block !important;
        animation: slideDown 0.3s ease-out;
    }
    
    .dropdown-menu li {
        list-style: none;
        width: 100%;
    }
    
    .dropdown-menu li a {
        padding: 10px 15px !important;
        font-size: 0.875rem !important;
        border-bottom: 1px solid var(--border-color) !important;
        color: var(--title-text) !important;
        display: block;
        text-transform: uppercase;
        font-family: var(--font-heading);
        font-weight: 500;
        border-left: none !important;
    }
    
    .dropdown-menu li a:hover {
        color: var(--accent) !important;
        background-color: rgba(224, 57, 39, 0.05);
        padding-left: 20px !important;
        border-left: none !important;
    }
    
    .dropdown-menu li:last-child a {
        border-bottom: none !important;
    }
    
    .mobile-menu-toggle.active {
        background-color: transparent;
        border-radius: 4px;
    }
    
    .mobile-menu-toggle.active .bar {
        background-color: var(--white);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    
    .header-action-btn {
        display: none;
    }
    
    /* Hero section adjust */
    .hero-slider {
        height: 500px;
        min-height: 500px;
        padding-bottom: 0;
        padding-top: 0;
    }
    
    .slide {
        height: 100%;
        min-height: 500px;
    }
    
    .slide-inner {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 30px;
        padding-bottom: 0;
        min-height: auto;
    }
    
    .slide-text {
        flex: 0 0 auto;
        width: 100%;
        text-align: left;
        padding-right: 0;
        padding-bottom: 20px;
    }
    
    .slide-text h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .slide-text p {
        font-size: 0.9375rem;
    }
    
    .slide-image {
        flex: 0 0 auto;
        width: 100%;
        justify-content: center;
        align-items: flex-end;
        align-self: center;
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: auto;
    }
    
    .slide-image img {
        max-height: 350px;
        width: auto;
        transform: none;
        margin: 0 auto;
        display: block;
    }
    
    .slider-dots {
        left: 20px;
        padding-left: 0;
    }
    
    /* Donation Layout */
    .donation-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .donation-form {
        justify-content: center;
    }
    
    /* Believe Layout */
    .believe-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .believe-tabs-right {
        width: 100%;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Stats counter grid */
    .stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
    }
    
    .stat-card:nth-child(2) {
        border-right: none;
    }
    
    /* Events layout */
    .events-grid {
        grid-template-columns: 1fr;
    }
    

    

    
    /* Newsletter Layout */
    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    /* Blog Grid */
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Footer Layout */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .hero-slider {
        height: 450px;
        min-height: 450px;
        padding-top: 0;
    }
    
    .slide {
        min-height: 450px;
    }
    
    .slide-inner {
        min-height: auto;
        padding-top: 20px;
    }
    
    .slide-text h1 {
        font-size: 1.5rem;
    }
    
    .slide-text p {
        font-size: 0.8125rem;
    }
    
    .slide-image img {
        max-height: 280px;
    }
    
    .top-info .donate-btn-top {
        display: none; /* Hide in mobile since we have it elsewhere */
    }
    
    .site-logo .logo-text {
        background-color: var(--accent);
        padding: 8px 16px;
        border-radius: 4px;
        font-size: 1.5rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .page-banner {
        padding: 60px 0 25px !important;
    }
    
    .stats-wrapper {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 20px;
    }
    
    .stat-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .donation-presets {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form input {
        border-radius: 4px;
    }
    
    .subscribe-btn {
        border-radius: 4px;
        padding: 15px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
