/* Global Variables*/
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

* {
    margin: 0px;
    padding: 0px;
    font-family: Tajawal;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --header-height: 3.5rem;
    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --main-color: #57b6bc;
    --secondary-color: hsl(175.38deg 24.84% 30.78%);
    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'poppins';
    font-weight: 400;
}

h1,
h2,
h3 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

input,
button {
    font-family: var(--body-font);
    outline: none;
    border: none;
}

.CustomButton {
    background-color: #f9d951;
    color: black;
    border: none;
    outline: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    padding: 10px 15px;
    height: 53px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.readMoreBtn {
    display: inline-flex;
    justify-self: center;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 5px;
    border: 1px solid var(--main-color);
    padding: 5px;
    margin-top: 5px;
    color: var(--main-color);
}

    .readMoreBtn:hover {
        background-color: var(--main-color);
        color: white;
    }

.CustomButton:hover {
    color: #ffffff;
}

span.logo {
    background-color: var(--main-color);
    color: #ffffff;
    padding: 0px 5px;
    border-radius: 5px;
    font-weight: 600;
    margin-right: 5px;
}

.logo {
    color: var(--main-color);
    font-weight: 600;
}

a:hover {
    color: black;
}

.title {
    text-align: center;
    font-size: 45px;
    color: var(--secondary-color);
    font-weight: 800;
    margin-top: 10px;
}

.SecondTitle {
    color: var(--main-color);
    font-weight: 600;
    text-align: center;
}

section .title {
    text-align: center;
    font-size: 30px;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Header */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure it stays on top of other elements */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Adds a slight shadow */
}

.navbar-brand img {
    height: 80px;
    margin-left: 20px;
}

.btn-custom {
    background-color: #66b5ad; /* Custom button color */
    color: white;
}

    .btn-custom:hover {
        background-color: #549e96; /* Hover color */
    }

.navbar-nav .nav-link {
    color: hsl(191.09deg 44.23% 40.78%);
    font-weight: 700;
}

.nav-link.active {
    border-radius: 5px; /* Add a rounded look for consistency */
    padding: 5px 10px; /* Add some padding for better appearance */
    font-weight: 700;
    font-size: 20px;
}

.nav-link:hover {
    background-color: #66b5ad; /* Same background as the active one */
    color: #fff !important; /* White text on hover or active */
    border-radius: 5px; /* Add a rounded look for consistency */
    padding: 5px 10px; /* Add some padding for better appearance */
}

nav .container {
    flex-direction: row-reverse;
}

@media (max-width: 450px) {
    .navbar-nav {
        flex-direction: column-reverse;
    }
}
/* (banner) */
#banner {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: hsl(191.09deg 44.23% 40.78%);
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}


/* landingIcon */
.landingIcon {
    display: flex;
    justify-self: center;
    align-items: center;
    flex-direction: column;
}

.landingMsg {
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: white;
    border-radius: 7px;
}

    .landingMsg h3 {
        color: var(--secondary-color);
    }

    .landingMsg h5 {
        color: var(--main-color);
    }

.Icons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    gap: 9rem;
}

@media (max-width: 750px) {
    .Icons {
        gap: 1rem;
    }
}

@media (max-width: 400px) {
    .Icons {
        gap: 0;
        flex-direction: column;
        justify-content: center;
    }
}

.IconBox {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}

    .IconBox i {
        font-size: 100px;
        color: white;
        background-color: var(--main-color);
        padding: 10px;
        border-radius: 50%;
    }

    .IconBox img {
        width: 60px;
    }

.IconBox-Description h5 {
    color: var(--main-color);
}

/* Search */
.appointment-search-container {
    width: 100%;
    height: 60vh;
    background: url('../images/background.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

@media (max-width: 450px) {


    .appointment-search-container {
        background: transparent;
        height: auto;
    }
}

.search-bar {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap; /* Allow flex items to wrap on small screens */
}

.search {
    text-align: end;
}

    .search select,
    .search input {
        border: none;
        background-color: #ffffff;
        border-radius: 5px;
        padding: 8px 10px;
        margin: 0 5px;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
        flex: 1;
    }

.search-bar select,
.search-bar input {
    border: none;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 8px 10px;
    margin: 0 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.search-bar button {
    color: white;
    background-color: #f9d951;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar .icon {
    margin-right: 5px;
}

.flag {
    width: 30px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-container {
    position: relative;
    display: inline-block;
    width: 200px;
    cursor: pointer;
}

.dropdown-header {
    padding: 10px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: left;
    font-weight: 800;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: none;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

    .dropdown-content.active {
        display: block;
    }

.dropdown-search {
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

select {
    width: 100%;
    height: auto;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    font-size: 14px;
    box-sizing: border-box;
}

    select option {
        padding: 5px;
    }

.dropdown-content.active {
    background-color: white;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .search-bar {
        flex-wrap: wrap; /* Stack the items vertically */
        align-items: stretch; /* Make items take full width */
    }

        .search select,
        .search input,
        .search-bar select,
        .search-bar input {
            width: 100%; /* Full width for small screens */
            margin: 5px 0; /* Adjust spacing */
        }

        .search-bar button {
            width: 100%; /* Full width for button */
            margin-top: 10px; /* Space above the button */
        }

    .flag {
        margin-bottom: 10px; /* Add space below the flag on small screens */
    }
}

@media (max-width: 480px) {
    /* For very small screens like mobile phones */
    .search-bar {
        padding: 8px; /* Reduced padding */
    }

        .search-bar button {
            padding: 10px 12px; /* Adjust button padding */
        }

    .flag {
        width: 25px; /* Smaller flag */
        height: 15px;
    }
}

/* Popular Container */
.popular__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden; /* Prevent slides from overflowing the container */
    box-sizing: border-box; /* Include padding and borders in the width */
}

@media screen and (min-width: 1023px) {
    .popular__container {
        flex-direction: row;
        justify-content: center; /* Center slides horizontally */
        gap: 1rem; /* Match with Swiper's spaceBetween setting */
    }
}

.swiper-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto; /* Allow dynamic sizing of the wrapper */
    box-sizing: border-box; /* Include padding and borders */
}

.swiper-slide {
    flex-shrink: 0; /* Prevent shrinking of slides */
    box-sizing: border-box; /* Include padding and borders in the width */
}

@media screen and (max-width: 1023px) {
    .popular__container {
        flex-direction: column; /* Stack items vertically on smaller screens */
        justify-content: center; /* Center items properly */
    }
}

.popular__container, .swiper-wrapper, .swiper-slide {
    width: auto;
    max-width: 100%;
    box-sizing: border-box; /* Ensure consistent width calculations */
}


/*== Speciality =======================*/
.Speciality {
    background-color: hsl(192deg 17.24% 94.31%);
    height: auto;
}

.SpecialityHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.SpecialityLink a {
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
}

.swiper-wrapper {
    height: 180px; /* The wrapper now will expand to 100% of the swiper's height */
    display: flex; /* Ensure the slides are arranged in a row */
}

.Speciality .swiper {
    padding-bottom: 0px;
    height: 120px;
}

.Speciality h5 {
    color: var(--main-color);
    text-align: center;
    margin-top: 7px;
    padding-top: 15px;
    margin-bottom: 15px;
    font-weight: 800;
    font-size: 26px;
}

@media (max-width: 450px) {
    .Speciality h5 {
        font-size: 20px;
    }

    .why-choose-box {
        margin-right: 15px;
    }
}

.swiper-slide {
    width: auto;
    text-align: center;
}

.icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-img {
    width: 80px;
    height: 60px;
    margin-bottom: 10px;
}

p {
    font-size: 14px;
    color: #333;
    margin: 0;
}

.card-custom {
    font-size: 15px;
    margin: 0;
    padding: 0;
    text-align: end;
    color: black;
}

.customH {
    color: var(--main-color);
}

/* why */
.why-choose-us-left {
    padding: 0px;
    /* background-color: #3c8167; */
}

.why-choose-box-container {
    display: grid;
    grid-template-columns: 0.5fr 0.5fr;
    margin-top: 5px;
    grid-gap: 0px;
    padding: 15px;
}

.why-choose-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0px;
    flex-direction: row-reverse;
}

    .why-choose-box img {
        width: 45px;
        height: 45px;
        border-radius: 50%;
    }

.why-choose-box-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 5px;
}

    .why-choose-box-text strong {
        color: var(--main-color);
        font-weight: 600;
        font-size: 24px;
    }

    .why-choose-box-text p {
        color: black;
        font-size: 1.1rem;
        font-weight: 400;
        opacity: 0.7;
        text-align: end;
    }

.why-choose-us-left {
    margin-top: 10px;
}

    .why-choose-us-left a {
        background-color: #1a1a1b;
        color: #ffffff;
        padding: 0px 10px;
        height: 45px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        max-width: 200px;
        margin-top: 30px;
        font-size: 0.9rem;
    }

@media (max-width: 450px) {
    .why-choose-box-container {
        display: initial;
    }

    .why-choose-box-text strong {
        color: var(--main-color);
        font-weight: 600;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .why-choose-us-left {
        padding: 0;
    }

    .IconBox {
        width: 110px;
        height: 100px;
    }
}

.landingimg {
    width: 100%;
    height: 40vh;
    background: url('../Image/background.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}

/* Feedback */
.Feedback .whyCards {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.t-profile {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 10px;
}


.t-profile-img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    background-color: #c7d0eb;
    margin-right: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .t-profile-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

@media (max-width: 550px) {
    .t-profile {
        margin: 2px;
    }

    .t-profile-img {
        width: 55px;
        height: 55px;
    }
}

.t-profile-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .t-profile-text strong {
        color: var(--second-color);
        font-size: 1.2rem;
    }

    .t-profile-text span {
        color: #535353;
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }

.t-rating {
    font-size: 0.8rem;
    color: #ffbc02;
    margin-top: 5px;
}

/* UserSpeciliest */
.UserSpeciliest {
    background-color: hsl(192deg 17.24% 94.31%);
}

    .UserSpeciliest .container {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: row;
        gap: 5rem;
    }

@media (max-width: 750px) {
    .UserSpeciliest .container {
        flex-direction: column;
        gap: 0;
    }
}

.UserSpeciliest .UserSpeciliestImage {
    max-width: 2000px;
    display: flex;
    justify-content: center;
}

.UserSpeciliest img {
    border-radius: 5px;
    width: 350px;
}

.UserSpeciliest .container .userSpeciliestData {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* width: 350px;
    margin-top: -32px; */
    margin-bottom: 10px;
}

.UserSpeciliest .Data p {
    color: var(--main-color);
    font-size: 16px;
    text-align: center;
    font-weight: 500;
}

@media (max-width: 450px) {
    .UserSpeciliest {
        gap: 0;
    }

    .UserSpeciliestData {
        margin-top: -30px;
    }

    .UserSpeciliest .container .userSpeciliestData {
        margin-top: 0px;
    }
}
/* User */
.User {
    background: url('../images/AboutUsBg.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    padding: 20px;
}

    .User .containerBox {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: 30pc;
        padding: 10px;
        margin-left: 30px
    }

    .User p {
        color: var(--secondary-color);
        font-size: 16px;
        text-align: center;
        font-weight: 700;
    }

@media (max-width: 450px) {
    .User {
        height: auto;
    }

    .UserSpeciliest h2.title {
        font-size: 30px;
    }

    .UserSpeciliest p {
        font-size: 19px;
    }

    .User p {
        font-size: 16px;
    }
}

@media (max-width: 750px) {
    .User .containerBox {
        width: auto;
        margin-left: 0;
    }

    .User {
        height: auto;
    }
}

@media (max-width: 450px) {
    .swiper-wrapper {
        height: 180px;
    }

    .IconBox {
        flex-direction: column;
    }

        .IconBox h5 {
            font-size: 16px;
        }

        .IconBox img {
            width: 50px;
        }
}

/* footer */
footer {
    width: 100%;
    background-color: #f5f7fb;
}

.footer-container {
    max-width: 1200px;
    width: 90%;
    margin: 0px auto;
    padding: 50px 0px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-company-box {
    max-width: 330px;
}

    .footer-company-box p {
        color: #585858;
        margin: 5px 0px;
        font-size: 0.9rem;
        letter-spacing: 0.3px;
        line-height: 1.4rem;
    }

.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

    .footer-social a {
        margin-top: 10px;
        margin-right: 10px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #e9e9e9;
        color: #333333;
        font-size: 0.9rem;
        transition: all ease 0.3s;
    }

        .footer-social a:hover {
            background-color: var(--second-color);
            color: #ffffff;
        }

.footer-link-box strong {
    font-size: 1.2rem;
    color: var(--second-color);
    font-weight: 600;
}

.footer-link-box ul {
    margin-top: 5px;
}

.footer-container ul li a {
    color: #585858;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: flex;
    transition: all ease 0.3s;
}

    .footer-container ul li a:hover {
        color: var(--second-color)
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    grid-gap: 10px;
    border-top: 1px solid #e9e9e9;
    padding: 20px 0px;
    max-width: 1200px;
    width: 90%;
    margin: auto;
}

    .footer-bottom span {
        color: #252525;
        font-size: 0.9rem;
    }

.footer-company-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 850px) {
    .whyCards {
        width: 100%;
        align-items: center;
    }

        .whyCards .WhyBox {
            margin: 50px;
        }
}

@media (max-width: 500px) {
    .whyCards .WhyBox {
        width: 150px;
    }
}

@media(max-width: 750px) {
    .appointment-search {
        flex-wrap: wrap;
    }

        .appointment-search button {
            width: -webkit-fill-available;
        }
}


/* About US Page */
.parallax {
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.parallax-1 {
    width: 100%;
    height: 60vh;
    background: url('../images/AboutUsBg.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}

@media (max-width: 450px){
    .parallax{
        display: none;
    }
}

.Class {
    margin-top: 10px;
    padding: 20px;
    height: 80vh;
    width: 100%;
}

.firstClass,
.SecondClass,
.ThirdClass {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    margin: 10px;
    padding: 20px;
    align-items: center;
    gap: 3rem;
}

.second {
    background-color: var(--section-bg-color);
}

.SecondClass {
    flex-direction: row-reverse;
}

.Class .classImg {
    width: 550px;
}

    .Class .classImg > img {
        max-width: 100%;
        border-radius: 25px;
    }

.Class .classText {
    max-width: 550px;
}

    .Class .classText h6 {
        color: var(--main-color);
    }

@media (max-width: 1000px) {
    .Class {
        height: auto;
    }

    .firstClass,
    .SecondClass,
    .ThirdClass {
        flex-direction: column;
    }

    .SecondClass {
        flex-direction: column-reverse;
    }
}

@media (max-width: 850px) {
    .parallax-inner h1 {
        font-size: 120px;
    }

    .Class .classImg {
        width: 100%;
    }
}

@media (max-width: 650px) {
    .parallax-inner h1 {
        font-size: 100px;
    }
}

@media (max-width: 500px) {
    .parallax-inner h1 {
        font-size: 80px;
    }
}

@media (max-width: 400px) {
    .parallax-inner h1 {
        font-size: 60px;
    }
}

@media (max-width: 450px) {
    .search-bar .dropdown-container {
        width: 160px;
    }

    .search-bar img {
        width: 60px;
        height: 40px;
        margin-left: 135px;
    }

    .UserSpeciliestData {
        width: auto;
    }
}

.mySwiperSpeciality {
    width: 100%; /* Ensure Swiper container takes full width */
    height: auto; /* Adjust height as needed */
}

    .mySwiperSpeciality .swiper-wrapper {
        display: flex; /* Required for Swiper to align slides correctly */
        transition: transform 0.3s ease; /* Smooth transition */
    }

    .mySwiperSpeciality .swiper-slide {
        flex-shrink: 0; /* Prevent slides from shrinking */
        width: 100%; /* Match slide width to container */
    }


.mobile{
    display: none;
}

@media (max-width: 450px) {
    .mobile {
        display: block;
    }

    .notMobile{
        display: none;
    }
}