@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css');
:root {--background-color: #f1f7fc;--heading-color: #2c4964;--primary-color: #1977cc;}
body {
  overflow-x: hidden;
  font-family: "Rubik", sans-serif;
  color: #212529;
}

/*===================================== 
/* Header CSS =========================*
/* ====================================*/

/*============================ Top Header CSS Start ============================*/

.top-header {
  width:100%;
  color:white;
  background-color:#0058a7;
  margin:0px;
  box-sizing:border-box;
  padding:5px 20px;
}
.top-header h5 {
  border:0px solid orange;
  display:inline;
  margin:0px;
  font-size: 1rem;
}
.top-header ul {
  list-style-type:none;
  margin:0px;
}
.top-header li {
  border:0px dotted red;
  display:inline;
  font-size:15px;
  text-align:right;
  padding:0px 20px;
  float:right;
}
.top-header li:first-child {
  padding-right:0px;
}
.top-header li:first-child {
  border-left:1px solid white;
}
.top-header a {
  text-decoration:none;
  color:white;
}
@media (max-width: 768px) {
  .top-header {display: none;}
}
nav {
  background: var(--background-color);
  box-shadow: 0px 5px 15px 0px rgba(212, 201, 201, 0.75);
}
.logo a {
  font-size: 20px;
  font-weight: 700;
  color: #353535;
  text-transform: uppercase;
}
.logo img {
    height: 80px;
    width: auto;
    padding: 6px 0px;
}

/* normal menu css */

.main_menu > ul > li {
  display: inline-block;
  position: relative;
}
.main_menu ul li {
  position: relative;
}

.main_menu ul li a {
  font-size: 14px;
  color: var(--nav-color);
  padding: 15px 0 15px 15px;
  display: block;
  font-weight: 400;
}
span.subdropdown {
    display: flex;
    justify-content: space-between;
    align-content: center;
}
@media (min-width: 1400px) {
    .main_menu ul li a {font-size: 17px;}
}

.main_menu ul li .active,
.main_menu ul li:hover > a {
  color: #353535;
}
.has_dropdown ul li:hover > a {background-color: rgb(25 119 204 / 8%); color: var(--primary-color);}

/* Normal Dropdown menu */
.main_menu ul li ul {
  width: 200px;
  background: #fff;
  transition: 0.5s;
  box-shadow: 0 5px 15px 0 rgba(212, 201, 201, 0.75);
}

.main_menu ul li ul li a {
  padding: 10px 12px;
  font-size: 15px;
}
.main_menu ul li ul li ul {
  left: 100%;
  top: 0;
}

/* mega menu css */
.mega_menu_dropdown {
  position: static !important;
}
.mega_menu {
  left: 0;
  right: 0;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  transition: 0.5s;
  box-shadow: 0 5px 15px 0 rgba(212, 201, 201, 0.75);
}
.mega_menu_item {
  width: 50%;
  padding: 30px 20px;
}
.main_menu ul li .mega_menu_item a {
  padding: 10px 0;
}

.main_menu ul li .mega_menu_item a:hover {
  color: black;
}
.mega_menu_item h3 {
  margin-bottom: 15px;
}
.mega_menu_item img {
  width: 100%;
}
/* demo_2 css */
.mega_menu_demo_2 .mega_menu {
  /* left: 50%;
  transform: translateX(-50%);
  width: 1140px; */
  left: 40%;
  transform: translateX(0%);
  width: 500px;
}
 .derma-menu > span{
        display:flex;
        align-items:center;
        justify-content:space-between;
        width:100%;
        border-bottom: 1px solid #eee;
        padding-right: 15px;
    }
    .derma-menu > span a {
        border-bottom: none !important;
    }
    .has_dropdown ul li a {
    border-bottom: 1px solid #eee;
}
.mobile_btn {
  display: none;
}
.appointment_btn {
    background: linear-gradient(to right, rgb(129 90 54), rgb(129 90 54 / 80%));
    padding: 0.7rem 2rem !important;
    color: white !important;
    border-radius: 25px;
    animation: blink 1s linear infinite;
}
@keyframes blink {
  0%, 100% {background: linear-gradient(to right, rgb(129 90 54), rgb(129 90 54 / 80%));}
  50% {background: linear-gradient(to right, rgb(129 90 54 / 80%), rgb(129 90 54));}
}

/* responsive css */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    width: 960px;
  }
  .mega_menu_demo_2 .mega_menu {
    width: 940px;
  }
  .main_menu ul li ul {
    width: 150px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    width: 720px;
  }
  .mega_menu_demo_2 .mega_menu {
    width: 700px;
  }
  .main_menu ul li a {
    font-size: 15px;
    padding: 20px 16px;
  }
  .main_menu ul li ul {
    width: 150px;
  }
}
@media (min-width: 768px) {
  .main_menu ul li ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    margin-top: 50px;
  }
  .main_menu ul li .mega_menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    margin-top: 50px;
  }
  .main_menu ul li:hover > ul {
    visibility: visible;
    opacity: 1;
    margin-top: 0px;
    z-index: 99;
  }
  .main_menu ul li:hover > .mega_menu {
    visibility: visible;
    opacity: 1;
    margin-top: 0;
    z-index: 99;
  }
}

@media (max-width: 767.98px) {
  .main_menu .sub_menu{
      display:none;
  }
  
  .main_menu .sub_menu .sub_menu{
      display:none;
  }
  .mega_menu_demo_2 .mega_menu,
  .container {
    width: 100%;
  }

  nav {
    padding: 15px;
  }
  .mobile_btn {
    cursor: pointer;
    display: block;
    font-size: 1.8rem;
    color: #026b6c;
  }

  .main_menu {
    display: none;
    width: 100%;
  }

  .main_menu ul li {
    display: block;
  }
  .main_menu ul li a i {
    float: right;
  }
  .main_menu ul li a {
    border-bottom: 1px solid #ddd;
  }
  .main_menu ul li ul {
    width: 100%;
  }
  .main_menu ul li ul li ul {
    left: 0;
    top: auto;
  }

  .mega_menu .mega_menu_item {
    width: 50%;
  }
  .main_menu ul li ul {
    display: none;
    transition: none;
  }
  .main_menu ul li .mega_menu {
    display: none;
    transition: none;
  }

  .mega_menu_demo_2 .mega_menu {
    transform: translateX(0);
  }
}

@media (max-width: 575.98px) {
  .mega_menu .mega_menu_item {
    width: 100%;
  }
}

/*============================ Top Header CSS End ============================*/

/*===================================== Footer CSS =========================*/

/*------------------------------------------*/
/*   FOOTER TYPOGRAPHY
/*------------------------------------------*/

.footer h5.h5-xs {
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 25px;
  font-family: 'All-over-modern-demo';
  color: var(--heading-color);
  font-weight: 500;
}
.footer-info p {color: black;}
.wide-40 {padding: 40px 0px 20px;}
.footer {background: var(--background-color);}
.footer-info img {width: auto;height: 80px;}

#footer-3 .footer-info p {
  font-weight: 400;
  margin-bottom: 3px;
}
.foo-address {
  text-indent: -13px;
  margin-left: 27px;
}
.footer-box p {
  font-size: 0.975rem;
  color: #212529;
}

.footer-box p span {
  color: #444;
  font-size: 0.925rem;
  font-weight: 500;
}

.footer-box h5.h5-xl {
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 0;
}

#footer-3 p.foo-email {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.footer-box p i {color: var(--primary-color);margin-right: 5px;}
.footer-box p a {color: black; text-decoration: none;}

p.foo-email a {
  text-decoration: none;
}

p.footer-copyright {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: black;
}

p.footer-copyright span {
  font-weight: 700;
}

.footer.bg-image h5.h5-xs,
.footer.bg-image p.foo-email a {
  color: #fff;
}

.footer.bg-image .footer-box p,
.footer.bg-image .footer-info p,
.footer.bg-image .footer-links li a,
.footer.bg-image p.footer-copyright {
  color: #c5d1dc;
}

.footer.bg-image .footer-box p span,
.footer.bg-image p.footer-copyright span {
  color: #fff;
}

/*------------------------------------------*/
/*   FOOTER LINKS
/*------------------------------------------*/

.footer-links li {
  font-size: 0.975rem;
  width: auto !important;
  display: block !important;
  vertical-align: top;
  clear: none !important;
  margin: 0 0 9px 0;
  padding: 0;
}

.footer-links li a:hover {
  color: #000;
  text-decoration: underline;
}

/*------------------------------------------*/
/*   FOOTER SOCIAL LINKS
/*------------------------------------------*/

.foo-socials {
  display: inline-block; 
  padding-left: 0;
  margin: 0 auto 0;
}

.foo-socials li {
  width: auto !important;
  display: inline-block !important;
  vertical-align: top;
  clear: none !important;
  margin: 0 0 8px 0;
  padding: 0;
}

.foo-socials a {
  display: flex;
  background-color: transparent;
  border: 2px solid #666;
  width: 36px;
  height: 36px;
  color: #666;
  font-size: 16px;
  line-height: 34px!important;
  margin-right: 4px;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;  
  align-items: center;
  justify-content: center;
}

.footer.bg-image .foo-socials a {
  border: 2px solid #c5d1dc;
  color: #c5d1dc;
}

.foo-socials a.ico-facebook:hover { background-color: #3b5998; border-color: #3b5998; color: #fff; }
.foo-socials a.ico-twitter:hover { background-color: #00a9ed; border-color: #00a9ed; color: #fff; }
.foo-socials a.ico-instagram:hover { background-color: #dc3c59; border-color: #dc3c59; color: #fff; }
.foo-socials a.ico-dribbble:hover { background-color: #d92d84; border-color: #d92d84; color: #fff; }
.foo-socials a.ico-behance:hover { background-color: #2473f6; border-color: #2473f6; color: #fff; } 
.foo-socials a.ico-pinterest:hover { background-color: #ac281a; border-color: #ac281a; color: #fff; }
.foo-socials a.ico-linkedin:hover { background-color: #015886; border-color: #015886; color: #fff; }
.foo-socials a.ico-google-plus:hover { background-color: #cd1111; border-color: #cd1111; color: #fff; } 
.foo-socials a.ico-youtube:hover { background-color: #cd1b20; border-color: #cd1b20; color: #fff; } 
.foo-socials a.ico-tumblr:hover { background-color: #3a5976; border-color: #3a5976; color: #fff; }
.foo-socials a.ico-vk:hover { background-color: #3b5998; border-color: #3b5998; color: #fff; }
.foo-socials a.ico-yahoo:hover { background-color: #7b0099; border-color: #7b0099; color: #fff; }
.foo-socials a.ico-yelp:hover { background-color: #d32323; border-color: #d32323; color: #fff; }

.foo-links li a {color: black;}
.foo-links li:hover a {color: var(--primary-color);text-decoration: none;}
.footer-links li a {color: black}
.footer-links li:hover a {color: var(--primary-color);text-decoration: none;}

.footer-menu {display: flex;justify-content: center;}
.footer-menu li a {color: #121212}

.link {
  width: 7rem;
  height: 7rem;
  display: inline-block;
  font: 300 1.55rem/1.4 "Josefin Sans";
  text-transform: uppercase;
  letter-spacing: 0.1175em;
  word-spacing: 0.3em;
  text-decoration: none;
  position: fixed;
  top: 50px;
  right: 0px;
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
  z-index: 9;
}
.link__svg {
  width: 100%;
  height: auto;
  transform-origin: center;
  -webkit-transform-origin: center;
  transform-box: fill-box;
  fill: #2B3338;
  stroke: #2B3338;
  stroke-width: 0.05em;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.link__cloud {
 transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
  animation: rotate 60s linear infinite;
  -webkit-animation: rotate 60s linear infinite;
  fill: rgba(255, 255, 255, 0.15);
}
.link__face, .link__arrow {
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  transition: transform 0.15s cubic-bezier(0.32, 0, 0.67, 0);
}
.link:hover .link__face, .link:hover .link__arrow {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}
.link__arrow {
  stroke-width: 0.075em;
}
.link__text {
 transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
  animation: rotateReverse 20s linear infinite;
  -webkit-animation: rotateReverse 20s linear infinite;
}
.link:hover .link__text {
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}
.link--alt {
  font-size: 1.35rem;
  letter-spacing: 0;
  word-spacing: 0;
  background: #f7d100;
  border-radius: 50%;
  font-weight: 600;
}

@-webkit-keyframes rotate {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  to {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
  }
}
@-webkit-keyframes rotateReverse {
  to {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}
@keyframes rotateReverse {
  to {
      -webkit-transform: rotate(360deg);
    transform: rotate(-360deg);
  }
}

/* Floating Callback Box Styles */
.floating-callback-box {
    position: fixed;
    top: 50%;
    right: -400px;
    transform: translateY(-50%);
    width: 350px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e1e5e9;
    max-height: 80vh;
    overflow-y: auto;
    display: none;
}

.floating-callback-box.show {
    right: 20px;
    display: block;
}

.floating-callback-header {
  background: linear-gradient(to right, rgb(192 221 247 / 69%), rgb(232 244 254 / 29%));
  /* background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%); */
  color: var(--primary-color);
  padding: 20px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.floating-callback-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-callback-close {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-callback-close:hover {
    background: rgba(255,255,255,0.2);
}

.floating-callback-content {
    padding: 20px;
}

.floating-callback-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.floating-callback-form .form-group {
    margin-bottom: 15px;
}

.floating-callback-form input,
.floating-callback-form select,
.floating-callback-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: #f8f9fa;
}

.floating-callback-form input:focus,
.floating-callback-form select:focus,
.floating-callback-form textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    background: white;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.floating-callback-form textarea {
    resize: vertical;
    min-height: 60px;
}

.floating-callback-form button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, rgb(46 121 191) 40%, #185d9b 60%);
  color: white !important;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.floating-callback-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.vl-btn4 {
  color: white !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  display: inline-block;
  transition: all 0.4s;
  border-radius: 50px;
  background: var(--primary-color);
  box-shadow: 0px 4px 15px 0px rgba(129, 90, 54, 0.20);
  padding: 10px 20px !important;
  position: relative;
  z-index: 1;
}
 .vl-btn4:hover {
	 color: white;
	 transition: all 0.4s;
	 transform: translateY(-5px);
}
 .vl-btn4:hover svg {
	 transform: rotate(45deg);
	 transition: all 0.4s;
}
 .vl-btn4:hover::after {
	 width: 100%;
	 left: 0;
	 transition: all 0.4s;
	 visibility: visible;
	 opacity: 1;
}
 .vl-btn4::after {
	 position: absolute;
	 content: "";
	 height: 100%;
	 left: 50%;
	 top: 0;
	 transition: all 0.4s;
	 width: 10px;
	 background: #232323;
	 border-radius: 50px;
	 z-index: -1;
	 visibility: hidden;
	 opacity: 0;
}
 .vl-btn4 svg {
	 margin-left: 10px;
	 transition: all 0.4s;
}

/*=============================== Sticky WhatsApp icon CSS ================================*/

.hidden {
  display: none;
}

.sticky-button {
  position: fixed;
  background-color: #25d366;
  bottom: 80px;
  right: 35px;
  border-radius: 50px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
  z-index: 20;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.sticky-button svg {
  margin: auto;
  fill: #fff;
  width: 55px;
  height: 55px;
}

.sticky-button a,
.sticky-button label {
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 70px;
  height: 70px;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.sticky-button label svg.close-icon {
  display: none;
}

.sticky-chat {
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 320px;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  z-index: 21;
  opacity: 0;
  visibility: hidden;
}

.sticky-chat a {
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  color: #505050;
}

.sticky-chat svg {
  width: 35px;
  height: 35px;
}

.sticky-chat .chat-content {
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

.sticky-chat .chat-header {
  position: relative;
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background-color: #25d366;
  overflow: hidden;
}

.sticky-chat .chat-header:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 75px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 70px 0 5px 0;
}

.sticky-chat .chat-header svg {
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  fill: #fff;
}

.sticky-chat .chat-header .title {
  padding-left: 15px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Roboto", sans-serif;
  color: #fff;
}

.sticky-chat .chat-header .title span {
  font-size: 11px;
  font-weight: 400;
  display: block;
  line-height: 1.58em;
  margin: 0;
  color: #f4f4f4;
}

.sticky-chat .chat-text {
  display: flex;
  flex-wrap: wrap;
  margin: 30px 20px;
  font-size: 12px;
}

.sticky-chat .chat-text span {
  display: inline-block;
  margin-right: auto;
  padding: 10px;
  background-color: #f0f5fb;
  border-radius: 0px 15px 15px;
}

.sticky-chat .chat-text span:after {
  content: "just now";
  display: inline-block;
  margin-left: 2px;
  font-size: 9px;
  color: #989b9f;
}

.sticky-chat .chat-text span.typing {
  margin: 15px 0 0 auto;
  padding: 10px;
  border-radius: 15px 0px 15px 15px;
}

.sticky-chat .chat-text span.typing:after {
  display: none;
}

.sticky-chat .chat-text span.typing svg {
  height: 13px;
  fill: #505050;
}

.sticky-chat .chat-button {
  display: flex;
  align-items: center;
  margin-top: 15px;
  padding: 12px 20px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
  font-size: 12px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

.sticky-chat .chat-button svg {
  width: 20px;
  height: 20px;
  fill: #505050;
  margin-left: auto;
  transform: rotate(40deg);
  -webkit-transform: rotate(40deg);
}

.chat-menu:checked + .sticky-button label {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

.chat-menu:checked + .sticky-button label svg.chat-icon {
  display: none;
}

.chat-menu:checked + .sticky-button label svg.close-icon {
  display: table-cell;
}

.chat-menu:checked + .sticky-button + .sticky-chat {
  bottom: 90px;
  opacity: 1;
  visibility: visible;
}

/* Pulse Animation */
.sticky-button::before,
.sticky-button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.5);
    z-index: -1;
    animation: whatsappPulse 2s infinite;
}

.sticky-button::after {
    animation-delay: 1s;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}
.chat-icon {
    animation: iconBounce 2s infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.12);
    }
    20% {
        transform: scale(1);
    }
}
