@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

:root{
    --main-color:#127882;
    --sky:#95cbe1;
    --white:#ffffff;
    --border:.1rem solid rgba(91, 164, 170, 0.3);
}

*{
    
    /*font-family: 'Roboto', sans-serif;*/
    margin:0; padding:0;
    box-sizing: border-box;
    outline: none; border:none;
    text-decoration: none;
    text-transform: none;
    transition: .2s linear;

}


html, body {
    overflow-x: hidden;  /* يمنع التمرير يمين */
}



/* خلي الهيدر ثابت */
.header {
     position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 8rem; /* حدد الارتفاع الفعلي للهيدر */
  z-index: 1000;
}



/* أقسام بحد أدنى طول الشاشة */
section {
 
  min-height: 40vh;
  padding-top: 2rem;
}






html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width: .8rem;
}

html::-webkit-scrollbar-track{
    background: transparent;
}

html::-webkit-scrollbar-thumb{
    background: #5fe0ee;
    border-radius: 5rem;
}

body{
    background: var(--white);
}

section{
    padding:2rem 4%;
}

.heading{
    text-align: center;
    color:#70c056;
    text-transform: uppercase;
    padding-bottom: 3.5rem;
    font-size: 4rem;
}

.heading span{
    color:var(--main-color);
    text-transform: uppercase;
}

.btn{
    margin-top: 1rem;
    display: inline-block;
    padding:.9rem 3rem;
    font-size: 2rem;
    color:#fff;
    background: var(--main-color);
    cursor: pointer;
}

.btn:hover{
    letter-spacing: .5rem;
}

.header{
    background: var(--sky);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:0rem 7%;
    border-bottom: var(--border);

    top:0; left: 0; right: 0;
    z-index: 1000;

    
}



.header .logo img{
    height: 8rem;
   
}

.header .navbar a{
    margin:0 1rem;
    font-size: 2rem;
    color:#fff;
}

.header .navbar a:hover{
    color:var(--main-color);
    border-bottom: .1rem solid var(--main-color);
    padding-bottom: .5rem;
}

.header .icons div{
    color:#fff;
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: 2rem;
}

.header .icons div:hover{
    color:var(--main-color);
}

#menu-btn{
    display:none;
}








.home{
    min-height: 125vh;
    display: flex;
    align-items: center;
    background:url(../images/home-img.jpeg) no-repeat;
    background-size: cover;
    background-position: center;
}

.home .content{
    max-width: 60rem;
}

.home .content h3{
    font-size: 6rem;
    text-transform: uppercase;
    color:#184e82;
}

.home .content p{
    font-size: 2rem;
    font-weight: lighter;
    line-height: 1.8;
    padding:1rem 0;
    color:#184e82;
}

.about .row{
    display: flex;
    align-items: center;
    background:var();
    flex-wrap: wrap;
   
}

.about .row .image{
    flex:1 1 45rem;
}

.about .row .image img{
    width: 80%;
}
.about .row .content{
    flex:1 1 45rem;
    padding:2rem;
}

.about .row .content h3{
    font-size: 3rem;
    color:#082961;
}

.about .row .content p{
    font-size: 1.6rem;
    color:#041f4e;
    padding:1rem 0;
    line-height: 1.8;
}

.goals .row{
    display: flex;
    align-items: center;
    background:var();
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-around;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));

}

.col-md-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }


  .col-lg-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-sm-6 {
    -ms-flex: 0 0 10%;
    flex: 0 0 10%;
    max-width: 10%;
  }

  

  .treatment_section {
    width:110%;
    float: left;
    padding-bottom: 90px;
}

.treatment_taital {
    width: 100%;
    float: left;
    font-size: 40px;
    color: #338223;
    text-align: center;
    font-weight: bold;
}

.treatment_section_2 {
    width: 100%;
    float: left;
    padding-top: 70px;
}

.number_text {
    width: 100%;
    float: left;
    font-size: 60px;
    color: #127882;
    padding-bottom: 0;
}

.care_text {
    width: 100%;
    float: left;
    font-size: 24px;
    color: #082961;
    font-weight: bold;
}

.treatment_text {
    width: 700%;
    float: left;
    font-size: 17px;
    color: #041f4e;
    margin: 10px 0px 0px 0px;
}

.treatment_text_1 {
    width: 700%;
    float: left;
    font-size: 17px;
    color: #000307;
    margin: 10px 0px 0px 0px;
}

.readmore_bt {
    width: 170px;
    float: left;
    padding-top: 30px;
}

.readmore_bt a {
    width: 100%;
    float: left;
    font-size: 18px;
    border: 1px solid #b8b8b8;
    color: #21e2e2;
    text-align: center;
    padding: 10px;
    text-transform: uppercase;
}

.readmore_bt a:hover {
    color: #0cb7d6;
    border: 1px solid #2cc1db;
}

.readmore_bt.active a {
    color: #0cb7d6;
    border: 1px solid #2cc1db;
}

.products .box-container .box:hover{
    background:hsl(182, 20%, 75%);
}

.products .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:1.5rem;
}

.products .box-container .box{
    text-align: center;
    border:var(--border);
    padding: 2rem;
}

.products .box-container .box .icons a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    border:var(--border);
    color:#fff;
    margin:.3rem;
}

.products .box-container .box .icons a:hover{
    background:var(--main-color);
}

.products .box-container .box .image{
    padding: 2.5rem 0;
}

.products .box-container .box .image img{
    height: 25rem;
}

.products .box-container .box .content h3{
    color:#041f4e;
    font-size: 2.5rem;
}

.products .box-container .box .content .stars{
    padding: 1.5rem;
}

.products .box-container .box .content .stars i{
    font-size: 1.7rem;
    color: var(--main-color);
}

.products .box-container .box .content .price{
    color:#fff;
    font-size: 2.5rem;
}

.products .box-container .box .content .price span{
    text-decoration: line-through;
    font-weight: lighter;
    font-size: 1.5rem;
}

.review .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:1.5rem;
}

.review .box-container .box{
    border:var(--border);
    text-align: center;
    padding:3rem 2rem;
}

.review .box-container .box p{
    font-size: 1.5rem;
    line-height: 1.8;
    color:#041f4e;
    padding:2rem 0;
}

.review .box-container .box .user{
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
    object-fit: cover;
}

.review .box-container .box h3{
    padding:1rem 0;
    font-size: 2rem;
    color:#70c056;
}

.review .box-container .box .stars i{
    font-size: 1.5rem;
    color:var(--main-color);
}





.slider {
  position: relative;
  width: 700px;
  height: 450px;
  margin: 50px auto;
  perspective: 1000px;
  overflow: hidden;
  max-width: 100%; /* خلي العرض يتأقلم مع الجوال */
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: 70%;
  height: 100%;
  transform: translateX(-50%) scale(0.8);
  opacity: 0;
  transition: all 0.8s ease;
  text-align: center;

  display: flex;                /* توزيع عمودي */
  flex-direction: column;       /* صورة فوق + نص تحت */
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  height: 80%;        /* خلي الصورة تاخذ 80% من الصندوق */
  object-fit: contain;
  border-radius: 30px;
  box-shadow: 0 0.6rem 1rem rgba(0,0,0,.3);
}
.caption {
  margin-top: 10px;
  font-size: 20px;   /* حجم أكبر */
  font-weight: bold;   /* عريض */
  background: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  box-shadow: 0 .3rem .6rem rgba(0,0,0,.2);
  color:#127882;
}


/* الصورة الرئيسية */
.slide.active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
}

/* السابقة خلف يسار */
.slide.prev {
  transform: translateX(-110%) scale(0.7);
  opacity: 0.6;
  z-index: 2;
}

/* التالية خلف يمين */
.slide.next {
  transform: translateX(10%) scale(0.7);
  opacity: 0.6;
  z-index: 2;
}

/* الأسهم */
.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  z-index: 5;
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

/* للهواتف الصغيرة */
@media (max-width: 768px) {
  .slider {
    height: 320px;   /* صغر الارتفاع للجوال */
  }

  .slide img {
    height: 75%;     /* أقل شوي عشان يبان النص */
  }

  .caption {
    font-size: 2rem;
    padding: 8px;
  }

  .prev-btn, .next-btn {
    font-size: 1.5rem;
    padding: .3rem .7rem;
  }
}


 
  
.contact .row{
    display: flex;
    background:var(--sky);
    flex-wrap: wrap;
    gap:1rem;
}

.contact .row .map{
    flex:1 1 45rem;
    width: 100%;
     height: 600px;  
    object-fit: cover;
}

.contact .row form{
    flex:1 1 45rem;
    padding:5rem 2rem;
    text-align: center;
}

.contact .row form h3{
    text-transform: uppercase;
    font-size: 3.5rem;
    color:#fff;
}

.contact .row form .inputBox{
    display: flex;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
    background:var(--white);
    border:var(--border);
}

.contact .row form .inputBox span{
    color:#70c056;
    font-size: 2rem;
    padding-left: 2rem;
}

.contact .row form .inputBox input{
    width: 100%;
    padding:2rem;
    font-size: 1.7rem;
    color:#127882;
    text-transform: none;
    background:none;
}

.contact .row form .inputBox textarea{
    width: 100%;
    height: 150px;  
    padding:2rem;
    font-size: 1.7rem;
    color:#127882;
    text-transform: none;
    background:none;
}




.blogs .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:1.5rem;
}

.blogs .box-container .box{
    border:var(--border);    
}

.blogs .box-container .box .image{
    height: 25rem;
    overflow:hidden;
    width: 100%;
}

.blogs .box-container .box .image img{
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.blogs .box-container .box:hover .image img{
    transform: scale(1.2);
}

.blogs .box-container .box .content{
    padding:2rem;
}

.blogs .box-container .box .content .title{
    font-size: 2.5rem;
    line-height: 1.5;
    color:#70c056;
}

.blogs .box-container .box .content .title:hover{
    color:var(--main-color);
}

.blogs .box-container .box .content span{
    color:var(--main-color);
    display: block;
    padding-top: 1rem;
    font-size: 2rem;
}

.blogs .box-container .box .content p{
    font-size: 1.6rem;
    line-height: 1.8;
    color:#041f4e;
    padding:1rem 0;
}





.footer{
    background:var(--sky);
    text-align: center;
}

.footer .share{
    padding:1rem 0;
}

.footer .share a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    color:#fff;
    border:var(--border);
    margin:.3rem;
    border-radius: 50%;
}

.footer .share a:hover{
    background-color: var(--main-color);
}

.footer .links{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding:2rem 0;
    gap:1rem;
}

.footer .links a{
    padding:.7rem 2rem;
    color:#fff;
    border:var(--border);
    font-size: 2rem;
}

.footer .links a:hover{
    background:var(--main-color);
}

.footer .credit{
    font-size: 2rem;
    color:#fff;
    font-weight: lighter;
    padding:1.5rem;
}

/* خلفية شفافة */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

/* صندوق الـ QR */
.popup-box {
    background: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
 

}

.popup-box img {
    max-width: 170px;
    height: auto;
   
}

.popup-box button {
    margin-top: 10px;
    padding: 5px 10px;
    cursor: pointer;
}


.footer .popup-box .a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    color:#fff;
    border:var(--border);
    margin:.3rem;
    border-radius: 50%;
}




.footer .credit span{
    color:var(--main-color);
   text-transform: none;

}


  .credit {
    font-size: 16px;
    color: #333;
   
  }
  .credit i {
    color: #ffffff; /* لون الأيقونات */
    margin-right: 5px;
  }
  .credit span {
    font-weight: bold;
    margin-right: 10px;
  }



/* media queries  */
@media (max-width:991px){

    html{
        font-size: 55%;
    }

    .header{
        padding:1.5rem 2rem;
    }

    section{
        padding:2rem;
    }

}

@media (max-width:768px){

    #menu-btn{
        display: inline-block;
    }




    .header .navbar{
        position: fixed;
        top:10%; right: 0%;
        background: #ffffff;
     
         transform: translateX(100%);
 
       
    }

    .header .navbar.active{
      transform: translateX(0%);
    }

    .header .navbar a{
        color:var(--sky);
        display: block;
        margin:1.5rem;
        padding:0.2rem;
        font-size: 2rem;
    }


    .home{
        background-position: right;
        justify-content: left;
        text-align: left;
    }

    .home .content h3{
        font-size: 4.5rem;
        height: 55rem;

        
    }

    .home .content p{
        font-size: 2.5rem;
       height: 0rem;
    }



    
}
@media (max-width:450px){

    html{
        font-size: 50%;
    }

}







