﻿/*body {
}*/
@import url(../../main/fonts/ducowheadlinearbic.ttf);

@font-face {
    font-family: 'ducowheadlinearbic';
    src: url('../../main/fonts/ducowheadlinearbic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    direction: rtl;
    max-width: 100%;
    font-family: ducowheadlinearbic; 
    padding: 0;
    margin: 0; /* This also removes the default margin */
}
p {
    text-align: right;
    letter-spacing: 0px;
}
.p-footer {
    Text-align: right;
}
* {
    padding: 0;
}
p.changelanguage {
    color: #FF8304;
    margin-top: -60px;
    font-weight: 600;
}
.scroll-row {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 10px;
    padding: 10px;
}
a.nav-link.ipo {
    color: #FF8304;
    font-weight: 600;
}
.carousel-img-size {
    height: 95vh;
    filter: brightness(90%);
}
/*.carousel-caption {
    margin-bottom: 11%;
    color: #ffffff;
    height: 25%; 
    margin-left: 10%;
    margin-right: 13%;
    background-color: rgb(255, 255, 255,0.7 );
    border-style: none; 
    border-radius: 5px;
}*/
.navbar-nav {
    margin-left: 160px;
}
li.nav-item {
   height: 5px;
}
.logo-1 {
    height: 90%;
    width: 90%;
}
.navbar-nav .nav-link {
    font-size: 1.0rem;
    color: #006C39;
    left: 10px;
    margin-right: 10px;
    font-weight: 600;
}

    .navbar-nav .nav-link.active {
        color: #FF8304;
        object-fit: cover;
        font-weight: 600;
    }

.carousel {
    margin-top: 4%;
}

.carousel-text {
    color: #006C39;
    font-weight: 700;
}


iframe#ifrems {
    padding: 2%;
    background-color: aliceblue;
}

#careerFrame {
    padding: 2%;
    background-color: aliceblue;
    border: none;
    width: 100%;
    height: 2000px;
}

h1.headerSurgery {
    font-size: 1.5rem;
    width: 50%;
    padding-top: 2%;
    padding-bottom: 2%;
    font-weight: 600;
    color: #006C39
}

.button-overlay {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: row;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
}

    .button-overlay .btn {
        margin: 0 10px;
        margin-bottom: auto;
        margin-top: auto;
        background-color: #059451;
        color: #FFF;
        width: 220px;
        height: 65px;
        border: none;
        padding: 20px 20px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        transition: transform 0.2s, background-color 0.2s;
    }

        .button-overlay .btn:hover {
            background-color: #FF8304;
            width: 220px;
            transform: scale(1.1);
        }
.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 372px;
    padding: 10px;
    scroll-snap-type: x mandatory;
}

    .horizontal-scroll-container::-webkit-scrollbar {
        height: 8px;
    }

    .horizontal-scroll-container::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

.image-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 350px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .image-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: pointer;
        transition: transform 0.3s;
    }

        .image-card img:hover {
            transform: scale(1.05);
        }

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

    .lightbox img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 12px;
        box-shadow: 0 0 20px rgba(255,255,255,0.2);
    }



.carousel-caption {
    position: static;
}

.container {
    margin-top: 3%;
    margin-bottom: 3%;
    text-align: justify;
    background-image: url('../Images/background/backgroundwhite.png');
    background-repeat: no-repeat;
    background-color: #EBEBEB;
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    padding: 20px;
}

.container1 {
    margin-top: 3%;
    margin-bottom: 3%;
    text-align: justify;
    /* background-image: url('../Images/background/backgroundwhite.png');
    background-repeat: no-repeat;
    background-color: rgb(4,108,60,0.8);*/
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    padding: 20px;
}

.container2 {
    margin-top: 3%;
    margin-bottom: 3%;
    text-align: justify;
    background-image: url('../Images/background/backgroundwhite.png');
    background-repeat: no-repeat;
    background-color: #e5ded1;
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    padding: 20px;
}
/* Message Section */
/* Message Section */
.message-section {
    background-color: transparent;
    padding: 40px 20px;
}

    .message-section .card {
        border-radius: 0px 0px 40px 0px;
        border-color: transparent;
    }

    .message-section .card-body {
        padding: 30px;
    }

    .message-section h2 {
        color: #ff6600;
        font-weight: bold;
    }

    .message-section img {
        border-radius: 10%;
        max-width: 100%;
        height: auto;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

/* Why Us Section */
.why-us-section {
    background: #ffffff;
    padding: 40px 20px;
}

    .why-us-section h2 {
        color: #007bff;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .why-us-section .icon {
        font-size: 40px;
        color: #007bff;
        margin-bottom: 10px;
    }

.card {
    border-color: transparent;
}

.card-title {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #006C39;
    font-weight: 600;
    font-size: 1.3rem;
    margin-right: auto;
    margin-left: auto;
}

.card-text {
    color: #0F2019;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
}

.text-body-secondary p {
    text-align: center;
    color: #FF8304;
    font-weight: 500;
    margin-right: auto;
    margin-left: auto;
}

.card-descrption {
    text-align: right;
    font-size: .9rem;
    color: #0D3C26;
    margin-right: auto;
    margin-left: auto;
}

.card-img {
    filter: brightness(85%);
    border-color: transparent;
}

.card-img-top {
    height:auto;
    width: 10%;
    margin-top: 2%;
    margin-right: auto;
    margin-left: auto;
}

.card-img-top-medical {
    height:auto;
    width: 12%;
    margin-top: 2%;
    margin-right: auto;
    margin-left: auto;
}

img.card-img-top-service {
    height: 20%;
    width: 11%;
    margin-top: 2%;
    margin-right: auto;
    margin-left: auto;
}

.card-img-top-aboutus {
    height:auto;
    width: 20%;
    margin-top: 2%;
    margin-right: auto;
    margin-left: auto;
}

img.card-img-top-service2 {
    height: 10%;
    width: 8%;
    margin-top: 2%;
    margin-right: auto;
    margin-left: auto;
}

.insection {
    margin-top: 10px;
    margin-bottom: 10px;
}

.appstore {
    height: auto;
    width: 65%;
}

a {
    color: #006C39;
    text-decoration: none;
}

li {
    color: #006C39;
    font-weight: 600
}

.medical-color a {
    font-size: .9rem;
    font-weight: 600;
    color: #FF8304;
}

@media (max-width:1366px) {
    .carousel {
        margin-top: 7%;
    }
    .logo-1 { 
        margin-top: -20%;
    }
    .carousel-img-size {
        height: 70vh;
        filter: brightness(90%);
    }

    .button-overlay {
        position: absolute;
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: row;
        background: rgba(255, 255, 255, 0.8);
        padding: 20px;
        border-radius: 10px;
    }

        .button-overlay .btn {
            margin: 0 10px;
            margin-bottom: auto;
            margin-top: auto;
            background-color: #059451;
            color: #FFF;
            width: 180px;
            height: 45px;
            border: none;
            padding: 10px 20px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s, background-color 0.2s;
        }

            .button-overlay .btn:hover {
                background-color: #FF8304;
                width: 150px;
                transform: scale(1.1);
            }

    .navbar-nav .nav-link {
        font-size: .8rem;
        color: #006C39;
        left: 10px;
        margin-right: 10px;
        font-weight: 600;
    }

        .navbar-nav .nav-link.active {
            color: #FF8304;
            object-fit: cover;
            font-weight: 600;
        }
}

@media (max-width:844px) {
    .carousel {
        margin-top: 11%;
    }
    .logo-1 {
        margin-top: -20%;
    }
    .carousel-img-size {
        height: 20vh;
        filter: brightness(90%);
    }

    .button-overlay {
        position: absolute;
        top: 10%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: contents;
        flex-direction: row;
        background: rgba(255, 255, 255, 0.8);
        padding: 20px;
        border-radius: 10px;
    }

        .button-overlay .btn {
            margin: 0px 10px;
            margin-bottom: auto;
            margin-top: auto;
            background-color: #059451;
            color: #FFF;
            width: 150px;
            height: 35px;
            border: none;
            padding: 10px 20px;
            font-size: 11px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s, background-color 0.2s;
        }

            .button-overlay .btn:hover {
                background-color: #FF8304;
                width: 150px;
                transform: scale(1.1);
            }
}

@media (max-width:667px) {
    p, h1, h2, h5, .card-title {
        font-size: .9rem;
    }
    .logo-1 {
        margin-top: 0%;
    }
    .carousel {
        margin-top: 20%;
    }
    li.nav-item {
        height: 2%;
    }
    .carousel-img-size {
        height: 25vh;
        filter: brightness(90%);
    }
    h1.headerSurgery {
        font-size: .6rem;
        width: 50%;
        padding-top: 2%;
        padding-bottom: 2%;
        font-weight: 600;
        color: #006C39
    }
    .button-overlay {
        position: absolute;
        top: 70%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: row;
        background: rgba(255, 255, 255, 0.8);
        padding: 15px;
        border-radius: 10px;
    }

        .button-overlay .btn {
            margin: 0px 2px;
            margin-bottom: auto;
            margin-top: auto;
            background-color: #059451;
            color: #FFF;
            width: 85px;
            height: 30px;
            border: none;
            padding: 7px 5px;
            font-size: 8px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s, background-color 0.2s;
        }

            .button-overlay .btn:hover {
                background-color: #FF8304;
                width: 150px;
                transform: scale(1.1);
            }

    .appstore {
        margin-right: auto;
        margin-left: auto;
        height: auto;
        width: 40%;
    }

    .message-section img {
        border-radius: 10%;
        max-width: 90%;
        height: auto;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

/* Small Devices (e.g., phones, landscape view) */


@media (min-width: 768px) and (max-width:1024px) {
    p, h1, h2, h5, .card-title {
        font-size: 1.2rem;
    }
    .logo-1 {
        margin-top: 0%;
    }
    .carousel {
        margin-top: 10%;
    }

    .carousel-img-size {
        height: 28vh;
        filter: brightness(90%);
    }

    .button-overlay {
        position: absolute;
        top: 48%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: row;
        background: rgba(255, 255, 255, 0.8);
        padding: 15px;
        border-radius: 10px;
    }

        .button-overlay .btn {
            margin: 0px 2px;
            margin-bottom: auto;
            margin-top: auto;
            background-color: #059451;
            color: #FFF;
            width: 85px;
            height: 30px;
            border: none;
            padding: 7px 5px;
            font-size: 8px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s, background-color 0.2s;
        }

            .button-overlay .btn:hover {
                background-color: #FF8304;
                width: 150px;
                transform: scale(1.1);
            }

    .appstore {
        margin-right: auto;
        margin-left: auto;
        height: auto;
        width: 60%;
    }

    .card-img-top-aboutus {
        height: 70px;
        width: 70px;
        margin-top: 2%;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (min-width: 540px) and (max-width: 720px) {
    p, h1, h2, h5, .card-title {
        font-size: 1rem;
    }
    .logo-1 {
        margin-top: 0%;
    }
    .carousel {
        margin-top: 30%;
    }
    li.nav-item {
        height: 2%;
    }
    .carousel-img-size {
        height: 40vh;
        filter: brightness(90%);
    }

    .button-overlay {
        position: absolute;
        top: 75%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: row;
        background: rgba(255, 255, 255, 0.8);
        padding: 15px;
        border-radius: 10px;
    }

        .button-overlay .btn {
            margin: 0px 2px;
            margin-bottom: auto;
            margin-top: auto;
            background-color: #059451;
            color: #FFF;
            width: 85px;
            height: 30px;
            border: none;
            padding: 7px 5px;
            font-size: 8px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s, background-color 0.2s;
        }

            .button-overlay .btn:hover {
                background-color: #FF8304;
                width: 150px;
                transform: scale(1.1);
            }

    .appstore {
        margin-right: auto;
        margin-left: auto;
        height: auto;
        width: 40%;
    }

    .message-section img {
        border-radius: 10%;
        max-width: 90%;
        height: auto;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

@media (min-width: 414px) and (max-width: 896px) {
    p, h1, h2, h5, .card-title {
        font-size: .9rem;
    }
    .logo-1 {
        margin-top: 0%;
    }
    .carousel {
        margin-top: 10%;
    }

    .carousel-img-size {
        height: 25vh;
        filter: brightness(90%);
    }
    li.nav-item {
        height: 2%;
    }
    .button-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: row;
        background: rgba(255, 255, 255, 0.8);
        padding: 15px;
        border-radius: 10px;
    }

        .button-overlay .btn {
            margin: 0px 2px;
            margin-bottom: auto;
            margin-top: auto;
            background-color: #059451;
            color: #FFF;
            width: 85px;
            height: 30px;
            border: none;
            padding: 7px 5px;
            font-size: 8px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s, background-color 0.2s;
        }

            .button-overlay .btn:hover {
                background-color: #FF8304;
                width: 150px;
                transform: scale(1.1);
            }

    .appstore {
        margin-right: auto;
        margin-left: auto;
        height: auto;
        width: 70%;
    }

    .message-section img {
        border-radius: 10%;
        max-width: 90%;
        height: auto;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

@media (min-width: 390px) and (max-width:844px) {
    p, h1, h2, h5, .card-title {
        font-size: .9rem;
    }
    .logo-1 {
        margin-top: 10%;
    }
    .carousel {
        margin-top: 10%;
    }

    .carousel-img-size {
        height: 37vh;
        filter: brightness(90%);
    }
    li.nav-item {
        height: 2%;
    }
    .button-overlay {
        position: absolute;
        top: 70%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: row;
        background: rgba(255, 255, 255, 0.8);
        padding: 15px;
        border-radius: 10px;
    }

        .button-overlay .btn {
            margin: 0px 2px;
            margin-bottom: auto;
            margin-top: auto;
            background-color: #059451;
            color: #FFF;
            width: 85px;
            height: 30px;
            border: none;
            padding: 7px 5px;
            font-size: 8px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s, background-color 0.2s;
        }

            .button-overlay .btn:hover {
                background-color: #FF8304;
                width: 150px;
                transform: scale(1.1);
            }

    .appstore {
        margin-right: auto;
        margin-left: auto;
        height: auto;
        width: 70%;
    }

    .message-section img {
        border-radius: 10%;
        max-width: 90%;
        height: auto;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

@media (min-width: 375px) and (max-width: 667px) {
    p, h1, h2, h5, .card-title {
        font-size: .9rem;
    }
    .logo-1 {
        margin-top: 0%;
    }
    .carousel {
        margin-top: 20%;
    }
    li.nav-item {
        height: 2%;
    }
    .carousel-img-size {
        height: 35vh;
        filter: brightness(90%);
    }

    .button-overlay {
        position: absolute;
        top: 75%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: row;
        background: rgba(255, 255, 255, 0.8);
        padding: 15px;
        border-radius: 10px;
    }

        .button-overlay .btn {
            margin: 0px 2px;
            margin-bottom: auto;
            margin-top: auto;
            background-color: #059451;
            color: #FFF;
            width: 85px;
            height: 30px;
            border: none;
            padding: 7px 5px;
            font-size: 8px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s, background-color 0.2s;
        }

            .button-overlay .btn:hover {
                background-color: #FF8304;
                width: 150px;
                transform: scale(1.1);
            }

    .appstore {
        margin-right: auto;
        margin-left: auto;
        height: auto;
        width: 40%;
    }

    .message-section img {
        border-radius: 10%;
        max-width: 90%;
        height: auto;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

@media (min-width: 360px) and (max-width:740px) {
    p, h1, h2, h5, .card-title {
        font-size: .9rem;
    }
    .logo-1 {
        margin-top: 0%;
    }
    .carousel {
        margin-top: 90px;
    }

    .carousel-img-size {
        height: 28vh;
        filter: brightness(90%);
    }
    li.nav-item {
        height: 2%;
    }
    .button-overlay {
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: row;
        background: rgba(255, 255, 255, 0.8);
        padding: 15px;
        border-radius: 10px;
    }

        .button-overlay .btn {
            margin: 0px 2px;
            margin-bottom: auto;
            margin-top: auto;
            background-color: #059451;
            color: #FFF;
            width: 85px;
            height: 30px;
            border: none;
            padding: 7px 5px;
            font-size: 8px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s, background-color 0.2s;
        }

            .button-overlay .btn:hover {
                background-color: #FF8304;
                width: 150px;
                transform: scale(1.1);
            }

    .appstore {
        margin-right: auto;
        margin-left: auto;
        height: auto;
        width: 40%;
    }

    .message-section img {
        border-radius: 10%;
        max-width: 90%;
        height: auto;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}