@font-face {
    font-family: "vazir";
    src: url("/fonts/eot/Vazir-Thin.eot");
    /* IE9 Compat Modes */
    src: url("/fonts/eot/Vazir-Thin.eot?#iefix") format("embedded-opentype"), url("/fonts/woff2/Vazir-Thin.woff2") format("woff2"), url("/fonts/woff/Vazir-Thin.woff") format("woff"), url("/fonts/ttf/Vazir-Thin.ttf") format("truetype");
    /* Safari, Android, iOS */
}

@font-face {
    font-family: "lalezar";
    src: url("/fonts/eot/lalezar.eot");
    /* IE9 Compat Modes */
    src: url("/fonts/eot/lalezar.eot?#iefix") format("embedded-opentype"), url("/fonts/woff2/lalezar.woff2") format("woff2"), url("/fonts/woff/lalezar.woff") format("woff"), url("/fonts/ttf/lalezar.ttf") format("truetype");
    /* Safari, Android, iOS */
}

/* Basic Styles */
html {
    --s: 50px;
    /* control the size */
    --c: white;

    --_l: #0000 46%, var(--c) 47% 53%, #0000 54%;
    background:
        radial-gradient(100% 100% at 100% 100%, var(--_l)) var(--s) var(--s),
        radial-gradient(100% 100% at 0 0, var(--_l)) var(--s) var(--s),
        radial-gradient(100% 100%, #0000 22%, var(--c) 23% 29%, #0000 30% 34%, var(--c) 35% 41%, #0000 42%) #F8ECC9;
    background-size: calc(var(--s)*2) calc(var(--s)*2);
    scroll-behavior: smooth;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'vazir';
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background: url()
}

a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

ul {
    list-style: none;
}

.bg {
    animation: slide 3s ease-in-out infinite alternate;
    background-image: linear-gradient(90deg, rgba(238,174,202,1) 0%, rgba(135,158,255,1) 100%);
    bottom: 0;
    left: -50%;
    position: fixed;
    right: -50%;
    top: 0;
    z-index: -1;
    opacity: .3;
}

.bg2 {
    animation-direction: alternate-reverse;
    animation-duration: 4s;
}

.bg3 {
    animation-duration: 5s;
}

@keyframes slide {
    0% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(25%);
    }
}

.container {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;

    padding: 0 10px;
}

/* Header Styles */
#go-up-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#go-up-btn:hover {
    background-color: #3e8e41;
}

header {
    background-color: #fff;
    position: fixed;
    z-index: 5;
    width: 100%;
    background-color: orange;
    margin: 0 auto;

}


.nav__container {
    width: 100%;
    border-style: none;
    border-radius: 10px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    margin-right: auto;
}

nav {
    width: 100%;
    border-radius: 10px;
}

nav ul {
    display: flex;
    width: 100%;
}

nav li {
    margin-left: 20px;
    margin-top: 10px;

}

nav a {
    display: block;
    padding: 10px;
    transition: background-color 0.3s ease-in-out;
}

nav a:hover {
    color: black;
}

nav img {
    width: 45px;
}

/* Main Content Styles */

main {
    padding-top: 80px;
}

.boxes {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.content {
    max-width: 80%;
    /* height: auto; */
    margin: 0 auto;
    background-color: rgba(245, 245, 245, .8);
padding: 1rem .5rem;
    border: 1px solid #ddd;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
    opacity: .8;
}

.section__contents {

    margin-bottom: 5rem;
}

.content__text {
    text-align: left;
    font-size: 2rem;
    color: #ffffff;

}

.content:first-of-type {
    margin-top: 10rem;
    width: 50%;
    height: 20rem;
    margin-bottom: 10rem;
}

.content:first-of-type .content__text {
    white-space: nowrap;
}

.content__text h4 {
    font-size: 1.1rem !important;
    background-color: #474c71;
    padding: 1rem 1.2rem;
    border-radius: 10px;


}


.content__text p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn {

    background-color: #f00;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    display: inline-block;

}

.btn:hover {
    background-color: #fff;
    color: #f00;
    border: 1px solid cyan;
}
@media screen and (max-width:992px) {
    .btn{
        padding: 5px 10px;
        font-size: 1.5rem;

    }
}
.content__images {
    position: absolute;
    top: 0;
    right: -5rem;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.content__images img {
    height: 25rem;
    width: 25rem;
    pointer-events: none;

}

.nurse img {
    width: 30rem;
    height: 30rem;
}


/* Footer Styles */

footer {
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}



/* Hover and Animation Styles */

nav a::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0%;
    width: 100%;
    height: 2px;
    background-color: cyan;
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 700ms ease-in-out;
}

nav a:hover::before {
    transform: scaleX(1);
}

.btn::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    top: 0px;
    border: 2px solid cyan;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.btn:hover::before {
    opacity: 1;
}

.content__text h2 {
    position: relative;

}

.content__text h2::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #f00;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.content__text h2:hover::before {
    transform: scaleX(1);
}

.content__text p {
    position: relative;
}

.content__text p::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #f00;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.content__text p:hover::before {
    transform: scaleX(1);
}

.ourgroup__div {
    position: relative;
    margin-right: 200px;
    border-right: 5px solid transparent;

    width: 400px;
    height: 600px;
    margin-bottom: 100px;
    padding: 50px;
    border-image: linear-gradient(to bottom, rgba(34, 193, 195, 1) 0%, rgba(253, 187, 45, 1) 100%);
    border-image-slice: 1;
}

.ourgroup__img {
    position: relative;
    top: -10rem;
    height: 100%;
    margin: auto;
}

.ourgroup__list {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 50px;
}

.ourgroup__header {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;

}

.footer__container ul {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;

}

.footer__list {
    margin-left: .5rem;
    color: white;
    font-size: 1rem;
    text-align: center;
}

.footer__list a {
    color: #F8ECC9;
    font-weight: 100;
}

@media screen and (max-width:1200px) {
    .content {
        padding-top: 5rem;
    }

    .section__contents img {
        width: 30rem !important;
    }

    .container {
        flex-direction: column !important;
        justify-content: center;
    }

    .content__text h4 {
        font-size: .7rem !important;
        padding: .8rem .5rem;

    }

    .programmer img {
        width: 25rem !important;
        height: 20rem !important;
    }


    .ourgroup__div {
        width: 50%;
        margin-right: 2rem;
        margin-bottom: 0;
    }

    .ourgroup .container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .nurse img {
        width: 20rem !important;
        height: 20rem !important;
    }


}

@media screen and (max-width:992px) {
    .ourgroup__img img {
        width: 30rem !important;
        height: 30rem !important;
        align-self: flex-end;

    }
}

@media screen and (max-width:776px) {
    .ourgroup .container {
        flex-direction: column;
        justify-content: center;
    }
}