﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #f8f9fa;
    direction: rtl;
}
html, body {
    height: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* ==== الهيدر ==== */
.main-navbar {
    background: linear-gradient(to right, #1e365c, #2f4d78);
    padding: 0.4rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: all 0.3s ease;
}

/* الشعار والعنوان */
.main-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 8px;
}

.brand-text {
    font-weight: 550;
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.2px;
}

/* روابط القائمة */
.nav-link {
    color: #f1f1f1 !important;
    font-size: 15px;
    margin: 0 10px;
    font-weight: 500;
    transition: 0.3s;
}

    .nav-link:hover {
        color: #c69736 !important;
        border-bottom: 2px solid #c69736;
    }

/* الأزرار */
.btn {
    font-family: "Cairo", Tahoma, sans-serif;
    font-weight: 400;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-gold {
    background-color: #c69736;
    color: #fff;
    border: none;
    padding: 6px 14px;
}

    .btn-gold:hover {
        background-color: #b6882e;
        color: #fff;
    }

.btn-outline-light {
    color: #fff;
    border: 1px solid #fff;
    padding: 6px 14px;
}

    .btn-outline-light:hover {
        background-color: #fff;
        color: #1e365c;
    }

.nav-buttons a {
    margin-left: 10px;
}

/* ===== ملف البروفايل (UserProfileView) ===== */
.user-dropdown {
    position: relative;
}

.user-toggle {
    display: flex;
    align-items: center;
    gap: 8px; /* المسافة بين الصورة والاسم */
    font-weight: 500;
    transition: color 0.3s ease;
}

    .user-toggle:hover {
        color: #f8f9fa;
    }

.user-img-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    flex-shrink: 0;
}

.user-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
}

/* شكل القائمة المنسدلة */
.dropdown-menu {
    border-radius: 10px;
    min-width: 160px;
    border: none;
    position: absolute;
    right: auto !important;
    left: -70px; /* اتحركت أكتر ناحيـة الشمال */
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    text-align: right;
    transition: all 0.3s ease-in-out;
}

.dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    /* تأثير الإطار الأبيض لعناصر القائمة المنسدلة عند الضغط أو التركيز */
    .dropdown-item:focus,
    .dropdown-item:active {
        outline: none !important;
        box-shadow: 0 0 0 2px #fff !important; /* إطار أبيض */
        background-color: transparent !important;
    }

    .dropdown-item:hover {
        background-color: #f2f2f2;
    }

.dropdown-divider {
    margin: 5px 0;
}

/* ===== الموبايل ===== */
@media (max-width: 992px) {
    .navbar-brand {
        justify-content: flex-start;
    }

    .navbar-toggler {
        order: 3;
        border-color: rgba(255,255,255,0.5);
        outline: none;
        box-shadow: none;
        transition: box-shadow 0.3s ease;
    }

        .navbar-toggler:focus {
            outline: none;
            box-shadow: 0 0 0 2px #fff; /* إطار أبيض عند الضغط */
        }

    .brand-text {
        font-size: 14px;
    }

    .nav-buttons a {
        width: 100%;
        margin: 6px 0;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    #mobileMenu {
        background-color: #1e365c;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        padding: 15px 0;
        z-index: 1040;
        transition: all 0.3s ease-in-out;
    }

        #mobileMenu.show {
            display: flex;
        }

        #mobileMenu .nav-link {
            color: #fff !important;
            font-size: 16px;
            padding: 10px 15px;
        }

            #mobileMenu .nav-link:hover {
                color: #c69736 !important;
            }

        #mobileMenu .btn {
            margin: 5px 15px;
        }

    .user-toggle {
        gap: 8px;
    }

    .user-img-wrapper {
        width: 36px;
        height: 36px;
    }

    .user-name {
        font-size: 14px;
    }
}

/* أيقونة العين على اليسار */
.toggle-password {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.2s ease;
    z-index: 10;
}

    .toggle-password:hover {
        color: #1e365c;
        transform: translateY(-50%) scale(1.1);
    }

/* النص يبدأ من أقصى الشمال مع ترك مساحة للأيقونة على اليسار */
input.form-control[type="password"] {
    padding-left: 2.5rem;
    text-align: left;
    direction: ltr;
}

@media (min-width: 992px) {
    #navbarNav {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}



/*footer Design*/


/* ==== الفوتر ==== */
footer {
    margin-top: auto;
}

.footer-section {
    background: linear-gradient(to right, #1e365c, #2f4d78);
    color: #f9f9f9;
    padding: 60px 0 20px;
    font-family: "Cairo", sans-serif;
    direction: rtl;
    position: relative;
    overflow: hidden;
}

.footer-overlay {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 20px;
    border-top: 4px solid #c69736;
}

.footer-title {
    color: #c69736;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-about {
    font-size: 15px;
    line-height: 1.8;
    color: #eee;
}

.footer-slogan {
    color: #c69736;
    font-weight: 600;
    margin-top: 15px;
}

.footer-subtitle {
    color: #c69736;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-list,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-list li,
    .footer-contact li {
        margin-bottom: 10px;
        color: #f1f1f1;
        transition: color 0.3s ease;
    }

        .footer-list li:hover,
        .footer-contact li:hover {
            color: #c69736;
        }

    .footer-contact i {
        color: #c69736;
        margin-left: 8px;
    }

.footer-social {
    margin-top: 15px;
}

    .footer-social a {
        display: inline-block;
        border: 2px solid #c69736;
        color: #c69736;
        width: 40px;
        height: 40px;
        line-height: 38px;
        border-radius: 50%;
        text-align: center;
        margin: 5px;
        font-size: 18px;
        transition: all 0.3s ease;
    }

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 20px 0;
}

.footer-bottom {
    color: #ccc;
    font-size: 14px;
    margin-top: 10px;
}

/* توزيع الأعمدة بالتساوي */
.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

/* الأعمدة */
.footer-col {
    flex: 1;
    min-width: 250px;
}

/* تعديل المسافة بين العمود الأول والثاني في الشاشات الكبيرة */
@media (min-width: 992px) {
    .footer-col:first-child {
        margin-left: 60px; /* زيادة المسافة من اليسار (في RTL تعني بين الأول والثاني) */
    }
}

/* الاستجابة للشاشات الصغيرة */
@media (max-width: 767px) {
    .footer-section {
        text-align: center;
    }

    .footer-row {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-col:first-child {
        margin-left: 0 !important; /* إلغاء المسافة في الموبايل */
    }

    .footer-social a {
        margin: 5px 8px;
    }
}


.phone-inputReg-rtl {
    /* تحديد اتجاه الكتابة من اليسار لليمين */
    direction: rtl;
    /* محاذاة النص لليسار */
    text-align: right;
}


/*service*/
.services {
    background: linear-gradient(135deg, #f7f9fc 0%, #eef2f7 100%);
    font-family: 'Cairo', sans-serif;
    padding: 50px 0;
    text-align: center;
}

/* العنوان */
.main-title {
    color: #1e365c;
    font-weight: 800; /* ثابت على كل الشاشات */
    font-size: 2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
    line-height: 1.2;
    text-align: center;
}

    .main-title::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 90px;
        height: 3px;
        background: linear-gradient(90deg, #c69732, #e4b54c);
        border-radius: 4px;
    }

/* الكارت */
.service-card {
    width: 100%;
    max-width: 330px;
    min-height: 430px; /* لضبط الارتفاع الكلي */
    background: #fff;
    border-radius: 20px;
    border-top: 5px solid #c69732;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
}

    .service-card:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }

/* الصورة */
.image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #f0f0f0;
}

    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.service-card:hover .image-container img {
    transform: scale(1.08);
}

/* النصوص */
.card-body {
    padding: 1.4rem;
}

.card-title {
    color: #1e365c;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* الوصف مقصوص 3 أسطر مع ريسبونسف */
.card-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.3rem;
    max-height: calc(1.6rem * 3); /* 3 أسطر تقريبًا */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

/* الزر */
.custom-btn {
    display: inline-block; /* لتجنب أي خط تحته */
    text-decoration: none; /* يلغّي أي underline */
    background: linear-gradient(135deg, #c69732, #e4b54c);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    cursor: pointer;
    transition: all 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 18px rgba(198, 151, 50, 0.35);
}

    .custom-btn:hover {
        background: linear-gradient(135deg, #b88a2d, #d6a33f);
        transform: scale(1.06);
        box-shadow: 0 8px 22px rgba(198, 151, 50, 0.5);
    }

/* أنيميشن عند التمرير */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* المسافات بين الكروت */
.row.g-4 {
    row-gap: 2.5rem !important;
}

/* ريسبونسف */
@media (max-width: 991px) {
    .service-card {
        max-width: 90%;
    }

    .card-description {
        font-size: 0.93rem;
        max-height: calc(1.5rem * 3);
    }
}

@media (max-width: 767px) {
    .main-title {
        font-size: 1.6rem; /* ثابت ومتناسق */
    }

    .card-description {
        font-size: 0.9rem;
        max-height: calc(1.4rem * 3);
    }
}


/*About use Page*/

.about-us {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #f7f9fc 0%, #eef2f7 100%);
   
    padding: 50px 0px;
}

    .about-us .section-title {
        color: #1e365c;
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 50px;
        position: relative;
        line-height: 1.2;
        text-align: center;
    }

.about-us .section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #c69732, #e4b54c);
    border-radius: 4px;
}



.about-us .section-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e365c;
}

.about-us .intro {
    margin-bottom: 50px;
}

.about-us .intro-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.about-us p, .about-us li {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.about-us ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 30px;
}

.about-us ul li {
    margin-bottom: 10px;
}

.about-us .final-slogan {
    margin-top: 40px;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    color: #c69732;
}

@media (max-width: 991px) {
    .about-us .section-title {
        font-size: 1.8rem;
    }
    .about-us .section-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .about-us .section-title {
        font-size: 1.6rem;
    }
    .about-us .section-subtitle {
        font-size: 1.2rem;
    }
    .about-us .intro {
        flex-direction: column;
    }
    .about-us .intro-img {
        margin-bottom: 20px;
    }
}

/*Contact Page*/

.contact-us {
    background: linear-gradient(135deg, #f7f9fc 0%, #eef2f7 100%);
    font-family: 'Cairo', sans-serif;
    padding: 50px 0;
}

    .contact-us .section-title {
        color: #1e365c;
        font-size: 2rem;
        font-weight: 700;
        text-align: center;
        margin-bottom: 20px;
        position: relative;
        line-height: 1.2;
    }

        .contact-us .section-title::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: #c69736;
            border-radius: 2px;
        }

    .contact-us .contact-intro {
        text-align: center;
        margin-bottom: 30px;
        font-size: 1rem;
        color: #555;
    }

    .contact-us .contact-form {
        max-width: 700px;
        margin: 0 auto;
    }

        .contact-us .contact-form label {
            font-weight: 600;
            margin-bottom: 8px;
        }

        .contact-us .contact-form input,
        .contact-us .contact-form textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 1rem;
            outline: none;
            transition: all 0.3s ease;
        }

            .contact-us .contact-form input:focus,
            .contact-us .contact-form textarea:focus {
                border-color: #c69736;
                box-shadow: 0 0 5px rgba(198,151,54,0.4);
            }

    .contact-us .btn-submit {
        background: linear-gradient(90deg, #c69736, #e4b54c);
        border: none;
        padding: 12px 25px;
        color: #fff;
        font-size: 0.9rem;
        font-weight: 550;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .contact-us .btn-submit:hover {
            opacity: 0.9;
        }

@media (max-width: 767px) {
    .contact-us .contact-form {
        padding: 0 15px;
    }
}

/*darb-hero Page*/

.consultation-details {
    background: linear-gradient(135deg, #fafafa 0%, #f0f4f8 100%);
    font-family: 'Cairo', sans-serif;
    color: #333;
}

    .consultation-details .consultation-description {
        max-width: 800px;
        margin: 0 auto;
        color: #555;
        font-size: 1.1rem;
        line-height: 1.9;
    }

    .consultation-details .sub-title {
        color: #1e365c;
        font-weight: 800;
        font-size: 1.6rem;
    }

/* بطاقة المستشار */
    .consultation-details .consultant-card {
        background: #fff;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(198,151,50,0.15);
        transition: all 0.4s ease;
        max-width: 340px;
        padding-top: 20px;
    }

        .consultation-details .consultant-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 25px rgba(198,151,50,0.3);
        }

    /* إطار ذهبي حول الصورة */
        .consultation-details .consultant-card .image-container {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            border: 4px solid #c69732;
            overflow: hidden;
            margin: 0 auto 15px auto;
            box-shadow: 0 0 12px rgba(198,151,50,0.3);
        }

    .consultation-details .consultation-detailsconsultant-card .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
    }

    .consultation-details .consultant-card:hover .image-container img {
        transform: scale(1.08);
    }

    .consultation-details .consultant-name {
        color: #1e365c;
        font-weight: 700;
        font-size: 1.2rem;
    }

    .consultation-details .consultant-bio {
        color: #555;
        font-size: 0.95rem;
        margin-bottom: 1rem;
        min-height: 70px;
    }

    .consultation-details .consultant-price {
        color: #c69732;
        font-weight: bold;
        margin-bottom: 1.2rem;
    }

    .consultation-details .custom-btn {
        background: linear-gradient(135deg, #c69732, #e4b54c);
        color: #fff;
        font-weight: 700;
        font-size: 1rem;
        border: none;
        border-radius: 12px;
        padding: 10px 24px;
        text-decoration: none;
        box-shadow: 0 6px 18px rgba(198,151,50,0.35);
        transition: all .3s ease;
    }

        .consultation-details .custom-btn:hover {
            background: linear-gradient(135deg, #b88a2d, #d6a33f);
            transform: scale(1.06);
            box-shadow: 0 8px 22px rgba(198,151,50,0.5);
        }

/* استجابة */
@media (max-width: 767px) {
    .consultation-details .consultant-card {
        max-width: 100%;
        margin-bottom: 20px;
    }

        .consultation-details .consultant-card .image-container {
            width: 130px;
            height: 130px;
        }
}

/* --- Appointment General Section --- */
.appointments-section {
    background: linear-gradient(135deg, #f7f9fc 0%, #eef2f7 100%);
    font-family: 'Cairo', sans-serif;
    padding: 50px 0;
    text-align: center;
}


.main-title {
    color: #1e365c;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    position: relative;
}

    .main-title::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background-color: #c69736;
        border-radius: 2px;
    }

/* --- Appointment Card --- */
.appointment-card {
    background: #fff;
    border: 3px solid #c69736;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 25px 20px;
    width: 100%;
    max-width: 340px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .appointment-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(198,151,54,0.25);
    }

.appointment-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.time-range {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e365c;
    margin-bottom: 10px;
    text-align: center;
}

.date-text {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 20px;
    text-align: center;
}

/* --- Status Button --- */
.status.available {
    display: inline-block;
    font-weight: 600;
    border-radius: 30px;
    padding: 10px 25px;
    font-size: 0.95rem;
    background-color: #c69736;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(198,151,54,0.4);
    transition: all 0.3s ease;
}

    .status.available:hover {
        background-color: #b1842f;
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(198,151,54,0.5);
    }

/* --- Animation --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .main-title {
        font-size: 1.6rem;
    }

    .appointment-card {
        padding: 20px 15px;
    }

    .status.available {
        font-size: 0.9rem;
    }
}

/*Hero page*/

/* Hero Section */
.darb-hero {
    background: url('../uploads/images/homeMain.jpeg') center/cover no-repeat;
    color: #fff;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-family: 'Cairo', sans-serif;
}

.darb-hero-overlay {
    background: rgba(0, 0, 0, 0.55);
    padding: 60px;
    border-radius: 20px;
    max-width: 800px;
}

.darb-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.darb-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
.darb-hero .carousel-btn {
    display: none !important;
}


.darb-btn {
    background: #c69736;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

    .darb-btn:hover {
        background: #b3872f;
    }

/* Services Section */
.darb-services {
    background: #fff;
    font-family: 'Cairo', sans-serif;
}

.darb-section-title {
    text-align: center;
    font-weight: 700;
    color: #1e365c;
    margin-bottom: 50px;
    position: relative;
    font-size: 2rem;
}

    .darb-section-title::after {
        content: "";
        width: 80px;
        height: 4px;
        background: #c69736;
        border-radius: 2px;
        position: absolute;
        left: 50%;
        bottom: -10px;
        transform: translateX(-50%);
    }


/* Service Cards */
.darb-service-card {
    background: #fff;
    border: 2px solid #c69736;
    border-radius: 12px;
    padding: 25px 10px;
    box-shadow: 0 4px 10px rgba(198, 151, 54, 0.15);
    transition: all 0.3s ease;
    width: 180px;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .darb-service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 20px rgba(198, 151, 54, 0.25);
    }

.darb-icon-wrapper {
    font-size: 32px;
    color: #c69736;
    background: rgba(198, 151, 54, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.darb-service-card h4 {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

/* Consultants Section */
.darb-consultants {
    background: #f9f7f5;
    padding-top: 50px;
}

    .darb-consultants .darb-consultants-title {
        text-align: center;
        font-weight: 700;
        color: #1e365c;
        margin-bottom: 50px;
        position: relative;
        font-size: 2rem;
    }

        .darb-consultants .darb-consultants-title::after {
            content: "";
            width: 80px;
            height: 4px;
            background: #c69736;
            border-radius: 2px;
            position: absolute;
            left: 50%;
            bottom: -10px;
            transform: translateX(-50%);
        }
.darb-consultants-carousel-wrapper {
    position: relative;
    padding: 0 40px;
}

.darb-consultants-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

    .darb-consultants-carousel::-webkit-scrollbar {
        height: 8px;
    }

    .darb-consultants-carousel::-webkit-scrollbar-thumb {
        background-color: #c69736;
        border-radius: 4px;
    }

.darb-consultant-card {
    flex: 0 0 200px;
    background: #fff;
    border: 2px solid #c69736;
    border-radius: 12px;
    padding: 20px 10px;
    box-shadow: 0 4px 12px rgba(198, 151, 54, 0.15);
    transition: all 0.3s ease;
}

    .darb-consultant-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(198, 151, 54, 0.25);
    }

.darb-consultant-img {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
}

    .darb-consultant-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.darb-consultant-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.darb-consultant-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #c69736;
    border: none;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    z-index: 10;
}

.left-btn {
    left: 0;
}

.right-btn {
    right: 0;
}

/* Services carousel for small screens */
.darb-services-carousel-wrapper {
    display: none;
}

.darb-services-carousel {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

    .darb-services-carousel::-webkit-scrollbar {
        height: 6px;
    }

    .darb-services-carousel::-webkit-scrollbar-thumb {
        background-color: #c69736;
        border-radius: 3px;
    }

/* Responsive */
@media (max-width: 992px) {
    .darb-hero {
        height: auto;
        padding: 80px 20px;
    }

        .darb-hero h1 {
            font-size: 2rem;
        }

        .darb-hero p {
            font-size: 1rem;
        }

    .darb-service-card {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }

    .darb-consultant-card {
        flex: 0 0 150px;
    }
}

@media (max-width: 576px) {
    .darb-icon-wrapper {
        font-size: 28px;
        width: 55px;
        height: 55px;
    }

    .darb-service-card h4 {
        font-size: 1rem;
    }

    .darb-consultant-card h4 {
        font-size: 1rem;
    }

    .darb-consultant-card p {
        font-size: 0.85rem;
    }

    /* Services carousel يظهر بدل الصف */
    .darb-services .row {
        display: none;
    }

    .darb-services-carousel-wrapper {
        display: block;
    }
}
/* 🔹 إخفاء الأسهم (أزرار الكاروسيل) نهائيًا */
.carousel-btn,
.left-btn,
.right-btn {
    display: none !important;
}

/* ========== قسم من نحن ========== */
.about-section {
    background-color: #f9f7f5;
    font-family: "Cairo", sans-serif;
    direction: rtl;
}

.about-image {
    border: 3px solid #c69736;
    transition: 0.4s;
}

    .about-image:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 20px rgba(198, 151, 54, 0.3);
    }

.about-text {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    text-align: right;
}

.section-heading {
    text-align: center;
    font-weight: 700;
    color: #1e365c;
    margin-bottom: 50px;
    position: relative;
    font-size: 1.8rem;
}

    .section-heading::after {
        content: "";
        width: 80px;
        height: 4px;
        background: #c69736;
        border-radius: 2px;
        position: absolute;
        left: 50%;
        bottom: -10px;
        transform: translateX(-50%);
    }





/* ========== قسم الخطوات ========== */
/* قسم كيف نعمل */
.steps-section {
    background-color: #fff;
    font-family: "Cairo", sans-serif;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

    .steps-section h2 {
        color: #1e365c;
        font-weight: 700;
        margin-bottom: 50px;
    }

/* الكروت */
.step-card {
    background: #fff;
    border: 2px solid #c69736;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(198, 151, 54, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 280px;
    height: 280px; /* نفس العرض والطول لتساوي الكروت */
    flex: 0 0 280px;
    margin: 0 10px;
}

    .step-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(198, 151, 54, 0.25);
    }

.step-icon {
    background: rgba(198, 151, 54, 0.1);
    color: #c69736;
    font-size: 36px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

/* ===== الحاوية ===== */
.steps-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== الكروت القابلة للسحب ===== */
.steps-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 15px;
    scrollbar-width: none; /* إخفاء السكرول في فايرفوكس */
}

    .steps-carousel::-webkit-scrollbar {
        display: none; /* إخفاء السكرول في كروم وسفاري */
    }

/* ===== الموبايل ===== */
@media (max-width: 992px) {
    .step-card {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 768px) {
    .steps-section {
        padding: 60px 0;
    }

    .steps-carousel {
        gap: 15px;
        padding: 0 10px;
    }

    .step-card {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .step-card {
        width: 160px;
        height: 160px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .step-card h5 {
        font-size: 14px;
    }

    .step-card p {
        font-size: 12px;
    }
}


/* ========== قسم هل لديك سؤال أو استفسار ========== */
.contact-promo {
    background: linear-gradient(135deg, #f9f7f5, #fff);
    text-align: center;
    padding: 80px 20px;
    font-family: "Cairo", sans-serif;
    color: #2b2b2b;
}

    .contact-promo h2 {
        font-weight: 700;
        color: #1e365c;
        margin-bottom: 20px;
        font-size: 2rem;
    }

    .contact-promo p {
        color: #555;
        font-size: 1.1rem;
        margin-bottom: 30px;
        line-height: 1.8;
    }

.main-btn {
    background-color: #c69736;
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    transition: 0.3s;
    font-weight: 600;
    text-decoration: none;
}

    .main-btn:hover {
        background-color: #b3872f;
        color: #fff;
    }



.profile-section {
    background: linear-gradient(135deg, #f7f9fc 0%, #eef2f7 100%);
    font-family: 'Cairo', sans-serif;
    padding: 50px 0;
}

.profile-title {
    color: #1e365c;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    line-height: 1.2;
}

    .profile-title::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: #c69736;
        border-radius: 2px;
    }



/* 🪪 الكارت الرئيسي */
.profile-card {
    background: #fff;
    border: none;
    border-radius: 15px;
    /* تم تقليل padding في الـ HTML، لكن للحفاظ على الشكل الجمالي */
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* 🖼️ صورة الملف الشخصي */
.profile-image-wrapper {
    position: relative;
    display: inline-block; /* مهم ليعمل توسيط flexbox */
    margin-bottom: 30px;
}

.profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #c69736;
    background-color: #f1f1f1;
    transition: all 0.3s ease;
}

    .profile-image:hover {
        transform: scale(1.03);
    }

/* 🎥 أيقونة الكاميرا */
.camera-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: linear-gradient(135deg, #c69736, #e4b54c);
    color: #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

    .camera-icon:hover {
        transform: scale(1.1);
        background: linear-gradient(135deg, #b5862f, #d4a63c);
    }

/* 🧾 الحقول */
.profile-form label {
    font-weight: 600;
    color: #1e365c;
}

.profile-form input {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px 15px; /* توحيد حجم الحقل عبر الـ CSS (الحفاظ على الحجم) */
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* ✅ تنسيق رقم الهاتف ليكون محاذياً لليسار واتجاهه LTR */
.phone-number-rtl {
    text-align: right !important; /* لضمان المحاذاة لليسار (شمال) */
    direction: rtl !important; /* لجعل النص يبدأ من اليسار (مهم للأرقام) */
}

/* ✨ التركيز */
.profile-form input:focus {
    border-color: #c69736;
    box-shadow: 0 0 5px rgba(198, 151, 54, 0.4);
}


/* 💾 أزرار */

/* زر حفظ التعديلات */
.btn-profile-save {
    background: linear-gradient(90deg, #c69736, #e4b54c);
    color: #fff;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .btn-profile-save:hover {
        /* ✅ التعديل: تثبيت لون النص على الأبيض وتحديد خلفية الهوفر بوضوح */
        color: #fff;
        background: linear-gradient(90deg, #b5862f, #d4a63c); /* جعل التدرج أغمق قليلاً */
        opacity: 1; /* إزالة الشفافية أو تثبيتها لـ 1 */
        transform: scale(1.03);
    }

/* زر الحذف */
.btn-profile-delete {
    background: #d9534f; /* اللون الأحمر الأصلي */
    color: #fff;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .btn-profile-delete:hover {
        /* ✅ التعديل: تثبيت لون الخلفية إلى درجة أغمق قليلاً */
        background: #c9302c; /* درجة حمراء أغمق قليلاً من #d9534f */
        color: #fff; /* تثبيت لون النص للأبيض */
        opacity: 1; /* إزالة الشفافية أو تثبيتها لـ 1 */
        transform: scale(1.03);
    }
/* 📱 استجابة للموبايل */
@media (max-width: 767px) {
    .profile-card {
        padding: 15px;
        max-width: 100%; /* على الموبايل يأخذ العرض بالكامل */
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .camera-icon {
        width: 32px;
        height: 32px;
        right: 0;
        bottom: 3px;
    }
}

/*Dashboard Design*/


.dashboard-container {
    min-height: 80vh;
    background-color: #f8f9fa;
    padding: 40px 0;
}

/* تنسيق العنوان */
.dashboard-title {
    color: #1e365c;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    line-height: 1.2;
}

    .dashboard-title::after {
        content: "";
        width: 80px;
        height: 4px;
        background: #c69732;
        border-radius: 2px;
        position: absolute;
        left: 50%;
        bottom: -10px;
        transform: translateX(-50%);
    }

/* 🚨 حاوية الجدول الخارجية (لتمكين التمرير الداخلي) */
.table-container-fixed {
    margin-top: 30px;
    border-radius: 8px;
    overflow: auto; /* 🚨 تمكين التمرير الداخلي هنا */
    max-height: 70vh; /* تحديد ارتفاع أقصى للجدول (يمكنك تعديله) */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.table-booking {
    min-width: 750px;
    margin-bottom: 0; /* مهم لـ Sticky Header */
}

    /* 🚨 تثبيت رأس الجدول (STICKY HEADER) */
    .table-booking thead th {
        position: sticky;
        top: 0; /* تثبيت الرأس في الأعلى */
        z-index: 10;
        background-color: #1e365c;
        box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
    }

    .table-booking th {
        color: white;
        border: none;
        font-weight: 600;
        vertical-align: middle;
    }

    .table-booking td {
        vertical-align: middle;
        font-size: 0.95rem;
    }

    .table-booking tbody tr:hover {
        background-color: #f1f1f1;
    }

    /* تثبيت عرض الأعمدة المطلوبة */
    .table-booking th:nth-child(6), .table-booking td:nth-child(6) {
        width: 140px;
    }

    .table-booking th:nth-child(7), .table-booking td:nth-child(7) {
        width: 120px;
    }

    .table-booking th:nth-child(8), .table-booking td:nth-child(8) {
        width: 150px;
    }

/* تنسيقات شارات الحالة */
.status-badge {
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 0.3rem;
    font-weight: 600;
    font-size: 0.8rem;
    width: 100%;
    display: inline-block;
    text-align: center;
}

.status-badge-confirmed {
    background-color: #28a745;
}

.status-badge-cancelled {
    background-color: #dc3545;
}

.status-badge-pending {
    background-color: #c69732;
    color: #1e365c;
}

/* تثبيت حجم الزر في كل حالاته */
.btn-fixed-size {
    width: 100%;
    padding: 0.5rem 0.2rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
}

/* زر الإلغاء (الأحمر) */
.btn-cancel {
    background-color: #dc3545;
    color: white;
    border: none;
}

    .btn-cancel:hover {
        background-color: #c82333;
    }

/* زر المعطَّل (الرمادي) */
.btn-disabled {
    background-color: #f0f0f0;
    color: #999;
    cursor: not-allowed;
    border: 1px solid #ddd;
}

/* كود الريسبونسف: تفعيل التمرير الأفقي */
@media (max-width: 767.98px) {
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* 🚨 تعطيل Sticky Header في الجوال وتفعيل التمرير الأفقي بدلاً منه */
    .table-container-fixed {
        max-height: none; /* إزالة الارتفاع الثابت */
        overflow-y: visible;
    }
}

/*Payment Page Design*/
/* تطبيق الألوان الجديدة */
.bg-primary-custom {
    background-color: #1e365c !important;
}

/* تنسيق الزر الذهبي الجديد */
.btn-gold-custom {
    background-color: #c69732; /* لون الزر ذهبي */
    border-color: #c69732;
    color: #1e365c !important; /* لون النص داخل الزر أزرق داكن */
    font-size: 1rem;
    font-weight: 700;
    transition: background-color 0.15s ease-in-out;
}

    .btn-gold-custom:hover {
        background-color: #a87e2b; /* لون أغمق قليلاً للـ Hover */
        border-color: #a87e2b;
    }

.text-gold {
    color: #c69732 !important;
}

/* تنسيق الـ Card والشعار ليكون جذابًا ومطابقًا للـ Login */
.card-payment-style {
    max-width: 450px;
    width: 100%;
    border-radius: 12px !important;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.logo-header {
    text-align: center;
    padding: 20px 0 5px 0;
    background-color: white;
}

.logo-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    border: 3px solid #c69732; /* إطار ذهبي للشعار */
}


/* تنسيق حقول Stripe لتبدو كمدخلات Bootstrap */
.stripe-input-container {
    border: 1px solid #ced4da;
    border-radius: 8px; /* حواف أكثر استدارة قليلاً */
    padding: 0.75rem 0.75rem; /* بادينج أكبر قليلاً */
    line-height: 1.5;
    height: auto;
    transition: all .2s ease-in-out;
    margin-bottom: 0;
}

    .stripe-input-container:focus-within {
        border-color: #1e365c;
        box-shadow: 0 0 0 0.15rem rgba(30, 54, 92, 0.2);
    }

/* تنسيق labels الحقول */
.form-label {
    color: #1e365c;
    font-weight: 600;
    margin-bottom: 0.3rem;
    display: block;
}

/*Payment success design*/

/* تنسيق الكارد ليماثل صفحات الدخول والدفع */

.card-success-unified {
    max-width: 500px;
    width: 100%;
    border-radius: 15px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05); /* إطار خفيف جداً */
    background-color: white;
    overflow: hidden;
}

/* تنسيق رمز النجاح الاحترافي */
.success-check-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #28a745;
    color: white;
    font-size: 3rem;
    line-height: 80px;
    border: 5px solid #fff;
    box-shadow: 0 0 0 5px rgba(40, 167, 69, 0.3); /* شادو أخضر أفتح قليلاً */
    margin: 0 auto;
    display: block;
}

/* تنسيق زر العودة للرئيسية */
.btn-gold-custom {
    background-color: #c69732;
    border-color: #c69732;
    color: #1e365c !important; /* النص أزرق داكن */
    font-weight: 700;
    transition: all 0.2s ease-in-out;
    border-radius: 8px;
}

    .btn-gold-custom:hover {
        background-color: #a87e2b;
        border-color: #a87e2b;
    }

.text-primary-color {
    color: #1e365c !important;
}




/* تنسيق الزر الذهبي */
.btn-gold-custom {
    background-color: #c69732;
    border-color: #c69732;
    color: #1e365c !important; /* لون النص داخل الزر */
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    transition: background-color 0.15s ease-in-out;
}

    .btn-gold-custom:hover {
        background-color: #a87e2b;
        border-color: #a87e2b;
    }

/* تنسيق الـ Card ليماثل صفحة الـ Login/Payment */
.card-style-unified {
    max-width: 450px;
    width: 100%;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: none;
    background-color: white;
}

/* تنسيق حقل الاختيار */
.form-select {
    border-radius: 8px;
    height: 50px;
    /* جعل لون الخيار الافتراضي أفتح لتمييزه */
    color: #999;
}

    .form-select:not(:valid) {
        color: #999; /* لون النص الرمادي للخيار غير المختار */
    }

    .form-select option {
        color: #000;
    }

    .form-select:focus {
        border-color: #1e365c;
        box-shadow: 0 0 0 0.25rem rgba(30, 54, 92, 0.25);
    }

.form-label-custom {
    color: #1e365c;
    font-weight: 600;
    margin-bottom: 0.5rem;
}


