/* Donate Page Specific Styles */

/* ENHANCED NAVIGATION DROPDOWN STYLES - Only fixing alignment and transitions */
.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.nav-menu .dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-menu .dropdown:hover .dropdown-icon,
.nav-menu .dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Desktop Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-top: 3px solid #4BAC24;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    margin-right: 10px; /* Added 10px margin to the right */
}

.dropdown-menu a:hover {
    background: rgba(75, 172, 36, 0.1);
    color: #4BAC24;
    border-left-color: #4BAC24;
    padding-left: 25px;
    transform: translateX(5px);
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(75, 172, 36, 0.05);
        border-radius: 0;
        margin-top: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
        border-top: none;
    }

    .dropdown.active .dropdown-menu {
        max-height: 200px;
        padding: 0.5rem 0;
    }

    .dropdown-menu a {
        padding: 10px 15px 10px 30px;
        font-size: 0.9rem;
        margin-right: 0;
        border-left: none;
        border-bottom: 1px solid rgba(75, 172, 36, 0.1);
    }

    .dropdown-menu a:hover {
        background: rgba(75, 172, 36, 0.15);
        padding-left: 35px;
        transform: none;
        border-left: none;
    }

    .dropdown-menu li:last-child a {
        border-bottom: none;
    }
}

/* Donate Hero Section */
.donate-hero {
    height: 60vh;
    background: linear-gradient(rgba(75, 172, 36, 0.8), rgba(44, 62, 80, 0.8)),
                url('../images/hero-about.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    min-height: 400px;
    margin-top: 120px;
}

.donate-hero .hero-content {
    max-width: 700px;
    padding: 2rem;
}

.donate-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-style: italic;
}

.donate-hero .hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.5;
}

/* Main Donate Section */
.donate-main {
    padding: 4rem 0;
    background: #f8f9fa;
}

.donate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Donate Information Section */
.donate-info h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-family: 'Times New Roman', serif;
    font-weight: 400;
}

.donate-info p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Impact Stats */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4BAC24;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Donation Benefits */
.donation-benefits {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.donation-benefits h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.donation-benefits ul {
    list-style: none;
}

.donation-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
}

.donation-benefits i {
    color: #4BAC24;
    width: 20px;
    text-align: center;
}

/* Donation Form Container */
.donation-form-container {
    position: sticky;
    top: 140px;
}

.donation-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 4px solid #4BAC24;
}

.donation-form h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

/* Donation Amount Buttons */
.donation-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.amount-btn {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    background: white;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover {
    border-color: #4BAC24;
    background: rgba(75, 172, 36, 0.1);
}

.amount-btn.active {
    border-color: #4BAC24;
    background: #4BAC24;
    color: white;
}

/* Custom Amount */
.custom-amount {
    margin-bottom: 2rem;
}

.custom-amount label {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.custom-amount input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.custom-amount input:focus {
    outline: none;
    border-color: #4BAC24;
}

/* Donation Type */
.donation-type {
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
}

.donation-type label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #2c3e50;
}

.donation-type input[type="radio"] {
    accent-color: #4BAC24;
}

/* Donor Information */
.donor-info h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4BAC24;
}

/* Gift Aid */
.gift-aid {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    color: #555;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    accent-color: #4BAC24;
}

.checkbox-text {
    font-size: 0.9rem;
}

/* Donate Button */
.donate-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #4BAC24, #3d8b1f);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.donate-btn:hover {
    background: linear-gradient(135deg, #3d8b1f, #2c6914);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 172, 36, 0.3);
}

.donate-btn:active {
    transform: translateY(0);
}

/* Secure Notice */
.secure-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.secure-notice i {
    color: #4BAC24;
}

/* Other Ways Section */
.other-ways {
    padding: 4rem 0;
    background: white;
}

.other-ways h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-family: 'Times New Roman', serif;
    font-weight: 400;
}

.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.way-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.way-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.way-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(75, 172, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.way-item:hover .way-icon {
    background: #4BAC24;
}

.way-icon i {
    font-size: 2rem;
    color: #4BAC24;
    transition: color 0.3s ease;
}

.way-item:hover .way-icon i {
    color: white;
}

.way-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.way-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.way-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #4BAC24;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.way-link:hover {
    background: #3d8b1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(75, 172, 36, 0.3);
}

/* Testimonial Section */
.testimonial-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #4BAC24, #3d8b1f);
    color: white;
    text-align: center;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial blockquote {
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 2rem;
}

.testimonial blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Times New Roman', serif;
}

.testimonial cite {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
    font-weight: 400;
}

.cta-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* RESPONSIVE DESIGN */

/* Large Desktop */
@media (max-width: 1400px) {
    .donate-hero .hero-title {
        font-size: 3rem;
    }
    
    .donate-content {
        gap: 3rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .donate-hero .hero-title {
        font-size: 2.8rem;
    }
    
    .donate-hero .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .donate-content {
        gap: 2.5rem;
    }
    
    .impact-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .donate-hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .donate-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .donate-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .donation-form-container {
        position: static;
    }
    
    .impact-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .ways-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .donate-main {
        padding: 3rem 0;
    }
    
    .donate-hero {
        margin-top: 100px;
        height: 45vh;
        min-height: 300px;
    }
    
    .donate-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .donate-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .donate-info h2 {
        font-size: 2rem;
    }
    
    .donation-form {
        padding: 1.5rem;
    }
    
    .donation-amounts {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .donation-type {
        flex-direction: column;
        gap: 1rem;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .other-ways h2 {
        font-size: 2rem;
    }
    
    .testimonial blockquote {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile Landscape */
@media (max-width: 640px) {
    .donate-hero {
        height: 40vh;
        min-height: 280px;
    }
    
    .donate-hero .hero-title {
        font-size: 2rem;
    }
    
    .donate-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .donate-main {
        padding: 2rem 0;
    }
    
    .other-ways {
        padding: 3rem 0;
    }
    
    .testimonial-section {
        padding: 3rem 0;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .donate-hero {
        height: 35vh;
        min-height: 250px;
    }
    
    .donate-hero .hero-content {
        padding: 1rem;
    }
    
    .donate-hero .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .donate-hero .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .donate-info h2 {
        font-size: 1.6rem;
    }
    
    .donate-info p {
        font-size: 1rem;
    }
    
    .donation-form {
        padding: 1rem;
    }
    
    .donation-form h3 {
        font-size: 1.3rem;
    }
    
    .amount-btn {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .donate-btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .donation-benefits {
        padding: 1.5rem;
    }
    
    .donation-benefits li {
        font-size: 0.9rem;
    }
    
    .way-item {
        padding: 1.5rem;
    }
    
    .way-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .way-icon i {
        font-size: 1.5rem;
    }
    
    .way-item h3 {
        font-size: 1.2rem;
    }
    
    .testimonial blockquote {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .testimonial blockquote::before {
        font-size: 3rem;
        top: -0.5rem;
        left: -0.3rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 320px) {
    .donate-hero .hero-title {
        font-size: 1.5rem;
    }
    
    .donate-hero .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .donate-info h2 {
        font-size: 1.4rem;
    }
    
    .other-ways h2 {
        font-size: 1.6rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .donation-form h3 {
        font-size: 1.1rem;
    }
    
    .amount-btn {
        font-size: 0.9rem;
    }
}