﻿
.custom-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 25px;
    padding: 8px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}
    .custom-container:hover {
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    }
.card-slider-containerh {
    position: relative;
    overflow: hidden;
    padding: 1rem;
    margin: 0;
    width: 100%; 
    height:auto;
}
.card-sliderh {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem;
    width: auto;
    height:auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
    .card-slider::-webkit-scrollbar {
        display: none; 
    }
.cardh {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
    min-width: 200px;
    max-width: 300px;
    cursor: pointer;
    flex: 0 0 clamp(250px, 80vw, 300px);
    margin: 0 0.3rem; 
    display:flex;
    flex-direction:column;
    position:relative;
}
.cardh:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
    .cardh img {
        width: 100%;
        height: 280px;
        object-fit:cover;
        object-position: center center;
        background-color: #f0f0f0; 
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        display: block;
    }
        .cardh img:hover {
            transform: scale(1.05);
        }
    .cardh .name {
      justify-content:center;
        font-size: 1.2rem;
        margin: 0.8rem;
        color: #ff0000;
        width: 100%;
       text-align:center;
    }
    .cardh .description {
        font-size: 0.9rem;
        margin: 0 0.5rem;
        color: #777;
        margin-top: auto;
    }
    .cardh .price {
        font-size: 1.1rem;
        font-weight: bold;
        margin: 0.5rem;
        padding-right:12PX;
        color: #0026ff;
        margin-top: auto;
    }
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #198754;
    border-radius: 50%;
    padding: 0.6rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s, transform 0.3s;
}
    .nav-button:hover {
        background: #198754;
        transform: translateY(-50%) scale(1.1);
    }
        .nav-button:hover svg path {
            fill: #fff;
        }
    .nav-button.left {
        left: 1rem;
        transform:scaleX(-1);
    }
    .nav-button.right {
        right: 1rem;
    }
.sub-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    transform: translateY(20px);
}
    .sub-buttons.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
.sub-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.facebook {
    background-color: #3b5998;
}
.whatsapp {
    background-color: #25d366;
}
.call {
    background-color: #28a745;
}
.section-heading {
    font-family: "Tajawal", sans-serif; 
    font-size: clamp(1.8rem, 4vw, 2.4rem); 
    font-weight: 700;
    color: #198754; 
    letter-spacing: .5px;
    text-align: center;
    margin: 2.5rem 0 1.2rem;
    position: relative;
    display: inline-block;
    transition: transform .25s ease;
}
    .section-heading::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -8px;
        transform: translateX(-50%);
        width: 65%;
        max-width: 260px;
        height: 4px;
        background: #ffc107;
        border-radius: 2px;
        transition: width .25s ease;
    }
    .section-heading:hover {
        transform: translateY(-3px) scale(1.02);
    }
        .section-heading:hover::after {
            width: 80%;
        }
@media (max-width: 768px) {
    .custom-container {
        margin: 0px;
        padding: 4px;
       
    }
    .cardh {
        min-width: 180px;
        max-width: 300px;
        flex: 0 0 clamp(180px, 70vw, 250px); 
        margin: 0 0.25rem;
    }
        .cardh img {
            width: 100%;
            height: 200px;
        }
    .nav-button {
        display: none;
    }
}
.login-page {
    height: 100vh;
    background: linear-gradient(to right, #e0f7fa, #f1f8e9);
    display: flex;
    justify-content: center;
    align-items: center;
    direction: rtl;
}
.login-card {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    border-radius: 12px;
}
.login-title {
    font-family: 'Cairo', sans-serif;
    font-weight: bold;
}
.app-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
    .app-logo img {
        width: 80px;
        height: 80px;
    }
