/* Import Koodak font for Persian text */
@font-face {
    font-family: 'Koodak';
    src: url('/static/fonts/BKoodakBold.woff') format('woff'),
         url('/static/fonts/BKoodakBold.eot') format('eot'),
         url('/static/fonts/BKoodakBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Custom styles for the application */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar-brand {
    font-weight: bold;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card-no-shadow {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.15s ease-in-out;
}

/* Dropdown hover functionality */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-nav .dropdown-menu {
    margin-top: 0;
}

/* Custom dropdown styling */
.custom-dropdown {
    border: 10px solid #315d37;
    border-radius: 0px;
    border-top: 0px;
    border-bottom: 0px;
    border-right: 0px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
}

.custom-dropdown .dropdown-item {
    font-weight: 700;
}

/* Persian font styling */
.persian, [lang="fa"], [dir="rtl"] {
    font-family: 'Koodak', 'Tahoma', 'Arial', sans-serif;
    direction: rtl;
    text-align: right;
    font-size: 1.2em;
}

.persian-simple {
    font-family: 'Koodak', 'Tahoma', 'Arial', sans-serif;
    font-size: 1.2em;
}

.persian-font {
    font-family: 'Koodak', 'Tahoma', 'Arial', sans-serif;
    direction: rtl;
}

/* Apply Persian font to elements containing Persian text */
*:lang(fa) {
    font-family: 'Koodak', 'Tahoma', 'Arial', sans-serif;
    font-size: 1.2em;
}

.arabic-text, [lang="ar"] {
    font-family: 'Koodak', 'Tahoma', 'Arial', sans-serif;
    direction: rtl;
    text-align: right;
    font-size: 1.2em;
}

/* Custom alert-info styling - light green instead of light blue */
.alert-info {
    background-color: #d1f2d1 !important;
    border-color: #d1f2d1 !important;
    color: #155724 !important;
}

/* Desktop-only background color for footer */
@media (min-width: 768px) {
    .desktop-bg-gray {
        background-color: #f9fafd;
    }
}

/* Desktop-only ms-10 */
@media (min-width: 1025px) {
    .desktop-ms-10 {
        margin-left: 13.5rem !important;
    }
}

.custom-bg-light-gray {
    background-color: #f9f9f9;
}

.bg-secondary-gradient{
  background: linear-gradient(90deg,rgba(254, 190, 21, 1), rgba(254, 122, 21, 1));
}
/* Service Card Gradients */
.service-marriage { background: linear-gradient(135deg, #0F766ECC 0%, #134E4AE6 100%); }
.service-hajj { background: linear-gradient(135deg, #0891B2CC 0%, #0E7490E6 100%); }
.service-counselling { background: linear-gradient(135deg, #1E40AFCC 0%, #1E3A8AE6 100%); }
.service-burial { background: linear-gradient(135deg, #374151CC 0%, #1F2937E6 100%); }
.service-camping { background: linear-gradient(135deg, #059669CC 0%, #047857E6 100%); }
.service-booking { background: linear-gradient(135deg, #166534CC 0%, #14532DE6 100%); }

.bg-primary-gradient .p-3 p:last-child {
    display: none;
}