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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
    text-align: right;
    direction: rtl;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 25px;
}

/* Modal Positioning */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 450px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    text-align: center;
}

.modal-content h3 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* Input Styles */
.input-group { margin-bottom: 15px; }
.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    text-align: right;
}

.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    font-size: 0.95rem;
}

/* Captcha Center Alignment */
.captcha-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* Button Styles */
.btn-submit {
    width: 100%;
    background: #007bff;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
}

.btn-cancel {
    width: 100%;
    background: #e0e0e0;
    color: #333;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.hero button {
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.hero button:hover {
    background-color: #e68a00;
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 30px 20px;
    background: white;
    margin: 20px auto;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stats div {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 10px;
}

/* Progress Bar */
.progress {
    max-width: 1000px;
    height: 25px;
    background-color: #ddd;
    margin: 20px auto;
    border-radius: 15px;
    overflow: hidden;
}

.progress div {
    height: 100%;
    background-color: #4caf50;
    text-align: center;
    color: white;
    transition: width 0.5s ease-in-out;
}

/* Donation Table Container */
.table-container {
    max-width: 1000px;
    margin: 40px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #f8f9fa;
    color: #1e3c72;
}

/* Blurred & Unlock Styles */
.blurred {
    filter: blur(10px);
    pointer-events: none;
    user-select: none;
}

.unlock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    z-index: 5;
}

.unlock-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 90%;
}

/* FAQ Styles */
.faq {
    max-width: 1000px;
    margin: 40px auto;
}

.faq-item {
    background: white;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    padding: 15px;
    text-align: right;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 15px 15px;
    display: none;
    color: #666;
    border-top: 1px solid #f4f4f4;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: #777;
}

footer a {
    display: inline-block;
    margin-top: 15px;
    color: #25d366; /* WhatsApp Green */
    text-decoration: none;
    font-weight: bold;
}

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

.modal form {
    background: white;
    width: 90%;
    max-width: 500px;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
}

.modal h3 {
    margin-bottom: 20px;
    color: #1e3c72;
}

.modal input, .modal select, .modal textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .stats {
        flex-direction: column;
        align-items: center;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
}