﻿/* fonts import */
@import url('https://fonts.googleapis.com/css2?family=Inder&family=Ingrid+Darling&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@450&display=swap');

@font-face {
    font-family: 'AmazonEmber';
    src: url('/fonts/AmazonEmber.woff2');
    src: local('AmazonEmber'), url('/fonts/AmazonEmber.woff2') format('woff');
}

* {
    font-family: Cairo, AmazonEmber, sans-serif;
    font-weight: 400;
    font-style: normal;
    /*direction: rtl;*/
}

.font-ingrid-darling-regular {
    font-family: "Ingrid Darling", cursive;
    font-weight: 400;
    font-style: normal;
}

.top-bar-box {
    max-width: 700px;
}

.bg-navy {
    background-color: #28477D !important;
}

.text-navy {
    color: #28477D !important;
}

.border-navy {
    border: solid 2px #28477D !important;
}

/* .border-b-navy {
    border-bottom: solid 3px #28477D !important;
} */
.border-b-navy::after {
    content: '';
    display: block;
    width: 20%;
    border-bottom: 2px solid #28477D;
    margin: 1.5% auto 0 auto;
}

.border-sky {
    border: 2px solid #0FC9D8 !important;
}

.bg-sky {
    background-color: #0FC9D8 !important;
}

.text-sky {
    color: #0FC9D8 !important;
}

.text-gray {
    color: #9E9FA4 !important;
}

.bg-gray {
    background-color: #9E9FA4 !important;
}

.bg-light-green {
    background-color: #18BF39 !important;
}

.text-light-green {
    color: #18BF39 !important;
}

.bg-light-gray {
    background-color: #D9D9D9 !important;
}

.text-goldenrod {
    color: #f7b500 !important;
}

.fs-small {
    font-size: small !important;
}

/* Card width 4 cards in each row */
@media (min-width: 768px) {
    .w-card {
        width: 49.3% !important;
    }
}

@media (min-width: 1024px) {
    .w-card {
        width: 24.3% !important;
    }
}

/* Services Cards Grid Styles - replaces slider */
.services-cards .card {
    position: relative;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .services-cards .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }

/* Card image styling - create space for icon overlay */
.services-cards .card-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

/* Card icon positioning - relative positioning with centering and overlay */
.card-icon-circle {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto !important;
    z-index: 10 !important;
    /* This creates the overlay effect at the bottom of the card image */
    /*transform: translateY(-30px) !important;*/
}

.card-img-circle {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain;
}

/* Responsive adjustments */
@media screen and (max-width: 576px) {
    .services-cards .card {
        margin-bottom: 1rem;
    }

    .card-icon-circle {
        width: 55px !important;
        height: 55px !important;
        /*transform: translateY(-27px) !important;*/
    }

    .services-cards .card-img {
        margin-bottom: -27px;
    }
}

@media screen and (min-width: 768px) {
    .card-icon-circle {
        width: 55px !important;
        height: 55px !important;
        transform: translateY(-35px) !important;
    }

    .card-img-circle {
        width: 35px !important;
        height: 35px !important;
    }
}

@media screen and (max-width: 576px) {
    .services-cards .card {
        margin-bottom: 1rem;
    }
}

/* header */

.navbar-nav li a {
    margin-left: 10px !important;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 9999;
}

.top-bar .icon {
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .top-bar .icon i {
        font-size: 16px;
        line-height: 1;
    }


.search-btn,
.menu-btn {
    width: 38px;
    height: 38px;
}

.call-now {
    border: solid 5px #9EF9FF;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}


.logo {
    height: 40px;
}

@media screen and (min-width: 768px) {
    .carousel-inner img {
        height: 581px;
    }
}

/* page width */
.main-container {
    width: 90%;
    margin: auto;
}

/* footer */
.border-bottom {
    border-bottom: 2px solid #fff;
    width: 60px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.w-icon {
    width: 1.3rem;
}

.footer-bg {
    position: relative;
    background: linear-gradient(#28477D 0%, #1F688A 30%, #378187 85%, #28477D 100%);
    color: #fff;
    padding-top: 40px;
    padding-bottom: 0;
    overflow: hidden;
}

    .footer-bg::before {
        content: "";
        position: absolute;
        background-image: url('/imgs/fl/footer.png');
        inset: 0;
        opacity: 0.25;
    }

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-badge {
    width: 40%;
}

    .footer-badge span {
        padding: 2px 12px;
    }


.footer-social a {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 1.3rem;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-links .active {
    color: #f7b500;
    font-weight: bold;
}

.footer-arrow-up {
    position: fixed;
    right: 40px;
    bottom: 70px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

@media (max-width: 991px) {
    .footer-content .row > div {
        margin-bottom: 30px;
    }

    .footer-arrow-up {
        right: 20px;
    }
}

/* Home */
.sec-bg {
    position: relative;
}

    .sec-bg::before {
        content: "";
        position: absolute;
        background-image: url('/imgs/fl/Mask group.png');
        background-size: cover;
        background-repeat: no-repeat;
        inset: 0;
        opacity: 0.13;
    }

.contact {
    background: url('/imgs/fl/Group 238.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.contact-placeholder::placeholder {
    color: white !important;
}

/* Confirm the Order */
.stepper .btn.active {
    background: #28477D;
    color: #fff !important;
}

.btn-rounded {
    border-radius: 0 10px 0 10px !important;
}

.dropdown-menu {
    /*min-width: 15rem !important;*/
}

    .dropdown-menu .dropdown-item {
    }



/* Add these mobile improvements to your CSS */
/* Mobile-first approach for top bar */
@media (max-width: 767px) {
    .top-bar .contact-info {
        display: none !important;
    }

    .top-bar .language-dropdown {
        justify-content: center !important;
    }

    .navbar-nav {
        /*text-align: center;*/
    }

    .action-buttons {
        justify-content: center !important;
        margin-top: 1rem;
    }

    .call-section {
        flex-direction: column;
        text-align: center;
    }

    .dropdown-menu {
        min-width: 15rem !important;
        border: none !important;
    }
}

/* Improve button interactions */
.search-btn:hover,
.menu-btn:hover,
.call-now:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Fix dropdown positioning for RTL */
.dropdown-menu {
    right: 0;
    left: auto;
}

input {
    direction: rtl !important;
}

/* Product Gallery Styles */
.product-gallery .main-product-image {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .product-gallery .main-product-image:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    }

.single-image-container .main-product-image {
    max-height: 500px;
    margin: 0 auto;
    display: block;
}

.thumbnail-gallery .product-thumbnail {
    height: 80px;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
    border-radius: 8px !important;
}

    .thumbnail-gallery .product-thumbnail:hover {
        border-color: #28477D;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(40, 71, 125, 0.3);
    }

    .thumbnail-gallery .product-thumbnail.active {
        border-color: #28477D;
        border-width: 3px;
        box-shadow: 0 0 0 2px rgba(40, 71, 125, 0.2);
    }

.thumbnail-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* Responsive adjustments for thumbnails */
@media (max-width: 767px) {
    .thumbnail-gallery {
        margin-top: 1rem;
    }

        .thumbnail-gallery .product-thumbnail {
            height: 60px;
        }
}

@media (min-width: 768px) and (max-width: 991px) {
    .thumbnail-gallery .product-thumbnail {
        height: 70px;
    }
}

/* Loading state for main image */
.main-image-container {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-image {
    transition: opacity 0.3s ease;
}

    .main-product-image.loading {
        opacity: 0.7;
    }

.ribbon {
    position: absolute;
    top: -1px;
    left: 5px;
    width: 80px;
    background: red;
    color: white;
    text-align: center;
    font-weight: bold;
    text-orientation: upright; /* keep characters upright */
    font-size: 16px;
    padding: 5px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

/*media query for larg screens*/
@media screen and (min-width: 1200px) {
    .w-lg-75 {
        width: 75% !important;
    }
}
