*{
    padding:0;
    margin:0;
    box-sizing: border-box;
}
body{
   
    width:100vw;
    height:auto;
    overflow: hidden;
}
.department-tab{
    margin-top:2.5%;
    height: 100%;
    
}
.department-tab ul{
    margin: 10% 0 0 0;
    width:100%;
    height:80px;
    display:flex;
    text-align: center;
    justify-content: space-around;
    overflow: auto;
}
.department-tab ul li{
    text-decoration: none;
    list-style: none;
    padding:10px;
}
.nav-link{
    text-decoration: none;
    color:gray;
    display:block;
    width:100%;
    height:100%;
}
.nav-link i{
    font-size:30px;
    padding:20px;
}
.nav-link .first{
    font-size:16px;
}
.nav-link.active i{
    color:rgba(0, 77, 139);
}
.nav-link.active .first{
    color:rgba(0, 0, 0);
}
.nav-link.active .second{
    color:rgba(0, 0, 0);
}
.doctor-box-image{
    width:100%;
    height:auto;
    box-shadow: 1px 1px 1px 2px rgb(0, 122, 179);
    border-radius: 20px;
    /* 3D Shadow effect */
    box-shadow:
        5px 5px 15px rgba(0, 0, 0, 0.6),
        -5px -5px 10px rgba(255, 255, 255, 0.1);
    
    transform: rotateX(2deg) rotateY(-6deg); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(to bottom right, white, rgb(87, 158, 206));
}
.department-right img{
    display:block;
    width:90%;
    height:90%;
    transition: 0.2s;
    border-radius: 20px;
    margin-top:-30px;
    margin-left:-10px; 
}
.department-right img:hover{
    margin-left:0;
}
.department-tab ul img{
    height: 20px;
    width: 20px;
}
.tab-content{
    
    width:100%;
    height:70%;
    overflow: auto;
}
.tab-pane {
      
    display: none;
}

.tab-pane.active.show {
  display: block;
}

.department-mid {
  background-color: rgb(255, 255, 255);
  margin: 3% 0 0 0 ;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* center items horizontally */
  padding: 20px;
  height: auto;
}


.doctor-box {
  flex: 1 1 200px; /* flexible basis of 200px, grows or shrinks */
  max-width: 250px;
  
  background: #ffffff;
  border: 1px solid #fdfdfd;
  border-radius: 8px;
  text-align: center;
    box-shadow: 2px 2px 2px 2px rgb(100, 100, 100);
  padding: 10px;
   
  display: flex;
  flex-direction: column;
  align-items: center;
}

.doctor-box img {
    
     width: 100%;
  height: auto;
  /* border-radius: 50%; */
  max-width: 200px;
  margin-bottom:0px;
}
.btn-popover {
  
  padding: 8px 0px;
  border: none;
  width: 200px;
  background: #2b7cff;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}
.btn-popover:hover {
  background: #1a5bbb;
}



/* .doctor-box .btn-popover{
    position: absolute;
    top:70%;
    left:50%;
    transform: translate(-50% , -50%);
    background:rgb(255, 255, 255, 0.3);
    border:none;
    width:70%;
    padding:10px;
    border-radius: 5px;
    outline:1px rgb(255, 0, 0);
    box-shadow: 2px 2px 2px rgb(0,0,0);
    cursor: pointer;
}

.doctor-box .doctor-info{
    width:60%;
    height:80%;
    background:rgb(255, 255, 255);
    position: absolute;
    top:10%;
    left:20%;
    border-radius: 5px;
    
} */
/* ============ */
.left-about.ambulance-box {
  display: inline-block;
  border: 2px solid #dc2626;   /* red-600 for urgency */
  background: #fc1a1a;         /* light red background */
  color: #b91c1c;              /* dark red text */
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 1rem;
  transform: scale(1.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.left-about.ambulance-box:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

.top--bar button {
  background: red;
  color: white;
  border: none;
  float: right;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}
.mid-bar{
    padding: 11px;
}
/* HD screen */
@media (max-width: 1366px) {

   
}



/* PHone */
@media (max-width: 787px) {
    .left-about span {
        font-size: 13px;
        line-height: 20px;
    }

   .department-tab{
    margin-top:10%;
}
.department-tab ul{
    margin: 30% 0 0 0;
    width:100%;
    height:110px;
    display:flex;
    text-align: center;
    justify-content: space-around;
    overflow: auto;
}

}
