/* General Container */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;600;700&display=swap');

.zakat-guide-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
    text-align: right;
    border-top: 5px solid #1e3a8a;
    /* Deep Blue */
}

/* Header Section */
.zakat-header {
    text-align: center;
    margin-bottom: 30px;
}

.zakat-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.zakat-headline {
    font-size: 2.2rem;
    color: #1e293b;
    margin: 0 0 15px 0;
    line-height: 1.3;
    font-weight: 800;
}

.zakat-subheadline {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.zakat-target-audience {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 0.95rem;
    font-style: italic;
}

/* Form Section */
.zakat-form-wrapper {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.zakat-cta-text {
    text-align: center;
    font-weight: 700;
    color: #b45309;
    /* Bronze/Gold tone */
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #334155;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #1e3a8a;
    outline: none;
}

/* Phone Input Specifics for RTL */
.iti {
    width: 100%;
    direction: ltr;
    /* Phone numbers are LTR */
}

.iti__flag-container {
    right: auto;
    left: 0;
}

.iti__selected-flag {
    border-radius: 8px 0 0 8px;
}

#zakat-phone {
    text-align: left;
    direction: ltr;
}

/* Submit Button */
.zakat-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.zakat-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

/* Thank You Section */
#zakat-thank-you {
    text-align: center;
    padding: 40px 20px;
    direction: rtl;
    max-width: 700px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.thank-you-content h2 {
    color: #166534;
    /* Success Green */
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 700;
}

.thank-you-content p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

.thank-you-content hr {
    border: 0;
    border-top: 2px solid #e2e8f0;
    margin: 30px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
    direction: rtl;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: white !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link.telegram {
    background: #0088cc;
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.linkedin {
    background: #0a66c2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.youtube {
    background: #ff0000;
}

.diploma-btn {
    display: inline-block;
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
    color: white !important;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 15px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(180, 83, 9, 0.3);
}

.diploma-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(180, 83, 9, 0.4);
    background: linear-gradient(135deg, #92400e 0%, #b45309 100%);
}

/* Loading and Messages */
.zakat-loader {
    text-align: center;
    color: #1e3a8a;
    font-weight: 600;
    margin-top: 15px;
}

.zakat-message {
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 600px) {

    .zakat-guide-container,
    #zakat-thank-you {
        padding: 20px;
        margin: 20px 10px;
    }

    .zakat-headline {
        font-size: 1.6rem;
    }

    .social-links {
        gap: 8px;
    }

    .social-link {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}