.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
}

.nav-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-logo-img-mobile {
    display: none;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

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

.nav-dropdown {
    position: fixed;
    left: 0;
    top: 72px;
    width: 100%;
    background: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 600px;
}

.nav-dropdown-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.nav-dropdown-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: rgba(247, 247, 247, 0.5);
}

.nav-dropdown-item:hover {
    background: rgba(204, 153, 102, .4);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.nav-dropdown-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.nav-dropdown-item:hover .nav-dropdown-icon {
    transform: scale(1.1);
}

.nav-dropdown-icon.icon-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.nav-dropdown-icon.icon-green {
    background: linear-gradient(135deg, #6b9b8e 0%, #4a7c6f 100%);
    color: white;
}

.nav-dropdown-icon.icon-orange {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.nav-dropdown-icon.icon-purple {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #764ba2;
}

.nav-dropdown-icon.icon-teal {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.nav-dropdown-icon.icon-pink {
    background: linear-gradient(135deg, #e8b4a8 0%, #d89a8d 100%);
    color: white;
}

.nav-dropdown-icon.icon-yellow {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #d86e3a;
}

.nav-dropdown-icon.icon-indigo {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
}

.nav-dropdown-text {
    flex: 1;
}

.nav-dropdown-title {
    font-family: "Varela Round", sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.nav-dropdown-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    font-family: "Instrument Sans", sans-serif;
}

.nav-btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--primary);
}

.nav-btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 155, 142, 0.3);
}

.nav-btn-primary {
    background: var(--primary);
    color: white;
}

.nav-btn-primary:hover {
    background: #5a8a7d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 155, 142, 0.4);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: none;
}

.nav-hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-hamburger.active .nav-hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active .nav-hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active .nav-hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    width: 100vw;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transition: max-height 0.3s ease;
}

.nav-mobile-menu.active {
    max-height: calc(100vh - 72px);
    padding: 0 0 20px 0;
}

.nav-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin-bottom: 20px;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

.nav-mobile-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
}

.nav-mobile-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 0;
    width: 100%;
}

.nav-mobile-submenu.active {
    max-height: 800px;
    padding-bottom: 12px;
}

.nav-mobile-sublink {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    width: 100%;
}

.nav-mobile-sublink i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

.nav-mobile-actions .nav-btn {
    width: 100%;
    text-align: center;
    display: block;
    box-sizing: border-box;
}

@media (max-width: 1050px) {
    .nav-logo-img {
        display: none;
    }
    
    .nav-logo-img-mobile {
        display: block;
        height: 32px;
        width: auto;
    }

    .nav-menu,
    .nav-actions {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-mobile-menu {
        display: block;
    }
}

@media (max-width: 640px) {
    .nav-content {
        height: 64px;
    }

    .nav-mobile-menu {
        top: 64px;
    }

    .nav-mobile-menu.active {
        max-height: calc(100vh - 64px);
    }

    .nav-logo-img-mobile {
        height: 28px;
    }

    .nav-mobile-links {
        padding: 0 20px;
    }

    .nav-mobile-actions {
        padding: 0 20px;
    }
}

.nav-btn-donate {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    background: transparent;
    border: none;
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.nav-donate-icon {
    width: 18px;
    height: 18px;
    color: #e8b4a8;
    transition: all 0.3s ease;
}

.nav-btn-donate:hover {
    background: rgba(232, 180, 168, 0.1);
    color: #e8b4a8;
}

.nav-btn-donate:hover .nav-donate-icon {
    transform: scale(1.1);
    animation: heartbeat 0.6s ease-in-out;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(1); }
}
.don-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 30, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.don-overlay.active {
    opacity: 1;
    visibility: visible;
}

.don-modal {
    background: linear-gradient(135deg, #ffffff 0%, #fefaf7 100%);
    border-radius: 24px;
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(107, 155, 142, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.don-overlay.active .don-modal {
    transform: scale(1) translateY(0);
}

.don-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(107, 155, 142, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #4a5568;
    z-index: 10;
}

.don-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
    border-color: var(--primary);
}

.don-content {
    padding: 48px 40px 40px;
}

.don-header {
    text-align: center;
    margin-bottom: 36px;
}

.don-title {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.don-subtitle {
    font-size: 15px;
    color: #718096;
    line-height: 1.6;
    margin: 0;
    max-width: 460px;
    margin: 0 auto;
}

.don-frequency {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
    background: rgba(107, 155, 142, 0.08);
    padding: 6px;
    border-radius: 14px;
}

.don-freq-btn {
    padding: 14px 24px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.don-freq-btn.active::before {
    transform: scaleX(1);
}

.don-freq-btn span {
    position: relative;
    z-index: 1;
}

.don-freq-btn.active {
    color: var(--primary);
}

.don-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.don-amount-btn {
    padding: 20px 16px;
    border: 2px solid rgba(107, 155, 142, 0.2);
    background: white;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.don-amount-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #5a8a7d 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.don-amount-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(107, 155, 142, 0.2);
}

.don-amount-btn.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, #5a8a7d 100%);
}

.don-amount-btn.active::before {
    opacity: 1;
}

.don-amount-btn.active .don-currency,
.don-amount-btn.active .don-value {
    color: white;
}

.don-currency {
    font-size: 12px;
    font-weight: 500;
    color: #718096;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.don-value {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.don-amount-popular {
    position: relative;
    border-color: var(--secondary);
}

.don-popular-tag {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(232, 180, 168, 0.3);
}

.don-custom {
    margin-bottom: 28px;
}

.don-custom-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 10px;
}

.don-custom-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.don-custom-currency {
    position: absolute;
    left: 18px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    pointer-events: none;
}

.don-custom-input {
    width: 100%;
    padding: 16px 18px 16px 56px;
    border: 2px solid rgba(107, 155, 142, 0.2);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    background: white;
    transition: all 0.3s ease;
}

.don-custom-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(107, 155, 142, 0.1);
}

.don-custom-input::placeholder {
    color: #cbd5e0;
    font-weight: 400;
}

.don-dedication {
    margin-bottom: 28px;
}

.don-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 12px;
}

.don-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(107, 155, 142, 0.3);
    border-radius: 6px;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.don-checkbox:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.don-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.don-checkbox-label {
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
}

.don-dedication-input {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.don-dedication-input.active {
    max-height: 100px;
}

.don-text-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(107, 155, 142, 0.2);
    border-radius: 12px;
    font-size: 15px;
    color: #2d3748;
    background: white;
    transition: all 0.3s ease;
}

.don-text-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(107, 155, 142, 0.1);
}

.don-text-input::placeholder {
    color: #cbd5e0;
}

.don-impact {
    background: linear-gradient(135deg, rgba(107, 155, 142, 0.08) 0%, rgba(107, 155, 142, 0.04) 100%);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 28px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.don-impact-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.don-impact-text {
    font-size: 13px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

.don-impact-text strong {
    color: #2d3748;
    font-weight: 600;
}

.don-submit-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, #5a8a7d 100%);
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(107, 155, 142, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.don-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 155, 142, 0.4);
}

.don-submit-btn:active {
    transform: translateY(0);
}

.don-btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.don-submit-btn:hover .don-btn-icon {
    transform: translateX(4px);
}

.don-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 13px;
    color: #718096;
}

.don-security svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

@media (max-width: 640px) {
    .don-content {
        padding: 40px 24px 32px;
    }

    .don-title {
        font-size: 28px;
    }

    .don-subtitle {
        font-size: 14px;
    }

    .don-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 16px;
    }

    .don-heart-icon {
        width: 36px;
        height: 36px;
    }

    .don-amounts {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .don-amount-btn {
        padding: 16px 12px;
    }

    .don-value {
        font-size: 20px;
    }

    .don-submit-btn {
        padding: 16px 28px;
        font-size: 15px;
    }
}

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

.don-modal::-webkit-scrollbar {
    width: 8px;
}

.don-modal::-webkit-scrollbar-track {
    background: rgba(107, 155, 142, 0.05);
    border-radius: 4px;
}

.don-modal::-webkit-scrollbar-thumb {
    background: rgba(107, 155, 142, 0.3);
    border-radius: 4px;
}

.don-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(107, 155, 142, 0.5);
}
