/* PayPal-inspired Design System */
:root {
    --paypal-blue: #0070BA;
    --paypal-blue-dark: #005EA6;
    --paypal-blue-light: #009CDE;
    --paypal-gray: #6C757D;
    --paypal-gray-light: #F5F7FA;
    --paypal-gray-dark: #2C3E50;
    --white: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #6C757D;
    --success: #28A745;
    --border-color: #E1E8ED;
}

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

body {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--paypal-blue) 0%, var(--paypal-blue-light) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    display: block;
    color: #FFC439;
    margin-top: 10px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Donate Button */
.donate-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #FFC439;
    color: var(--text-primary);
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 112, 186, 0.3);
    border: none;
    cursor: pointer;
}

.donate-btn:hover {
    background-color: #FFB800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 112, 186, 0.4);
}

.donate-btn.large {
    padding: 22px 50px;
    font-size: 1.2rem;
}

.donate-btn svg {
    transition: transform 0.3s ease;
}

.donate-btn:hover svg {
    transform: translateX(5px);
}

/* Carousel Section */
.carousel-section {
    padding: 80px 0;
    background-color: var(--paypal-gray-light);
}

.carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img,
.carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.carousel-slide video {
    pointer-events: auto;
}

.slide-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--paypal-gray);
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #e1e8ed 100%);
}

.slide-placeholder svg {
    opacity: 0.5;
}

.slide-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    color: var(--paypal-blue);
}

.carousel-btn:hover {
    background-color: var(--paypal-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: -25px;
}

.carousel-btn.next {
    right: -25px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--paypal-blue);
    transform: scale(1.2);
}

.dot:hover {
    background-color: var(--paypal-blue-light);
}

/* Story Section */
.story-section {
    padding: 100px 0;
    background-color: var(--white);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--paypal-blue);
    margin-bottom: 40px;
    text-align: center;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 50px;
}

.story-text p {
    margin-bottom: 25px;
}

.story-text strong {
    color: var(--paypal-blue);
    font-weight: 600;
}

.story-text .amount {
    font-size: 1.3rem;
    color: var(--paypal-blue-dark);
}

/* Goal Box */
.goal-box {
    background: linear-gradient(135deg, var(--paypal-gray-light) 0%, var(--white) 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 50px;
    border: 2px solid var(--border-color);
}

.goal-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.goal-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.goal-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--paypal-blue);
}

.raised-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.raised-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.raised-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--success);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background-color: var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--paypal-blue) 0%, var(--paypal-blue-light) 100%);
    border-radius: 6px;
    transition: width 0.8s ease;
}

.progress-percentage {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, var(--paypal-gray-light) 0%, var(--white) 100%);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.cta-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--paypal-blue);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: var(--paypal-gray-dark);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}

.footer p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 20px;
}

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

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

    .carousel-container {
        height: 350px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

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

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

    .goal-amount {
        font-size: 1.4rem;
    }

    .donate-btn {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .donate-btn.large {
        padding: 18px 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

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

    .carousel-section {
        padding: 50px 0;
    }

    .carousel-container {
        height: 280px;
    }

    .story-section {
        padding: 60px 0;
    }

    .goal-box {
        padding: 20px;
    }
}
