/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ffffff;
    --accent-color: #ff6b6b;
    --text-color: #333333;
    --background-color: #f8f8f8;
    --footer-color: rgb(66 108 88);
    --hover-color: #ffd700;
    --lightGreen: rgb(96 122 90);
    --tw-bg-opacity: 1;
    --icon-filter: none;
    --icon-scale: 1;
    --icon-hover-color: #007bff;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--footer-color);
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    padding: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
}

.logo {
    max-height: 60px;
    transition: transform 0.3s ease;
    margin: 0;
    display: block;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
}

.logo:hover {
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    left: 0;
    width: 15%;
    height: 100%;
    z-index: 101;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
}

.menu-icon, .close-icon {
    position: relative;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: invert(1);
    transition: opacity 0.3s ease;
    margin: 0;
    padding: 0;
}

.menu-icon {
    background-image: url('../icons/menu.svg');
    display: block;
}

.close-icon {
    background-image: url('../icons/close.svg');
    display: none;
}

.mobile-menu-btn.active .menu-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: block;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* Menu Icons */
nav a[onclick*="mission"]::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('../icons/mission.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5rem;
    vertical-align: middle;
    filter: invert(1);
    transition: transform 0.3s ease;
}

nav a[onclick*="about"]::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('../icons/about.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5rem;
    vertical-align: middle;
    filter: invert(1);
    transition: transform 0.3s ease;
}

nav a[onclick*="gallery"]::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('../icons/gallery.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5rem;
    vertical-align: middle;
    filter: invert(1);
    transition: transform 0.3s ease;
}

nav a[onclick*="careers"]::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('../icons/career.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5rem;
    vertical-align: middle;
    filter: invert(1);
    transition: transform 0.3s ease;
}

nav a[onclick*="donation"]::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('../icons/donation.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5rem;
    vertical-align: middle;
    filter: invert(1);
    transition: transform 0.3s ease;
}

nav a[onclick*="contact"]::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('../icons/phone.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5rem;
    vertical-align: middle;
    filter: invert(1);
    transition: transform 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

nav a:hover {
    color: var(--hover-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--hover-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

nav a:hover::before {
    filter: invert(0.8) sepia(1) saturate(5) hue-rotate(0deg);
    transform: scale(1.1);
}

/* Mobile Menu */
@media (max-width: 1024px) {
    .header-content {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0.5rem 1rem;
        position: relative;
        height: 80px;
        max-width: none;
        margin: 0;
    }

    .logo {
        max-height: 60px;
        margin: 0 auto;
        display: block;
        position: relative;
        z-index: 102;
    }

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

    .mobile-menu-btn {
        display: flex !important;
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 15%;
        z-index: 103;
    }

    .menu-icon, .close-icon {
        width: 24px;
        height: 24px;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--primary-color);
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        display: none;
        z-index: 100;
    }

    nav.active {
        display: block;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
        text-align: left;
        width: 100%;
        height: 100%;
        margin-top: 80px;
    }

    nav a {
        padding: 0.75rem 1rem;
        justify-content: flex-start;
        width: 100%;
        font-size: 1rem;
    }

    nav a::before {
        margin-right: 0.75rem;
    }

    .mobile-menu-btn.active .menu-icon {
        display: none;
    }

    .mobile-menu-btn.active .close-icon {
        display: block;
    }
}

@media (min-width: 1025px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

/* Responsive Design */
@media (max-width: 760px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    .footer-left, .footer-right {
        min-width: 0;
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 0 8px;
    }
}

/* Main Content */
main {
    width: 100%;
    margin: 0;
    padding: 0;
}

main > section {
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    display: none;
    width: 100%;
}

main > section[style*="display: block"] {
    opacity: 1;
}

/* Footer Styles */
footer {
    background-color: var(--footer-color);
    color: var(--secondary-color);
    padding: 2rem 0;
    width: 100%;
    font-family: Arial, sans-serif;
}

.footer-content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
    gap: 2rem;
}

.footer-left, .footer-right {
    padding: 0 24px;
    width: 100%;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.footer-left h3, .footer-right-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    line-height: 1.2;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
    line-height: 1;
}

.social-icon:hover {
    transform: scale(1.1);
}

.footer-link {
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.footer-link:hover {
    color: var(--hover-color);
    transform: translateX(5px);
}

.footer-link:hover .footer-icon {
    transform: scale(1.2) rotate(5deg);
    filter: brightness(0) saturate(100%) invert(80%) sepia(100%) saturate(1000%) hue-rotate(0deg);
}

.footer-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 2px;
    vertical-align: top;
}

.copyright-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0;
    text-align: center;
    gap: 0.25rem;
}

.copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.2;
}

.copyright-spacer {
    display: none;
}

.foundation-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0;
}

.foundation-link:hover {
    color: var(--hover-color);
}

.copyright span {
    white-space: nowrap;
}

.ocn-link {
    display: none;
}

.footer-separator {
    height: 1px;
    background-color: var(--secondary-color);
    margin: 1rem 0;
    opacity: 0.3;
}

.go-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.top-button {
    background: var(--footer-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.top-button:hover {
    background: var(--lightGreen);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.top-icon {
    width: 20px;
    height: 20px;
    filter: none;
}

@media (max-width: 768px) {
    .go-to-top {
        bottom: 15px;
        right: 15px;
    }
    .top-button {
        width: 35px;
        height: 35px;
    }
    .top-icon {
        width: 18px;
        height: 18px;
    }
}

.contact-page {
    padding: 40px 0;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.submit-group {
    margin-top: 30px;
    text-align: center;
}

.success-message, .error-message {
    padding: 12px;
    margin: 10px 0;
    border-radius: 4px;
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
    padding: 0.5rem;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 0.25rem;
}

.error-message.validation-error,
.error-message.server-error {
    display: block;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
    background-color: #fff;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
}

.submit-btn:hover:not(:disabled):not(.sending) {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.submit-btn:disabled,
.submit-btn.sending {
    background-color: #888;
    cursor: not-allowed;
    opacity: 0.8;
}

.submit-btn.sending {
    padding-right: 40px;
    cursor: wait;
}

.submit-btn.sending::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 3px solid transparent;
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: loading 1s linear infinite;
}

@keyframes loading {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.form-group input:disabled,
.form-group textarea:disabled,
.form-group select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.8;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: var(--secondary-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-size: 14px;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ff4444;
    background-color: #fff5f5;
}

.success-message {
    color: #28a745;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group label::after {
    content: ' *';
    color: #ff4444;
    display: none;
}

.form-group label[for="name"]::after,
.form-group label[for="email"]::after,
.form-group label[for="message"]::after {
    display: inline;
}

/* Checkbox styles */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
    margin: 0;
}

.checkbox-group label::after {
    display: none;
}

/* Tooltip styles */
.form-group input[title],
.form-group textarea[title] {
    position: relative;
}

.form-group input[title]:hover::after,
.form-group textarea[title]:hover::after {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Privacy Policy Page Styles */
.privacy-policy-page {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.privacy-section {
    margin-bottom: 30px;
}

.privacy-section h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: 600;
}

.privacy-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}

.privacy-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.privacy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #444;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 20px;
    }
    
    .privacy-section h2 {
        font-size: 1.3em;
    }
}

.content-page {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
}

.content-page .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.content-page h1 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.content-page h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
}

.content-page .content {
    flex: 1;
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 0;
}

@media (max-width: 768px) {
    .content-page {
        padding: 20px 0;
    }
    
    .content-page h1 {
        font-size: 2em;
    }
    
    .content-page .content {
        padding: 20px;
    }
}

/* Gallery styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    background: #f0f0f0;
    aspect-ratio: 3/4;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-zoom-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 0;
}

.gallery-item:hover .gallery-zoom-btn {
    opacity: 1;
}

.gallery-item .zoom-icon:hover {
    background: white;
    transform: scale(1.1);
}

.gallery-modal-content {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

/* Scroll Buttons for Gallery */
.gallery-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 1001;
}

.gallery-scroll-btn.prev {
    left: 10px;
}

.gallery-scroll-btn.next {
    right: 10px;
}

.gallery-scroll-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-scroll-btn::before {
    content: '';
    width: 10px;
    height: 10px;
    border: solid var(--primary-color);
    border-width: 0 2px 2px 0;
    display: inline-block;
}

.gallery-scroll-btn.prev::before {
    transform: rotate(135deg);
    margin-left: 5px;
}

.gallery-scroll-btn.next::before {
    transform: rotate(-45deg);
    margin-right: 5px;
}

.gallery-scroll-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Careers styles */
.positions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.position {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.position h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.position ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-top: 10px;
}

/* Donation styles */
.donation-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.method {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.method h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.method a {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.method a:hover {
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    .gallery-grid,
    .positions,
    .donation-methods {
        grid-template-columns: 1fr;
    }
    
    .content-page {
        padding: 20px 0;
    }
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.submit-btn, .reset-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.submit-btn:hover:not(:disabled):not(.sending) {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.submit-btn:disabled,
.submit-btn.sending {
    background-color: #888;
    cursor: not-allowed;
    opacity: 0.8;
}

.reset-btn {
    background-color: #6c757d;
    color: var(--secondary-color);
}

.reset-btn:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.reset-btn:active {
    background-color: #545b62;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: auto;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 1rem;
    color: var(--text-color);
}

/* Home Content Styles */
.home-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.home-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.home-content .description {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* Mandate Section */
.mandate-section {
    background: none !important;
    background-color: var(--footer-color) !important;
    color: var(--secondary-color) !important;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: none;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mandate-section h2 {
    color: var(--secondary-color) !important;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
}

.mandate-tasks,
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    justify-content: center;
}

.task-item,
.category-card {
    flex: 0 1 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
    min-width: 280px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 123, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
    animation: cyberGlow 3s infinite;
    text-align: center;
}

.mandate-tasks li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--secondary-color) !important;
    text-align: left;
    padding-left: 1rem;
}

.mandate-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 2.2rem;
    color: #00f2fe;
    box-shadow: 0 0 8px #00f2fe80;
}
.category-card h3 {
    display: flex;
    align-items: center;
    gap: 0.6em;
    flex-wrap: wrap;
    white-space: normal;
    justify-content: center;
    margin: 0 0 1rem 0;
    width: 100%;
}

.category-card p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .task-item,
    .category-card {
        flex: 0 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
}
}

@media (max-width: 600px) {
    .task-item,
.category-card {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: unset;
    }
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.member-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 3px solid var(--lightGreen);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.team-member .position {
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 0.5rem 0;
    font-weight: 600;
    color: var(--lightGreen);
}

.team-member .bio {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 1rem;
    flex-grow: 1;
}

.contact-section {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 8px;
    text-align: center;
}

.contact-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-section p {
    margin: 0.5rem 0;
    color: var(--text-color);
}

.contact-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .land-acknowledgement,
    .contact-section {
        padding: 1.5rem;
    }

    .member-image {
        width: 140px;
        height: 140px;
    }

    .team-member {
        padding: 1.5rem;
    }
}

/* Event Cards Grid - VMF */
.vmf-event-cards-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0;
    padding: 0 2rem 1rem 2rem;
    box-sizing: border-box;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.vmf-event-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    flex: 0 0 33.333%;
    width: 33.333%;
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 0;
    padding: 0 1rem;
}

.event-image-container {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
    border-radius: 8px 8px 0 0;
    background: #f0f0f0;
}

.event-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background-color: #f0f0f0;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .vmf-event-cards-grid {
        flex-wrap: wrap;
        overflow-y: auto;
        max-height: none;
        padding: 1rem;
        gap: 1rem;
        height: auto;
        min-height: 0;
        position: relative;
    }

    .vmf-event-card {
        width: 100%;
        min-width: unset;
        max-width: none;
        height: auto;
        margin-right: 0;
        margin-bottom: 1rem;
        flex: 0 0 100%;
    }

    .event-image-container {
        aspect-ratio: 16/9;
    }

    .event-image-container img {
        object-fit: contain;
        object-position: top;
    }

    #latest-events-container,
    #past-events-container {
        overflow-y: auto;
        max-height: none;
        padding: 1rem;
        height: auto;
        position: relative;
        min-height: 0;
    }

    .event-content {
        padding: 1rem;
    }

    /* Ensure the entire event section is scrollable */
    main > section {
        overflow-y: auto;
    }

    /* Fix for iOS scrolling */
    body {
        -webkit-overflow-scrolling: touch;
        overflow-y: auto;
    }
}

/* Hide scrollbar for Chrome/Safari */
.vmf-event-cards-grid::-webkit-scrollbar {
    display: none;
}

/* Remove hover effects */
.vmf-event-card[data-visibility="visible"] {
    z-index: 3;
    opacity: 1;
}

.vmf-event-card[data-visibility="partial-left"],
.vmf-event-card[data-visibility="partial-right"] {
    z-index: 2;
    opacity: 0.8;
}

.vmf-event-card[data-visibility="hidden"] {
    z-index: 1;
    opacity: 0.6;
}

.vmf-event-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.4;
    padding: 0.5rem 0;
    word-wrap: break-word;
}

.vmf-event-details-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
}

.vmf-event-details-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Scroll Button Styles */
.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
}

/* Hide scroll buttons on mobile */
@media (max-width: 768px) {
    .scroll-button {
        display: none !important; /* Force hide on mobile */
    }
    
    .vmf-event-cards-grid {
        padding: 0.5rem 0;
        touch-action: pan-x;
        user-select: none;
        -webkit-overflow-scrolling: touch;
    }
}

@media (min-width: 769px) {
    .scroll-button.prev-btn {
        left: 1rem;
    }

    .scroll-button.next-btn {
        right: 1rem;
    }
}

.footer-link-location {
    gap: 0.2rem;
    }

.mandate-section, .mandate-section *, .mandate-section h1, .mandate-section h2, .mandate-section h3, .mandate-section p, .mandate-section li {
    color: var(--secondary-color) !important;
}

@media (max-width: 768px) {
    .mandate-section {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .mandate-section h2 {
    font-size: 1.8rem;
        margin-bottom: 1rem;
}

    .mandate-tasks,
    .categories-grid {
        padding: 0;
        gap: 1rem;
    }

    .task-item,
    .category-card {
        margin: 0 auto;
        padding: 1.5rem;
    }

    .mandate-tasks li {
        padding-left: 0.5rem;
    }

    .vmf-event-cards-grid {
        padding: 0.5rem 0;
        touch-action: pan-x;
        user-select: none;
    }
    
    #latest-events-container,
    #past-events-container {
        padding: 0 1rem;
        overflow: hidden;
}
}

@media (max-width: 768px) {
  .mandate-section h2,
  .categories-section h2 {
    text-align: center !important;
    width: 100% !important;
    word-break: break-word !important;
    white-space: normal !important;
    padding: 0 0.5em !important;
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
    display: block !important;
  }
}

@media (max-width: 768px) {
    .task-item,
    .category-card {
        width: 90% !important;
        max-width: 400px;
        margin: 0.5rem auto !important;
        box-sizing: border-box;
    }
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    justify-content: center;
}

.team-member {
    flex: 0 1 300px;
    max-width: 300px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 1.5rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive adjustments for team members */
@media (max-width: 900px) {
    .team-member {
        flex: 0 1 250px;
        max-width: 250px;
    }
}

@media (max-width: 600px) {
    .team-member {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

/* Event Cards Grid - VMF */
.event-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    width: 100%;
    padding: 2rem;
    box-sizing: border-box;
    place-items: center;
}

.event-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.event-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-content h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.4;
    text-align: center;
}

.event-date {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
}

/* Media queries for event cards */
@media (max-width: 900px) {
    .event-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .event-card {
        max-width: 500px;
    }
}

@media (max-width: 600px) {
    .event-cards-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }
    
    .event-card {
        width: 100%;
        max-width: none;
    }
}

.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow: auto;
}

.image-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-modal .modal-content {
    position: relative;
    max-width: 98vw;
    max-height: 90vh;
    margin: auto;
    padding: 0.5rem;
    box-sizing: border-box;
}

.image-modal img {
    max-width: 96vw;
    max-height: 70vh;
    display: block;
    margin: 0 auto;
}

.image-modal .close-modal {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border-radius: 50%;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal.loading::after {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
}

.event-image-container img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.event-image-container img:hover {
    transform: scale(1.05);
}

/* Past Events Container */
#past-events-container .vmf-event-cards-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2rem 1rem 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: stretch;
}

#past-events-container .vmf-event-cards-grid::-webkit-scrollbar {
    display: none;
}

/* Responsive adjustments for past events */
@media (min-width: 1921px) {
    #past-events-container .vmf-event-cards-grid {
        justify-content: center;
    }
}

@media (max-width: 1920px) {
    #past-events-container .vmf-event-cards-grid {
        justify-content: flex-start;
}
}

/* Hide scroll buttons when modal is open */
.image-modal.active ~ .scroll-button {
    display: none !important;
}

/* Gallery Modal Styles */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem;
}

.gallery-modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.gallery-modal-content {
    max-width: 1200px;
    width: 100%;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
}

.gallery-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1002;
}

.gallery-modal .close-modal:hover {
    transform: scale(1.1);
    background: white;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    background: #f0f0f0;
}

.gallery-item .zoom-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 1;
}

.gallery-item:hover .zoom-icon {
    opacity: 1;
}

.gallery-item .zoom-icon:hover {
    background: white;
    transform: scale(1.1);
}

/* Registration Modal Styles */
.registration-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem;
}

.registration-modal.active {
    display: block;
}

.registration-modal-content {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
}

.registration-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

/* Common Modal Styles */
.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 0.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: scale(1.1);
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-color);
}

.error {
    text-align: center;
    padding: 2rem;
    color: #dc3545;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-modal,
    .registration-modal {
        padding: 1rem;
    }
    
    .gallery-modal-content,
    .registration-modal-content {
        padding: 1.5rem;
    }

    .gallery-title,
    .registration-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
}

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
}

/* Responsive breakpoints for card sizing */
@media (max-width: 1200px) {
    .vmf-event-card {
        flex: 0 0 50%;  /* Show 2 cards */
        width: 50%;
}
}

@media (max-width: 768px) {
    .vmf-event-card {
        flex: 0 0 100%;  /* Show 1 card */
    width: 100%;
        padding: 0 0.5rem;
}

    .vmf-event-cards-grid {
        padding: 0.5rem 0;
    }
    
    #latest-events-container,
    #past-events-container {
        padding: 0 1rem;
}

    .scroll-button {
        width: 32px;
        height: 32px;
    }
    
    .scroll-button.prev-btn {
        left: 0.5rem;
}

    .scroll-button.next-btn {
        right: 0.5rem;
    }
}

/* Container for events section */
#latest-events-container,
#past-events-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#mission {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
}

#mission .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

#mission h1 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

#mission h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
}

#mission .content {
    flex: 1;
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 0;
    border: 1px solid var(--footer-color);
}

#mission .content p {
    margin: 0 2rem 1.5rem 2rem;
    line-height: 1.8;
}

#mission .content p:last-child {
    margin-bottom: 0;
}

#mission .content h2 {
    margin: 2rem 2rem 1.5rem 2rem;
    color: var(--primary-color);
    font-size: 1.8rem;
}

#mission .content h2:first-child {
    margin-top: 0;
}

#mission .content ul, 
#mission .content ol {
    margin: 1.5rem 2rem;
    padding-left: 2rem;
}

#mission .content li {
    margin-bottom: 0.75rem;
}

#mission .content li:last-child {
    margin-bottom: 0;
}

#mission video {
    width: 100%;
    height: auto;
    margin: 2.5rem auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--footer-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    background-color: var(--secondary-color);
}

.land-acknowledgement {
    background-color: var(--footer-color);
    color: var(--secondary-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    text-align: center;
}

.land-acknowledgement h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.land-acknowledgement p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    #mission {
        padding: 20px 0;
    }
    
    #mission .container {
        padding: 0 1rem;
    }
    
    #mission .content {
        padding: 20px;
    }

    #mission h1 {
        font-size: 2em;
    }

    #mission video {
        padding: 15px;
        margin: 2rem auto;
    }

    #mission .content {
        padding: 20px;
    }

    #mission .content p {
        margin: 0 1.5rem 1.25rem 1.5rem;
    }

    #mission .content h2 {
        margin: 1.5rem 1.5rem 1.25rem 1.5rem;
    }

    #mission .content ul, 
    #mission .content ol {
        margin: 1.25rem 1.5rem;
    }
}

@media (max-width: 480px) {
    #mission .container {
        padding: 0 0.75rem;
    }

    #mission .content {
        padding: 15px;
    }

    #mission video {
        padding: 10px;
        margin: 1.5rem auto;
    }

    #mission .content {
        padding: 15px;
    }

    #mission .content p {
        margin: 0 1rem 1rem 1rem;
    }

    #mission .content h2 {
        margin: 1.25rem 1rem 1rem 1rem;
    }

    #mission .content ul, 
    #mission .content ol {
        margin: 1rem;
    }
}

/* Mission section styles */
.mission-mandates {
    margin-top: 2rem;
}

.mission-mandates h2 {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.mission-mandates h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

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

.mandates-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.mandates-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .mission-mandates h2 {
        font-size: 1.5em;
    }
    
    .mandates-list li {
        font-size: 0.9em;
    }
}

/* Mission Statement Box Styling */
.mission-statement-box {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: auto;
    margin: 2rem;
}

.mission-statement-box p {
    color: #333;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .mission-statement-box {
        margin: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .mission-statement-box {
        margin: 1rem;
        padding: 1rem;
    }
}

.section-title {
    color: var(--primary-color);
    font-size: 2.5em;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2em;
        margin: 1.5rem 0;
    }
}

.view-gallery-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.view-gallery-btn:hover {
    background-color: #0056b3;
}

@media (max-width: 600px) {
  .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-section {
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
  }
}

@media (max-width: 768px) {
  .footer-right {
    align-items: center !important;
    text-align: center !important;
    margin-top: 1rem;
    width: 100%;
  }
  .social-links {
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
  }
}

.footer-address {
  white-space: nowrap;
  overflow-x: auto;
  text-overflow: ellipsis;
}

@media (max-width: 550px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  .footer-left, .footer-right {
    min-width: 0;
    width: 100%;
    align-items: center;
    text-align: center;
    padding: 0 8px;
  }
}

@media (max-width: 1000px) {
  .footer-content {
    justify-content: center;
    gap: 1.5rem;
  }
  .footer-left, .footer-right {
    padding: 0 16px;
  }
}

.event-tag {
    display: inline-block;
    padding: 4px 8px;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    font-size: 0.8em;
    margin-top: 8px;
}

.gallery-tag-section {
    margin-bottom: 2rem;
}

.gallery-tag-header {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}
