

:root {
    --primary-yellow: #FFD700;
    --primary-skyblue: #87CEEB;
    --primary-black: #000000;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif!important;
    overflow-x: hidden!important;
}

@import "tailwindcss";

/*
  * A catch-all path to Django template files, JavaScript, and Python files
  * that contain Tailwind CSS classes and will be scanned by Tailwind to generate the final CSS file.
  *
  * If your final CSS file is not being updated after code changes, you may want to broaden or narrow
  * the scope of this path.
  */


@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom classes */
.text-primary {
    color: #FFD700 !important;
}

.bg-primary {
    background-color: #FFD700 !important;
}

.text-secondary {
    color: #87CEEB !important;
}

.bg-secondary {
    background-color: #87CEEB !important;
}

.text-dark {
    color: #000000 !important;
}

.bg-dark {
    background-color: #000000 !important;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(45deg, #FFD700, #87CEEB);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    margin: 1rem 0;
    max-width: 100%;
}

/*.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}*/

.play-button {
    width: 60px;
    height: 60px;
    background-color: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: #e6c200;
}

/* Mobile-specific video styles */
@media (max-width: 768px) {
    .video-container {
        margin: 0.5rem 0;
        border-radius: 8px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .video-container {
        margin: 0.25rem 0;
    }
}

/* Impact Numbers */
.impact-number {
    font-size: 3rem;
    font-weight: 700;
    color: #FFD700;
}
@media (max-width: 960px) {
    .impact-number {
        font-size: 2rem!important;
    }
}

/* Testimonial Cards */
.testimonial-card {
    border-left: 5px solid #87CEEB;
}

/* Navbar Scroll Effect */
.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.9) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Feature Icons */
.feature-icon {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

/* Footer Links */
.footer-link {
    transition: color 0.3s;
}

.footer-link:hover {
    color: #FFD700;
}

/* Social Icons */
.social-icon {
    transition: color 0.3s;
}

.social-icon:hover {
    color: #FFD700;
}

/* Core Values Cards */
.core-value-card {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(135, 206, 235, 0.1) 100%);
    transition: opacity 0.3s ease;
}



.core-value-card:hover::before {
    opacity: 1;
}

.core-value-icon {
    transition: all 0.3s ease;
}

.core-value-card:hover .core-value-icon {
    transform: scale(1.1);
    color: #FFD700;
}

/* Hero Button Responsiveness */
@media (max-width: 640px) {
    .hero-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-button {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
}

/* Floating Donate Button */
.float-donate-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #FFD700;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.float-donate-btn:hover {
    transform: scale(1.1);
    background-color: #e6c200;
}

.float-donate-text {
    position: absolute;
    right: 80px;
    white-space: nowrap;
    background-color: #FFD700;
    color: #000;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.float-donate-btn:hover .float-donate-text {
    opacity: 1;
    right: 90px;
}

/* Gallery Section */
.gallery-container {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-container::-webkit-scrollbar {
    display: none;
}

.gallery-track {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 20px;
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    margin-right: 20px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background-color: #FFD700;
    transform: scale(1.2);
}

.gallery-scroll-hint {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 215, 0, 0.9);
    color: #000;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    animation: pulse 2s infinite;
    cursor: pointer;
}

@keyframes pulse {
    0% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.05); }
    100% { transform: translateY(-50%) scale(1); }
}

@media (max-width: 768px) {
    .gallery-item {
        width: 250px;
    }
    
    .gallery-scroll-hint {
        display: none;
    }
} 

/*about style*/
.hero-gradient {
    background: linear-gradient(135deg, var(--primary-skyblue) 0%, var(--primary-yellow) 100%);
}

.btn-donate {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    transition: all 0.3s ease;
}

.btn-donate:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.btn-member {
    background-color: var(--primary-skyblue);
    color: var(--primary-black);
    transition: all 0.3s ease;
}

.btn-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(135, 206, 235, 0.3);
}

.mission-icon {
    color: var(--primary-yellow);
    font-size: 2.5rem;
}

.value-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-skyblue);
}

.team-member:hover .team-overlay {
    opacity: 1;
}

.team-overlay {
    background: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
    opacity: 0;
}

.stats-item {
    border-left: 4px solid var(--primary-yellow);
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    .team-member img {
        height: 300px;
    }
}

/* acticles style*/
.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background-color: var(--primary-skyblue);
    color: var(--primary-black);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(135, 206, 235, 0.3);
}

.article-card {
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.article-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary-yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.article-image {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.pagination-link {
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background-color: var(--primary-skyblue);
    color: white;
}

.pagination-link.active {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    font-weight: bold;
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    .article-image {
        height: 150px;
    }
}

/*projects style*/
.program-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.program-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
}

.impact-number1 {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-skyblue) 0%, var(--primary-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonial-card1 {
    transition: all 0.3s ease;
}

.testimonial-card1:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .impact-number1 {
        font-size: 2.5rem;
    }
}

.gallery-item {
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    transition: transform 0.5s ease;
}

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

.video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 10px rgba(255, 215, 0, 0.3);
}

.gallery-item:hover .video-icon {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 15px rgba(255, 215, 0, 0.3);
}

/*resources style*/
.document-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/*contact style*/
.contact-icon {
    color: var(--primary-yellow);
    font-size: 2rem;
}

.contact-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-skyblue);
}

.map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    .map-container {
        height: 300px;
    }
}


/*donation style*/
.donation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 1rem;
}

.donation-modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2rem;
}

.donation-modal-content {
    margin: 2rem auto;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.donation-section {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
}

.donation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #FFD700, #87CEEB);
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
}

.section-number {
    position: absolute;
    top: -0.40rem;
    right: -0.40rem;
    width: 2rem;
    height: 2rem;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
    color: black;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.amount-option label {
    background: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.amount-option label::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #FFD700, #87CEEB);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.amount-option input[type="radio"]:checked + label::after {
    transform: scaleX(1);
}

.payment-type label {
    background: white;
}

.payment-type input[type="radio"]:checked + label {
    border-color: #FFD700;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(135, 206, 235, 0.1));
}

.amount-option input[type="radio"] {
    display: none;
}

.custom-amount:focus-within {
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.payment-type input[type="radio"] {
    display: none;
}

.payment-type label:hover {
    transform: translateY(-2px);
}

/* Membership Form Styles */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    background-color: #e2e8f0;
    color: #64748b;
    transition: all 0.3s ease;
}

.progress-step.completed {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
}

.progress-step.active {
    background-color: var(--primary-skyblue);
    color: var(--primary-black);
}

.progress-step.inactive {
    background-color: #e2e8f0;
    color: #64748b;
}

.progress-line {
    height: 4px;
    background-color: #e2e8f0;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-line-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-yellow) 0%, var(--primary-skyblue) 100%);
    transition: width 0.3s ease;
}

.form-card {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.input-field:focus {
    border-color: var(--primary-skyblue);
    box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.3);
}

.input-field.field-error,
.textarea-field.field-error,
select.field-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.field-error-message {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #ef4444;
}

.textarea-field:focus {
    border-color: var(--primary-skyblue);
    box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.3);
}

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

.review-item {
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    padding-bottom: 1rem;
}

.review-item:hover {
    background-color: #f8fafc;
}

.country-select {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

/* Radio Group Styles */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    width: 100%;
}

.radio-group input[type="radio"] {
    margin-right: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--primary-skyblue);
}

.radio-group label:hover {
    background-color: rgba(135, 206, 235, 0.1);
}

.radio-group label.field-error {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.radio-group input[type="radio"]:checked + span {
    font-weight: 600;
    color: var(--primary-black);
}

/* Checkbox Grid Styles */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-height: 24rem;
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
}

.checkbox-grid label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.checkbox-grid input[type="checkbox"] {
    margin-right: 0.5rem;
    margin-top: 0.125rem;
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
    accent-color: var(--primary-yellow);
    flex-shrink: 0;
}

.checkbox-grid label:hover {
    background-color: rgba(255, 215, 0, 0.1);
}

.checkbox-grid input[type="checkbox"]:checked + span {
    font-weight: 500;
    color: var(--primary-black);
}

/* Conditional Field Styles */
.conditional-field {
    transition: all 0.3s ease;
}

.conditional-field[style*="display: none"] {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Consent Checkbox Styles */
.consent-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--primary-yellow);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.consent-checkbox:checked {
    background-color: var(--primary-yellow);
}

.consent-checkbox-container {
    display: flex;
    flex-direction: column;
}

.consent-checkbox-container label {
    display: flex;
    align-items: flex-start;
}

.consent-checkbox-container .field-error-message {
    margin-top: 0.5rem;
    margin-left: 0;
}

/* Loading Spinner Styles */
.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-black);
    animation: spin 0.6s linear infinite;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.spinner.hidden {
    display: none;
}

/* Ensure hidden spinners are actually hidden, overriding Font Awesome styles */
.donate-spinner.hidden,
.member-spinner.hidden,
.fa-spinner.hidden,
[class*="spinner"].hidden,
i.donate-spinner.hidden,
i.member-spinner.hidden,
i.fa-spinner.hidden {
    display: none !important;
    visibility: hidden !important;
}

/* Spinner for buttons with different backgrounds */
a .spinner,
button .spinner {
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: currentColor;
}

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

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Email Check Loader */
.email-check-loader {
    pointer-events: none;
}

.email-check-loader i {
    font-size: 1rem;
}

/* Review Section Styles */
.review-section {
    background-color: #f8fafc;
    border-radius: 0.5rem;
    padding: 1rem;
}

.edit-section {
    color: var(--primary-skyblue);
    transition: color 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
}

.edit-section:hover {
    color: var(--primary-skyblue);
    text-decoration: underline;
}

/* Responsive Design for Membership Form */
@media (max-width: 768px) {
    .progress-step {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    
    .checkbox-grid {
        max-height: 20rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .review-item {
        padding: 1rem 0;
    }
}

@media (max-width: 640px) {
    .progress-step {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .checkbox-grid {
        max-height: 16rem;
        padding: 0.75rem;
    }
    
    .form-card {
        padding: 1rem;
    }
}

/* Scrollbar styling for checkbox grids */
.checkbox-grid::-webkit-scrollbar {
    width: 8px;
}

.checkbox-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.checkbox-grid::-webkit-scrollbar-thumb {
    background: var(--primary-skyblue);
    border-radius: 4px;
}

.checkbox-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-yellow);
}

/* Document Request Modal Styles */
.document-request-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.document-request-modal:not(.hidden) {
    opacity: 1;
}

.document-request-modal.hidden {
    display: none;
}

.document-request-modal-content {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.document-request-modal:not(.hidden) .document-request-modal-content {
    transform: scale(1);
}

.document-request-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.document-request-modal-header h2 {
    margin: 0;
    color: var(--primary-black);
}

.document-request-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.document-request-modal-close:hover {
    background-color: #f3f4f6;
    color: var(--primary-black);
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Responsive styles for modal */
@media (max-width: 640px) {
    .document-request-modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .document-request-modal-header {
        padding: 1rem;
    }
    
    .document-request-modal-header h2 {
        font-size: 1.25rem;
    }
}

/* Gallery Filter Button Styles */
.filter-btn.active {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    font-weight: bold;
}

/* Page Navigation Spinner Styles */
.page-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-spinner.show {
    opacity: 1;
    visibility: visible;
}

.page-spinner.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: #FFD700;
    border-radius: 50%;
    animation: spin-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: 0s;
    border-top-color: #FFD700;
}

.spinner-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    animation-delay: -0.4s;
    border-top-color: #87CEEB;
    animation-duration: 1s;
}

.spinner-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    animation-delay: -0.8s;
    border-top-color: #FFD700;
    animation-duration: 0.8s;
}

.spinner-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700, #87CEEB);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: pulse-center 2s ease-in-out infinite;
}

.spinner-logo {
    color: #000;
    font-size: 24px;
    animation: rotate-logo 3s linear infinite;
}

.spinner-text {
    color: #FFD700;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fade-text 2s ease-in-out infinite;
    margin-top: 1rem;
}

@keyframes spin-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-center {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    }
}

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

@keyframes fade-text {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive Spinner Styles */
@media (max-width: 768px) {
    .spinner-container {
        width: 100px;
        height: 100px;
    }
    
    .spinner-center {
        width: 40px;
        height: 40px;
    }
    
    .spinner-logo {
        font-size: 20px;
    }
    
    .spinner-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .spinner-container {
        width: 80px;
        height: 80px;
    }
    
    .spinner-center {
        width: 35px;
        height: 35px;
    }
    
    .spinner-logo {
        font-size: 18px;
    }
    
    .spinner-text {
        font-size: 0.875rem;
    }
}

/* Gallery Modal Styles */
.modal {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-content {
    transition: transform 0.3s ease;
}

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

.modal.active .modal-content {
    transform: scale(1);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Gallery Pagination Styles */
.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.gallery-pagination a {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    color: #374151;
    transition: all 0.3s ease;
}

.gallery-pagination a:hover {
    background-color: #f3f4f6;
}

.gallery-pagination span {
    padding: 0.5rem 1rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .gallery-item {
        height: 250px;
    }
    
    .video-icon {
        width: 60px;
        height: 60px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

/* Article Content Styling */
.article-content {
    line-height: 1.8;
}

.article-content h2 {
    font-size: 1.875rem;
    font-weight: bold;
    color: #000000;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000000;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #374151;
    line-height: 1.75;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-yellow);
    background-color: rgba(255, 215, 0, 0.1);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.125rem;
    color: #374151;
}

.article-content blockquote p {
    margin-bottom: 0.5rem;
}

.article-content blockquote p:last-child {
    margin-bottom: 0;
    font-style: normal;
    font-weight: 500;
    margin-top: 0.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    color: #374151;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.article-content ul li ul,
.article-content ol li ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-content a {
    color: #0ea5e9;
    text-decoration: underline;
}

.article-content a:hover {
    color: #0284c7;
}

