@import url('https://fonts.googleapis.com/css2?family=Anton&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Barlow', sans-serif;
    /* font-family: "Montserrat", sans-serif, popines; */
}
.header-section{
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-around;
    background-color: #ffff;
    width: 100%;
    height: 85px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white; /* ama midabka aad rabto */
    z-index: 999;
    box-shadow: 0 14px 26px rgba(0,0,0,0.28);
    padding: 10px 20px;
}
.logo img{
    width: 110px;
}
.menus ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.menus ul li{
    list-style: none;
}
.menus ul li a{
    text-decoration: none;
    font-weight: bold;
   color: rgb(0, 0, 90);
}
.hero-section {
  background: url('images/bg2.png') no-repeat center center;
  background-size: cover;
  height: 100vh; /* kaliya screen-ka kore ha qabsado */
  display: flex; 
  align-items: center;
  justify-content: center; 
  text-align: center;
  color: white; 
   position: relative;
  z-index: 1;
}
.text-section .text h1{
    font-size: 50px;
    font-weight: bold;
}
.text-section .text p{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 30px;
}
 .search {
    background-color: #fff;
    padding: 17px 20px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    box-shadow: 0 14px 26px rgba(0,0,0,0.28);
}
 .search i{
    color: rgb(0, 0, 90);
    margin-top: -0px;
 }
.search input {
    border: none;
    outline: none;
    padding: 2px 0px;
    margin-left: 5px;
}
.button1 a{
     text-decoration: none;
     background: #ffff;
     padding: 10px 20px;
     color: rgb(0, 0, 90);
     font-weight: bold;
     border-radius: 20px;
}
/* doctor-section */
.doctor-section{
    width: 100%;
    height: 230vh;
    background: #ffff;
    
}
.doctor-section .header{
    display: flex;
    justify-content: space-between;
    /* padding: 0px 130px; */
    padding: 40px; 
}
.button{
    margin-bottom: 45px;
}
.header .text h1{
    font-size: 40px;
    font-weight: bold;
    color: rgb(0, 0, 90);
}
.header .text p{
    color: rgb(0, 0, 90);
    font-size: 12px;
    font-weight: bold;
}
.button{
    padding: 13px 20px;
    border-radius: 20px;
}
.button a{
    text-decoration: none;
    background: transparent;
    border-radius: 20px;
    border: 2px solid rgb(0, 0, 90);
    padding: 10px 10px;
    color: rgb(0, 0, 90);
    font-weight: bold;
}
.button a:hover{
    background-color:  rgb(0, 0, 90);
    color: #ffff;
}

/* .card-container */
.doctor-card-container {
    display: flex;
   justify-content: center;
   align-items: center;
   flex-wrap:wrap ;
   margin-top: 100px;
}

.doctor-card {
  width: 380px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 26px rgba(0,0,0,0.28);
  transition: transform 0.3s;
  position: relative;
  margin: 10px;
}
.doctor-card:hover{
    transform: translateY(-5px);
}
.card-headerka {
  position: relative;
  height: 300px;
  background: #f9f9f9;
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rating {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f97316;
  color: white;
  padding: 4px 10px;
  font-weight: bold;
  font-size: 14px;
  border-radius: 6px;
}

.favorite {
  position: absolute;
  top: 10px;
  right: 10px;
  background: lightblue;
  color: white;
  padding: 4px 8px;
  border-radius: 50%;
  font-size: 14px;
}

.card-bodyga {
  padding: 15px;
  text-align: left;
}

.specialty {
  background: #e0f2fe;
  color: #0284c7;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 8px;
}

.card-bodyga h3 {
  margin: 0;
  font-size: 19px;
  color: #111827;
  font-weight: bold;
}

.degrees {
  font-size: 15px;
  color: rgb(0, 0, 90);
  margin: 5px 0;
  line-height: 2;
}

.location {
  font-size: 15px;
  color:  rgb(0, 0, 90);
  line-height: 2;
}

.card-footerka {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border-top: 1px solid #e5e7eb;
}

.btnka {
  background: #f3f4f6;
  color:rgb(0, 0, 90);
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: 0.3s;
}

.btnka:hover {
  background: #e5e7eb;
}

.btnka.primary {
  background: #2563eb;
  color: white;
}

.btnka.primary:hover {
  background: #1e40af;
}

/*.footer-section */

.footer-section {
  background-color: #f4f4f4;
  padding: 40px 20px;
  border-top: 2px solid  rgb(0, 0, 90);
  margin-top: 50px;
}
.all{
  display: flex;
  justify-content: space-around;
  text-align: center;
}
.footer-logo img {
  width: 150px;
  margin-bottom: 20px;
}
.footer-menus h3{
    font-size: 20px;
    font-weight: bold;
    color:  rgb(0, 0, 90);
}
.footer-menus ul {
  list-style: none;
  padding: 10px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-menus li a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: color 0.3s ease;
  line-height: 2;
}

.footer-menus li a:hover {
  color: rgb(0, 0, 90);
}

.footer-menus i {
  margin-right: 6px;
  color: rgb(0, 0, 90);
}
.social-media h3{
    font-size: 20px;
    font-weight: bold;
    color:  rgb(0, 0, 90);
}
.social-media {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.social-media a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: rgb(0, 0, 90);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-media a:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-bottom p {
  color: #888;
  font-size: 14px;
  margin: 0;
}
.footer-bottom span{
    font-size: 14px;
    font-weight: bold;
    color: rgb(0, 0, 90);
}

/*  doctor info page start here*/
.doctor-info{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.sawir {
    width: 40%;
}
.sawir img{
    width: 500px;
    border-radius: 20px;
    border: 4px solid rgb(0, 0, 90);
}
.details{
    width: 40%;
    margin-bottom: 35px;
}
.details h1{
    font-size: 32px;
    font-weight: bold;
    color: rgb(0, 0, 90);
    line-height: 2;
}
.details .fafahin{
    font-size: 15px;
    font-weight: bold;
    color: rgb(0, 0, 90);
    line-height: 2;
}
.btnka3{
    margin-top: 25px;
    display: flex;
    justify-content: space-evenly;
}



.btnka3 a{
    text-decoration: none;
    background: transparent;
    border-radius: 20px;
    border: 2px solid rgb(0, 0, 90);
    padding: 10px 10px;
    color: rgb(0, 0, 90);
    font-weight: bold;
}
.btnka3 a:hover{
    background-color:  rgb(0, 0, 90);
    color: #ffff;
}
.btnka3 .primary{
    text-decoration: none;
    background:  rgb(0, 0, 90);;
    border-radius: 20px;
    border: 2px solid rgb(0, 0, 90);
    padding: 10px 10px;
    color: #fff;
    font-weight: bold;
}
.primary a:hover{
    background-color:  #ffff;
    color:  rgb(0, 0, 90);
    border: 2px solid rgb(0, 0, 90);
}
.about-doctor{
    margin: 50px;
    margin-bottom: -50px !important;
}
.doctor-section{
    width: 100%;
    height: 100%;
    margin-top: 100px !important;
}
.kuli{
    margin-top: 100px;
}
.about-doctor h1{
    font-size: 40px;
    font-weight: bold;
    font-family: sans-serif;
    color: rgb(0, 0, 90);
    line-height: 2;
}
.about-doctor p{
    font-size: 17px;
    font-weight: bold;
    color: #222222;
    list-style: 1.1;
}

/* About Us Page  */
.bodyAll{
    background-image: url(images/Group\ 7.webp);
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-section #all{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.text-content{
    width: 40%;
}
.image-content{
    width: 40%;
}
.text-content h2{
    font-size: 30px;
    line-height: 2;
    font-weight: bold;
    color: rgb(0, 0, 90);
}
.text-content p{
    font-size: 15px;
    font-weight: bold;
}
.image-content{
    margin-top: 40px;
}
.image-content img{
    border-radius: 20px;
    border: 5px solid rgb(0, 0, 90);
}



.menu-btnka{
    display: none;
}

/* responsive */
@media screen and (max-width:1100px) 
{
        .menu-btnka
    {
        display: block;
        background-color: rgb(0, 0, 90);
        color: #fff;
        font-size: 20px;
        border: none;
        border-radius: 5px;
        padding: 10px;
        cursor: pointer;
        margin: 20px;
    }
    .header-section{
        justify-content: space-between;
    }
    .header-section .logo img{
        margin-top: 20px;
        width: 100px;
        margin-bottom: 10px;
    }
  
    .header-section .menus{
        flex-direction: column;
        width: 150px;
        position: absolute;
        margin-top: 64px;
        right: 10px;
        top: 0px;
        opacity: 0;
        visibility: hidden;
        background-color: #ffff;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 14px 26px rgba(0,0,0,0.28);
        z-index: 999;    
        margin-left: -80px; 
    }
        .header-section .menus ul{
        flex-direction: column;
        text-wrap: nowrap;      
    }

        .header-section .menus ul a{
            color: rgb(0, 0, 90);
            font-size: 15px;
    }
    .textandsearch{
        margin: 50px;
    }
    .hero-section .text-section .text h1{
        font-size: 30px;
        width: 100%;
        line-height: 1.3;
    }
    .hero-section .text-section .text p{
        font-size: 15px;
        width: 100%;
        text-align: center;
        font-weight: 500;
        margin-top: 20px;
        line-height: 1.5;
    }

    .doctor-card-container{
        justify-content: center !important;
        /* margin-left: -25px !important; */
    }
        .doctor-section{
            height: 100% !important;
        }
        .doctor-section .header{
            display: flex !important;
            justify-content: space-between !important;
            margin-top: -10px;
        }
        .doctor-section .header .text h1{
            font-size: 20px;
        }
        .doctor-section .header .text p{
            font-size: 10px;
        }
        .button a{
            font-size: 10px;
        }
         .button a .fa-arrow-right{
            display: none !important;
        }
        .doctor-card-container{
            align-items: center !important;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .footer-section .all .footer-logo img{
            width: 80px;
        }
        .footer-menus h3{
            font-size: 15px;
        }
        .footer-menus ul li a{
            font-size: 13px !important;
        }
        .social-media h3{
            font-size: 15px;
            margin-top: -20px;
        }
        .social-media {
            margin-top: 10px !important;
            display: flex !important;
            justify-content: center;
            align-items: center;
        }
        .footer-bottom{
           border-top: 2px solid  rgb(0, 0, 90);
           width: 100%;
        }
        .footer-bottom p{
            margin-top: 20px;
            text-align: center !important;
        }

        .doctor-info{
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .doctor-info  .sawir{
         margin-right: 260px;
        }
       .doctor-info  .sawir img{
        width: 400px;
        }
        .details{
            width: 100%;
        }
        .about-doctor{
            width: 100%;
            align-items: center;
            margin-left: 0px;
        }
        .doctor-section h1{
            font-size: 22px;
        }
        .doctor-section p{
            font-size: 13px;
        }
        #h1{
            text-align: center;
            font-size: 60px !important;
        }
        .section{
            display: flex;
            flex-direction: column;
        }
        .image-content{
            margin-right: 200px;
        }
        .text-content{
            margin-left: 50px !important;
            width: 100%;
        }
        .image-content img{
            width: 370px !important;
        }
        .kuli{
            margin-top: 100px;
        }
        .d-header{
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .d-header .search2 {
            margin-right: 9px;
        }
        .search2 i{
            margin-top: -0px !important;
        }
        .filter{
            margin-top: 30px;
        }
        .filter label{
            font-size: 13px;
        }
}


/* search and filter start here */
.d-header
{
    width: 100%;
    display: flex;
    padding: 0px 70px;
    justify-content: space-between;
}
 .d-header .search2 {
    background-color: #fff;
    /* padding: 2px 230px !important; */
    height: 35px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    box-shadow: 0 14px 26px rgba(0,0,0,0.28);
    box-sizing: border-box;
}

.search2 i {
    font-size: 16px;
    margin-bottom: 0px !important;
    margin-left: 20px;
}

.search2 input {
    font-size: 16px;
    padding: 0;
    margin: 0;
    border: none;
    margin-left: 20px;
    outline: none;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}
.d-header .filter {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}
.dooro{
    color: rgb(0, 0, 90);
    font-weight: bold;
}

.d-header .filter select {
    width: 100%;
    padding: 8px 20px;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 14px 26px rgba(0,0,0,0.28);
    border: none;
    outline: none;
    margin-top: 10px;
    cursor: pointer;
}
/* search and filter End here */


/* Custom styles for doctor cards */
.doctor-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.admin-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.modal-header {
    background-color: #007bff;
    color: white;
}

.btn-close {
    filter: invert(1);
}
