body {
    font-family: Alexandria-Regular, sans-serif!important;
}

h1, h2 {
    font-family: Alexandria-Bold, sans-serif!important;
}
span {
    font-family: 'Alexandria-Regular', serif!important;}

.modal-backdrop {
    z-index: 1 !important;
}

.modal-open {
    padding-right: 0px !important;


}

/*.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show>.nav-link {padding: 0 35px!important;}*/



.modal-content {
    border-radius: 20px;
    margin-top: 50px;
}

.modal-body .text-center i {
    font-size: 45px
}

.modal-body .text-center h3 {
    font-size: 20px;
    margin-top: 20px
}

.main-text {
    text-decoration: unset;
}

.cursorclass {
    cursor: pointer;
}

.modal-content {
    max-height: 350px !important;
    overflow: auto !important
}


.modal-content .modal-header {
    justify-content: center;
}

.icon-watus {
    position: fixed;
    left: 50px;
    bottom: 65px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(95, 58, 252, .2);
    z-index: 99999;
    opacity: 1;
    transform: translateY(15px);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

/* Responsive adjustments for custom elements */
@media (max-width: 767px) {
    .icon-watus {
        left: 20px;
        bottom: 20px;
        height: 40px;
        width: 40px;
    }

    .modal-content {
        margin-top: 20px;
        max-height: 90vh !important;
    }

    .modal-body .text-center i {
        font-size: 35px;
    }

    .modal-body .text-center h3 {
        font-size: 18px;
        margin-top: 15px;
    }
}

/* Improve modal responsiveness */
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
}

@media (min-width: 992px) {
    .modal-dialog {
        max-width: 600px;
    }
    #contact-us {padding-top: 70px}
}

/* Ensure modals work well on all devices */
.modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-dialog {
    width: auto;
    margin: 10px;
}
.dropdown-item.active, .dropdown-item:active {color: #fff!important;}
.about-desc {margin-top: 10px}
/* Improve modal content scrolling on mobile */
@media (max-width: 575px) {
    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-content {
        border-radius: 15px;
    }
    .floating-hero-image {display: none!important;}
    .hero-section-row {z-index: 9;position: relative}
    .hero-secion {align-items: end!important;}
    .hero-secion::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4); /* غمقان – عدّل الرقم */
        z-index: 1;
    }
    .defult-btn2 {width: fit-content;padding: 12px 30px;}

}

/* Details Pages Styles */
.detail-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.detail-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c5f2d;
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 600;
}

.back-link:hover {
    color: #d4af37;
}

.detail-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.product-specs {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.product-specs ul {
    list-style: none;
    padding: 0;
}

.product-specs ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #dee2e6;
}

.product-specs ul li:last-child {
    border-bottom: none;
}

.product-specs ul li strong {
    color: #2c5f2d;
    min-width: 150px;
    display: inline-block;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #dee2e6;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
}

.blog-meta-item svg {
    width: 18px;
    height: 18px;
    color: #d4af37;
}

@media (max-width: 767px) {
    .detail-image img {
        height: 300px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .detail-content {
        font-size: 1rem;
    }

    .product-specs {
        padding: 1rem;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}
