/* Color Palette Based on Logo */
:root {
    --primary: #c53211; /* Red from logo */
    --primary-dark: #9e2a13; /* Darker red for hover states */
    --primary-light: #e05e3f; /* Lighter red for accents */
    --secondary: #fbd37c; /* Gold accent */
    --secondary-dark: #e8b54e; /* Darker gold for hover states */
    --secondary-light: #fde4a9; /* Lighter gold for backgrounds */
    --dark: #24252a; /* Dark background */
    --dark-light: #3a3b42; /* Lighter dark for secondary backgrounds */
    --nav-bg: #ffffff; /* Changed from #4A4B52 to white */
    --light: #f8f9fa; /* Light background */
    --light-dark: #e9ecef; /* Darker light for secondary backgrounds */
    --text-dark: #333333; /* Dark text */
    --text-light: #ffffff; /* Light text */
    --success: #28a745; /* Success color */
    --warning: #ffc107; /* Warning color */
    --danger: #dc3545; /* Danger color */
    --info: #17a2b8; /* Info color */
}

/* Global Notification Banner */
.notification-banner {
    background-color: #f8d7da;  /* Light red background */
    border-bottom: 1px solid #f5c6cb;
    padding: 10px 0;
    position: relative;
    z-index: 1030;  /* Above other content */
    display: block !important;  /* Ensure visibility */
    font-weight: 500;
}

.notification-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-banner p {
    margin-bottom: 0;
    color: #721c24;
    font-size: 0.95rem;
}

.notification-banner a {
    color: #721c24;
    text-decoration: underline;
    font-weight: 700;
}

.notification-banner a:hover {
    color: #5a171d;
}

.notification-banner .close-notification {
    background: transparent;
    border: none;
    color: #721c24;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 5px;
}

.notification-banner .close-notification:hover {
    color: #5a171d;
}

/* Hide notification by default in JavaScript */
.notification-banner.hidden {
    display: none !important;
}

body {
    color: var(--text-dark);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../src/images/partnerships.JPG') no-repeat center center;
    background-size: cover;
    color: var(--text-light);
    padding: 150px 0;
    margin-bottom: 2rem;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 1rem;
    background-color: var(--nav-bg);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Logo Styles */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 0%;
    transition: transform 0.3s ease;
}

.navbar-brand span {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 600;
    padding: 0.7rem 1rem;
    position: relative;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Dropdown Menu */
.dropdown-menu {
    background-color: var(--nav-bg);
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 0.7rem;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    color: var(--dark);
    padding: 0.7rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    transform: translateX(0);
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: rgba(197, 50, 17, 0.1);
    color: var(--primary);
    transform: translateX(5px);
}

.dropdown-divider {
    border-top: 1px solid rgba(0,0,0,0.1);
    margin: 0.5rem 0;
}

/* Donate Button */
.btn-donate {
    background-color: var(--primary);
    color: var(--text-light) !important;
    border-radius: 30px;
    padding: 0.5rem 1.7rem !important;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid var(--primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.btn-donate:hover, 
.btn-donate:focus {
    background-color: transparent;
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

.btn-donate::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-donate:hover::before {
    width: 300px;
    height: 300px;
}

/* Mobile Hamburger */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(197, 50, 17, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: var(--nav-bg);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .btn-donate {
        margin-top: 0.5rem;
        display: inline-block;
        text-align: center;
    }
    
    .dropdown-menu {
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        background-color: rgba(0,0,0,0.05);
        box-shadow: none;
        transition: none;
    }
    
    .dropdown-menu.show {
        display: block;
    }
    
    .dropdown-item:hover, 
    .dropdown-item:focus {
        transform: none;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0%;
    border: 0px solid var(--primary);
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background: white;
    border: none;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover::after {
    transform: scaleX(1);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-radius: 30px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    border-radius: 30px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#causes .card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

#donate .card {
    border-radius: 15px;
    padding: 20px;
}

.form-control,
.form-select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(197, 50, 17, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

section {
    scroll-margin-top: 80px;
    padding: 4rem 0;
}

section h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 700;
}

section h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    bottom: -10px;
    left: 0;
}

section.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Background Colors */
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.bg-primary-light {
    background-color: var(--primary-light) !important;
    color: var(--text-light);
}

.bg-secondary-light {
    background-color: var(--secondary-light) !important;
    color: var(--text-dark);
}

/* Text Colors */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

/* Animations and Transitions */
.fade-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

#donationForm {
    transition: opacity 0.3s ease;
}

.success-checkmark {
    font-size: 48px;
    color: #28a745;
    animation: checkmark-appear 0.5s ease-in-out;
}

@keyframes checkmark-appear {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Global Statistics Styling */
.stat-counter {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.stat-counter .h2 {
    color: var(--bs-primary);
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.global-stats {
    list-style: none;
    padding: 0;
}

.global-stats li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: relative;
    padding-left: 30px;
}

.global-stats li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--bs-primary);
}

.sdg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.sdg-item {
    background: var(--bs-primary);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sdg-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.progress {
    height: 8px;
    border-radius: 4px;
    background-color: var(--light-dark);
    overflow: hidden;
}

.progress-bar {
    background-color: var(--primary);
    transition: width 1.5s ease-in-out;
}

/* Progress bar width classes */
.progress-75 {
    width: 75%;
}

.progress-60 {
    width: 60%;
}

.progress-85 {
    width: 85%;
}

.progress-65 {
    width: 65%;
}

.progress-45 {
    width: 45%;
}

/* Initially hide custom amount field */
.custom-amount {
    display: none;
}

/* Project Page Styles */
.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.project-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.project-content {
    padding: 20px;
}

.project-stats {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.project-stats li {
    text-align: center;
}

.project-stats strong {
    display: block;
    color: var(--bs-primary);
    font-size: 1.2rem;
}

/* Story Page Styles */
.story-featured {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.story-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.story-image-market {
    background-image: url('../src/images/market.jpg');
}

.story-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.story-card .story-image {
    height: 200px;
}

/* Success stories specific media */
.story-media {
    width: 280px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .story-media { width: 100%; height: 160px; }
}

.story-content {
    padding: 25px;
}

.story-content h3 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
}

/* Stories filter styles */
.stories-filter {
    gap: 8px;
}

.stories-filter .btn.active,
.stories-filter .btn:active {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.no-results {
    display: none;
}

/* Testimonial Styles */
.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.quote-icon {
    font-size: 3rem;
    color: var(--bs-primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.testimonial-author h5 {
    margin: 0;
    font-size: 1.1rem;
}

/* Contact Page Styles */
.contact-info {
    height: 100%;
}

.contact-methods i {
    width: 40px;
}

.social-icon {
    color: var(--bs-primary);
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: var(--bs-primary-dark);
}

.contact-form {
    background: white;
}

.newsletter-section {
    background-color: var(--secondary-light);
    padding: 60px 0;
}

.newsletter-section h2 {
    color: var(--dark);
    margin-bottom: 20px;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    height: 50px;
    border-radius: 30px 0 0 30px;
    border: none;
    padding-left: 20px;
}

.newsletter-form .btn {
    border-radius: 0 30px 30px 0;
    padding: 0 25px;
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../src/images/partnerships.JPG') no-repeat center center;
    background-size: cover;
    color: var(--text-light);
    padding: 100px 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

/* Page-specific header backgrounds */
.page-header-about {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../src/images/_DSC7457.JPG') no-repeat center center;
    background-size: cover;
}

.page-header-projects {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../src/images/skilling of youths and mothers.JPG') no-repeat center center;
    background-size: cover;
}

.page-header-stories {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../src/images/vsla meetings.jpg') no-repeat center center;
    background-size: cover;
}

.page-header-blog, 
.page-header-news {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../src/images/business enterprise .jpg') no-repeat center center;
    background-size: cover;
}

.page-header-events {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../src/images/_DSC7457.JPG') no-repeat center center;
    background-size: cover;
}

.page-header-volunteer {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../src/images/VOLUNTEER.JPG') no-repeat center center;
    background-size: cover;
}

.page-header-careers {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../src/images/training on empowerment.JPG') no-repeat center center;
    background-size: cover;
}

.page-header-gallery {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../src/images/training\ on\ empowerment.JPG') no-repeat center center;
    background-size: cover;
}

.page-header-partnerships {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../src/images/partnerships.JPG') no-repeat center center;
    background-size: cover;
}

.page-header-contact {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../src/images/market.jpg') no-repeat center center;
    background-size: cover;
}

.page-header-donate {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../src/images/partnerships.JPG') no-repeat center center;
    background-size: cover;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header .lead {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Updated styles for the hero subtitle to ensure it's prominently displayed over the video */
.hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto 30px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px 30px;
    border-radius: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    border-left: 5px solid var(--primary);
    font-weight: 500;
    letter-spacing: 0.5px;
    transform: translateY(0);
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Index page hero styles */
.hero-fullscreen {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-video-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 30px 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-fullscreen {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-fullscreen {
        min-height: 450px;
    }
}

.hero-content:hover .hero-subtitle {
    transform: translateY(-10px);
    background-color: rgba(197, 50, 17, 0.7);
    border-left: 5px solid var(--secondary);
}

.hero-buttons {
    margin-top: 20px;
}

.btn-animated {
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.btn-animated:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-animated:hover:before {
    width: 300px;
    height: 300px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down {
    display: inline-block;
    text-align: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.scroll-down:hover {
    transform: translateY(5px);
    color: var(--primary);
}

.mouse {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-light);
    border-radius: 20px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    display: block;
    width: 8px;
    height: 8px;
    background: var(--text-light);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel 1.5s infinite;
}

@keyframes wheel {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(25px);
        opacity: 0;
    }
}

.arrow {
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
    margin: 0 auto;
}

.arrow span {
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(45deg);
    animation: arrow 1.5s infinite;
    margin: -6px auto 0;
}

.arrow span:last-child {
    animation-delay: 0.3s;
    margin-top: -10px;
}

@keyframes arrow {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Typed.js cursor */
.cursor {
    display: inline-block;
    width: 2px;
    background-color: var(--text-light);
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 8px 15px;
    }
    
    .hero-buttons .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .mouse {
        height: 40px;
    }
}

/* Gallery Styles (focus-area layout) */
.gallery-section {
    background-color: transparent;
}

.gallery-filter .btn {
    min-width: 110px;
    border-radius: 30px;
    padding: 8px 14px;
    transition: all 0.25s ease;
}

.gallery-filter .btn.active,
.gallery-filter .btn:focus,
.gallery-filter .btn:hover {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.gallery-grid {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    padding: 0.5rem;
}

.gallery-item a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease, filter 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.03);
}

.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 60%);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-item.hidden {
    display: none !important;
}

@media (max-width: 1200px) {
    .gallery-image { height: 200px; }
}

@media (max-width: 768px) {
    .gallery-image { height: 160px; }
    .gallery-filter .btn { min-width: 90px; }
}

@media (max-width: 576px) {
    .gallery-image { height: 130px; }
    .gallery-item { padding: 0.35rem; }
}

/* Accessibility: visible focus state */
.gallery-filter .btn:focus-visible {
    outline: 3px solid rgba(197,50,17,0.18);
    outline-offset: 3px;
}

/* Testimonial Cards Styles */
.testimonials-section {
    background-color: #f8f9fa;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 3px solid var(--primary);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
    display: flex;
    gap: 5px;
    font-size: 1.1rem;
}

.testimonial-stars i {
    color: var(--primary);
}

.testimonial-text {
    position: relative;
    padding-left: 15px;
}

.testimonial-text i {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    left: 0;
    top: -5px;
}

.testimonial-text p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
    text-align: left;
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 3px 0;
}

.testimonial-author p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
    font-style: normal;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-text p {
        font-size: 0.9rem;
    }
}

/* News and Events Pages - No Content Styles */
.no-events-alert,
.no-news-alert {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.no-events-alert.alert-info,
.no-news-alert.alert-info {
    background-color: #e7f3ff;
    border-color: #b3d9ff;
    color: #004085;
}

.no-events-alert .alert-link,
.no-news-alert .alert-link {
    color: #0056b3;
}

#events-list.hidden,
.news-content.hidden {
    display: none;
}

#featured-event.hidden {
    display: none;
}

/* Page Header with Logo Background */
.page-header-privacy,
.page-header-terms,
.page-header-sitemap {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.85), rgba(25, 135, 84, 0.85)), url('images/Red Logo.png') center/contain no-repeat;
    background-size: 200px, cover;
    background-attachment: fixed;
}

