/* Reset default margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
}

/* Navbar Styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #D30000;
    padding: 15px 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 100px;
    border: 8px solid #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    background: #1C73FF;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 25px;
    transition: all 0.3s ease-in-out;
    display: inline-block;
}

.nav-links a:hover {
    background: #1057C2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-links a.active {
    background: #0044cc;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: white;
    border-radius: 10px;
}

.nav-links a.donate-btn {
    background: #FF00FF;
}

.nav-links a.donate-btn:hover {
    background: #D100D1;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/donate-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 150px 20px;
    position: relative;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #FF00FF;
    border-radius: 2px;
}

.section-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Main Content Styles */
.donation-section {
    background: linear-gradient(135deg, #FF00FF 0%, #1C73FF 100%);
    color: white;
    padding: 60px 0;
}

.donation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.donation-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.donation-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.donation-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.donation-type {
    display: inline-block;
    background: white;
    border-radius: 30px;
    overflow: hidden;
}

.donation-type label {
    display: inline-block;
    padding: 12px 25px;
    color: #333;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.donation-type input[type="radio"] {
    display: none;
}

.donation-type input[type="radio"]:checked + label {
    background: #FF00FF;
    color: white;
}

.donation-amounts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.amount-option {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.amount-option:hover, .amount-option.active {
    background: white;
    color: #FF00FF;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.custom-amount {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.custom-amount input {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 15px;
    border-radius: 30px;
    width: 200px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-amount input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.custom-amount input:focus {
    background: white;
    color: #333;
    outline: none;
}

/* Donation Form */
.donation-form {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 800px;
    margin: 0 auto;
}

.donation-form h3 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
    font-size: 1.05rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #1C73FF;
    outline: none;
    box-shadow: 0 0 8px rgba(28, 115, 255, 0.3);
    background-color: #fff;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.card-input-wrapper {
    position: relative;
}

.card-icons {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 8px;
}

.card-icons i {
    font-size: 1.5rem;
    color: #666;
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-checkbox input {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.form-checkbox label {
    font-size: 1rem;
    color: #555;
}

.form-section-title {
    font-size: 1.5rem;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    color: #333;
}

#thank-you-message {
    background: #e0f7e0;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin-top: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-content i {
    font-size: 5rem;
    color: #32CD32;
    margin-bottom: 20px;
}

.thank-you-content h2 {
    color: #333;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.thank-you-content p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.thank-you-content .btn {
    margin-top: 20px;
}

/* Payment Options */
.payment-options {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.payment-option {
    flex: 1;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #888;
}

.payment-option.active {
    border-color: #1C73FF;
}

.payment-option.active i {
    color: #1C73FF;
}

/* Impact Section */
.impact-section {
    background: #f9f9f9;
    padding: 80px 0;
}

.impact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.impact-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.impact-icon {
    width: 80px;
    height: 80px;
    background: #1C73FF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.impact-card:nth-child(2) .impact-icon {
    background: #FF8C00;
}

.impact-card:nth-child(3) .impact-icon {
    background: #FF00FF;
}

.impact-card:nth-child(4) .impact-icon {
    background: #32CD32;
}

.impact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.impact-card p {
    color: #666;
    line-height: 1.6;
}

/* Donation Section */
.donate-section {
    background: linear-gradient(135deg, #FF00FF 0%, #1C73FF 100%);
    color: white;
    padding: 80px 0;
}

.donation-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.donation-frequency {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px;
    border-radius: 30px;
}

.btn-option {
    background: transparent;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-option.active, .btn-option:hover {
    background: white;
    color: #FF00FF;
}

.donation-amounts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.btn-amount {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 30px;
    border: 2px solid white;
    border-radius: 30px;
    min-width: 100px;
    font-size: 1.1rem;
}

.btn-amount:hover, .btn-amount.active {
    background: white;
    color: #1C73FF;
}

.btn-amount.custom {
    min-width: 150px;
}

.donation-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

/* Other Ways Section */
.other-ways-section {
    background: #fff;
}

.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.way-item {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.way-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.way-item i {
    font-size: 3rem;
    color: #1C73FF;
    margin-bottom: 20px;
}

.way-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
}

.way-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: #1C73FF;
    color: white;
}

.btn-primary:hover {
    background: #1057C2;
}

.btn-secondary {
    background: #FF00FF;
    color: white;
}

.btn-secondary:hover {
    background: #D100D1;
}

.btn-outline {
    background: transparent;
    border: 2px solid #1C73FF;
    color: #1C73FF;
}

.btn-outline:hover {
    background: #1C73FF;
    color: white;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Footer Styles */
footer {
    background: #222;
    color: #fff;
    padding-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #FF00FF;
}

.footer-section p, .footer-section li {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FF00FF;
}

.footer-section i {
    margin-right: 10px;
    color: #FF00FF;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #FF00FF;
    transform: translateY(-5px);
}

.social-icons i {
    font-size: 1.2rem;
    margin: 0;
    color: white;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px;
    }
    
    .logo img {
        height: 80px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #D30000;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 100px;
        transition: 0.4s;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .donation-form {
        padding: 30px 20px;
    }
}
