/* Shared styles for CDKL5 Gene Therapy site */
:root {
    --white: #ffffff;
    --pink: #ffe5e5;
    --peach: #ffb6a2;
    --red: #e57373;
    --navy: #303f9f;
    --black: #000000;
    --body-font: "Open Sans", "Helvetica Neue", Arial, sans-serif;
    --max-width: 1100px;
    --shadow-soft: 0 12px 30px rgba(48, 63, 159, 0.08);
    --transition: 0.3s ease;
    --border-radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--body-font);
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

main {
    padding: 5rem 1.5rem 4rem;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.04em;
}

.logo svg {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
}

.nav-links a {
    font-weight: 600;
    transition: color var(--transition);
}

.nav-links a.active,
.nav-links a:focus,
.nav-links a:hover {
    color: var(--red);
}

.nav-donate {
    background: #ff6600;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
}

.nav-donate-item {
    margin-left: auto;
}

.nav-donate:hover,
.nav-donate:focus {
    background: #e55a00;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--navy);
    border-radius: 8px;
    padding: 0.45rem;
    color: var(--navy);
}

.hero {
    display: grid;
    gap: 2rem;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    margin-bottom: 3.5rem;
}

.hero h1 {
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.7);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: filter var(--transition), transform var(--transition);
    box-shadow: var(--shadow-soft);
}

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

.btn-secondary {
    background: var(--peach);
    color: var(--black);
}

.btn-donate-hero {
    display: inline-block;
    padding: 1rem 3rem;
    background: #ff6600;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
    margin-top: 1.5rem;
}

.btn-donate-hero:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
}

.btn:hover,
.btn:focus {
    filter: brightness(1.05);
    transform: translateY(-2px);
}

.section {
    margin-bottom: 4rem;
}

.section h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
    color: var(--navy);
}

.section p {
    margin-bottom: 1rem;
}

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

.card {
    padding: 1.75rem;
    background: var(--pink);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover,
.card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(48, 63, 159, 0.16);
}

/* Social Cards with Icons */
.social-card {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition), box-shadow var(--transition);
}

.social-card:hover .social-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.facebook-icon svg {
    width: 45px;
    height: 45px;
}

.instagram-icon svg {
    width: 45px;
    height: 45px;
}

.call-icon svg {
    width: 40px;
    height: 40px;
}

.social-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.social-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.social-card .btn {
    margin-top: auto;
}

.progress-wrapper {
    background: var(--pink);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.progress-track {
    width: 100%;
    height: 14px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 0.75rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--red), var(--navy));
    width: 0;
    transition: width 1.2s ease-out;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    background: var(--pink);
    max-width: 100%;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.carousel-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35));
    opacity: 0;
    transition: opacity var(--transition);
}

.carousel-slide:focus::after,
.carousel-slide:hover::after {
    opacity: 1;
}

.carousel-controls {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.75rem;
    pointer-events: none;
}

.carousel-btn {
    pointer-events: auto;
    background: rgba(48, 63, 159, 0.85);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    cursor: pointer;
}

.carousel-dot.active {
    background: var(--white);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.info-list li {
    padding-left: 1.5rem;
    position: relative;
}

.info-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--navy);
    font-size: 1.4rem;
    line-height: 1;
}

.info-list a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--peach);
    text-decoration-thickness: 2px;
    transition: all var(--transition);
}

.info-list a:hover,
.info-list a:focus {
    color: var(--red);
    text-decoration-color: var(--red);
}

footer {
    background: var(--navy);
    color: var(--white);
    padding: 3rem 1.5rem 2rem;
}

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

.footer-grid a {
    color: var(--white);
}

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    padding-top: 1.5rem;
    font-size: 0.85rem;
}

.countdown {
    font-size: 1.2rem;
    font-weight: 700;
}

form {
    display: grid;
    gap: 0.75rem;
}

input,
textarea,
select {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 1rem;
    font-family: inherit;
}

input:focus,
textarea:focus,
select:focus,
.btn:focus,
.nav-toggle:focus,
.carousel-btn:focus,
.carousel-dot:focus {
    outline: 3px solid rgba(48, 63, 159, 0.35);
    outline-offset: 2px;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(48, 63, 159, 0.1);
    color: var(--navy);
    font-weight: 600;
    font-size: 0.85rem;
}

.svg-illustration {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

blockquote {
    margin: 0;
    padding: 1.5rem;
    border-left: 4px solid var(--peach);
    background: rgba(255, 230, 230, 0.55);
    border-radius: var(--border-radius);
}

@media (max-width: 900px) {
    .navbar {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        display: none;
        background: rgba(255, 255, 255, 0.98);
        padding: 1rem 0;
        border-radius: 12px;
        box-shadow: var(--shadow-soft);
    }

    .nav-links.is-open {
        display: flex;
    }

    main {
        padding-top: 4.5rem;
    }

    .carousel-slide {
        height: 400px;
    }
}

/* ====== Donation Page Styles ====== */
.donate-page {
    background: linear-gradient(135deg, #FFE5E5 0%, #FFFFFF 100%);
    min-height: 100vh;
}

.donate-hero {
    background: linear-gradient(135deg, rgba(48, 63, 159, 0.95), rgba(229, 115, 115, 0.95)),
                url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"%3E%3Cfilter id="noise"%3E%3CfeTurbulence baseFrequency="0.9" numOctaves="4"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noise)" opacity="0.05"/%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    padding: 4rem 0 3rem;
    text-align: center;
    color: white;
    position: relative;
}

.donate-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/IMAGE1.jpg') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.donate-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.donate-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.donate-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.donate-form-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin: -2rem auto 3rem;
    max-width: 1200px;
    position: relative;
}

.donate-form-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.donate-steps {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.donate-steps .step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #666;
}

.donate-steps .step.active {
    background: var(--navy);
    color: white;
}

.donate-form-card h2 {
    text-align: center;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.gift-type-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 2rem;
    border: 2px solid var(--navy);
    border-radius: 8px;
    overflow: hidden;
}

.toggle-btn {
    padding: 0.75rem;
    background: white;
    border: none;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: all var(--transition);
}

.toggle-btn.active {
    background: var(--navy);
    color: white;
}

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

.amount-btn {
    padding: 1rem;
    background: white;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    transition: all var(--transition);
}

.amount-btn:hover {
    border-color: var(--navy);
    background: rgba(48, 63, 159, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(48, 63, 159, 0.15);
}

.amount-btn.active,
.amount-btn.selected {
    border-color: var(--navy);
    background: var(--navy);
    color: white;
    box-shadow: 0 4px 12px rgba(48, 63, 159, 0.3);
}

.custom-amount {
    margin-bottom: 1.5rem;
}

.custom-amount label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.custom-amount input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color var(--transition);
}

.custom-amount input:focus {
    outline: none;
    border-color: var(--navy);
}

.donation-options {
    margin-bottom: 2rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background: #F5F5F5;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.checkbox-option:hover {
    background: #E8E8E8;
}

.checkbox-option.checked {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
}

.checkbox-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--navy);
}

.payment-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-give {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition);
}

.btn-give-primary {
    background: #6B7A8F;
    color: white;
}

.btn-give-primary:hover {
    background: #5A6A7F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 122, 143, 0.3);
}

.btn-give-secondary {
    background: #F5F5F5;
    color: var(--navy);
    border: 2px solid #E0E0E0;
}

.btn-give-secondary:hover {
    background: white;
    border-color: var(--navy);
}

.donation-info {
    border-top: 1px solid #E0E0E0;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.tax-notice {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.payment-logos {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.payment-logos img {
    height: 25px;
    width: auto;
}

.alternative-giving {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #E0E0E0;
}

.alternative-giving h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.alternative-giving ul {
    list-style: none;
    padding: 0;
}

.alternative-giving li {
    margin-bottom: 0.75rem;
}

.alternative-giving a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}

.alternative-giving a:hover {
    color: var(--red);
}

.donation-impact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.impact-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.impact-card h3 {
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.impact-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.impact-list {
    list-style: none;
    padding: 0;
}

.impact-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #F0F0F0;
}

.impact-list li:last-child {
    border-bottom: none;
}

.impact-list strong {
    color: var(--navy);
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.testimonial blockquote {
    font-style: italic;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial cite {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .carousel-slide {
        height: 300px;
    }
}

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

.fade-in {
    animation: fadeInUp 0.7s ease forwards;
    opacity: 0;
}

/* Responsive for donation page */
@media (max-width: 900px) {
    .donate-form-wrapper {
        grid-template-columns: 1fr;
    }

    .donate-hero h1 {
        font-size: 2rem;
    }

    .donate-hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .donate-form-card {
        padding: 1.5rem;
    }

    .donate-hero h1 {
        font-size: 1.5rem;
    }

    .donate-hero p {
        font-size: 1rem;
    }

    .donation-amounts {
        grid-template-columns: 1fr;
    }
}

/* ====== Progress Panel (Bottom Bar) ====== */
.progress-panel {
    background: linear-gradient(135deg, #283e7a 0%, #1a2850 100%);
    padding: 1.5rem 0;
    margin-top: 0;
}

.progress-panel-content {
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    gap: 2rem;
    align-items: center;
}

.progress-panel-arrow {
    display: flex;
    align-items: center;
}

.progress-panel-label {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
}

.progress-panel-bar {
    flex: 1;
    min-width: 200px;
}

.progress-panel-track {
    position: relative;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    overflow: visible;
}

.progress-panel-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, #ff6600 0%, #ff8c00 100%);
    border-radius: 25px;
    transition: width 1s ease;
}

.progress-panel-indicator {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    width: 50px;
    height: 50px;
    background: #ff6600;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.6);
}

.progress-panel-amount {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    white-space: nowrap;
}

.progress-panel-cta {
    margin-left: 1rem;
}

.btn-take-action {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #ff6600;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 25px;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
}

.btn-take-action:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
}

/* Responsive Progress Panel */
@media (max-width: 900px) {
    .progress-panel-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .progress-panel-arrow {
        display: none;
    }

    .progress-panel-label {
        font-size: 1rem;
    }

    .progress-panel-amount {
        font-size: 2rem;
    }

    .progress-panel-cta {
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .progress-panel {
        padding: 1rem 0;
    }

    .progress-panel-amount {
        font-size: 1.5rem;
    }

    .progress-panel-track {
        height: 30px;
    }

    .progress-panel-indicator {
        width: 40px;
        height: 40px;
    }
}

/* ====== Patient Registry Page Styles ====== */
.registry-page {
    background: linear-gradient(135deg, #FFE5E5 0%, #FFFFFF 100%);
    min-height: 100vh;
}

.registry-hero {
    background: linear-gradient(135deg, rgba(48, 63, 159, 0.95), rgba(229, 115, 115, 0.95));
    padding: 3rem 0 2rem;
    text-align: center;
    color: white;
}

.registry-hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.registry-hero-content p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.registry-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin: -1.5rem auto 3rem;
    max-width: 1400px;
    align-items: start;
}

.registry-form-container {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.registry-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #F0F0F0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: var(--red);
    font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
}

.form-group textarea {
    resize: vertical;
}

.field-icon {
    position: absolute;
    right: 1rem;
    top: 2.5rem;
    font-size: 1.2rem;
    cursor: pointer;
}

.toggle-password {
    cursor: pointer;
    user-select: none;
}

.form-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #666;
}

.phone-input {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.5rem;
}

.country-code {
    padding: 0.875rem 0.5rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #F9F9F9;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
}

.radio-label:hover {
    background: #F0F0F0;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.15rem;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label span {
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label a {
    color: var(--navy);
    text-decoration: underline;
}

.form-actions {
    margin-top: 2rem;
    text-align: center;
}

.btn-submit {
    padding: 1rem 3rem;
    background: #ff6600;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.btn-submit:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.login-link {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #666;
}

.login-link a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
}

/* Registry Sidebar */
.registry-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
    color: var(--navy);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.dna-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #F0F0F0;
    font-size: 0.95rem;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.stats-card {
    background: linear-gradient(135deg, var(--navy), #1a2850);
    color: white;
}

.stats-card h3 {
    color: white;
}

.stat-item {
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6600;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Registry Page */
@media (max-width: 1024px) {
    .registry-wrapper {
        grid-template-columns: 1fr;
    }

    .registry-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Registry CTA Banner */
.registry-cta {
    margin: 2rem 0;
}

.cta-banner {
    background: linear-gradient(135deg, #303F9F 0%, #E57373 100%);
    border-radius: 16px;
    padding: 2.5rem;
    color: white;
    box-shadow: 0 8px 24px rgba(48, 63, 159, 0.3);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.btn-cta-large {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--navy);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-cta-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

@media (max-width: 900px) {
    .cta-banner {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .registry-hero-content h1 {
        font-size: 1.5rem;
    }

    .registry-form-container {
        padding: 1.5rem;
    }

    .form-section h2 {
        font-size: 1.25rem;
    }

    .phone-input {
        grid-template-columns: 100px 1fr;
    }

    .btn-submit {
        width: 100%;
        padding: 1rem;
    }

    .registry-sidebar {
        grid-template-columns: 1fr;
    }
}

/* ====== Ways to Help Page Styles ====== */
.ways-to-help-page {
    background: #F5F5F5;
}

.hero-nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid #E0E0E0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.hero-quick-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.quick-link {
    color: var(--navy);
    text-decoration: underline;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition);
}

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

.ways-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 229, 229, 0.95) 100%),
                url('../images/image1.jpg') center/cover;
    background-blend-mode: overlay;
    padding: 4rem 0;
    position: relative;
}

.ways-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/IMAGE1.jpg') right center/contain no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

.ways-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.ways-hero h1 {
    font-size: 3rem;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 2.5rem;
}

.hero-text p {
    margin-bottom: 1rem;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: #ff6600;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.btn-hero-cta:hover {
    background: #e55a00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 100px;
}

/* Responsive Ways to Help */
@media (max-width: 900px) {
    .hero-quick-links {
        gap: 1rem;
    }

    .quick-link {
        font-size: 0.85rem;
    }

    .ways-hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .btn-hero-cta {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .ways-hero {
        padding: 2.5rem 0;
    }

    .ways-hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-quick-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* ============================================
   PLAN AN EVENT PAGE STYLES
   ============================================ */

/* Event Form Section */
.plan-event-page {
    padding-top: 80px;
}

.event-form-section {
    background: white;
    padding: 4rem 0;
}

.event-form-section .page-title {
    font-size: 3rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.event-form-section .page-description {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.event-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.event-form-card {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 50%, #ef9a9a 100%);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.event-form-card .form-heading {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.event-form-card h1 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.event-form-card h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.event-form {
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group label svg {
    vertical-align: middle;
    margin-right: 0.3rem;
}

.required {
    color: #E57373;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    background: white;
    transition: all 0.3s ease;
}

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

.phone-input {
    display: flex;
    gap: 0.5rem;
}

.phone-input select {
    width: 130px;
    flex-shrink: 0;
}

.phone-input input {
    flex: 1;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    margin: 1rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.btn-submit-event {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(48, 63, 159, 0.3);
}

.btn-submit-event:hover {
    background: #283593;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 63, 159, 0.4);
}

/* Fundraising Ideas Section */
.fundraising-ideas-section {
    padding: 4rem 0;
    background: white;
}

.fundraising-ideas-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.fundraising-ideas-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.idea-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.idea-card {
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.card-purple {
    background: linear-gradient(135deg, #f5f0ff 0%, #e6d9ff 100%);
}

.card-pink {
    background: linear-gradient(135deg, #fff0f5 0%, #ffd9e6 100%);
}

.card-green {
    background: linear-gradient(135deg, #f0fff5 0%, #d9ffe6 100%);
}

.card-blue {
    background: linear-gradient(135deg, #f0f8ff 0%, #d9ebff 100%);
}

.idea-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.idea-icon {
    margin-bottom: 1rem;
}

.idea-icon svg {
    stroke: var(--primary-color);
}

.idea-card h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    font-weight: 600;
}

/* Restaurant Partnership */
.restaurant-partnership {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

.restaurant-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.restaurant-partnership h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.restaurant-partnership > p {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.restaurant-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.restaurant-option {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.restaurant-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.restaurant-option h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.restaurant-option p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Other Events Section on Plan Event Page */
.other-events-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 1.5rem;
}

.other-events-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.other-events-card h2 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.other-events-card p {
    font-size: 1.15rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.other-events-card .btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    border-radius: 50px;
    font-weight: 600;
}

/* Responsive Plan Event Page */
@media (max-width: 900px) {
    .event-form-section .page-title {
        font-size: 2.2rem;
    }

    .event-form-section .page-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .event-form-card {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .idea-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .restaurant-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .restaurant-partnership {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .event-form-section {
        padding: 2rem 0;
    }

    .event-form-section .page-title {
        font-size: 1.8rem;
    }

    .event-form-section .page-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .event-form-card {
        padding: 1.5rem;
    }

    .event-form-card .form-heading {
        font-size: 1.2rem;
    }

    .event-form-card h1 {
        font-size: 1.5rem;
    }

    .fundraising-ideas-section h2 {
        font-size: 1.8rem;
    }

    .phone-input {
        flex-direction: column;
    }

    .phone-input select {
        width: 100%;
    }

    .restaurant-partnership h3 {
        font-size: 1.5rem;
    }
}

/* ============================================
   CAREGIVER NETWORK FORM STYLES
   ============================================ */

.caregiver-network-section {
    margin: 3rem 0;
}

.caregiver-network-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: left;
}

.caregiver-network-card {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 50%, #ef9a9a 100%);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.caregiver-form {
    max-width: 600px;
}

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

.caregiver-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.caregiver-form input[type="text"],
.caregiver-form input[type="email"] {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    background: white;
    transition: all 0.3s ease;
}

.caregiver-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(48, 63, 159, 0.1);
}

.caregiver-form .checkbox-group {
    margin: 1rem 0;
}

.caregiver-form .checkbox-label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
    color: #333;
}

.caregiver-form .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.btn-caregiver-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(48, 63, 159, 0.3);
}

.btn-caregiver-submit:hover {
    background: #283593;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 63, 159, 0.4);
}

/* Responsive Caregiver Network */
@media (max-width: 900px) {
    .caregiver-network-card {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .caregiver-network-section h2 {
        font-size: 1.6rem;
    }

    .caregiver-network-card {
        padding: 1.5rem;
    }
}

/* ============================================
   VOLUNTEER PAGE STYLES
   ============================================ */

.volunteer-page {
    padding-top: 80px;
}

.volunteer-form-section {
    background: white;
    padding: 4rem 0;
}

.volunteer-form-section .page-title {
    font-size: 3rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.volunteer-form-section .page-description {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.volunteer-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.volunteer-form-card {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 50%, #ef9a9a 100%);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.volunteer-form-card .form-heading {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.volunteer-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.volunteer-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.volunteer-form label svg {
    vertical-align: middle;
    margin-right: 0.3rem;
}

.volunteer-form .required {
    color: #E57373;
}

.volunteer-form input[type="text"],
.volunteer-form input[type="email"],
.volunteer-form select {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    background: white;
    transition: all 0.3s ease;
}

.volunteer-form input:focus,
.volunteer-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(48, 63, 159, 0.1);
}

.volunteer-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.5rem;
}

.volunteer-form .checkbox-group {
    margin: 1rem 0;
}

.volunteer-form .checkbox-label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
    color: #333;
}

.volunteer-form .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.volunteer-form .radio-group {
    margin-bottom: 1.5rem;
}

.volunteer-form .radio-group-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.volunteer-form .radio-options {
    display: flex;
    gap: 2rem;
}

.volunteer-form .radio-label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
    color: #333;
}

.volunteer-form .radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.btn-submit-volunteer {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(48, 63, 159, 0.3);
}

.btn-submit-volunteer:hover {
    background: #283593;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 63, 159, 0.4);
}

/* Contact Form Card */
.contact-form-card {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 50%, #ef9a9a 100%);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-card .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-card .form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    background: white;
    transition: all 0.3s ease;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(48, 63, 159, 0.1);
}

.contact-form-card select {
    cursor: pointer;
}

.contact-form-card textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive Volunteer Page */
@media (max-width: 900px) {
    .volunteer-form-section .page-title {
        font-size: 2.2rem;
    }

    .volunteer-form-section .page-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .volunteer-form-card {
        padding: 2rem;
    }

    .volunteer-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 600px) {
    .volunteer-form-section {
        padding: 2rem 0;
    }

    .volunteer-form-section .page-title {
        font-size: 1.8rem;
    }

    .volunteer-form-section .page-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .volunteer-form-card {
        padding: 1.5rem;
    }

    .volunteer-form-card .form-heading {
        font-size: 1.2rem;
    }

    .volunteer-form .radio-options {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Responsive Contact Page */
@media (max-width: 900px) {
    .contact-form-card {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .contact-form-card {
        padding: 1.5rem;
    }

    .contact-form-card h2 {
        font-size: 1.5rem !important;
    }
}

/* ============================================
   EVENT PANEL & EVENT DETAILS PAGE
   ============================================ */

/* Event Announcement Panel on Home Page */
.event-announcement {
    margin: 3rem 0;
}

.event-panel {
    background: linear-gradient(135deg, #5e35b1 0%, #673ab7 50%, #9c27b0 100%);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 12px 40px rgba(94, 53, 177, 0.3);
    color: white;
    position: relative;
    overflow: hidden;
}

.event-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.event-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.event-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: white !important;
}

.event-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.95);
}

.event-meta-item svg {
    flex-shrink: 0;
}

.event-description {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.95);
}

.event-speakers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.speaker {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.15);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.speaker-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: #5e35b1;
    flex-shrink: 0;
}

.speaker-info strong {
    display: block;
    color: white;
    margin-bottom: 0.25rem;
}

.speaker-info span {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.85);
}

.event-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.event-organizations {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.btn-event {
    background: white;
    color: #5e35b1;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: #f5f5f5;
}

/* Event Details Page */
.event-details-hero {
    text-align: center;
    padding: 3rem 0 2rem;
}

.event-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #5e35b1 0%, #9c27b0 100%);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.event-hero-title {
    font-size: 3rem;
    color: #303F9F;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.event-hero-meta {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.event-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #666;
    font-size: 1.125rem;
}

.event-hero-meta-item svg {
    color: #5e35b1;
    flex-shrink: 0;
}

.event-content-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.event-details-content {
    padding-right: 2rem;
}

.event-details-content h2 {
    color: #303F9F;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.event-details-content h3 {
    color: #303F9F;
    font-size: 1.5rem;
    margin: 2.5rem 0 1.25rem;
}

.event-lead-text {
    font-size: 1.25rem;
    color: #5e35b1;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.event-highlights {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.event-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f5f5f5;
    border-radius: 8px;
}

.event-highlights svg {
    color: #5e35b1;
    flex-shrink: 0;
    margin-top: 2px;
}

.speaker-profiles {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.speaker-profile-card {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 50%, #ef9a9a 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.speaker-profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.speaker-profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.75rem;
    color: #5e35b1;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.speaker-profile-card h4 {
    color: #303F9F;
    font-size: 1.25rem;
    margin: 0 0 0.25rem;
}

.speaker-title {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.speaker-profile-card p {
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.event-hosts {
    display: grid;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.event-host {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #5e35b1;
}

.event-host strong {
    display: block;
    color: #303F9F;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.event-host p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.event-info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.event-info-box h4 {
    color: #303F9F;
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

.event-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-info-box li {
    padding: 0.5rem 0;
    color: #333;
    line-height: 1.6;
}

.event-cta-box {
    background: linear-gradient(135deg, #5e35b1 0%, #9c27b0 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    margin: 3rem 0;
    box-shadow: 0 12px 40px rgba(94, 53, 177, 0.3);
}

.event-cta-box h3 {
    color: white;
    margin-top: 0;
}

.event-cta-box p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 1rem;
}

/* Event Registration Sidebar */
.event-registration-sidebar {
    position: sticky;
    top: 2rem;
}

.event-registration-card {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 50%, #ef9a9a 100%);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    margin-bottom: 2rem;
}

.event-question-card {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.event-registration-form .form-row,
.event-question-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.event-registration-form .form-group,
.event-question-form .form-group {
    margin-bottom: 1.5rem;
}

.event-registration-form label,
.event-question-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.event-registration-form input,
.event-registration-form select,
.event-question-form input,
.event-question-form select,
.event-question-form textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    background: white;
    transition: all 0.3s ease;
}

.event-registration-form input:focus,
.event-registration-form select:focus,
.event-question-form input:focus,
.event-question-form select:focus,
.event-question-form textarea:focus {
    outline: none;
    border-color: #5e35b1;
    box-shadow: 0 0 0 3px rgba(94, 53, 177, 0.1);
}

.event-registration-form select,
.event-question-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
}

.event-question-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-register,
.btn-question {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-register {
    background: #303F9F;
    color: white;
    box-shadow: 0 4px 15px rgba(48, 63, 159, 0.3);
}

.btn-register:hover {
    background: #283593;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 63, 159, 0.4);
}

.btn-question {
    background: #5e35b1;
    color: white;
    box-shadow: 0 4px 15px rgba(94, 53, 177, 0.3);
}

.btn-question:hover {
    background: #512da8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 53, 177, 0.4);
}

/* Responsive Event Styles */
@media (max-width: 900px) {
    .event-panel {
        padding: 2rem;
    }

    .event-title {
        font-size: 1.75rem;
    }

    .event-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .event-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-hero-title {
        font-size: 2.25rem;
    }

    .event-hero-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .event-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .event-details-content {
        padding-right: 0;
    }

    .event-registration-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .event-panel {
        padding: 1.5rem;
    }

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

    .event-speakers {
        grid-template-columns: 1fr;
    }

    .event-hero-title {
        font-size: 1.75rem;
    }

    .event-registration-card,
    .event-question-card {
        padding: 1.5rem;
    }

    .event-registration-form .form-row,
    .event-question-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   THANK YOU MODAL
   ============================================ */

.thank-you-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.thank-you-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.thank-you-content.modal-animate {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.modal-icon {
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s ease 0.2s both;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-title {
    font-size: 2.5rem;
    color: #303F9F;
    margin-bottom: 1rem;
    animation: slideDown 0.5s ease 0.3s both;
}

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

.modal-message {
    font-size: 1.25rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    animation: slideUp 0.5s ease 0.4s both;
}

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

.modal-message strong {
    color: #4CAF50;
}

.modal-hearts {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    font-size: 2rem;
}

.heart {
    display: inline-block;
    opacity: 0;
}

@keyframes heartBounce {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
    }
}

.modal-impact {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 16px;
    margin: 1.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
    animation: slideUp 0.5s ease 0.5s both;
}

.modal-impact strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.modal-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
    animation: slideUp 0.5s ease 0.6s both;
}

.modal-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-icon {
    font-size: 2rem;
}

.stat-text {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
}

.modal-footer {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1.5rem;
    animation: fadeIn 0.5s ease 0.7s both;
}

.modal-footer em {
    color: #4CAF50;
    font-weight: 600;
}

.btn-modal-close {
    background: linear-gradient(135deg, #303F9F 0%, #5E35B1 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(48, 63, 159, 0.3);
    animation: slideUp 0.5s ease 0.8s both;
}

.btn-modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 63, 159, 0.4);
}

.btn-modal-close:active {
    transform: translateY(0);
}

/* Responsive Modal */
@media (max-width: 600px) {
    .thank-you-content {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }
    
    .modal-title {
        font-size: 2rem;
    }
    
    .modal-message {
        font-size: 1.1rem;
    }
    
    .modal-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .modal-hearts {
        font-size: 1.5rem;
    }
    
    .btn-modal-close {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* ========================================
   Gallery Modal & Lightbox Styles
   ======================================== */

/* View All Button */
.btn-view-all {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #5e35b1 0%, #9c27b0 100%);
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(94, 53, 177, 0.3);
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(94, 53, 177, 0.4);
}

.btn-view-all svg {
    vertical-align: middle;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

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

.gallery-modal-content {
    background-color: #1a1a1a;
    margin: 2% auto;
    padding: 0;
    width: 95%;
    max-width: 1400px;
    border-radius: 12px;
    animation: slideDown 0.4s ease;
}

.gallery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    background: linear-gradient(135deg, #5e35b1 0%, #9c27b0 100%);
    border-radius: 12px 12px 0 0;
}

.gallery-modal-header h2 {
    margin: 0;
    color: white;
    font-size: 2rem;
}

.gallery-close {
    color: white;
    font-size: 40px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.gallery-close:hover,
.gallery-close:focus {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px;
    max-height: 70vh;
    overflow-y: auto;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.5);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    filter: brightness(1.1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 70%, transparent 100%);
    color: white;
    padding: 20px 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-quote {
    margin: 0;
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
}

/* Lightbox for Full-Size Viewing */
.lightbox {
    display: none;
    position: fixed;
    z-index: 11000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

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

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: white;
    font-size: 50px;
    font-weight: bold;
    background: rgba(94, 53, 177, 0.7);
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.lightbox-close {
    top: 20px;
    right: 30px;
}

.lightbox-close:hover {
    background: rgba(156, 39, 176, 0.9);
    transform: rotate(90deg);
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(156, 39, 176, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(94, 53, 177, 0.9);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scrollbar Styling for Gallery Grid */
.gallery-grid::-webkit-scrollbar {
    width: 10px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #5e35b1 0%, #9c27b0 100%);
    border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7c4dcd 0%, #ba68c8 100%);
}

/* Responsive Gallery */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .gallery-modal-header {
        padding: 20px 25px;
    }
    
    .gallery-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
        padding: 20px;
        max-height: 65vh;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 35px;
        padding: 8px 15px;
    }
    
    .lightbox-close {
        font-size: 40px;
        top: 10px;
        right: 15px;
    }
    
    .btn-view-all {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px;
    }
    
    .gallery-modal-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
        height: 100vh;
    }
    
    .gallery-modal-header {
        border-radius: 0;
    }
}

/* ========================================
   COMMUNITY EVENTS PAGE STYLES
   ======================================== */

.community-events-page main {
    padding-top: 6rem;
}

/* Hero Section */
.community-events-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 1.5rem;
    text-align: center;
}

.community-events-hero .page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.community-events-hero .page-description {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-cta .btn-primary {
    background: white;
    color: #764ba2;
}

.hero-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.hero-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.hero-cta .btn-secondary:hover {
    background: white;
    color: #764ba2;
    text-decoration: none;
}

/* Section Styling */
.section-heading {
    font-size: 2.5rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-description {
    text-align: center;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #555;
}

/* Community Events Grid */
.community-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.community-event-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.community-event-card:hover {
    border-color: #9C27B0;
    box-shadow: 0 15px 40px rgba(156, 39, 176, 0.15);
    transform: translateY(-5px);
}

.event-organizer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.event-organizer-badge svg {
    width: 16px;
    height: 16px;
}

.community-event-card .event-title {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.community-event-card .event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.community-event-card .event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

.community-event-card .event-meta-item svg {
    flex-shrink: 0;
    color: #9C27B0;
}

.community-event-card .event-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.community-event-card .event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #E0E0E0;
}

.community-event-card .btn-event {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.community-event-card .btn-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    text-decoration: none;
}

.community-event-card .event-type {
    font-size: 0.85rem;
    color: #9C27B0;
    font-weight: 600;
    background: rgba(156, 39, 176, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

/* No Events Message */
.no-events-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: var(--border-radius);
    border: 2px dashed rgba(156, 39, 176, 0.3);
}

.no-events-message svg {
    margin: 0 auto 1.5rem;
}

.no-events-message h3 {
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.no-events-message p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Event CTA Section */
.event-cta-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 4rem 1.5rem;
}

.event-cta-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.event-cta-card h2 {
    font-size: 2.25rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.event-cta-card p {
    font-size: 1.15rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    border-radius: 50px;
    font-weight: 600;
}

/* Past Events Grid */
.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.past-event-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border-left: 5px solid #4CAF50;
    transition: all 0.3s ease;
}

.past-event-card:hover {
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.15);
    transform: translateY(-3px);
}

.past-event-success {
    text-align: center;
    margin-bottom: 1.5rem;
}

.success-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4CAF50;
}

.success-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.past-event-info h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.past-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.past-event-meta span {
    font-size: 0.85rem;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.past-event-info p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

/* Event Ideas Section */
.event-ideas-section {
    background: #F5F5F5;
}

.idea-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.idea-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.idea-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.idea-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.idea-item h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.idea-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .community-events-hero .page-title {
        font-size: 2rem;
    }

    .community-events-hero .page-description {
        font-size: 1.05rem;
    }

    .community-events-grid,
    .past-events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .section-heading {
        font-size: 2rem;
    }

    .event-cta-card {
        padding: 2rem 1.5rem;
    }

    .event-cta-card h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn-large {
        width: 100%;
    }

    .idea-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .community-event-card .event-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .community-event-card .event-type {
        text-align: center;
    }
}


