@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

:root {
    --light-blue:#5DA7E7;
    --dark-blue: #00158D;
    --grey: #51516F;
    --light-grey: #d1d1d1;
    --green: #1ED1BC;
    --servicii-green: #EDF5F3;
    --servicii-text-gray: #B0B0C3;
    --light-green: #EDF5F3;
    --form-color: #37008D;
    --letter-form: #AEA9FF;
    --night: #000;
    --day: #fff;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0
}

* {
    padding: 0px;
    margin: 0px;
    outline: 0px;
    border: 0px;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

.nav-logo img {
    width: 50px;
    height: 50px;
}

nav .nav-logo a {
    cursor: pointer;
}

nav {
    position: fixed;
    width: 100%;
    height: 4rem;
    background-color: var(--day);
    box-shadow: 0 1px 100px 0px var(--light-grey);
    padding: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: default;
    z-index: 100;
}

nav:hover {
    box-shadow: 0 5px 50px 0px var(--light-grey);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.nav-left .nav-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left:50px;
}

.nav-left .nav-logo span {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.5px;
    color: var(--light-blue)
}

.nav-left .nav-list {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.nav-left .nav-list li a {
    position: relative;
    font-family: "Poppins", sans-serif;
    color: var(--light-blue);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 0
}

.nav-left .nav-list li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: 0;
    background-color: var(--dark-blue);
    transition: all 0.3s ease;
}

.nav-left .nav-list li a:hover {
    color: var(--dark-blue)
}

.nav-left .nav-list li a:hover::after {
    width: 70%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 50px;
}

.nav-right > :first-child {
    background-color: var(--light-blue);
}

.nav-right button {
    position: relative;
    width: 120px;
    height: 40px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.75rem;
    font-family: "Poppins", sans-serif;
    background-color: var(--green);
    transition: all 0.3s ease;
    color: var(--day);
}

nav .nav-right #burger{
    display: none;
    color: var(--light-blue);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

nav .nav-right #burger:hover {
    color: var(--dark-blue);
}

.sidebar {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 250px;
    height: 100vh;
    overflow-y: auto;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #ffffff4b;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.sidebar .nav-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    width: 100%;
}

.sidebar .nav-left i {
    font-size: 2rem;
    color: var(--light-blue);
    cursor: pointer;
    margin: 15px 0 0 25px;
    transition: all 0.3s ease;
}

.sidebar .nav-left i:hover {
    color: var(--dark-blue);
    transform: rotate(90deg);
}

.sidebar .nav-left .nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.sidebar .nav-left .nav-list li {
    width: 100%;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.sidebar .nav-left .nav-list li a {
    color: var(--dark-blue)
}

.sidebar .nav-left .nav-list li:hover {
    cursor: pointer;
    background-color: var(--light-green);
}

.sidebar .nav-left .nav-list li:hover > a {
    margin-left: 10px;
}

.sidebar .nav-right {
    width: 100%;
    padding: 0 25px;
    position: absolute;
    bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sidebar .nav-right button {
    width: 100%;
    display: block;
}

.sidebar .nav-right p {
    font-family: "Poppins", sans-serif;
    color: var(--dark-blue);
    line-height: 20px;
    text-align: center;
    margin-top: 10px
}

.despre-noi {
    position: relative;
    width: 100%;
    height: 60vh;
    background-color: var(--light-green);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.despre-noi h1{
    font-family: "Poppins", sans-serif;
    font-size: 3rem;
    color: var(--light-blue);
    margin-top: 3rem;
}

.despre-noi p {
    font-family: "Poppins", sans-serif;
    color: var(--grey);
    font-size: 1.5rem;
    width: 50%;
    text-align: center;
}

.doctor {
    width: 100%;
    height: auto;
    padding: 2rem 1rem;
}

.doctor h1 {
    font-size: 2rem;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    margin-left: 34%;
    margin-top: 2rem;
}

.doctor .despre-doctor {
    width: 100%;
    height: auto;
    margin-top: 3.5rem;
    margin-left: 150px;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.doctor .despre-doctor .img {
    max-width: 100%;
    height: 400px;
    background: linear-gradient(to right, var(--light-blue), var(--light-green), var(--light-blue));
    border-radius: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.doctor .despre-doctor .img img {
    width: 90%;
    max-width: 100%;
    height: 400px;
}

.despre-doctor .info {
    width: 35%;
}

.despre-doctor .info h2 {
    font-size: 1.5rem;
    font-family: "Poppins", sans-serif;
    color: var(--dark-blue);
    margin-bottom: 0.25rem;
}

.despre-doctor .info h4 {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: var(--light-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.despre-doctor .info p {
    font-family: "Poppins", sans-serif;
    font-size: 1em;
    color: var(--grey);
    margin-bottom: 2rem;
}

.despre-doctor .info .categorii {
    display: flex;
    align-items: center;
    gap: 20px;
}

.despre-doctor .info .categorii .categorie {
    width: 200px;
    height: 100px;
    padding: 10px;
    background-color: var(--light-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.despre-doctor .info .categorii .categorie h2 {
    font-size: 1em;
    font-weight: 400;
    color: var(--light-blue);
    margin-bottom: 1.5rem;
}

.despre-doctor .info .categorii .categorie h3 {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 500;
    margin-top: -20px;
}

.valori {
    width: 100%;
    height: auto;
    padding: 5rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3rem;
}

.valori .text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.valori .text h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

.valori .text p {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    color: var(--grey);
    width: 80%;
    text-align: center;
    margin-top: 1rem;
}

.valori .valori-list {
    width: 80%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.valori .valori-list .item {
    position: relative;
    width: calc(25% - 2rem);
    height: 350px;
    border-radius: 10px;
    box-shadow: 0px 3px 10px 0 var(--light-grey);
    padding: 1.5rem;   
}

.valori-list .item i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.valori-list .item #unu {
    background-color: var(--light-blue);
    color: var(--dark-blue)
}

.valori-list .item #doi {
    background-color: var(--light-green);
    color: var(--green)
}

.valori-list .item #trei {
    background-color: rgb(255, 255, 181);
    color: rgb(255, 165, 20)
}

.valori-list .item #patru {
    background-color: var(--letter-form);
    color: var(--form-color);
}

.valori-list .item h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 25px;
}

.valori-list .item p {
    position: absolute;
    top: 165px;
    font-family: "Poppins", sans-serif;
    color: var(--grey);
    width: 80%;
    text-align: left;
}

.expertiza {
    width: 100%;
    height: auto;
    padding: 5rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3rem;
}

.expertiza .text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.expertiza .text h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

.expertiza .text p {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    color: var(--grey);
    width: 80%;
    text-align: center;
    margin-top: 1rem;
}

.expertiza .expertiza-list {
    width: 80%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.expertiza .expertiza-list .item {
    position: relative;
    width: calc(33.3% - 2rem);
    height: 350px;
    border-radius: 10px;
    padding: 1.5rem;   
    background-color: var(--light-green);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: start;
}

.expertiza-list .item h2 {
    font-family: "Poppins", sans-serif;
    color: rgb(11, 131, 117);
    font-weight: 500;
    text-align: left;
    width: 110%;
}

.expertiza-list .item p {
    font-family: "Poppins", sans-serif;
    color: var(--grey);
}

.expertiza-list .item ul li {
    position: relative;
    font-family: "Poppins", sans-serif;
    color: var(--grey);
    padding: 5px 0;
    margin-left: 20px;
}

.expertiza-list .item ul li::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--green);
    top: calc(50% - 3.5px);
    left: -20px;
}

.link {
    margin-top: 200px;
    width: 100%;
    height: 350px;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--green);
}

.link h1 {
    font-family: "Poppins", sans-serif;
    color: var(--day);
    font-weight: 600;
}

.link p {
    font-family: "Poppins", sans-serif;
    color: var(--day);
    font-weight: 400;
    font-size: 1.5rem;
    margin: 0.5rem  0 2rem;
}

.link button {
    width: 240px;
    height: 75px;
    border: 2.5px solid var(--day);
    border-radius: 5px;
    cursor: pointer;
    background-color: var(--day);
    transition: all 0.3s ease;
}

.link button a {
    font-family: "Poppins", sans-serif;
    font-size: 1.25em;
    font-weight: 400;
    color: rgb(11, 131, 117);
}

.link button:hover {
    background: transparent;
}

.link button:hover > a {
    color: var(--day)
}

footer {
    width: 100%;
    background-color: var(--dark-blue);
    position: relative;
    padding: 40px 0 0;
}

footer .info {
    width: 90%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    left: 0;
    right: 0;
    margin: auto;
}

footer .info .left {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

footer .info .left h2 {
    font-family: "Poppins", sans-serif;
    color: var(--day);
    font-size: 1rem;
    font-weight: 800;
}

footer .info .left .span-line {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

footer .info .left .span-line span {
    width: 150px;
    height: 40px;
    background-color: var(--light-blue);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: "Poppins", sans-serif;
    color: var(--day);
    font-size: 12px;
    cursor: default;
}

footer .info .left .span-line span a {
    color: var(--day);
}

footer .info .left .span-line span a:checked {
    color: var(--day);
}

footer .info .left .span-line span a i {
    margin-right: 5px;
}

footer .info .left p {
    font-family: "Poppins", sans-serif;
    color: var(--light-blue);
    font-size: 1rem;
    margin-top: 2rem;
}

footer .info .left p span {
    font-weight: 800;
    margin-left: 10px;
}

footer .info .left .icons {
    width: 100%;
    padding: 0 1rem 0;;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

footer .info .left .icons i {
    width: 50px;
    height: 50px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--day);
    transition: all 0.3s ease;
}

footer .info .left .icons i:hover {
    background-color: var(--dark-blue);
    box-shadow: 0 1px 50px 1px var(--light-blue);
}

footer .info .center {
    display: flex;
    flex-direction: column;
    align-items: start;
}

footer .info .center h1 {
    font-family: "Poppins", sans-serif;
    color: var(--light-blue);
    font-size: 60px;
    line-height: 4.5rem;
    width: 75%;
    position: relative;
    margin-bottom: 1.5rem;
}

footer .info .center span {
    font-family: "Poppins", sans-serif;
    color: var(--day);
    font-weight: 600;
}

footer .info .center p {
    margin-top: 1rem;
    font-family: "Poppins", sans-serif;
    color: var(--light-blue);
}

footer .info .right {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 1rem 0;
}

footer .info .right span {
    font-family: "Poppins", sans-serif;
    color: var(--day);
    font-weight: 800;
}

footer .info .right a {
    width: 100%;
    font-family: "Poppins", sans-serif;
    color: var(--light-blue);
    text-decoration: underline;
}

footer .copyright {
    position: relative;
    margin: 50px 10px 0 0;
    font-family: "Poppins", sans-serif;
    color: var(--light-blue);
    font-size: 1rem;
    text-align: end;
}

@media screen and (max-width: 1280px) {
    nav .nav-right #burger {
        display: block;
    }
    nav .nav-left .nav-list {
        display: none;
    }
    nav .nav-right button {
        display: none;
    }
    footer .info {
        grid-template-columns: repeat(2, 1fr);
    }

    footer .info .right {
        margin-top: 30px;
    }
    .valori .valori-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .valori .valori-list .item {
        width: 100%;
        height: 300px;
    }
    .expertiza .expertiza-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .expertiza .expertiza-list .item {
        width: 100%;
    }
}

@media screen and (max-width: 1024px){
    .doctor {
        margin-top: 100px;
        padding: 0 5em;
    }
    .doctor .despre-doctor {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        width: 100%;
        margin: 0;
        gap: 50px;
    }
    .doctor h1 {
        text-align: center;
        width: 100%;
        margin: 0 0 30px;
    }
    .doctor .despre-doctor .img {
        width: 100%;
        height: 425px;
    }
    .doctor .despre-doctor .info {
        width: 100%
    }
    .doctor .despre-doctor .info .categorii {
        place-content: center;
    }
    .link h1 {
        font-size: 1.65em;
    }
    .link p {
        font-size: 1.25em;
    }
    footer .info {
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
    }
}

@media screen and (max-width: 860px){
    .valori .valori-list {
        grid-template-columns: repeat(1, 1fr);
    }
    .link {
        padding: 3em
    }
}

@media screen and (max-width: 768px){
    .expertiza .expertiza-list {
        grid-template-columns: repeat(1, 1fr);
    }
    .link {
        height: 400px;
    }
    .despre-noi h1 {
        font-size: 2em;
    }
    .despre-noi p {
        font-size: 1.25em;
    }
    .doctor .despre-doctor .info .categorii {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .doctor .despre-doctor .info .categorii .categorie {
        width: 100%;
    }
}

@media screen and (max-width: 640px){
    .doctor h1 {
        font-size: 1.5em;
    }
}

@media screen and (max-width: 525px){
    .doctor {
        padding: 1em;
    }
    .link {
        padding: 1em
    }
    .link h1 {
        font-size: 1.5em;
    }
    .link p {
        font-size: 1em;
    }
}

@media screen and (max-width: 475px){
    .doctor .despre-doctor .img {
        width: 100%;
        position: relative;
    }
    .doctor .despre-doctor .img img {
        width: 100%;
        height: 100%;
    }
}