/* 
   DONATE PAGE SPECIFIC STYLES
    */

.page-header {
    padding: 60px 0 50px;
    background: linear-gradient(
        135deg,
        rgba(27, 67, 50, 0.92) 0%,
        rgba(45, 106, 79, 0.85) 50%,
        rgba(27, 67, 50, 0.92) 100%
    ),
    url('../images/programs/food.jpg') center/cover no-repeat;
    border-bottom: none;
}
.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
}
.page-subtitle {
    font-size: 1.1rem;
    color: #ffffff;
}
/* 
   NAVBAR - FLEXBOX DESIGN
    */

.navbar {
    background: rgba(255, 255, 255, 0.98);
    padding: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
}

/* 
   BRAND / LOGO
    */

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-brand i {
    font-size: 1.8rem;
    color: #2D6A4F;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1B4332;
    letter-spacing: -0.5px;
}

.brand-family {
    font-size: 1.2rem;
    font-weight: 300;
    color: #6C757D;
    letter-spacing: -0.3px;
}

/* 
   HAMBURGER MENU BUTTON
    */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: #1A1A1A;
    border-radius: 10px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation (when open) */
.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 7px);
    background: #2D6A4F;
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
    background: #2D6A4F;
}

/* 
   NAVIGATION LINKS
    */

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: all 0.4s ease;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links li a {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #1A1A1A;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links li a:hover {
    color: #2D6A4F;
    background: #D8F3DC;
}

.nav-links li a.active {
    color: #2D6A4F;
    background: #D8F3DC;
    font-weight: 600;
}

/* Underline effect for active link (desktop) */
.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #2D6A4F;
    border-radius: 10px;
}

/* 
   DONATE BUTTON IN NAV
    */

.btn-donate-nav {
    background: #2D6A4F !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.25);
}

.btn-donate-nav:hover {
    background: #1B4332 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 106, 79, 0.35);
}

.btn-donate-nav i {
    margin-right: 8px;
}

/* 
   RESPONSIVE - MOBILE & TABLET
    */

/* Tablet and Mobile (768px and below) */
@media (max-width: 768px) {
    .nav-container {
        height: 64px;
        padding: 0 16px;
    }

    /* Show Hamburger */
    .nav-toggle {
        display: flex;
    }

    /* Hide nav links by default on mobile */
    .nav-links {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 16px 20px 24px;
        gap: 4px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }

    /* Show nav links when open */
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: flex;
        justify-content: center;
        padding: 12px 16px;
        width: 100%;
        font-size: 1rem;
        border-radius: 8px;
        text-align: center;
    }

    .nav-links li a:hover {
        background: #D8F3DC;
        color: #2D6A4F;
    }

    /* Remove underline effect on mobile */
    .nav-links li a.active::after {
        display: none;
    }

    /* Donate button in mobile menu */
    .btn-donate-nav {
        justify-content: center !important;
        padding: 14px 20px !important;
        margin-top: 4px;
        width: 100% !important;
        text-align: center !important;
    }

    /* Brand size adjustment */
    .brand-name {
        font-size: 1.2rem;
    }

    .brand-family {
        font-size: 1rem;
    }

    .nav-brand i {
        font-size: 1.5rem;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .nav-container {
        height: 56px;
        padding: 0 12px;
    }

    .nav-links {
        top: 56px;
        padding: 12px 16px 20px;
        max-height: calc(100vh - 56px);
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-family {
        font-size: 0.85rem;
    }

    .nav-brand i {
        font-size: 1.3rem;
    }

    .nav-links li a {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .btn-donate-nav {
        padding: 12px 16px !important;
        font-size: 0.85rem !important;
    }
}
.donate-section {
    padding: 60px 0;
}
.donate-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e9edf2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    max-width: 700px;
    margin: 0 auto;
}
.donate-card h3 {
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 8px;
}
.donate-card .donate-subtitle {
    color: #6C757D;
    margin-bottom: 24px;
}
.info-box {
    background: #D8F3DC;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.info-box i {
    color: #2D6A4F;
    font-size: 1.5rem;
}
.info-box span {
    color: #1A1A1A;
}
.amount-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.amount-btn {
    padding: 10px 24px;
    border: 2px solid #e9edf2;
    border-radius: 10px;
    background: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: #1A1A1A;
}
.amount-btn:hover,
.amount-btn.active {
    border-color: #2D6A4F;
    background: #D8F3DC;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1A1A1A;
    display: block;
    margin-bottom: 4px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dce0e5;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}
.form-control:focus {
    border-color: #2D6A4F;
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 16px;
}
.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2D6A4F;
}
.checkbox-group label {
    font-weight: 500;
    color: #1A1A1A;
    margin: 0;
}
.btn-donate-submit {
    background: #F4A261;
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    cursor: pointer;
}
.btn-donate-submit:hover {
    background: #E76F51;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 162, 97, 0.4);
}
.btn-donate-submit i {
    margin-right: 10px;
}
.donate-info {
    margin-top: 40px;
    text-align: center;
}
.donate-info .payment-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 16px 0;
}
.donate-info .payment-icons span {
    font-size: 0.9rem;
    color: #6C757D;
    display: flex;
    align-items: center;
    gap: 8px;
}
.donate-info .payment-icons i {
    font-size: 1.5rem;
    color: #2D6A4F;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title { font-size: 2rem; }
    .donate-card { padding: 24px; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .page-title { font-size: 1.5rem; }
    .donate-card { padding: 16px; }
    .amount-btn { padding: 8px 16px; font-size: 0.85rem; }
}