:root {
    --primary-color: #ff7000;
    --secondary-color: #fff;
    --text-color: #333;
    --border-color: #ddd;
    --success-color: #4CAF50;
    --error-color: #f44336;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #fff5e6, #fff);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.header {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 112, 0, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 112, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    gap: 30px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(255, 112, 0, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 1.2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    padding-right: 20px;
    animation: logoBounce 2s ease-in-out infinite, logoGlow 1.5s ease-in-out infinite;
}

.logo::before, .logo::after {
    display: none;
}

@keyframes logoBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

@keyframes logoGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 112, 0, 0);
    }
    50% {
        text-shadow: 0 0 10px rgba(255, 112, 0, 0.3);
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1rem;
        width: 250px;
    }
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
}

.nav-menu::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
}

.nav-link {
    font-family: 'Cinzel Decorative', cursive;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.social-link {
    color: #666;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.social-link:nth-child(1) { animation-delay: 0s; }
.social-link:nth-child(2) { animation-delay: 0.1s; }
.social-link:nth-child(3) { animation-delay: 0.2s; }
.social-link:nth-child(4) { animation-delay: 0.3s; }
.social-link:nth-child(5) { animation-delay: 0.4s; }

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.social-link.whatsapp:hover { color: #25D366; }
.social-link.instagram:hover { color: #E4405F; }
.social-link.facebook:hover { color: #1877F2; }
.social-link.youtube:hover { color: #FF0000; }
.social-link.email:hover { color: #EA4335; }

.volunteer-btn-container {
    position: relative;
    top: 0;
    right: 0;
    margin-left: 20px;
}

.volunteer-btn {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, #ff7000, #ff9248);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 112, 0, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.volunteer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 112, 0, 0.3);
}

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

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

.volunteer-btn::after {
    content: '❤️';
    margin-left: 8px;
    font-size: 1.1em;
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 20px;
    padding-top: 80px;
}

.main-title {
    font-family: 'Cinzel Decorative', cursive;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.donation-card, .receipt-card {
    background: var(--secondary-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.donation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), #ffa366);
}

.progress-section {
    margin-bottom: 2rem;
}

.progress-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-weight: bold;
}

.progress-bar {
    height: 20px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), #ffa366);
    width: 0%;
    transition: width 1s ease-in-out;
}

.donors-info {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
    align-items: center;
}

.donate-save-tax {
    background: linear-gradient(135deg, var(--primary-color), #ffa366);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(255, 112, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(255, 112, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(255, 112, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(255, 112, 0, 0.2);
    }
}

.preset-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.amount-btn {
    padding: 0.8rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.amount-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

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

.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}

.ripple:active::after {
    transform: scale(0, 0);
    opacity: .3;
    transition: 0s;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-animate {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f8f8;
}

.input-animate:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 112, 0, 0.1);
    outline: none;
}

textarea.input-animate {
    height: 120px;
    resize: vertical;
}

.tax-benefit {
    background: #f8f8f8;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.tax-label {
    font-weight: bold;
    margin-bottom: 1rem;
    display: block;
}

.tax-options {
    display: flex;
    gap: 2rem;
}

.radio-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.radio-container input {
    display: none;
}

.radio-container input:checked + .radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: radioScale 0.3s ease;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    display: inline-block;
    position: relative;
}

.checkbox-container input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--primary-color);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    animation: checkScale 0.3s ease;
}

.donate-btn, .download-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.donate-btn:hover, .download-btn:hover {
    background: #e66600;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 112, 0, 0.3);
}

.receipt-button-container {
    text-align: center;
    margin-top: 2rem;
}

.receipt-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.receipt-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .social-links {
        display: none;
    }
    
    .volunteer-btn-container {
        position: fixed;
        top: 70px;
        right: 20px;
        background: white;
        padding: 10px;
        border-radius: 50px;
        box-shadow: 0 2px 20px rgba(255, 112, 0, 0.1);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .social-links {
        display: flex;
        margin: 10px 0;
        padding: 15px 0;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        justify-content: center;
    }

    .logo {
        font-size: 1rem;
        width: 250px;
    }

    .container {
        padding: 1rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .preset-amounts {
        grid-template-columns: repeat(2, 1fr);
    }

    .tax-options {
        flex-direction: column;
        gap: 1rem;
    }

    .donation-card, .receipt-card {
        padding: 1.5rem;
    }

    .volunteer-btn-container {
        position: relative;
        top: 0;
        right: 0;
        text-align: center;
        margin: 20px 0;
    }
    
    .volunteer-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .preset-amounts {
        grid-template-columns: 1fr;
    }

    .main-title {
        font-size: 1.5rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    position: relative;
}

.check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid var(--success-color);
}

.check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.check-icon::before, .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: var(--secondary-color);
    transform: rotate(-45deg);
}

.icon-line {
    height: 5px;
    background-color: var(--success-color);
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

.error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--error-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
}

/* Animations */
@keyframes checkScale {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

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

@keyframes icon-line-tip {
    0% { width: 0; left: 1px; top: 19px; }
    54% { width: 0; left: 1px; top: 19px; }
    70% { width: 50px; left: -8px; top: 37px; }
    84% { width: 17px; left: 21px; top: 48px; }
    100% { width: 25px; left: 14px; top: 46px; }
}

@keyframes icon-line-long {
    0% { width: 0; right: 46px; top: 54px; }
    65% { width: 0; right: 46px; top: 54px; }
    84% { width: 55px; right: 0px; top: 35px; }
    100% { width: 47px; right: 8px; top: 38px; }
}

.slide-in {
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Footer Styles */
.footer {
    background: linear-gradient(135deg, #fff5e6 0%, #fff 100%);
    padding: 50px 0 30px;
    margin-top: 50px;
    box-shadow: 0 -2px 15px rgba(255, 112, 0, 0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff7000, transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
    padding: 0 20px;
}

.footer-section {
    padding: 0 15px;
}

.footer-logo {
    width: 85px;
    height: auto;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-section h3 {
    color: #ff7000;
    margin-bottom: 15px;
    font-family: 'Cinzel Decorative', cursive;
    font-size: 1.4em;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.footer-section h4 {
    color: #ff7000;
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ff7000;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #444;
    line-height: 1.6;
    font-size: 0.95em;
}

.contact-info i {
    color: #ff7000;
    margin-right: 10px;
    width: 20px;
    text-align: center;
    margin-top: 4px;
}

.founder-info {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 112, 0, 0.1);
}

.founder-info strong {
    color: #333;
    font-weight: 600;
    margin-right: 5px;
}

.founder-contact {
    padding-left: 30px;
    margin-top: 8px;
}

.address-info p {
    color: #444;
    line-height: 1.6;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.address-info strong {
    color: #333;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.legal-info p {
    color: #444;
    line-height: 1.6;
    font-size: 0.95em;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.legal-info i {
    color: #ff7000;
    margin-right: 10px;
    width: 20px;
    text-align: center;
    margin-top: 4px;
}

.footer-volunteer-btn {
    margin-top: 20px;
}

.footer-volunteer-btn .volunteer-btn {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, #ff7000, #ff9248);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 112, 0, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.footer-volunteer-btn .volunteer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 112, 0, 0.3);
}

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

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

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 112, 0, 0.1);
}

.footer-bottom p {
    color: #666;
    margin: 5px 0;
    font-size: 0.9em;
}

.footer-bottom a {
    color: #ff7000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #e65c00;
}

/* Responsive Footer */
@media screen and (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 40px 0 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-section {
        text-align: center;
        padding: 0;
    }

    .footer-logo {
        margin: 0 auto 15px;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info p,
    .legal-info p {
        justify-content: center;
        text-align: left;
    }

    .founder-contact {
        padding-left: 0;
        text-align: center;
    }

    .address-info p {
        text-align: center;
    }

    .footer-volunteer-btn .volunteer-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .footer {
        padding: 30px 0 20px;
    }

    .footer-content {
        gap: 30px;
        padding: 0 15px;
    }

    .footer-section h3 {
        font-size: 1.3em;
    }

    .footer-section h4 {
        font-size: 1.1em;
        margin-bottom: 15px;
    }

    .contact-info p,
    .address-info p,
    .legal-info p {
        font-size: 0.9em;
    }

    .footer-volunteer-btn .volunteer-btn {
        padding: 7px 18px;
        font-size: 0.85rem;
    }
}
