/* =========================================================
   AMRUTVEL VYASANMUKTI KENDRA
   Header Styles
   ========================================================= */

:root {
  --primary: #24c637;
  --primary-dark: #19a92b;
  --dark: #292929;
  --muted: #6b7280;
  --border: #eeeeee;
  --header-height: 88px;
}


/* ================= GLOBAL ================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}


/* ================= FIXED HEADER ================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  height: var(--header-height);

  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition:
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);

  box-shadow:
    0 5px 25px rgba(0, 0, 0, 0.07);
}


.header-container {
  width: min(100% - 48px, 1800px);
  height: 100%;
  margin: auto;

  display: flex;
  align-items: center;
}


/* ================= BRAND ================= */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;

  min-width: 330px;

  text-decoration: none;
  color: var(--dark);
}

.brand-icon {
  width: 62px;
  height: 62px;

  position: relative;

  display: grid;
  place-items: center;

  color: var(--primary);

  border: 3px solid var(--primary);
  border-radius: 45% 55% 50% 50%;

  transform: rotate(-8deg);
}

.brand-icon::before {
  content: "";

  position: absolute;

  width: 16px;
  height: 16px;

  top: -11px;
  right: 7px;

  border: 3px solid var(--primary);
  border-radius: 80% 0 80% 0;

  transform: rotate(25deg);
}

.brand-icon i {
  font-size: 29px;
  transform: rotate(8deg);
}

.brand-content {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-script {
  color: #333;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-style: italic;
  font-weight: 700;
}

.brand-title {
  margin-top: 5px;

  color: var(--primary);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


/* ================= DESKTOP NAV ================= */

.desktop-nav {
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: clamp(22px, 2.4vw, 48px);

  flex: 1;
}

.nav-link {
  position: relative;

  height: 100%;

  display: flex;
  align-items: center;

  color: #3f3f3f;

  text-decoration: none;

  font-size: 15px;
  white-space: nowrap;

  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 0;

  width: 0;
  height: 3px;

  background: var(--primary);

  transform: translateX(-50%);

  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}


/* ================= HEADER ACTIONS ================= */

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-button {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  border: 0;
  border-left: 1px solid var(--border);

  background: transparent;

  color: #242424;

  font-size: 21px;

  cursor: pointer;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.search-button:hover {
  color: var(--primary);
  transform: scale(1.08);
}


/* ================= APPOINTMENT ================= */

.appointment-button {
  min-width: 230px;
  height: 54px;

  padding: 0 27px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

  position: relative;
  overflow: hidden;

  background: var(--primary);
  color: white;

  border-radius: 30px;

  text-decoration: none;

  font-size: 16px;
  font-weight: 800;

  box-shadow:
    0 8px 20px rgba(36, 198, 55, 0.20);

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.appointment-button::after {
  content: "";

  position: absolute;

  width: 55px;
  height: 55px;

  top: -28px;
  right: -8px;

  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;

  opacity: 0.6;
}

.appointment-button i {
  font-size: 14px;

  transition: transform 0.2s ease;
}

.appointment-button:hover {
  background: var(--primary-dark);

  transform: translateY(-2px);

  box-shadow:
    0 12px 28px rgba(36, 198, 55, 0.28);
}

.appointment-button:hover i {
  transform: translateX(4px);
}


/* ================= MOBILE MENU BUTTON ================= */

.mobile-menu-button {
  width: 46px;
  height: 46px;

  display: none;
  place-items: center;

  border: 0;
  border-radius: 10px;

  background: #f4faf4;
  color: var(--primary);

  font-size: 21px;

  cursor: pointer;
}


/* ================= MOBILE OVERLAY ================= */

.mobile-overlay {
  position: fixed;

  inset: 0;

  z-index: 1100;

  background: rgba(0, 0, 0, 0.45);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;

  backdrop-filter: blur(3px);
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}


/* ================= MOBILE SIDEBAR ================= */

.mobile-sidebar {
  position: fixed;

  top: 0;
  left: 0;
  bottom: 0;

  z-index: 1200;

  width: min(390px, 88vw);

  display: flex;
  flex-direction: column;

  background: #fff;

  box-shadow:
    15px 0 45px rgba(0, 0, 0, 0.12);

  transform: translateX(-105%);

  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  overflow-y: auto;
}

.mobile-sidebar.open {
  transform: translateX(0);
}


/* ================= SIDEBAR HEADER ================= */

.sidebar-header {
  min-height: 90px;

  padding: 20px 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid #eeeeee;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #222;

  text-decoration: none;
}

.brand-icon.small {
  width: 48px;
  height: 48px;

  border-width: 2px;
}

.brand-icon.small i {
  font-size: 22px;
}

.sidebar-brand-script {
  display: block;

  font-family: Georgia, serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 700;
}

.sidebar-brand-title {
  display: block;

  margin-top: 3px;

  color: var(--primary);

  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sidebar-close {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border: 0;
  border-radius: 50%;

  background: #f4f4f4;
  color: #333;

  font-size: 18px;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.sidebar-close:hover {
  background: #e9f8eb;
  color: var(--primary);
}


/* ================= MOBILE NAV ================= */

.mobile-nav {
  padding: 15px 18px;
}

.mobile-nav-link {
  min-height: 57px;

  padding: 0 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-radius: 10px;

  color: #333;

  text-decoration: none;

  font-size: 15px;
  font-weight: 700;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    padding 0.2s ease;
}

.mobile-nav-link span {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-nav-link span i {
  width: 20px;

  color: #8b8b8b;

  text-align: center;

  transition: color 0.2s ease;
}

.mobile-nav-link > i {
  color: #b0b0b0;
  font-size: 11px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  padding-left: 20px;

  background: #effbef;

  color: var(--primary);
}

.mobile-nav-link:hover span i,
.mobile-nav-link.active span i {
  color: var(--primary);
}


/* ================= SIDEBAR BOTTOM ================= */

.sidebar-bottom {
  margin-top: auto;

  padding: 20px;

  border-top: 1px solid #eeeeee;

  background: #fbfdfb;
}

.sidebar-callout {
  display: flex;
  align-items: center;
  gap: 13px;

  margin-bottom: 15px;
}

.callout-icon {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border-radius: 50%;

  background: #e9f9eb;
  color: var(--primary);
}

.sidebar-callout span {
  display: block;

  color: #888;

  font-size: 12px;
}

.sidebar-callout strong {
  display: block;

  margin-top: 2px;

  color: #222;

  font-size: 17px;
}

.sidebar-appointment {
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  border-radius: 9px;

  background: var(--primary);
  color: #fff;

  text-decoration: none;

  font-size: 14px;
  font-weight: 800;

  transition: background 0.2s ease;
}

.sidebar-appointment:hover {
  background: var(--primary-dark);
}


/* ================= SEARCH PANEL ================= */

.search-panel {
  position: fixed;

  top: var(--header-height);
  left: 0;
  right: 0;

  z-index: 900;

  padding: 15px 24px;

  background: #fff;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  transform: translateY(-120%);

  transition: transform 0.3s ease;
}

.search-panel.open {
  transform: translateY(0);
}

.search-wrapper {
  width: min(800px, 100%);
  height: 54px;

  margin: auto;

  display: flex;
  align-items: center;

  border: 1px solid #ddd;
  border-radius: 10px;

  padding: 0 17px;

  background: #fafafa;
}

.search-wrapper > i {
  color: var(--primary);
}

.search-wrapper input {
  flex: 1;

  height: 100%;

  padding: 0 14px;

  border: 0;
  outline: 0;

  background: transparent;

  font-size: 16px;
}

.search-wrapper button {
  width: 35px;
  height: 35px;

  border: 0;
  background: transparent;

  cursor: pointer;

  color: #777;
}


/* ================= TABLET ================= */

@media (max-width: 1250px) {

  .header-container {
    width: min(100% - 30px, 1200px);
  }

  .brand {
    min-width: 250px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .nav-link {
    font-size: 13px;
  }

  .appointment-button {
    min-width: 190px;
  }
}


/* ================= MOBILE ================= */

@media (max-width: 1024px) {

  :root {
    --header-height: 72px;
  }

  .header-container {
    width: calc(100% - 30px);
  }

  .desktop-nav {
    display: none;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand-icon {
    width: 48px;
    height: 48px;
  }

  .brand-icon i {
    font-size: 22px;
  }

  .brand-script {
    font-size: 22px;
  }

  .brand-title {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .search-button {
    display: none;
  }

  .appointment-button {
    min-width: auto;
    height: 46px;

    padding: 0 18px;

    font-size: 12px;
  }

  .appointment-button i {
    display: none;
  }

  .mobile-menu-button {
    display: grid;
  }

}


/* ================= SMALL MOBILE ================= */

@media (max-width: 600px) {

  .header-container {
    width: calc(100% - 24px);
  }

  .brand {
    gap: 8px;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
    border-width: 2px;
  }

  .brand-icon i {
    font-size: 19px;
  }

  .brand-script {
    font-size: 19px;
  }

  .brand-title {
    max-width: 150px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .appointment-button {
    display: none;
  }

  .mobile-menu-button {
    width: 43px;
    height: 43px;
  }

}


/* ================= ACCESSIBILITY ================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

}

#callme {
  position: fixed;
  right: 20px;
  bottom: 100px;
  width: 70px;
  height: 70px;
  cursor: pointer;
  z-index: 99990;
}
#callme #callmeMain {
  -moz-border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  border-radius: 50% !important;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  background-color: rgb(207,8,8);
  width: 70px;
  height: 70px;
  -webkit-animation: zcwmini2 1.5s 0s ease-out infinite;
  -moz-animation: zcwmini2 1.5s 0s ease-out infinite;
  animation: zcwmini2 1.5s 0s ease-out infinite;
}
#callme #callmeMain:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("https://res.cloudinary.com/dglv3fims/image/upload/v1668592876/cal_swjmmc.png");
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-animation: zcwphone2 1.5s linear infinite;
  -moz-animation: zcwphone2 1.5s linear infinite;
  animation: zcwphone2 1.5s linear infinite;
}
@-webkit-keyframes zcwphone {
  0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
  50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
  100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-moz-keyframes zcwphone {
  0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
  50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
  100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@keyframes zcwphone {
  0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
  50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
  100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-webkit-keyframes zcwphone2 {
  0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
  50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
  100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-moz-keyframes zcwphone2 {
  0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
  50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
  100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@keyframes zcwphone2 {
  0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
  50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
  100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-webkit-keyframes zcwmini {
  0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
  10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
  100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@-moz-keyframes zcwmini {
  0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
  10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
  100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@keyframes zcwmini {
  0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
  10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
  100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@-webkit-keyframes zcwmini2 {
  0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
  10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
  100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@-moz-keyframes zcwmini2 {
  0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
  10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
  100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@keyframes zcwmini2 {
  0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
  10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
  100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}

#social_side_links {
  position: fixed;
bottom: 73px;
  left: -21px;
padding:0px;
list-style: none;
z-index: 99;
}

#social_side_links li a {display: block;}

#social_side_links li a img {
  display: block;
  max-width:100%;
padding:7px;
-webkit-transition:  background .2s ease-in-out;
-moz-transition:  background .2s ease-in-out;
-o-transition:  background .2s ease-in-out;
transition:  background .2s ease-in-out;
}

#social_side_links li a:hover img {background: rgba(0, 0, 0, .2);}
