@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');
:root {
    --green: #16a085;
    --black: #444;
    --white: #fff;
    --light-color: #777;
    --wc-green: #7ad03a;
    --wc-red: #a00;
    --wc-orange: #ffba00;
    --wc-purple: #972EA9;
    --wc-light-blue: #000033;
    --wc-blue: #2ea2cc;
    --wc-primary: #810549;
    --wc-primary-text: #fff;
    --box-shadow: .5rem .5rem 0 rgba(111, 117, 116, 0.2);
    --text-shadow: .4rem .4rem 0 rgba(236, 152, 152, 0.2);
    --border: .2rem solid var(--wc-light-blue);
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-transform: capitalize;
    transition: all .2s ease-out;
    text-decoration: none;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;
}

.container {
    /* background-color: #eec0c6;
    background-image: linear-gradient(315deg, #d3b1b6 0%, #7ee8fa 74%); */
    overflow-x: hidden;
}

#my-container {
    overflow-x: hidden;
}

section {
    padding: 6rem 8%;
}

.heading {
    text-align: center;
    padding-bottom: 2rem;
    text-shadow: var(--text-shadow);
    text-transform: uppercase;
    color: var(--black);
    font-size: 5rem;
    letter-spacing: .4rem;
}

.heading span {
    text-transform: uppercase;
    color: #141010;
}

.your-health {
    background-image: url(../images/home.jpg), linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    object-fit: cover;
    background-blend-mode: multiply;
    height: 100vh;
    animation: scale 10s;
}

@keyframes scale {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: .5rem;
    padding-left: 1rem;
    border: var(--border);
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    color: var(--wc-light-blue);
    cursor: pointer;
    font-size: 1.9rem;
    background: #fff;
}

.btn span {
    padding: .7rem 1rem;
    border-radius: .5rem;
    background: var(--wc-light-blue);
    color: #fff;
    margin-left: .5rem;
}

.btn:hover {
    background: var(--wc-light-blue);
    color: #fff;
}

.btn:hover span {
    color: var(--wc-blue);
    background: #fff;
    margin-left: 1rem;
}

.header {
    padding: 2rem 9%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--wc-light-blue);
}

.header .logo {
    font-size: 2.5rem;
    color: var(--black);
}

.mylogo {
    font-size: 2.5rem;
    color: var(--white);
}

.logo.active,
.logo:hover {
    background: var(--wc-light-blue);
    transition: .3s;
    padding: 1rem 2rem;
    border-radius: 5px;
}

.header .logo i {
    color: var(--white);
}

.header .navbar a {
    font-size: 1.7rem;
    color: var(--white);
    margin-left: 2rem;
}

.navbar a.active,
.navbar a:hover {
    background: var(--white);
    transition: .3s;
    padding: 1rem 2rem;
    border-radius: 5px;
    color: var(--wc-blue);
}

.header .navbar a:hover {
    color: var(--wc-blue);
}

#menu-btn {
    font-size: 2.5rem;
    border-radius: .5rem;
    background: #eee;
    color: var(--wc-purple);
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: none;
}

.home {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 20rem;
    padding-bottom: 20rem;
}

.home .image {
    flex: 1 1 45rem;
}

.home .image img {
    width: 100%;
}

.home .content {
    flex: 1 1 45rem;
}

.home .content h3 {
    font-size: 4.5rem;
    color: var(--wc-light-blue);
    line-height: 2;
    text-shadow: var(--text-shadow);
    opacity: 0;
    animation: moveBanner 1s .7s forwards;
}

.home .content p {
    font-size: 1.7rem;
    color: var(--black);
    line-height: 2;
    padding: 1rem 0;
    opacity: 0;
    animation: moveBanner 1s .7s forwards;
}

.home .content .btn {
    display: inline-block;
    margin-top: 1rem;
    padding: .5rem;
    padding-left: 1rem;
    border: var(--border);
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    color: var(--wc-light-blue);
    cursor: pointer;
    font-size: 1.9rem;
    background: #fff;
    opacity: 0;
    animation: moveBanner 1s .9s forwards;
}

@keyframes moveBanner {
    0% {
        transform: translateY(40rem) rotateY(-20deg);
    }
    100% {
        transform: translateY(0) rotateY(0);
        opacity: 1;
    }
}

.icons-container {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    padding-top: 6rem;
    padding-bottom: 6rem;
    cursor: pointer;
}

.icons-container .icons {
    border-radius: .5rem;
    text-align: center;
    padding: 2.5rem;
}

.icons-container .icons i {
    font-size: 4.5rem;
    color: var(--wc-orange);
    padding-bottom: .7rem;
}

.icons-container .icons h3 {
    font-size: 4.5rem;
    color: var(--black);
    padding: .5rem 0;
}

.icons-container .icons p {
    font-size: 1.7rem;
    color: var(--light-color);
}

.services {
    background: #fdfbfb;
    cursor: pointer;
}

.services .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    gap: 4rem;
}

.services .box-container .box {
    border-radius: 10px;
    box-shadow: 0 0 0.9rem rgb(0, 0, 0, 0.5);
    padding: 2.5rem;
    position: relative;
    background: linear-gradient(138.88deg, rgba(254, 254, 254, 0) -2.44%, #F9F9F9 -2.43%, rgba(254, 254, 254, 0.51) 98.26%);
}

.services .box-container .box i {
    color: var(--wc-orange);
    font-size: 3rem;
    padding-bottom: .6rem;
    background: #020935;
    padding: 1.5rem;
    border-radius: 50%;
    position: absolute;
    top: -2rem;
    right: 2rem;
}

.services .box-container .box h3 {
    color: var(--black);
    font-size: 2.5rem;
    padding: 1rem 0;
}

.services .box-container .box p {
    color: var(--light-color);
    font-size: 1.4rem;
    line-height: 2;
}

.about .row {
    display: grid;
    align-items: center;
    /* flex-wrap: wrap; */
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
}

.about .row .image {
    flex: 1 1 45rem;
}

.about .row .image img {
    width: 100%;
    /* height: 90vh; */
    border-radius: 10px;
    box-shadow: 0 0 0.9rem rgb(0, 0, 0, 0.1);
}

.about .row .content {
    flex: 1 1 45rem;
    /* margin-top: -11%; */
}

.about .row .content h3 {
    color: var(--black);
    text-shadow: var(--text-shadow);
    font-size: 4rem;
    line-height: 1.8;
}

.about .row .content p {
    color: var(--light-color);
    padding: 1rem 0;
    font-size: 1.5rem;
    line-height: 1.8;
}

.doctors {
    background: #fdfbfb;
}

.doctors .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.doctors .box-container .box {
    text-align: center;
    background: #fff;
    border-radius: .5rem;
    padding: 2rem;
    transform: translateX(5px);
    box-shadow: 0 0 0.9rem rgb(0, 0, 0, 0.5);
}

.doctors .box-container .box img {
    /* height: 25rem; */
    border-radius: .5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 100%;
}

.doctors .box-container .box:hover img {
    transform: scale(1.1);
    padding: .4rem;
}

.doctors .box-container .box h3 {
    color: var(--black);
    font-size: 2.5rem;
}

.doctors .box-container .box span {
    color: var(--wc-light-blue);
    font-size: 1.5rem;
}

.doctors .box-container .box .share {
    padding-top: 2rem;
}

.doctors .box-container .box .share a {
    height: 5rem;
    width: 5rem;
    line-height: 4.5rem;
    font-size: 2rem;
    color: #ffd208;
    border-radius: .5rem;
    border: var(--border);
    margin: .3rem;
}

.doctors .box-container .box .share a:hover {
    background: var(--wc-orange);
    color: #fff;
    box-shadow: var(--box-shadow);
}

.doctors .box-container .box .share a.active,
.doctors .box-container .box .share a:hover {
    background: var(--wc-light-blue);
    transition: .3s;
    padding: 1rem 2rem;
    border-radius: 5px;
}

.review {
    background: url(../images/pexels-anna-shvets-3844581.jpg), linear-gradient(var(--black), var(--black));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    animation: scale 10s;
}

.rere {
    color: #fff;
}

.review .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    gap: 2rem;
}

.review .box-container .box {
    box-shadow: 0 0 0.9rem rgb(0, 0, 0, 0.5);
    border-radius: .5rem;
    padding: 2.5rem;
    background: transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 0;
    transition: 1s;
    cursor: pointer;
}

.review .box-container .box img {
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
    object-fit: cover;
    border: .5rem solid #fff;
}

.review .box-container .box h3 {
    color: #fff;
    font-size: 2.2rem;
    padding: .5rem 0;
}

.review .box-container .box .stars i {
    color: var(--wc-orange);
    font-size: 1.5rem;
}

.review .box-container .box .text {
    color: var(--white);
    line-height: 1.8;
    font-size: 1.6rem;
    padding-top: 4rem;
}

.review .box-container .box::before {
    content: '';
    position: absolute;
    top: -4rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--wc-blue);
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    height: 25rem;
    width: 120%;
    z-index: -1;
}

.blogs {
    background: #fdfbfb;
}

.blogs .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
}

.blogs .box-container .box {
    background: white;
    box-shadow: 0 0 0.9rem rgb(0, 0, 0, 0.5);
    border-radius: .5rem;
    padding: 2rem;
}

.blogs .box-container .box .image {
    height: 20rem;
    overflow: hidden;
    border-radius: .5rem;
}

.blogs .box-container .box .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.blogs .box-container .box:hover .image img {
    transform: scale(1.2);
}

.blogs .box-container .box .content {
    padding-top: 1rem;
}

.blogs .box-container .box .content .icon {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blogs .box-container .box .content .icon a {
    font-size: 1.4rem;
    color: var(--light-color);
}

.blogs .box-container .box .content .icon a:hover {
    color: var(--wc-orange);
}

.blogs .box-container .box .content .icon a i {
    padding-right: .5rem;
    color: var(--wc-orange);
}

.blogs .box-container .box .content h3 {
    color: var(--black);
    font-size: 2rem;
}

.blogs .box-container .box .content p {
    color: var(--light-color);
    font-size: 1.5rem;
    line-height: 1.8;
    padding: 1rem 0;
}

.footer {
    background-color: var(--wc-light-blue);
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 5rem;
}

.footer .box-container .box h3 {
    font-size: 2rem;
    color: var(--white);
    padding: 1rem 0;
}

.footer .box-container .box a {
    display: block;
    font-size: 1.3rem;
    color: var(--white);
    padding: 1rem 0;
}

.footer .box-container .box a i {
    padding-right: .5rem;
    color: var(--wc-orange);
}

.footer .box-container .box a:hover i {
    padding: 1rem;
}

.footer .credit {
    padding: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 2rem;
    color: var(--white);
    border-top: .2rem solid rgba(228, 206, 13, 0.1);
}

.sub {
    color: var(--white);
}


/* doctors page */

.my-home {
    background-image: url(/images/home-img.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    margin-top: 2%;
    color: var(--black);
    font-size: 2rem;
    width: 100%;
    line-height: 5rem;
}

.first-container .docdoc {
    display: grid;
    grid-template-columns: 49% 49%;
    grid-gap: 2%;
}


/* admin styling */

.first-container {
    background: url(../images/pexels-anna-shvets-3844581.jpg), linear-gradient(var(--black), var(--black));
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
    animation: scale 2s;
}

#main-container {
    overflow-x: hidden;
}

.thecontainer {
    padding-top: 10rem;
    text-align: center;
}

.thecontainer h1 {
    font-size: 4.5rem;
    color: white;
}

.thecontainer p {
    padding-top: 3rem;
    font-size: 3rem;
    font-weight: bolder;
    color: #2ea2cc;
}

.btn-n {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem;
    padding-left: 1rem;
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    color: var(--white);
    cursor: pointer;
    font-size: 1.9rem;
    background: rgb(226, 140, 12);
}

.btn-n:hover {
    background: var(--wc-light-blue);
    color: #fff;
}

.man {
    /* display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    background: white;
    grid-gap: 2%; */
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    padding-top: 5rem;
    cursor: pointer;
}

.admin-img {
    width: 90%;
    background-color: #fff;
    border: 2px solid rgb(226, 140, 12);
    border-radius: 10px;
}

.admin-img h2 {
    line-height: 3rem;
    background-color: rgb(226, 140, 12);
    font-size: 2.5rem;
    margin: 2rem;
    border-radius: 5px;
    color: white;
}

.admin-img h2:hover {
    background-color: rgb(59, 56, 59);
    color: rgb(226, 140, 12);
}

.admin-img img {
    width: 50%;
    align-items: center;
}


/* .hhh {
    padding-top: 1rem;
    margin-top: -1rem;
} */

#admin-image {
    width: 70%;
}

.soro {
    color: #fff;
}

.soro:hover {
    color: #ffba00;
}


/* features admin */

.home-section {
    display: block;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
}

.home-section .common {
    flex: 1 1 45rem;
    width: 100%;
}

.home-section .common img {
    margin-top: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 0.9rem rgb(0, 0, 0, 0.1);
    width: 90%;
}

.feat h2 {
    font-size: 3rem;
}


/* media queries  */

@media(max-width:1440px) {
    .about .row .content p {
        padding: 1rem 0;
        font-size: 1.6rem;
    }
}

@media (max-width:1024px) {
    .about .row .content h3 {
        color: var(--black);
        text-shadow: var(--text-shadow);
        font-size: 4rem;
        line-height: 1.8;
        padding-top: 6rem;
    }
    /* .about .row .image img {
        height: 80vh;
    } */
}

@media (max-width:991px) {
    html {
        font-size: 55%;
    }
    .header {
        padding: 2rem;
    }
    section {
        padding: 2rem;
    }
}

@media (max-width:839px) {
    .about .row .image img {
        height: unset;
    }
}

@media (max-width:768px) {
    #menu-btn {
        display: initial;
        color: rgb(4, 28, 63);
    }
    .header .navbar {
        position: absolute;
        top: 115%;
        right: 2rem;
        border-radius: .5rem;
        box-shadow: var(--box-shadow);
        width: 30rem;
        border: var(--border);
        background: #fff;
        transform: scale(0);
        opacity: 0;
        transform-origin: top right;
        transition: none;
    }
    .header .navbar.active {
        transform: scale(1);
        opacity: 1;
        transition: .5s ease-out;
    }
    .header .navbar a {
        font-size: 2rem;
        display: block;
        margin: 2.5rem;
        color: var(--wc-light-blue);
    }
    .header .navbar a.active {
        padding: unset;
    }
    .home-section .common {
        margin-top: 10rem;
    }
    .about .row {
        display: block;
    }
}

@media (max-width:450px) {
    html {
        font-size: 50%;
    }
    .about .row .content h3 {
        padding-top: 2rem;
    }
    .man {
        display: block;
    }
    .your-health {
        background-position: center;
        background-size: cover;
    }
    .admin-img {
        width: 80%;
        background-color: #fff;
        border: 2px solid rgb(226, 140, 12);
        border-radius: 10px;
        margin: 4rem;
    }
}