

/* Import base styles */
@import 'impact.css';

/* Variables */
:root {
    --primary-orange: var(--chocolate);
    --secondary-orange: var(--dark-blue);
    --text-color: #333;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}





/* Hero Section */
.donation-hero {
    min-height: 80vh;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--chocolate) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    color: white;
    z-index: 10;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.impact-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    min-width: 200px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

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

/* Donation Section */
.donation-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.donation-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Donation Form */
.donation-form-container {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.form-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.form-header p {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.donation-form h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 10px;
}

/* Amount Selection */
.amount-section {
    margin-bottom: 40px;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.amount-btn {
    padding: 15px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    border-color: var(--chocolate);
    background: var(--chocolate);
    color: white;
    transform: translateY(-2px);
}

.custom-amount input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}

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

/* Donation Type */
.donation-type {
    margin-bottom: 40px;
}

.type-options {
    display: flex;
    gap: 30px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1.1rem;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--chocolate);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--chocolate);
    border-radius: 50%;
}

/* Personal Information */
.personal-info {
    margin-bottom: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    background: transparent;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--chocolate);
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label {
    transform: translateY(-35px) scale(0.8);
    color: var(--chocolate);
    background: white;
    padding: 0 5px;
}

/* Payment Method */
.payment-section {
    margin-bottom: 40px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: var(--primary-orange);
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option input[type="radio"]:checked + .payment-icon {
    color: var(--primary-orange);
}

.payment-option input[type="radio"]:checked ~ * {
    color: var(--primary-orange);
}

.payment-icon {
    font-size: 1.5rem;
    color: #666;
    transition: color 0.3s ease;
}

/* Donate Button */
.donate-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.4);
}

/* Impact Sidebar */
.impact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.impact-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.impact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-color);
}

.impact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.impact-item i {
    font-size: 1.5rem;
    color: var(--primary-orange);
    margin-top: 5px;
}

.impact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.impact-item p {
    color: #666;
    line-height: 1.5;
}

/* Security Info */
.security-info {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(210, 105, 30, 0.1));
    border-radius: 15px;
    padding: 25px;
    text-align: center;
}

.security-info h4 {
    color: var(--text-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.security-info i {
    color: var(--primary-orange);
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.badge {
    background: var(--primary-orange);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Card Form Styles */
.card-form {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 140, 0, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.paypal-form {
    margin-top: 20px;
    padding: 30px;
    background: rgba(0, 48, 135, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 48, 135, 0.2);
    text-align: center;
}

.paypal-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.paypal-info i {
    font-size: 3rem;
    color: #0070ba;
}

.paypal-info p {
    color: #666;
    margin: 0;
}

/* Success Stories */
.success-stories {
    padding: 80px 0;
    background: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.story-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.story-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-content {
    padding: 30px;
}

.story-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 700;
}

.university {
    font-size: 1rem;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 15px;
}

.story-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: #888;
    font-size: 0.9rem;
}

.location i {
    color: var(--primary-orange);
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(45deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.scroll-to-top i {
    font-size: 1.2rem;
}

/* Bank Details */
.bank-details {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 10px;
    border: 1px solid var(--primary-orange);
}

.bank-details h4 {
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.bank-item {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 140, 0, 0.2);
}

.bank-note {
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 5px;
    font-size: 0.9rem;
    color: #666;
}

.bank-note i {
    color: var(--primary-orange);
    margin-right: 8px;
}

/* Legal Info */
.legal-info {
    background: rgba(0, 0, 139, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    margin-top: 20px;
}

.legal-info h4 {
    color: var(--text-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.legal-info i {
    color: var(--dark-blue);
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.legal-links a {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--primary-orange);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--primary-orange);
}

.modal-text h3 {
    color: var(--primary-orange);
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-text p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Mobile Navigation */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-top: 1px solid rgba(255, 140, 0, 0.1);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-links {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    
    .register-btn {
        margin-top: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .donation-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .impact-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 300px;
    }
    
    .amount-buttons {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .type-options {
        flex-direction: column;
        gap: 15px;
    }
    
    .donation-form-container {
        padding: 30px 20px;
    }
}