body{
  height: 100%;
  margin: 0;
  padding-top: env(safe-area-inset-top);
  padding-top: 80px;
  padding-bottom: 20px;
}
.loader-div {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(255,255,255,0.5);
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1011;
}
.img-responsive{
  max-width: 100%;
}

.sub-heading {
  position: relative;
  display: block; /* keeps border just under text */
  padding-left: 12px;
}

.sub-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 2px;
  height: 18px;
  background-color: #696cff;
}
footer{
  box-shadow: rgba(0, 0, 0, 0.1) 5px 2px 5px;
}
.navbar-modern {
      background: var(--navbar-bg) !important;
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      padding: 0.5rem 0;
      transition: all var(--transition-speed) ease;
  }
  
  .navbar-brand {
      font-weight: 700;
      font-size: 1.75rem !important;
      background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      display: flex;
      align-items: center;
      transition: transform 0.3s ease;
  }
  
  .navbar-brand:hover {
      transform: scale(1.03);
  }
  
  .navbar-brand i {
      font-size: 1.8rem;
      margin-right: 0.4rem;
      background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
  }
  
  .nav-link {
      font-weight: 500;
      color: #4b5563 !important;
      padding: 0.7rem 1rem !important;
      border-radius: 0.5rem;
      margin: 0 0.15rem;
      transition: all var(--transition-speed) ease;
      position: relative;
  }
  
  .nav-link:hover, .nav-link:focus {
      color: var(--primary-color) !important;
      background-color: rgba(99, 102, 241, 0.08);
      transform: translateY(-1px);
  }
  
  .nav-link.active {
      color: var(--bs-primary-rgb) !important;
      font-weight: 600;
      background-color: rgba(99, 102, 241, 0.12);
      color: #696cff !important;
  }
  
  .nav-link.active::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 30%;
      height: 3px;
      background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
      border-radius: 3px;
  }
  
  .dropdown-menu {
      border: none;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      border-radius: 12px;
      padding: 0.5rem;
      margin-top: 0.75rem;
      animation: fadeIn 0.2s ease-in-out;
  }
  
  .dropdown-item {
      border-radius: 8px;
      padding: 0.7rem 1rem;
      transition: all 0.2s ease;
      font-weight: 500;
      color: #4b5563;
  }
  
  .dropdown-item:hover {
      background-color: rgba(99, 102, 241, 0.1);
      color: var(--primary-color);
      transform: translateX(5px);
  }
  
  .dropdown-item i {
      width: 24px;
      text-align: center;
      margin-right: 0.5rem;
      color: var(--primary-color);
  }
  
  .navbar-toggler {
      border: none;
      padding: 0.5rem;
      border-radius: 0.5rem;
      transition: all var(--transition-speed) ease;
  }
  
  .navbar-toggler:focus {
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
  }
  
  .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2899, 102, 241, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  
  .dropdown-item.active, .dropdown-item:active{
    font-weight: 600;
    background-color: rgba(99, 102, 241, 0.12);
    color: #696cff !important;
  }


  @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
  }
  .page-item.active .page-link {
    margin: 0 0.1rem 0 0.3rem;
    color: #FFF;
    background: #696cff;
  }
  .page-link{
      background-color: #e3e4ff;
  }
  .btn{
    border-radius: 0.25rem !important;
  }
  ul#contactList{
    max-height: 320px;
    overflow: auto;
    overflow-x: hidden;
  }
  ul#contactList li{
    display: flex;
    border-bottom: 1px solid #e9e9ff ! IMPORTANT;
    align-items: center;
  }

  .context {
    width: 100%;
    position: absolute;
    z-index: 1;     
  }
  .context h1{
      text-align: center;
      color: #fff;
      font-size: 50px;
  }
  .area{
      /* background: #4e54c8;  
      background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);   */
      width: 100%;
      height:100vh;   
  }
  .circles{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      z-index: 0;
  }
  .circles li{
      position: absolute;
      display: block;
      list-style: none;
      width: 20px;
      height: 20px;
      background: rgb(204 205 255 / 50%);
      animation: animate 25s linear infinite;
      bottom: -150px;    
  }
  .circles li:nth-child(1){
      left: 25%;
      width: 80px;
      height: 80px;
      animation-delay: 0s;
  }
  .circles li:nth-child(2){
      left: 10%;
      width: 20px;
      height: 20px;
      animation-delay: 2s;
      animation-duration: 12s;
  }
  .circles li:nth-child(3){
      left: 70%;
      width: 20px;
      height: 20px;
      animation-delay: 4s;
  }
  .circles li:nth-child(4){
      left: 40%;
      width: 60px;
      height: 60px;
      animation-delay: 0s;
      animation-duration: 18s;
  }
  .circles li:nth-child(5){
      left: 65%;
      width: 20px;
      height: 20px;
      animation-delay: 0s;
  }
  .circles li:nth-child(6){
      left: 75%;
      width: 110px;
      height: 110px;
      animation-delay: 3s;
  }
  .circles li:nth-child(7){
      left: 35%;
      width: 150px;
      height: 150px;
      animation-delay: 7s;
  }
  .circles li:nth-child(8){
      left: 50%;
      width: 25px;
      height: 25px;
      animation-delay: 15s;
      animation-duration: 45s;
  }
  .circles li:nth-child(9){
      left: 20%;
      width: 15px;
      height: 15px;
      animation-delay: 2s;
      animation-duration: 35s;
  }
  .circles li:nth-child(10){
      left: 85%;
      width: 150px;
      height: 150px;
      animation-delay: 0s;
      animation-duration: 11s;
  }
  @keyframes animate {
      0%{
          transform: translateY(0) rotate(0deg);
          opacity: 1;
          border-radius: 0;
      }
      100%{
          transform: translateY(-1000px) rotate(720deg);
          opacity: 0;
          border-radius: 50%;
      }
  }
  .text-justify{
    text-align: justify;
  }
.doctor-card {
  background: #fff;  
  border-bottom-left-radius: 0px ! IMPORTANT;
  box-shadow: -5px 5px 15px 1px rgb(105 108 255 / 18%);
}

.doctor-banner {
  height: 200px;
  overflow: hidden;
  transform: skewY(-8deg); /* tilt effect */
  transform-origin: top left;
  position: relative;
}
.doctor-banner img {
  transform: skewY(8deg); /* compensate so image stays straight */
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctor-banner .overlay {
 position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #696cff, #00BCD4);
    mix-blend-mode: multiply;
    border-radius: 56px;
    height: 105%;
    width: 104%;
    left: -18px;
    top: -15px;
}
/* Doctor photo */
.doctor-photo {
  bottom: -35px !important;
  transform: translateX(-50%);
}
.doctor-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 5px solid #fff;
  transition: transform 0.3s ease;
}

  .editable {
      border: 1px dashed #696cff;
      padding: 5px 15px;
      min-width: 100px;      
      transition: all 0.3s; 
      width: fit-content;
      margin: 10px auto;           
  }
  .editable:focus {
      outline: none;
      background-color: #f8f9fa;
      border-radius: 4px;
  }
  .doctor-middle-div{
    height: 108% !important;
    margin-top: -5%;
  }
  .doctor-left-div{
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px !important;
  }

  .doctor-right-div{
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px !important;
  }
  .doctor-middle-div{
    border-radius: 15px !important;
    border-bottom:3px solid #696cffc5;
  }

   @media (max-width: 992px) { 
      .doctor-middle-div{
        height: 100% !important;
        margin-top: 0%;
        margin-left: 10px;
        margin-right: 10px;
      }
      .doctor-left-div{
        border-radius: 15px;  
        margin-left: 10px;
        margin-right: 10px;      
      }
      .doctor-right-div{
        border-radius: 25px;  
        margin-left: 10px;
        margin-right: 10px;      
      }
  }
  
  /* Demo content */
  @media (min-width: 992px) { /* lg breakpoint and above */
  .navbar .dropdown .dropdown-menu {
    display: block;              /* keep it in flow */
    opacity: 0;                  /* hidden by default */
    visibility: hidden;          /* prevent clicks */
    transform: translateY(10px); /* slightly lower */
    transition: all 0.5s ease;   /* smooth animation */
    right: 0;
    left: auto;
  }

  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);    /* slide up */
  }

  /* optional: animate the caret */
  .navbar .dropdown-toggle::after {
    transition: transform 0.2s;
  }
  .navbar .dropdown:hover .dropdown-toggle::after {
    transform: rotate(225deg);
  }
  
}
