 
* {
    font-family: -apple-system, BlinkMacSystemFont, 'Vazirmatn FD NL', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

 

.content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.content h1, .content h2, .content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.content p {
    margin-bottom: 1rem;
}

.content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.social-links a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .carousel-caption {
        display: block !important;
        background: rgba(0,0,0,0.6);
        border-radius: 8px;
        padding: 10px;
    }
    
    .carousel-caption h2 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer {
    margin-top: auto;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* Persian Date Input Styles               */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.persian-date-input {
    font-family: 'Courier New', 'Vazir', monospace !important;
    font-size: 15px !important;
    letter-spacing: 2px;
    text-align: center;
    direction: ltr;
    background: #fff;
    border: 1px solid #d4e0d2;
    border-radius: 8px;
    padding: 10px 14px;
    transition: all 0.2s ease;
}

.persian-date-input:focus {
    outline: none;
    border-color: #6b8f71;
    box-shadow: 0 0 0 3px rgba(107, 143, 113, 0.12);
}

.persian-date-input.is-invalid {
    border-color: #ef4444;
    background: #fef2f2;
}

.persian-date-input.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.date-input-wrapper {
    margin-bottom: 15px;
}

.date-input-wrapper .form-label {
    color: #4a5b4f;
    font-size: 0.85rem;
    margin-bottom: 6px;
    display: block;
}

.date-input-wrapper .input-group {
    display: flex;
    align-items: center;
}

.date-input-wrapper .input-group-text {
    background: #e1ebdf;
    border: 1px solid #d4e0d2;
    border-right: none;
    color: #4a5b4f;
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
}

.date-input-wrapper .persian-date-input {
    border-radius: 8px 0 0 8px;
}

.date-hint {
    display: block;
    margin-top: 4px;
    color: #7a8a7e;
    font-size: 0.75rem;
}