/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 163, 255, 0.2);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00A3FF;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 163, 255, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #00A3FF;
    text-shadow: 0 0 5px rgba(0, 163, 255, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00A3FF, #00D4FF);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #00A3FF;
    margin: 3px 0;
    transition: 0.3s;
}

/* Page Header */
.page-header {
    height: 60vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 163, 255, 0.2) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><defs><radialGradient id="grad1" cx="50%" cy="50%" r="70%"><stop offset="0%" style="stop-color:%2300A3FF;stop-opacity:0.3" /><stop offset="100%" style="stop-color:%23000000;stop-opacity:0.9" /></radialGradient></defs><rect width="1920" height="1080" fill="url(%23grad1)"/><g stroke="%2300A3FF" stroke-width="1" opacity="0.3"><circle cx="960" cy="540" r="300" fill="none"><animate attributeName="r" values="300;350;300" dur="4s" repeatCount="indefinite"/></circle><circle cx="960" cy="540" r="200" fill="none"><animate attributeName="r" values="200;250;200" dur="3s" repeatCount="indefinite"/></circle><circle cx="960" cy="540" r="100" fill="none"><animate attributeName="r" values="100;150;100" dur="2s" repeatCount="indefinite"/></circle></g></svg>') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 70px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%2300A3FF" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    opacity: 0.5;
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #00A3FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(0, 163, 255, 0.3); }
    to { text-shadow: 0 0 30px rgba(0, 163, 255, 0.6); }
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Mission Section */
.mission-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #000 0%, #001122 100%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff 0%, #00A3FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.mission-content {
    background: rgba(0, 163, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
}

.mission-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #00A3FF;
}

.mission-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.mission-visual {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 163, 255, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mission-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.mission-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.mission-icon {
    font-size: 4rem;
    color: #00A3FF;
    z-index: 2;
    position: relative;
}

/* Research Areas */
.research-section {
    padding: 6rem 0;
    background: #000;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.research-card {
    background: linear-gradient(135deg, rgba(0, 163, 255, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 1px solid rgba(0, 163, 255, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 163, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.research-card:hover::before {
    left: 100%;
}

.research-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 163, 255, 0.2);
    border-color: #00A3FF;
}

.research-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #00A3FF 0%, #00D4FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    overflow: hidden;
    position: relative;
}

.research-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.research-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 163, 255, 0.3);
    border-radius: 50%;
    z-index: 1;
}

.research-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #00A3FF;
}

.research-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #000 0%, #001122 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: rgba(0, 163, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 163, 255, 0.2);
    border-color: #00A3FF;
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #00A3FF 0%, #00D4FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
}

.team-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #00A3FF;
}

.team-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-bio {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

.team-placeholder {
    opacity: 0.6;
    font-style: italic;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000 0%, #001122 100%);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 163, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #00A3FF;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: #00A3FF;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 163, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-visual {
        height: 300px;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .mission-content {
        padding: 2rem;
    }
}

/* Hero Section (from index.html) */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><defs><radialGradient id="grad1" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%2300A3FF;stop-opacity:0.1" /><stop offset="100%" style="stop-color:%23000000;stop-opacity:0.8" /></radialGradient></defs><rect width="1920" height="1080" fill="url(%23grad1)"/></svg>') center/cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 163, 255, 0.1) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #00A3FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 163, 255, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #00A3FF 0%, #0066CC 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 163, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 163, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #00A3FF;
    border: 2px solid #00A3FF;
}

.btn-secondary:hover {
    background: #00A3FF;
    color: #fff;
    transform: translateY(-2px);
}

/* Mission Section (from index.html) */
.mission {
    padding: 6rem 0;
    background: linear-gradient(135deg, #000 0%, #001122 100%);
    position: relative;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2300A3FF" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    opacity: 0.3;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.mission-content {
    background: rgba(0, 163, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.mission-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #00A3FF;
}

.mission-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* Research Section (from index.html) */
.research {
    padding: 6rem 0;
    background: #000;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.research-card {
    background: linear-gradient(135deg, rgba(0, 163, 255, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 1px solid rgba(0, 163, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 163, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.research-card:hover::before {
    left: 100%;
}

.research-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 163, 255, 0.2);
    border-color: #00A3FF;
}

.research-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #00A3FF 0%, #00D4FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.research-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #00A3FF;
}

.research-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Contact Section (from contact.html) */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #000 0%, #001122 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Form */
.contact-form {
    background: rgba(0, 163, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #00A3FF;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 163, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: #00A3FF;
    box-shadow: 0 0 10px rgba(0, 163, 255, 0.3);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-button {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00A3FF 0%, #0066CC 100%);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 163, 255, 0.3);
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 163, 255, 0.4);
}

.form-button:active {
    transform: translateY(0);
}

/* Contact Info */
.contact-info {
    background: linear-gradient(135deg, rgba(0, 17, 34, 0.8) 0%, rgba(0, 34, 68, 0.6) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 51, 102, 0.3);
    border-radius: 20px;
    padding: 3rem;
}

.info-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #00A3FF;
    text-align: center;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 17, 34, 0.6) 0%, rgba(0, 34, 68, 极速4) 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 51, 102, 0.2);
}

.info-item:hover {
    background: linear-gradient(135deg, rgba(0, 34, 68, 0.8) 0%, rgba(0, 51, 102, 0.6) 100%);
    transform: translateX(10px);
    border-color: rgba(0, 102, 153, 0.4);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.8) 0%, rgba(0, 102, 153, 0.6) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 102, 153, 0.3);
    transition: box-shadow 0.3s ease;
    border: 1px solid rgba(0, 102, 153, 0.3);
}

.info-item:hover .info-icon {
    box-shadow: 0 0 25px rgba(0, 102, 153, 0.5);
}

/* Animated SVG styles */
.animated-stroke {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw-stroke 3s ease-in-out infinite;
}

.animated-fill {
    opacity: 0;
    animation: pulse-fill 2s ease-in-out infinite;
}

@keyframes draw-stroke {
    0% {
        stroke-dashoffset: 100;
        opacity: 0.3;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: -100;
        opacity: 0.3;
    }
}

@keyframes pulse-fill {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes rotate-element {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.info-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00A3FF;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.info-content a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #00A3FF;
}

/* Office Hours */
.office-hours {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 17, 34, 0.6) 0%, rgba(0, 34, 68, 0.4) 100%);
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 51, 102, 0.2);
}

.office-hours h3 {
    color: #00A3FF;
    margin-bottom: 1rem;
}

.office-hours p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Success Message */
.success-message {
    display: none;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    color: #00ff00;
    text-align: center;
}

.error-message {
    display: none;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
    text-align: center;
}


/* ===== DONATE PAGE SPECIFIC STYLES ===== */

/* Page Header */
.page-header {
    height: 60vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 163, 255, 0.2) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><defs><radialGradient id="grad1" cx="50%" cy="50%" r="70%"><stop offset="0%" style="stop-color:%2300A3FF;stop-opacity:0.3" /><stop offset="100%" style="stop-color:%23000000;stop-opacity:0.9" /></radialGradient></defs><rect width="1920" height="1080" fill="url(%23grad1)"/><g stroke="%2300A3FF" stroke-width="2" opacity="0.4"><circle cx="960" cy="540" r="100" fill="none"><animate attributeName="r" values="100;150;100" dur="3s" repeatCount="indefinite"/></circle><circle cx="960" cy="540" r="200" fill="none"><animate attributeName="r" values="200;250;200" dur="4s" repeatCount="indefinite"/></circle><path d="M760,540 L960,340 L1160,540 L960,740 Z" fill="none"><animateTransform attributeName="transform" type="rotate" values="0 960 540;360 960 540" dur="8s" repeatCount="indefinite"/></path></g></svg>') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 70px;
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #00A3FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(0, 163, 255, 0.3); }
    to { text-shadow: 0 0 30px rgba(0, 163, 255, 0.6); }
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Impact Section */
.impact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #000 0%, #001122 100%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff 0%, #00A3FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.impact-card {
    background: rgba(0, 163, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 163, 255, 0.2);
    border-color: #00A3FF;
}

.impact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #001122 0%, #002244 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-shadow: 0 0 15px rgba(0, 163, 255, 0.2);
    border: 1px solid rgba(0, 163, 255, 0.3);
    transition: all 0.3s ease;
}

.impact-card:hover .impact-icon {
    box-shadow: 0 0 25px rgba(0, 163, 255, 0.4);
    border-color: rgba(0, 163, 255, 0.5);
}

.impact-icon svg {
    width: 100%;
    height: 100%;
}

.payment-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-right: 0.5rem;
    vertical-align: middle;
    background: linear-gradient(135deg, #001122 0%, #002244 100%);
    border-radius: 50%;
    padding: 6px;
    border: 1px solid rgba(0, 163, 255, 0.3);
}

.payment-icon svg {
    width: 100%;
    height: 100%;
}

/* Animated SVG styles */
.animated-stroke {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw-stroke 3s ease-in-out infinite;
}

.animated-fill {
    opacity: 0;
    animation: pulse-fill 2s ease-in-out infinite;
}

@keyframes draw-stroke {
    0% {
        stroke-dashoffset: 100;
        opacity: 0.3;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: -100;
        opacity: 0.3;
    }
}

@keyframes pulse-fill {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.8;
    }
}

.impact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #00A3FF;
}

.impact-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Donation Section */
.donation-section {
    padding: 6rem 0;
    background: #000;
}

.donation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.donation-amounts {
    background: rgba(0, 163, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
}

.amounts-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #00A3FF;
    text-align: center;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.amount-btn {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 163, 255, 0.3);
    border-radius: 15px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.amount-btn:hover, .amount-btn.selected {
    background: rgba(0, 163, 255, 0.2);
    border-color: #00A3FF;
    color: #00A3FF;
    transform: scale(1.05);
}

.custom-amount {
    margin-bottom: 2rem;
}

.custom-input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 163, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 1.1rem;
    text-align: center;
}

.custom-input:focus {
    outline: none;
    border-color: #00A3FF;
    box-shadow: 0 0 10px rgba(0, 163, 255, 0.3);
}

.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Payment Methods */
.payment-methods {
    background: linear-gradient(135deg, rgba(0, 17, 34, 0.8) 0%, rgba(0, 34, 68, 0.6) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 163, 255, 0.3);
    border-radius: 20px;
    padding: 3rem;
}

.payment-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #00A3FF;
    text-align: center;
}

.payment-option {
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 17, 34, 0.8) 0%, rgba(0, 34, 68, 0.6) 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 51, 102, 0.3);
}

.payment-option:hover {
    background: linear-gradient(135deg, rgba(0, 34, 68, 0.9) 0%, rgba(0, 51, 102, 0.7) 100%);
    border-color: rgba(0, 102, 153, 0.5);
}

.payment-option h3 {
    color: #00A3FF;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.8) 0%, rgba(0, 102, 153, 0.6) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(0, 102, 153, 0.4);
}

.payment-button {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00A3FF 0%, #0066CC 100%);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 163, 255, 0.3);
    margin-top: 1rem;
}

.payment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 163, 255, 0.4);
}

.payment-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Donorbox Integration */
.donorbox-container {
    margin-top: 2rem;
    text-align: center;
}

.donorbox-embed {
    width: 100%;
    min-height: 500px;
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 15px;
    background: rgba(0, 163, 255, 0.05);
}

/* Tax Info */
.tax-info {
    background: rgba(0, 163, 255, 0.05);
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.tax-info h3 {
    color: #00A3FF;
    margin-bottom: 1rem;
}

.tax-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000 0%, #001122 100%);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 163, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #00A3FF;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: #00A3FF;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 163, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design for Donate Page */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .donation-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .donation-amounts, .payment-methods {
        padding: 2rem;
    }

    .amount-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .donation-amounts, .payment-methods {
        padding: 1.5rem;
    }
}

/* ===== DONATION SUCCESS PAGE STYLES ===== */

/* Success Page Body */
.donation-success-body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #000 0%, #001122 100%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-container {
    max-width: 600px;
    padding: 3rem;
    background: rgba(0, 163, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 163, 255, 0.1);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #00A3FF 0%, #00D4FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.success-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #00A3FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-message {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.donation-details {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 163, 255, 0.1);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-label {
    color: rgba(255, 255, 255, 0.6);
}

.detail-value {
    color: #00A3FF;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #00A3FF 0%, #0066CC 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 163, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 163, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.tax-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 163, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 163, 255, 0.1);
}

.tax-info h4 {
    color: #00A3FF;
    margin-bottom: 0.5rem;
}

.tax-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive styles for donation success page */
@media (max-width: 768px) {
    .success-container {
        margin: 1rem;
        padding: 2rem;
    }
    
    .success-title {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}