:root {
    --primary: #0b1f4b;
    --secondary: #5fa8ff;
    --accent: #1db954;
    --warm: #f6c453;
    --warm-2: #f4a261;
    --danger: #e63946;
    --dark: #071226;
    --light: #ffffff;
    --muted: #f2f4f7;
    --beige: #f7f0e5;
    --gradient: linear-gradient(135deg, #071226 0%, #0b1f4b 45%, #3d6dcc 75%, #1db954 100%);
    --neon-gradient: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--warm), var(--danger));
}

:is(.card, .form-wrap, .notice, .dropdown-content, .modal, .checkbox-dropdown, .table, .impact-frame) {
    position: relative;
    border: 2px solid transparent;
    margin: 10px;
}

:is(.card, .form-wrap, .notice, .dropdown-content, .modal, .checkbox-dropdown, .table, .impact-frame)::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: var(--neon-gradient);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(95, 168, 255, 0.35), 0 0 24px rgba(29, 185, 84, 0.25), 0 0 30px rgba(246, 196, 83, 0.25);
}

:is(.card, .form-wrap, .notice, .dropdown-content, .modal, .checkbox-dropdown, .table, .impact-frame) > * {
    position: relative;
    z-index: 1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", "Segoe UI", sans-serif;
}

body {
    background: var(--muted);
    color: var(--primary);
}

.site-header {
    background: var(--gradient);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 10px 24px rgba(7, 18, 38, 0.45);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.logo div {
    text-align: center;
}

.logo img {
    width: 100px;
    height: 100px;
    border-radius: 100%; 
}

.logo span {
    font-weight: 700;
    font-size: 20px;
    display: block;
}

.logo small {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
}

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

.nav-links a,
.dropbtn {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    background: rgba(7, 18, 38, 0.35);
    border: 1px solid rgba(95, 168, 255, 0.55);
    cursor: pointer;
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.dropbtn:hover,
.dropbtn:focus-visible {
    background: var(--warm);
    color: var(--dark);
    box-shadow: 0 6px 16px rgba(246, 196, 83, 0.45);
    transform: translateY(-1px);
}

.nav-user {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    padding: 0 8px;
    pointer-events: none;
}

.donate-btn {
    background: var(--danger);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 0 14px rgba(230, 57, 70, 0.75), 0 0 30px rgba(230, 57, 70, 0.5);
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    animation: neon-pulse-red 2.4s ease-in-out infinite;
}

.donate-btn:hover,
.donate-btn:focus-visible {
    background: #ff6b6f;
    color: #ffffff;
    box-shadow: 0 0 18px rgba(255, 107, 111, 0.85), 0 0 34px rgba(230, 57, 70, 0.65);
    transform: translateY(-2px);
}

.nav-avatar-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(95, 168, 255, 0.65);
    box-shadow: 0 0 10px rgba(95, 168, 255, 0.45);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background: var(--dark);
    color: #ffffff;
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 12px 28px rgba(7, 18, 38, 0.4);
    overflow: hidden;
    z-index: 10;
    transition: background 200ms ease, box-shadow 200ms ease;
}

.dropdown-content a {
    color: #ffffff;
    display: block;
    padding: 12px 16px;
    transition: background 160ms ease, color 160ms ease;
}

.dropdown-content a:hover,
.dropdown-content a:focus-visible {
    background: var(--accent);
    color: #071226;
}

.dropdown.open .dropdown-content {
    display: block;
    animation: dropdown-shift 2.6s ease-in-out infinite alternate;
}

@keyframes dropdown-shift {
    0% {
        background: var(--dark);
    }
    100% {
        background: var(--primary);
    }
}

@keyframes neon-pulse-green {
    0% {
        box-shadow: 0 0 10px rgba(29, 185, 84, 0.55), 0 0 22px rgba(29, 185, 84, 0.35);
    }
    50% {
        box-shadow: 0 0 18px rgba(29, 185, 84, 0.85), 0 0 32px rgba(29, 185, 84, 0.6);
    }
    100% {
        box-shadow: 0 0 10px rgba(29, 185, 84, 0.55), 0 0 22px rgba(29, 185, 84, 0.35);
    }
}

@keyframes neon-pulse-red {
    0% {
        box-shadow: 0 0 12px rgba(230, 57, 70, 0.6), 0 0 24px rgba(230, 57, 70, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(230, 57, 70, 0.9), 0 0 36px rgba(230, 57, 70, 0.65);
    }
    100% {
        box-shadow: 0 0 12px rgba(230, 57, 70, 0.6), 0 0 24px rgba(230, 57, 70, 0.4);
    }
}

@keyframes neon-pulse-blue {
    0% {
        box-shadow: 0 0 12px rgba(95, 168, 255, 0.6), 0 0 24px rgba(95, 168, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(95, 168, 255, 0.9), 0 0 36px rgba(95, 168, 255, 0.65);
    }
    100% {
        box-shadow: 0 0 12px rgba(95, 168, 255, 0.6), 0 0 24px rgba(95, 168, 255, 0.4);
    }
}

.hero {
    background: var(--gradient);
    color: white;
    padding: 80px 24px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    align-items: center;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 16px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 24px;
}

.hero .cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.impact-slider {
    color: var(--primary);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.impact-slider h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.impact-frame {
    overflow: hidden;
    border-radius: 12px;
    background: var(--beige);
    width: 100%;
    max-width: 400px;
    height: 300px;
}

.impact-track {
    display: flex;
    width: calc(100% * 5);
    animation: impact-slide 20s infinite;
}

.impact-slide {
    flex: 0 0 100%;
    text-align: center;
    padding: 12px;
}

.impact-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.impact-slide p {
    margin: 10px 0 0;
    font-weight: 600;
    color: var(--primary);
}

@keyframes impact-slide {
    0%,
    16% {
        transform: translateX(0);
    }
    20%,
    36% {
        transform: translateX(-100%);
    }
    40%,
    56% {
        transform: translateX(-200%);
    }
    60%,
    76% {
        transform: translateX(-300%);
    }
    80%,
    96% {
        transform: translateX(-400%);
    }
    100% {
        transform: translateX(-400%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .impact-track {
        animation: none;
    }

    .btn,
    .donate-btn,
    .donate-cta,
    .volunteer-cta,
    .form-wrap button {
        animation: none;
    }

    .dropdown.open .dropdown-content {
        animation: none;
    }
}

.cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 24px;
    background: var(--accent);
    color: #071226;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 14px rgba(29, 185, 84, 0.7), 0 0 28px rgba(29, 185, 84, 0.45);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background 180ms ease;
    animation: neon-pulse-green 2.4s ease-in-out infinite;
}

.donate-cta {
    background: var(--danger);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(230, 57, 70, 0.8), 0 0 32px rgba(230, 57, 70, 0.55);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background 180ms ease;
    animation: neon-pulse-red 2.4s ease-in-out infinite;
}

.donate-cta:hover,
.donate-cta:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.05);
    background: #ff6b6f;
    box-shadow: 0 0 20px rgba(255, 107, 111, 0.9), 0 0 36px rgba(230, 57, 70, 0.65);
}

.volunteer-cta {
    background: var(--secondary);
    color: #071226;
    box-shadow: 0 0 14px rgba(95, 168, 255, 0.7), 0 0 28px rgba(95, 168, 255, 0.45);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background 180ms ease;
    animation: neon-pulse-blue 2.4s ease-in-out infinite;
}

.volunteer-cta:hover,
.volunteer-cta:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.08);
    background: #7fb8ff;
    box-shadow: 0 0 20px rgba(127, 184, 255, 0.9), 0 0 34px rgba(95, 168, 255, 0.6);
}

.btn.outline {
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    box-shadow: none;
    animation: none;
}

.btn.outline:hover,
.btn.outline:focus-visible {
    background: var(--secondary);
    color: #071226;
    box-shadow: 0 0 16px rgba(95, 168, 255, 0.75), 0 0 28px rgba(95, 168, 255, 0.5);
    transform: translateY(-2px);
}

.btn:not(.donate-cta):not(.volunteer-cta):not(.outline):hover,
.btn:not(.donate-cta):not(.volunteer-cta):not(.outline):focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.06);
    background: #39ff6f;
    box-shadow: 0 0 20px rgba(57, 255, 111, 0.9), 0 0 34px rgba(29, 185, 84, 0.6);
}

.section {
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}
.section p{
    text-align: center;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: var(--light);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(95, 168, 255, 0.28);
    box-shadow: 0 10px 20px rgba(7, 18, 38, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    color: var(--primary);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(95, 168, 255, 0.7);
    box-shadow: 0 16px 28px rgba(7, 18, 38, 0.14);
}

.upload-form h3,
.upload-guidelines h3 {
    margin-top: 0;
    text-align: left;
}

.upload-guidelines p {
    text-align: left;
}

.upload-hint {
    font-size: 12px;
    opacity: 0.75;
    text-align: left;
    margin-top: 10px;
}

.upload-form button {
    padding: 8px 16px;
    font-size: 14px;
    width: auto;
    align-self: center;
}

.upload-grid {
    margin-top: 20px;
}

.upload-card {
    text-align: left;
}

.upload-card p,
.upload-card h4 {
    text-align: left;
}

.upload-media {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    background: #0b1326;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-media img,
.upload-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.upload-meta {
    font-size: 12px;
    opacity: 0.75;
    margin: 0 0 8px;
}

.upload-table .upload-toggle {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-align: left;
}

.upload-details-row {
    display: none;
}

.upload-details-row.is-open {
    display: table-row;
}

.upload-details {
    padding: 10px 0;
}

.upload-details p {
    text-align: left;
    margin: 4px 0;
}

.volunteer-works-grid {
    margin-top: 10px;
    grid-template-columns: repeat(auto-fill, 280px);
    justify-content: start;
}

.volunteer-work-card {
    text-align: left;
    padding: 14px;
    max-width: 280px;
    height: 150px;
    display: grid;
    grid-template-columns: 1fr 100px;
    column-gap: 10px;
    align-items: center;
    overflow: hidden;
}

.volunteer-work-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.volunteer-work-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    grid-column: 1;
}

.volunteer-work-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(95, 168, 255, 0.4);
}

.volunteer-work-name {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.volunteer-work-date {
    margin: 2px 0 0;
    font-size: 11px;
    opacity: 0.7;
}

.volunteer-work-title {
    margin: 8px 0 6px;
    font-size: 13px;
    font-weight: 700;
    grid-column: 1;
}

.volunteer-work-desc {
    display: none;
}

.volunteer-work-message {
    font-size: 12px;
    line-height: 1.4;
    color: var(--primary);
    margin: 0;
}

.volunteer-work-media {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    background: #0b1326;
    display: flex;
    align-items: center;
    justify-content: center;
}

.volunteer-work-card .volunteer-work-media {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    margin: 0;
    grid-column: 2;
    grid-row: 1 / span 3;
    justify-self: end;
}

.volunteer-work-card .volunteer-work-media img,
.volunteer-work-card .volunteer-work-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.volunteer-work-media img,
.volunteer-work-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-work-volunteer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-work-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(95, 168, 255, 0.4);
}

.upload-details-card {
    background: var(--light);
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid rgba(95, 168, 255, 0.35);
    box-shadow: 0 10px 20px rgba(7, 18, 38, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.category-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.category-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    flex: 1 1 calc(50% - 12px);
}

.category-option input[type="checkbox"] {
    margin: 0;
}

.volunteer-works-heading {
    margin-top: 16px;
    text-align: left;
}

.volunteer-works-subheading {
    margin: 12px 0 6px;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
}

.volunteer-works-summary {
    margin-bottom: 16px;
}

.volunteer-work-summary {
    border: none;
    background: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.volunteer-work-summary:focus-visible {
    outline: 2px solid rgba(95, 168, 255, 0.6);
    outline-offset: 4px;
    border-radius: 12px;
}

.volunteer-work-expanded {
    display: none;
    margin-bottom: 20px;
}

.volunteer-work-expanded.is-open {
    display: block;
}

@media (max-width: 900px) {
    .category-options {
        flex-direction: column;
    }
}

.upload-media-preview {
    margin-top: 10px;
}

.upload-thumb-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.upload-thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(95, 168, 255, 0.35);
    box-shadow: 0 8px 16px rgba(7, 18, 38, 0.18);
}

.modal-media {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0;
}

.modal-media-img,
.modal-media-video {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 12px;
}

.upload-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.upload-table-wrap {
    text-align: left;
}

.upload-table-title {
    margin-top: 0;
    text-align: left;
}

.upload-table {
    width: 100%;
}

.upload-table th,
.upload-table td {
    text-align: left;
    vertical-align: top;
}

.upload-table th:nth-child(1),
.upload-table td:nth-child(1),
.upload-table th:nth-child(2),
.upload-table td:nth-child(2) {
    white-space: nowrap;
}

.upload-table-wrap p {
    text-align: left;
}

@media (max-width: 900px) {
    .upload-split {
        grid-template-columns: 1fr;
    }
}

.volunteer-name-gradient {
    text-transform: uppercase;
    background: linear-gradient(90deg, #0b3d2e 0%, #d4a017 50%, #0b2447 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.volunteer-card {
    text-align: left;
    background: linear-gradient(135deg, #ffffff 0%, #f7f0e5 60%, #ffffff 100%);
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(7, 18, 38, 0.12);
    padding: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.volunteer-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: linear-gradient(135deg, #ffffff 0%, #f9f1dd 60%, #ffffff 100%);
    box-shadow:
        0 20px 36px rgba(7, 18, 38, 0.2),
        0 0 0 3px rgba(95, 168, 255, 0.35);
}

.volunteer-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.volunteer-text {
    flex: 1;
}

.volunteer-name {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--primary);
}

.volunteer-role {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
}

.volunteer-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--primary);
}

.volunteer-slider {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
}

.volunteer-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 4px;
    scroll-snap-type: x mandatory;
}

.volunteer-track::-webkit-scrollbar {
    display: none;
}

.volunteer-track .volunteer-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

.slider-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(7, 18, 38, 0.6);
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(7, 18, 38, 0.25);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.slider-btn:hover,
.slider-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(7, 18, 38, 0.35);
    background: rgba(11, 31, 75, 0.85);
}

@media (max-width: 900px) {
    .volunteer-slider {
        grid-template-columns: 1fr;
    }

    .slider-btn {
        display: none;
    }
}

.volunteer-avatar {
    flex-shrink: 0;
}

.volunteer-avatar img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 999px;
    border: 4px solid var(--beige);
    box-shadow: 0 8px 16px rgba(7, 18, 38, 0.18);
    background: var(--beige);
}

.muted {
    opacity: 0.9;
}

.volunteer-showcase {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.volunteer-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.volunteer-signin {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.volunteer-lead {
    margin: 0;
    text-align: center;
    font-size: 18px;
    color: var(--primary);
}

.volunteer-layout .form-wrap {
    width: 100%;
    margin: 0;
}

.volunteer-showcase h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.volunteer-showcase p {
    margin-bottom: 12px;
    font-size: 13px;
}

.volunteer-showcase .volunteer-name {
    font-size: 16px;
}

.volunteer-showcase .volunteer-role {
    font-size: 11px;
}

.volunteer-showcase .volunteer-desc {
    font-size: 12px;
}

.volunteer-showcase .volunteer-avatar img {
    width: 72px;
    height: 72px;
}

@media (max-width: 960px) {
    .volunteer-layout {
        grid-template-columns: 1fr;
    }
}


.form-wrap {
    background: var(--light);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(95, 168, 255, 0.35);
    box-shadow: 0 12px 24px rgba(7, 18, 38, 0.12);
    max-width: auto;
    margin-left: 10px;
}

.donate-why {
    margin: 10px;
}

.donate-summary {
    margin: 10px;
}

.contact-intro {
    margin: 10px;
}

.donate-why h3 {
    text-align: center;
    color: #1b2d5b;
}

.donate-page .form-wrap,
.donate-form {
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
    width: 100%;
}

.donate-page .split-layout.two-col > * {
    height: 100%;
    margin: 10px;
}

.donate-page .form-wrap {
    display: flex;
    flex-direction: column;
}

.donate-page .donate-why {
    width: 100%;
    height: 100%;
}

.donate-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.donate-form-title {
    text-align: center;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 18px;
    letter-spacing: 0.5px;
}

.donate-form-column {
    display: flex;
    justify-content: stretch;
    width: 100%;
}

.donate-info-column {
    width: 100%;
}

@media (max-width: 900px) {
    .donate-layout {
        grid-template-columns: 1fr;
    }

    .donate-page .form-wrap,
    .donate-form {
        max-width: 100%;
        width: 100%;
    }

    .donate-form-column {
        order: 1;
    }

    .donate-info-column {
        order: 2;
    }
}

.auth-section {
    max-width: 1200px;
    margin: 0 auto;
}

.auth-form {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
}

.auth-form form {
    text-align: left;
}

.auth-form.form-wrap {
    padding: 24px;
}

.form-wrap label {
    display: block;
    margin: 14px 0 6px;
    font-weight: 500;
}

.form-wrap input,
.form-wrap select,
.form-wrap textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(95, 168, 255, 0.4);
}

.split-layout {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 010px;
    grid-row-gap: 0px;

}

.split-layout.two-col {
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 010px;
    grid-row-gap: 0px;
    color: var(--primary);
    align-items: stretch;
}

.split-layout.two-col .card {
    text-align: center;
}

.checkbox-dropdown {
    border: 1px solid rgba(95, 168, 255, 0.4);
    border-radius: 10px;
    padding: 10px 12px;
    background: var(--light);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.checkbox-dropdown summary {
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    padding-bottom: 6px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(95, 168, 255, 0.25);
}

.checkbox-dropdown summary::-webkit-details-marker {
    display: none;
}

.checkbox-dropdown .checkbox-group {
    margin-top: 10px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    width: 10%;
    box-sizing: border-box;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    padding: 4px 6px;
    border-radius: 8px;
    box-sizing: border-box;
    justify-content: flex-start;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 12px;
    margin: 12px 0;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border-radius: 50%;
    color: var(--warm);
    text-decoration: none;
    border: 1px solid rgba(246, 196, 83, 0.6);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
    background: var(--warm);
    color: var(--dark);
    box-shadow: 0 0 12px rgba(246, 196, 83, 0.7);
    transform: translateY(-2px);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 860px) {
    .split-layout.two-col {
        grid-template-columns: 1fr;
        row-gap: 16px;
    }

    .split-layout.two-col .card,
    .split-layout.two-col .form-wrap {
        margin: 10px 0;
        width: 100%;
    }

    .form-wrap {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 640px) {
    .form-wrap {
        padding: 18px;
    }

    .checkbox-dropdown {
        width: 100%;
    }

    .checkbox-group label {
        font-size: 14px;
    }
}

.form-wrap button {
    margin-top: 16px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 20px;
    background: var(--accent);
    color: #071226;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 14px rgba(29, 185, 84, 0.7), 0 0 28px rgba(29, 185, 84, 0.45);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
    animation: neon-pulse-green 2.4s ease-in-out infinite;
}

.form-wrap button:hover,
.form-wrap button:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 0 20px rgba(57, 255, 111, 0.9), 0 0 34px rgba(29, 185, 84, 0.6);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--light);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(95, 168, 255, 0.3);
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid rgba(95, 168, 255, 0.2);
}

.site-footer {
    background: var(--dark);
    color: #fff;
    padding: 30px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(95, 168, 255, 0.45);
}

.footer-contact h4 {
    margin-bottom: 8px;
    color: var(--warm);
}

.footer-contact p {
    margin: 4px 0;
    color: #ffffff;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(7, 18, 38, 0.75);
    color: var(--warm);
    border: 1px solid rgba(246, 196, 83, 0.5);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    background: var(--warm);
    color: var(--dark);
    box-shadow: 0 0 12px rgba(246, 196, 83, 0.7);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-links a {
    color: var(--warm);
    text-decoration: none;
    margin-right: 12px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--accent);
}

.admin-action-btn {
    transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.admin-action-btn:hover,
.admin-action-btn:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 6px 14px rgba(7, 18, 38, 0.25);
}


.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 100px;
    background: var(--accent);
    color: #071226;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 0 14px rgba(29, 185, 84, 0.7), 0 0 28px rgba(29, 185, 84, 0.45);
    z-index: 200;
    transition: transform 200ms ease, box-shadow 200ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(57, 255, 111, 0.85), 0 0 34px rgba(29, 185, 84, 0.6);
}

.whatsapp-icon {
    width: 22px;
    height: 22px;
    display: block;
}

.notice {
    background: var(--beige);
    padding: 12px;
    border-radius: 12px;
    margin: 16px 0;
    border: 1px solid rgba(246, 196, 83, 0.45);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 18, 38, 0.65);
    z-index: 500;
    padding: 16px;
}

.modal-overlay.is-hidden {
    display: none;
}

.modal {
    background: var(--light);
    color: var(--primary);
    padding: 24px;
    border-radius: 16px;
    width: min(90vw, 360px);
    text-align: center;
    border: 1px solid rgba(95, 168, 255, 0.35);
    box-shadow: 0 20px 40px rgba(7, 18, 38, 0.35);
}

.modal h3 {
    margin-bottom: 8px;
}

.modal p {
    margin: 0;
}

.modal .modal-close {
    margin-top: 16px;
}

@media (max-width: 860px) {
    .nav-toggle {
        display: block;
        background: rgba(7, 18, 38, 0.7);
        border: 1px solid rgba(95, 168, 255, 0.5);
        border-radius: 10px;
        padding: 6px 8px;
    }

    .nav-toggle span {
        background: var(--warm);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        margin-top: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        padding: 16px;
        border-radius: 14px;
        display: none;
        width: 30%;
        min-width: 200px;
        box-shadow: 0 12px 24px rgba(7, 18, 38, 0.35);
        border: 2px solid transparent;
        gap: 10px;
    }

    .nav-links::before {
        content: "";
        position: absolute;
        inset: 0;
        padding: 2px;
        border-radius: inherit;
        background: var(--neon-gradient);
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
        box-shadow: 0 0 12px rgba(95, 168, 255, 0.35), 0 0 24px rgba(29, 185, 84, 0.25), 0 0 30px rgba(246, 196, 83, 0.25);
    }

    .nav-links > * {
        position: relative;
        z-index: 1;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a,
    .dropbtn {
        width: 100%;
        text-align: center;
        font-size: 14px;
        padding: 10px 12px;
        background: rgba(11, 31, 75, 0.85);
        color: #ffffff;
        border-color: rgba(95, 168, 255, 0.7);
        margin: 0;
        display: block;
        line-height: 1.2;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible,
    .dropbtn:hover,
    .dropbtn:focus-visible {
        background: var(--warm);
        color: var(--dark);
    }

    .nav-user {
        position: static;
        transform: none;
        pointer-events: auto;
        font-size: 16px;
        margin: 0;
        text-align: center;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background: var(--dark);
        margin-top: 6px;
        border-radius: 12px;
    }

    .dropdown.open .dropdown-content {
        animation: dropdown-shift-mobile 2.6s ease-in-out infinite alternate;
    }

    .dropdown-content a {
        color: #ffffff;
        padding: 10px 12px;
    }

    .dropdown-content a:hover,
    .dropdown-content a:focus-visible {
        background: var(--accent);
        color: #071226;
    }
}

@keyframes dropdown-shift-mobile {
    0% {
        background: var(--dark);
    }
    100% {
        background: var(--primary);
    }
}
