@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
}


html{
    scroll-behavior: smooth;
}


:root {
    --main-color: #41a3f8;
    --text-color: #111;
    --light-text: #272727a2;
    --font-secondary: #222;
    --light-bg: rgb(247, 247, 247);
}

/* Home Styling */

::-webkit-scrollbar{
    width: 10px;
}

::-webkit-scrollbar-track{
    background: transparent;
}

::-webkit-scrollbar-thumb{
    background: var(--main-color);
}

body{
    box-sizing: border-box;
    font-family: 'Poppins';
}

.flex{
    display: flex;
}

nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 22px 7%;
    z-index: 100;
    box-sizing: border-box;
    background: var(--light-bg);
    align-items: center;
    transition: .2s;
}

nav.activated{
    padding: 16px 7%;
}

nav div{
    align-items: center;
}

nav h1 a{
    color: var(--main-color);
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 1px;
}

nav ul li{
    margin: 0 2vw;
    list-style: none;
}

nav ul li a{
    text-decoration: none;
    color: var(--light-text);
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

nav ul li a:hover{
    color: var(--main-color);
}

.standardBtn{
    border: none;
    outline: none;
    color: white;
    background: var(--main-color);
    padding: 10px 12px;
    font-family: 'Poppins';
    font-size: 15px;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
}

.specialBtn{
    border: none;
    outline: none;
    color: rgb(255, 255, 255);
    background: var(--main-color);
    padding: 10px 20px;
    font-family: 'Poppins';
    font-size: 15px;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 20px auto 0 auto;
    width: fit-content;
}

#closeMenu{
    z-index: 100;
    width: 60px;
    height: 60px;
    display: none;
}

#humburger{
    width: 60px;
    height: 40px;
    display: none;
    align-items: end;
    justify-content: center;
    flex-direction: column;
}

#humburger span{
    width: 30px;
    height: 5px;
    margin-bottom: 7px;
    background: var(--main-color);
}

#humburger span:nth-child(1){
    width: 50px;
}

#humburger span:nth-child(2){
    width: 40px;
}


/* -------------------Home  */

.bgSection{
    background: var(--light-bg);
}

section{
    padding: 0 7%;
    max-width: 1280px;
    margin: auto;
}

.hero-section{
    display: flex;
    padding-top: 95px;
    background: var(--light-bg);
    align-items: center;
    justify-content: space-between;
}

.hero-section .heroDiv{
    width: 46%;
}

/* LIVE VIEWERS*/
.live-viewers {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    font-size: 14px;
    color: #333;
    z-index: 999;
}

/* Adattamento per mobile */
@media screen and (max-width: 600px) {
    .live-viewers {
        bottom: 10px;
        right: 10px;
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* Modern Contact Form – Uniforme, arrotondato e coerente */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: white;
  padding: 25px 20px;
  border-radius: 8px; /* arrotondamento del contenitore */
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 100%;
  margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px; /* arrotondamento dei box */
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: none; /* disabilita trascinamento */
  margin-bottom: 15px;
}



.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 0 2px rgba(65,163,248,0.2);
  outline: none;
  
}

.contact-form button {
  width: 100%;
  font-size: 15px;
  padding: 12px 0;
  border-radius: 8px; /* arrotondamento del pulsante */
  box-sizing: border-box;
}

@media screen and (max-width: 600px) {
  .contact-form button {
    font-size: 14px;
    line-height: 1.3;
    padding: 10px 8px;
  }
}


.hero-section .heroDiv h1{
    font-size: 3.5vw;
    color: var(--font-secondary);
    
}

@media screen and (max-width: 600px) {
  .hero-section .heroDiv h1 {
    font-size: 24px;
    line-height: 1.2;
  }
}

.hero-section .heroDiv h1 span{
    color: var(--main-color);
}

.hero-section .heroDiv p{
    font-size: 16px;
    color: var(--light-text);
    line-height: 30px;
    margin: 35px 0;
    
}

.hero-section .heroImg{
    width: 46%;
    position: relative;
}

.heroImg .mainHeroImg{
    width: 100%;
}

.heroImg div{
    width: 100%;
    height: 90%;
    position: absolute;
    /* animation: animateHero 40s infinite; */
}

@keyframes animateHero {
    0%{
        transform: rotateZ(0deg);
    }
    50%{
        transform: rotateZ(15deg);
    }
    100%{
        transform: rotateZ(0deg);
    }
}

.heroImg .absoluteImg{
    position: absolute;
    width: 100px;
    border-radius: 50%;
    transition: .2s;
    z-index: 1;
}

.absoluteImg:hover{
    transform: scale(1.1);
}

.absoluteImg.callImg{
    top: 0;
    left: 30%;
    width: 5vw;
}

.absoluteImg.messageImg{
    top: 50%;
    width: 7vw;
}
.absoluteImg.rateImg{
    bottom: 20px;
    left: 30%;
    width: 9vw;
    border-radius: 3px;
}

.absoluteImg.videocallImg{
    top: 30%;
    right: 10%;
    width: 7vw;
    border-radius: 50%;
}

.absoluteImg.supportImg{
    top: 75%;
    right: 10%;
    width: 10vw;
    border-radius: 8px;
}



/* ---------------Steps */

.steps{
    text-align: center;
    padding: 60px 7% 0 7%;
    background: white;
    color: var(--font-secondary);
}

.steps h1{
    font-weight: 500;
    font-size: 32px;
    color: var(--font-secondary);
    margin-bottom: 40px;
}

.step{
    display: inline-block;
    width: 29%;
    padding: 20px;
}

.steps-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.step img{
    width: 30%;
    border-radius: 50%;
    margin-bottom: 20px;
}

.step h3{
    font-weight: 500;
    font-size: 22px;
    margin-bottom: 10px;
}

.step p{
    color: var(--light-text);
    font-size: 16px;
    line-height: 25px;
    font-weight: 400;
}


/* ----------------------------- About ------------------ */

#about{
    padding-top: 90px;
}

.doctor_sec{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.doctor_sec .doctor_img{
    width: 45%;
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
}

.doctor_img .doctor_hero{
    width: 100%;
    position: relative;
}

.doctorInfo{
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 30%;
    left: 10%;
    background: white;
    padding: 12px 16px;
    cursor: default;
    border-radius: 6px;
    transition: .3s;
}

.doctorInfo:hover{
    transform: scale(1.1);
}

.doctorInfoBox{
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.doctorInfoBox .doctorAvatar{
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: var(--light-bg);
}

.doctorAvatar img{
    max-width: 60px;
}

.doctorInfoBox h4{
    color: var(--font-secondary);
    font-weight: 600;
    font-size: 18px;
}

.doctorInfoBox div p{
    font-size: 13px;
    display: flex;
    margin-top: 3px;
    align-items: center;
    color: var(--light-text);
}

.doctorInfoBox div span{
    font-size: 18px;
    color: #FFD700;
}

.doctorInfoBox h5{
    font-weight: 500;
    color: var(--light-text);
}

.doctorInfoBox:nth-child(3){
    justify-content: center;
    font-size: 13px;
    margin: 8px 0;
    color: var(--light-text);
}

.doctor_sec .doctor_txt{
    width: 50%;
    margin-bottom: 44px;
}

.doctor_txt h1{
    color: var(--font-secondary);
    font-size: 3vw;
    font-weight: 400;
    margin-bottom: 24px;
}

.doctor_txt h1 span{
    color: var(--main-color);
}

.doctor_txt p{
    margin: 20px 0;
    color: var(--light-text);
    line-height: 25px;
    margin-bottom: 54px;
}

.check-list{
    display: flex;
    margin: 12px 0;
    color: var(--font-secondary);
    align-items: center;
}

.check-list span{
    color: var(--main-color);
    margin-right: 15px;
}


/* ---------------------Services */

.services_sec{
    color: var(--font-secondary);
    text-align: center;
    margin: 40px auto;
    background: var(--light-bg);
    padding: 65px 7%;
}

.services_sec h1{
    font-size: 3vw;
    font-weight: 500;
}

.services_sec h2{
    font-weight: 500;
}

.services_sec p{
    color: var(--light-text);
    text-align: center;
    margin: auto;
    margin-top: 15px;
    font-size: 14px;
    line-height: 25px;
}


.serviceContainer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 60px 0 40px;
}

.serviceContainer .serviceBox{
    width: 28%;
    background: white;
    padding: 20px 25px;
    border-radius: 6px;
    box-sizing: border-box;
    position: relative;
    filter: drop-shadow(0 0 6px #e0e0e046);
}

.serviceContainer .serviceBox:nth-child(2){
    transform: scale(1.1);
}

.serviceContainer .serviceBox:nth-child(2) span{
    width: 100%;
    height: 10%;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 6px;
    color: white;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
    background: var(--main-color);
}

.serviceBox img{
    max-width: 120px;
    border-radius: 50%;
}

/* -------------------------- Mobile App----------------------- */

.mobileApp{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 30px;
}

.mobileApp .appImg{
    width: 45%;
    max-width: 300px;
}

.mobileApp div{
    width: 45%;
}

.mobileApp div h1{
    color: var(--font-secondary);
    font-weight: 600;
    font-size: 2.6vw;
    margin-bottom: 30px;
}

.mobileApp div p{
    color: var(--light-text);
    margin: 8px 0;
}

.mobileApp div span{
    display: flex;
    margin-top: 15px;
    align-items: center;
}

.mobileApp div img{
    max-width: 150px;
    cursor: pointer;
}

.mobileApp div img:nth-child(2){
    max-width: 130px;
    margin-left: 20px;
}


/* ------------------------ Reviews----------------- */

.testimonials{
    padding: 65px 7%;
    background: var(--light-bg);
}

.testimonials h1{
    text-align: center;
    color: var(--font-secondary);
    font-weight: 600;
    font-size: 2.6vw;
}

/* ------Slider */

.slide-container{
    max-width: 1120px;
    width: 100%;
    padding: 40px 0;
    margin-top: 40px;
}

.slide-content{
    margin: 0 40px;
    overflow: hidden;
}

.card{
    border-radius: 10px;
    position: relative;
    background: white;
}

.card .quotesImg{
    position: absolute;
    top: 0;
    right: 0;
    background: var(--main-color);
    border-radius: 0 0 0 40%;
    width: 60px;
}

.image-content,
.card-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px;
}

.image-content{
    position: relative;
    row-gap: 5px;
    padding: 25px 0;
}

.card-image{
    position: relative;
    height: 100px;
    width: 100px;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
}

.card-image .card-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.card-content span{
    color: var(--main-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.name{
    font-size: 20px;
    font-weight: 500;
    color: var(--font-secondary);
}

.description{
    font-size: 14px;
    color: var(--font-secondary);
    text-align: center;
}

.xView{
    font-size: 16px;
    padding: 8px 12px;
    margin: 14px;
    margin-bottom: 20px;
    cursor: default;
    opacity: 0;
}

.swiper-navBtn{
    color: var(--main-color);
    transition: color 0.3s ease;
}

.swiper-navBtn::before,
.swiper-navBtn::after{
    font-size: 36px;
}

.swiper-button-next{
    right: 0;
}

.swiper-button-prev{
    left: 0;
}

.swiper-pagination-bullet{
    background-color: var(--main-color);
}

.swiper-pagination-bullet-active{
    background-color: var(--main-color);
}

@media screen and (max-width: 768px) {
    .slide-content{
        margin: 0 10px;
    }

    .swiper-navBtn{
        display: none;
    }
}


/* -----------------Call To Action- */

.callToAction{
    padding: 60px 7%;
    margin-top: 180px;
}

.callToAction img{
    max-width: 300px;
    height: auto;
    position: absolute;
    bottom: 0;
    right: 4%;
    display: block;
}

.callToActionBox{
    color: white;
    background: linear-gradient(90deg,rgba(65,163,248,1) 0%,rgba(2,117,218,1) 100%);
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px;
    padding: 20px 7%;
    min-height: 250px;
}

.callToActionBox h1{
    font-weight: 500;
    font-size: 2.8vw;
}

.callToActionBox button{
    background: white;
    margin-top: 20px;
    font-weight: 600;
    color: var(--main-color);
}

/* -----------------Footer */

footer{
    padding: 60px 7%;
    max-width: 1280px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: var(--light-bg);
    color: var(--font-secondary);
}

footer h1{
    color: var(--main-color);
}

footer div p,
footer div p a{
    text-decoration: none;
    color: var(--light-text);
}

footer h3{
    font-weight: 600;
}

footer p,
footer span{
    margin: 6px 0;
    cursor: pointer;
    transition: .3s;
}

footer p:hover,
footer p a:hover{
    color: var(--main-color);
}

footer input{
    max-width: 250px;
    border: none;
    outline: none;
    background: white;
    color: var(--font-secondary);
    padding: 16px;
    margin: 12px 0;
    border-radius: 3px;
}

footer div{
    display: flex;
    flex-direction: column;
}


.reveal{
    transform: translateY(50px);
    opacity: 0;
    transition: .2s;
}

.reveal.active{
    transform: translateY(0px);
    opacity: 1;
}

.info-floating-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.85); /* Meno opaco */
    padding: 10px 14px; /* Più compatto */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06); /* Ombra più leggera */
    font-size: 13.5px; /* Leggermente più piccolo */
    color: #333;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    max-width: 260px;
    transition: all 0.3s ease;
}

.info-floating-box div {
    display: flex;
    align-items: center;
}

.info-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

@media screen and (max-width: 600px) {
  .info-floating-box {
    bottom: 20px;  /* 🔽 Abbassato da 80px a 20px */
    right: 10px;
    max-width: 90vw;
    z-index: 10000;
  }

  .info-icon {
    width: 16px;
    height: 16px;
  }
}

