@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600&display=swap');
:root {
    --primary: #2c5f2d;
    --secondary: #97bc62;
    --background: #ffffff;
    --text: #333333;
    --light-gray: #f8f9fa;
    --border: #e0e0e0;
}

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

body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--background);
    direction: rtl;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

header {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    height: 50px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin: 0;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

.social-item a {
    font-size: 0.9rem;
    color: #666;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0;
}

.social-item a:hover {
    color: var(--primary);
}


.banner {
    background: url('../assets/images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
    margin: 0;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .banner {
        height: 150px;
        background-size: cover;
        background-position: center center;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 120px;
        background-size: cover;
        background-position: center center;
    }
}

main {
    padding: 3rem 0;
}

section {
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border);
}

h1, h2, h3 {
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.hero-section h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.hero-section .lead {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    text-align: center;
    color: #555;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.hero-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin: 0;
}

.donate-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
    font-weight: 500;
}

.donate-btn:hover {
    background: #1e4a1f;
}

.support-section {
    background: var(--light-gray);
    border: 1px solid var(--border);
    text-align: center;
}

.support-section h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.support-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.support-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.donate-btn.primary {
    background: var(--primary);
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
    transition: all 0.3s ease;
}

.donate-btn.primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 95, 45, 0.4);
}

.support-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin: 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.content-item {
    background: white;
    border-radius: 6px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.content-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.youtube-content .embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.youtube-content .embed-container iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.telegram-embed,
.instagram-embed {
    max-width: 100%;
    min-height: 300px;
}

.instagram-media {
    background: #FFF;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 0 1px 0 rgba(0,0,0,0.5), 0 1px 10px 0 rgba(0,0,0,0.15);
    margin: 1px;
    max-width: 100%;
    min-width: 326px;
    padding: 0;
    width: calc(100% - 2px);
}

.telegram-preview {
    background: linear-gradient(135deg, #0088cc, #229ed9);
    border-radius: 8px;
    color: white;
    overflow: hidden;
}

.telegram-header {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
}

.telegram-content {
    padding: 1.5rem;
}

.telegram-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.telegram-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-weight: bold;
}

.telegram-join-btn:hover {
    background: rgba(255,255,255,0.3);
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 2rem 0;
}

.embed-container iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .youtube-content {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .content-item {
        padding: 1rem;
    }
    
    .instagram-media {
        min-width: 280px;
    }
}

.bank-details {
    background: var(--background);
    padding: 1rem;
    border-radius: 5px;
    font-family: monospace;
    margin: 1rem 0;
    direction: ltr;
    text-align: left;
}

footer {
    background: #f8f9fa;
    border-top: 1px solid var(--border);
    color: #666;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

.footer-info a {
    color: var(--primary);
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-social a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.footer-social a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

.widget-placeholder {
    border: 1px solid #ddd;
    padding: 1rem;
    margin: 1rem 0;
    background: #f5f5f5;
    text-align: center;
    min-height: 200px;
    border-radius: 8px;
}

/* Donate Page Styles */
.payment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.payment-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2rem;
    transition: border-color 0.2s ease;
    position: relative;
}

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

.payment-card.recommended {
    border-color: var(--primary);
    background: var(--light-gray);
}


.recommended-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.payment-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.payment-subtitle {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem !important;
}

.payment-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.bank-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
    font-style: italic;
}

.donation-amounts {
    margin: 1.5rem 0;
}

.donation-amounts h4 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.1rem;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.amount-btn {
    padding: 1rem;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: bold;
    font-size: 1rem;
}

.amount-btn:hover,
.amount-btn.selected {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
}

.amount-btn.custom {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.amount-btn.custom:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.security-badge,
.privacy-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #e8f5e8;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: var(--primary);
    font-weight: bold;
    font-size: 0.9rem;
}

.security-badge i,
.privacy-note i {
    color: var(--secondary);
}

.impact-section {
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border: 2px solid #b3d9ff;
}

.impact-section h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.impact-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.impact-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-3px);
}

.impact-item .description {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    font-weight: 500;
}

.stripe-btn {
    background: #635bff;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.stripe-btn:hover {
    background: #5a52e8;
}

.thank-you-section {
    background: var(--light-gray);
    border: 1px solid var(--border);
    text-align: center;
    padding: 2rem;
}

.thank-you-section h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.donor-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    line-height: 1;
}

.stat-item .label {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

@media (max-width: 1200px) and (min-width: 769px) {
    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.coming-soon-note {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin: 2rem 0;
    text-align: center;
}

.coming-soon-note p {
    margin: 0;
    color: #6c757d;
    font-style: italic;
}

.coming-soon-note i {
    color: var(--secondary);
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .payment-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .payment-card {
        padding: 1.5rem;
        margin: 0;
    }
    
    .payment-card.recommended {
        transform: none;
    }
    
    .payment-card.recommended:hover {
        transform: translateY(-3px);
    }
    
    
    .trust-indicators {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .impact-items {
        grid-template-columns: 1fr;
    }
    
    .donor-stats {
        gap: 2rem;
    }
    
    .stat-item .number {
        font-size: 2rem;
    }
    
    .recommended-badge {
        right: 10px;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Thanks Page Styles */
.thank-you-hero {
    text-align: center;
    background: var(--light-gray);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
}

.thank-you-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.confirmation-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.confirmation-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.confirmation-details p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    margin: 0;
}

.confirmation-details i {
    color: var(--secondary);
    font-size: 1.2rem;
    width: 20px;
}

.next-steps-section {
    margin: 3rem 0;
}

.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.2s ease;
}

.step-card:hover {
    border-color: var(--primary);
}

.step-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.step-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

.step-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
}

.community-section {
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
    border: 2px solid #b3d9ff;
    border-radius: 10px;
    padding: 2rem;
    margin: 3rem 0;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 2px solid transparent;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.social-link.youtube {
    border-color: #ff0000;
}

.social-link.youtube:hover {
    border-color: #ff0000;
    background: #fff5f5;
}

.social-link.instagram {
    border-color: #e4405f;
}

.social-link.instagram:hover {
    border-color: #e4405f;
    background: #fef7f8;
}

.social-link.telegram {
    border-color: #0088cc;
}

.social-link.telegram:hover {
    border-color: #0088cc;
    background: #f0f8ff;
}

.social-link i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.social-link.youtube i {
    color: #ff0000;
}

.social-link.instagram i {
    color: #e4405f;
}

.social-link.telegram i {
    color: #0088cc;
}

.social-link span {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text);
}

.social-link small {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
}

.final-thanks {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid var(--secondary);
    border-radius: 10px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    text-align: center;
}

.thanks-message h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.thanks-message p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .thank-you-hero {
        padding: 2rem 1rem;
    }
    
    .thank-you-icon {
        font-size: 3rem;
    }
    
    .next-steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .social-links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .final-thanks {
        padding: 2rem 1rem;
    }
    
    .thanks-message h2 {
        font-size: 1.5rem;
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    nav ul {
        display: none;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        background: var(--background);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    nav ul.active {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    nav ul.active .social-item {
        align-self: flex-start;
        margin-right: 2rem;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .logo {
        margin: 0 auto;
        display: block;
    }
    
    header .container {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
