/* AfyaAssist — de-branded layer (loads last). Beats inline template CSS via html body specificity. */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Newsreader:opsz,wght@6..72,400..700&display=swap");

:root {
  --afy-ink: #14101c;
  --afy-muted: #5c5669;
  --afy-bg: #f2ebe3;
  --afy-bg-2: #e4d9ce;
  --afy-surface: #fffaf5;
  --afy-line: #cfc3b5;
  --afy-brand: #3a2652;
  --afy-brand-mid: #523578;
  --afy-brand-bright: #7c5fa8;
  --afy-accent: #c94b38;
  --afy-accent-2: #e07850;
  --afy-sage: #4d6b5c;
  --afy-radius: 10px;
  --afy-radius-sm: 8px;
  --afy-font: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --afy-display: "Newsreader", Georgia, "Times New Roman", serif;
  --afy-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --afy-shadow: 0 18px 48px rgba(26, 22, 40, 0.09);
  --afy-shadow-hover: 0 28px 64px rgba(61, 47, 92, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@keyframes afy-gradient-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes afy-fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes afy-scaleIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes afy-reveal-container {
  from {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes afy-hero-shine {
  from {
    opacity: 0.85;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes afy-float-gentle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes afy-soft-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(13, 148, 136, 0.08);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--afy-font) !important;
  background: #ffffff !important;
  background-image: none !important;
  color: var(--afy-ink) !important;
  -webkit-font-smoothing: antialiased;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* —— Typography —— */
.slider .slider-info h1,
.inner-hero h1,
.section-title h2,
.afy-split-head h2,
h1,
h2.h1,
.inner-hero .h1 {
  font-family: var(--afy-display) !important;
  letter-spacing: -0.03em !important;
  font-weight: 700 !important;
}

.section-title h2,
.afy-split-head h2 {
  color: var(--afy-ink) !important;
}

/* —— Kill legacy teal bars (template + per-page overrides) —— */
.bg-theam,
.bg-theam-2,
header > section.bg-theam.py-2,
section.nav-section.bg-theam-2,
.afy-topbar,
.afy-subnav,
.contact .bg-theam {
  background-image: none !important;
}

header > section.bg-theam.py-2,
.afy-topbar {
  background: linear-gradient(125deg, #2a1f42 0%, var(--afy-brand) 38%, var(--afy-brand-mid) 72%, #5c4a7d 100%) !important;
  background-size: 200% 200% !important;
  animation: afy-gradient-flow 14s var(--afy-ease) infinite !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 12px 40px rgba(42, 31, 66, 0.35) !important;
}

section.nav-section.bg-theam-2,
header section.nav-section.bg-theam-2 {
  background: var(--afy-surface) !important;
  border-bottom: 1px solid var(--afy-line) !important;
  box-shadow: 0 8px 32px rgba(26, 22, 40, 0.06) !important;
}

.afy-subnav {
  background: linear-gradient(180deg, rgba(61, 47, 92, 0.95) 0%, var(--afy-brand) 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.afy-subnav a:hover {
  color: #fff !important;
  border-bottom-color: var(--afy-accent-2) !important;
}

header section.nav-section.bg-theam-2 .main-menu > li > a.nav-link,
header section.nav-section.bg-theam-2 .main-menu > li > .has-arrow > a.nav-link,
header section.nav-section.bg-theam-2 .main-menu > li > .has-arrow > a.drop-link {
  color: #3a3548 !important;
  font-weight: 500 !important;
  font-size: 0.93rem !important;
  border-radius: var(--afy-radius-sm) !important;
  padding: 0.48rem 0.9rem !important;
  border-bottom: none !important;
  transition: color 0.25s var(--afy-ease), background 0.25s var(--afy-ease), transform 0.2s var(--afy-ease) !important;
}

header section.nav-section.bg-theam-2 .main-menu > li > a.nav-link:hover,
header section.nav-section.bg-theam-2 .main-menu > li > .has-arrow > a.nav-link:hover,
header section.nav-section.bg-theam-2 .main-menu > li > .has-arrow > a.drop-link:hover {
  background: rgba(212, 101, 74, 0.1) !important;
  color: var(--afy-brand) !important;
  transform: translateY(-1px);
}

header section.nav-section.bg-theam-2 .main-menu > li.active-trail > a.nav-link,
header section.nav-section.bg-theam-2 .main-menu > li > a.nav-link.active,
header section.nav-section.bg-theam-2 .main-menu > li > a.active-trail.active {
  background: rgba(61, 47, 92, 0.08) !important;
  color: var(--afy-brand) !important;
  font-weight: 600 !important;
  border: 1px solid rgba(61, 47, 92, 0.2) !important;
  box-shadow: none !important;
}

header .afy-brand-name,
.afy-brand-name {
  font-family: var(--afy-display) !important;
  letter-spacing: 0.04em !important;
}

.header-search-inner,
header .header-search-inner {
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 252, 248, 0.97) !important;
  box-shadow: 0 4px 20px rgba(26, 22, 40, 0.08) inset !important;
  transition: box-shadow 0.3s var(--afy-ease), transform 0.25s var(--afy-ease) !important;
}

.header-search-inner:focus-within,
header .header-search-inner:focus-within {
  box-shadow: 0 0 0 3px rgba(212, 101, 74, 0.25), 0 4px 20px rgba(26, 22, 40, 0.06) inset !important;
}

.header-search-btn,
header .header-search-btn,
header > section.bg-theam.py-2 .header-search-btn {
  background: linear-gradient(145deg, var(--afy-accent), #c2553d) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 999px !important;
  transition: transform 0.2s var(--afy-ease), filter 0.2s ease !important;
}

.header-search-btn:hover,
header .header-search-btn:hover {
  filter: brightness(1.08);
  transform: scale(1.04);
}

.btn-danger,
header .btn-danger,
#topContact .btn-danger,
.readmore.btn-danger {
  background: linear-gradient(145deg, var(--afy-accent), #b84a35) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: #fff !important;
  border-radius: var(--afy-radius-sm) !important;
  font-weight: 600 !important;
  box-shadow: 0 10px 28px rgba(212, 101, 74, 0.35) !important;
  transition: transform 0.2s var(--afy-ease), box-shadow 0.25s ease !important;
}

.btn-danger:hover,
header .btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212, 101, 74, 0.42) !important;
}

/* Site-wide interactive motion for all button-like clickables */
.btn,
button,
input[type="submit"],
input[type="button"],
a[class*="btn"],
.btn-primary,
.btn-danger,
.btn-outline,
.btn-quote-red,
.online-consult-button,
.nav-dropdown__btn,
.nav-links > a,
.logo-card,
.afy-card-cta,
.afy-doc-actions a,
.btn-track {
  transition:
    transform 0.22s var(--afy-ease),
    box-shadow 0.24s var(--afy-ease),
    filter 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease !important;
  will-change: transform;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
a[class*="btn"]:hover,
.btn-primary:hover,
.btn-danger:hover,
.btn-outline:hover,
.btn-quote-red:hover,
.online-consult-button:hover,
.nav-dropdown__btn:hover,
.nav-links > a:hover,
.logo-card:hover,
.afy-card-cta:hover,
.afy-doc-actions a:hover,
.btn-track:hover {
  transform: translateY(-2px) scale(1.01);
  filter: saturate(1.06);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16) !important;
}

.btn:active,
button:active,
input[type="submit"]:active,
input[type="button"]:active,
a[class*="btn"]:active,
.btn-primary:active,
.btn-danger:active,
.btn-outline:active,
.btn-quote-red:active,
.online-consult-button:active,
.nav-dropdown__btn:active,
.nav-links > a:active,
.logo-card:active,
.afy-card-cta:active,
.afy-doc-actions a:active,
.btn-track:active {
  transform: translateY(0) scale(0.985);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12) !important;
}

.btn:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible,
a[class*="btn"]:focus-visible,
.btn-primary:focus-visible,
.btn-danger:focus-visible,
.btn-outline:focus-visible,
.btn-quote-red:focus-visible,
.online-consult-button:focus-visible,
.nav-dropdown__btn:focus-visible,
.nav-links > a:focus-visible,
.logo-card:focus-visible,
.afy-card-cta:focus-visible,
.afy-doc-actions a:focus-visible,
.btn-track:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.6);
  outline-offset: 2px;
}

/* Mobile-first hardening across all pages */
@media (max-width: 991.98px) {
  .container {
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
  }

  .section,
  section {
    scroll-margin-top: 72px;
  }

  .afy-filter-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }

  .afy-filter-grid .btn,
  .afy-filter-grid button {
    width: 100% !important;
  }

  .row.g-3 > [class*="col-lg-8"],
  .row.g-3 > [class*="col-lg-4"],
  .row.g-3 > [class*="col-md-6"],
  .row.g-3 > [class*="col-md-4"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .afy-side-form {
    position: static !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0.75rem !important;
  }

  .afy-doc-top,
  .afy-doctor-head {
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
  }

  .afy-doc-photo,
  .afy-doctor-photo {
    width: 88px !important;
    height: 88px !important;
  }

  .afy-doc-actions,
  .afy-doctor-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.45rem !important;
  }

  .afy-doc-actions .btn,
  .afy-doctor-actions .btn {
    width: 100% !important;
  }

  .hero,
  .inner-hero,
  .afy-page-hero {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero-card,
  .afy-card,
  .card {
    max-width: 100% !important;
  }

  .hero-cta-group,
  .section-split,
  .cta-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
  }

  img,
  iframe,
  video {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 575.98px) {
  h1,
  .h1 {
    font-size: 1.75rem !important;
    line-height: 1.22 !important;
  }

  h2,
  .h2 {
    font-size: 1.35rem !important;
    line-height: 1.28 !important;
  }

  .btn,
  button,
  .btn-danger,
  .btn-primary {
    min-height: 42px !important;
    font-size: 0.92rem !important;
  }
}

/* Contact / inner pages: undo inline blue-teal header patch */
header > section.bg-theam.py-2[style] {
  background: linear-gradient(125deg, #2a1f42 0%, var(--afy-brand) 45%, var(--afy-brand-mid) 100%) !important;
}

/* —— Hero —— */
.slider figure::after {
  background: linear-gradient(105deg, rgba(42, 31, 66, 0.92) 0%, rgba(61, 47, 92, 0.55) 45%, transparent 78%) !important;
}

@media (prefers-reduced-motion: no-preference) {
  .slider figure img {
    animation: afy-hero-shine 1.4s var(--afy-ease) forwards !important;
  }
}

.slider .slider-form .panel-body {
  border-radius: var(--afy-radius) !important;
  border: 1px solid var(--afy-line) !important;
  box-shadow: var(--afy-shadow) !important;
  transition: box-shadow 0.35s var(--afy-ease), transform 0.35s var(--afy-ease) !important;
}

.slider .slider-form .panel-body:hover {
  box-shadow: var(--afy-shadow-hover) !important;
}

.slider-form button#search-main-form-btn,
.slider-form button#quote-btn-continue,
.slider-form [type="submit"] {
  background: linear-gradient(145deg, var(--afy-accent), #c2553d) !important;
  border-color: transparent !important;
  border-radius: var(--afy-radius-sm) !important;
  font-weight: 600 !important;
  transition: transform 0.2s var(--afy-ease), box-shadow 0.25s ease !important;
}

.slider-form button#search-main-form-btn:hover,
.slider-form button#quote-btn-continue:hover,
.slider-form [type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 101, 74, 0.35) !important;
}

/* —— Inner hero —— */
.inner-hero {
  background: linear-gradient(165deg, #fffcf8 0%, #f0e8e0 48%, #e8dfd4 100%) !important;
  color: var(--afy-ink) !important;
  border-color: var(--afy-line) !important;
  position: relative !important;
  overflow: hidden !important;
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at 85% 0%, rgba(212, 101, 74, 0.12), transparent 55%),
    radial-gradient(500px 180px at 0% 100%, rgba(61, 47, 92, 0.08), transparent 50%);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  body:not(.afy-home) .inner-hero .container {
    animation: afy-fadeInUp 0.7s var(--afy-ease) both;
  }
}

/* —— Section chrome —— */
.section-title h2::after,
.section-title .afy-rule,
.afy-split-head .afy-rule {
  background: linear-gradient(90deg, var(--afy-accent), var(--afy-accent-2), var(--afy-brand-bright)) !important;
  height: 4px !important;
  border-radius: 4px !important;
}

section.gray-bg {
  background: linear-gradient(180deg, var(--afy-bg-2) 0%, #e3dcd2 100%) !important;
}

/* —— Cards & grids —— */
.treatment_bx,
.serv_bx,
.nag_price_bx,
.country-bx,
.blog_bx,
.afy-up-blog {
  border-radius: var(--afy-radius) !important;
  border: 1px solid var(--afy-line) !important;
  background: var(--afy-surface) !important;
  box-shadow: 0 6px 24px rgba(26, 22, 40, 0.05) !important;
  transition: transform 0.35s var(--afy-ease), box-shadow 0.35s var(--afy-ease), border-color 0.25s ease !important;
}

.treatment_bx:hover,
.country-bx:hover,
.blog_bx:hover,
.afy-up-blog:hover,
.nag_price_bx:hover,
.serv_bx:hover {
  border-color: rgba(61, 47, 92, 0.28) !important;
  box-shadow: var(--afy-shadow-hover) !important;
  transform: translateY(-6px);
}

.treatment_bx .treatment-icon,
.nag_price_bx .price-icon {
  color: var(--afy-brand) !important;
  transition: transform 0.35s var(--afy-ease) !important;
}

.treatment_bx:hover .treatment-icon,
.nag_price_bx:hover .price-icon {
  transform: scale(1.08) rotate(-4deg);
}

/* —— Journey tiles —— */
.afy-ux-journey .afy-city-tile {
  border: 1px solid var(--afy-line) !important;
  background: var(--afy-surface) !important;
  color: var(--afy-brand) !important;
  font-weight: 600 !important;
  border-radius: var(--afy-radius-sm) !important;
  box-shadow: 0 4px 18px rgba(26, 22, 40, 0.05) !important;
  transition: transform 0.3s var(--afy-ease), box-shadow 0.3s ease, background 0.25s ease !important;
}

.afy-ux-journey .afy-city-tile:hover {
  background: rgba(212, 101, 74, 0.08) !important;
  border-color: var(--afy-accent) !important;
  box-shadow: 0 16px 40px rgba(212, 101, 74, 0.15) !important;
  transform: translateY(-4px) scale(1.02);
}

/* —— News carousel (class name legacy) —— */
.vaidam-news .card-link {
  color: var(--afy-brand) !important;
}

.vaidam-news .card-link:hover {
  color: var(--afy-accent) !important;
}

.vaidam-news .slick-dots li.slick-active button:before {
  color: var(--afy-accent) !important;
}

/* —— Footer —— */
footer.bg-vh-theam,
footer .footer-link,
footer .footer-address,
footer section.footer-link,
footer section.footer-address,
.afy-footer {
  background: linear-gradient(180deg, #231a36 0%, #151022 100%) !important;
  border-top: 3px solid var(--afy-accent) !important;
  color: #e8e4ef !important;
}

footer .footer-link a:hover,
footer .footer-address a:hover,
.afy-footer a:hover {
  color: var(--afy-accent-2) !important;
  opacity: 1 !important;
}

.footer-address .bg-vh-4 {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: border-color 0.25s ease, transform 0.25s var(--afy-ease) !important;
}

.footer-address .bg-vh-4:hover {
  border-color: rgba(232, 148, 107, 0.4) !important;
  transform: translateY(-2px);
}

/* —— Forms / accordions —— */
.accordion-button:not(.collapsed) {
  background: rgba(61, 47, 92, 0.07) !important;
  color: var(--afy-brand) !important;
}

.online-consult-button,
.in_page_form,
.more-doctors-btn.bg-vh-theam {
  border-radius: var(--afy-radius-sm) !important;
}

.more-doctors-btn.bg-vh-theam,
.btn.bg-vh-theam {
  background: linear-gradient(125deg, var(--afy-brand), var(--afy-brand-mid)) !important;
  border: none !important;
  transition: transform 0.2s var(--afy-ease), box-shadow 0.25s ease !important;
}

.more-doctors-btn.bg-vh-theam:hover,
.btn.bg-vh-theam:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(61, 47, 92, 0.35) !important;
}

/* —— Addon / content strips (contact-style) —— */
.afy-addon-section {
  background: linear-gradient(180deg, #faf6f1 0%, #f0e9e1 100%) !important;
  border-top-color: var(--afy-line) !important;
  border-bottom-color: var(--afy-line) !important;
}

.afy-addon-section .row {
  border-color: var(--afy-line) !important;
  box-shadow: var(--afy-shadow) !important;
}

.afy-addon-section h2::after {
  background: linear-gradient(90deg, var(--afy-accent), var(--afy-brand-bright)) !important;
}

.afy-addon-steps li::marker {
  color: var(--afy-accent) !important;
}

/* —— Scroll sections: inner pages (home has its own keyframes in page CSS) —— */
@media (prefers-reduced-motion: no-preference) {
  body:not(.afy-home) section.afy-observe:not(.afy-inview) > .container {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }

  body:not(.afy-home) section.afy-observe.afy-inview > .container {
    animation: afy-reveal-container 0.75s var(--afy-ease) forwards;
  }

  body:not(.afy-home) section.afy-observe:not(.afy-inview) .card,
  body:not(.afy-home) section.afy-observe:not(.afy-inview) .treatment_bx,
  body:not(.afy-home) section.afy-observe:not(.afy-inview) .country-bx,
  body:not(.afy-home) section.afy-observe:not(.afy-inview) .blog_bx {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

  body:not(.afy-home) section.afy-observe.afy-inview .card,
  body:not(.afy-home) section.afy-observe.afy-inview .treatment_bx,
  body:not(.afy-home) section.afy-observe.afy-inview .country-bx,
  body:not(.afy-home) section.afy-observe.afy-inview .blog_bx {
    animation: afy-fadeInUp 0.55s var(--afy-ease) forwards;
  }

  body:not(.afy-home) section.afy-observe.afy-inview .row > [class*="col-"]:nth-child(1) .treatment_bx,
  body:not(.afy-home) section.afy-observe.afy-inview .row > [class*="col-"]:nth-child(1) .card {
    animation-delay: 0.04s;
  }
  body:not(.afy-home) section.afy-observe.afy-inview .row > [class*="col-"]:nth-child(2) .treatment_bx,
  body:not(.afy-home) section.afy-observe.afy-inview .row > [class*="col-"]:nth-child(2) .card {
    animation-delay: 0.1s;
  }
  body:not(.afy-home) section.afy-observe.afy-inview .row > [class*="col-"]:nth-child(3) .treatment_bx,
  body:not(.afy-home) section.afy-observe.afy-inview .row > [class*="col-"]:nth-child(3) .card {
    animation-delay: 0.16s;
  }
  body:not(.afy-home) section.afy-observe.afy-inview .row > [class*="col-"]:nth-child(4) .treatment_bx,
  body:not(.afy-home) section.afy-observe.afy-inview .row > [class*="col-"]:nth-child(4) .card {
    animation-delay: 0.22s;
  }
}

/* —— Content links (soft) —— */
article a:not(.btn),
.prose a:not(.btn) {
  color: var(--afy-brand-mid);
  text-decoration-color: rgba(212, 101, 74, 0.45);
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

article a:not(.btn):hover,
.prose a:not(.btn):hover {
  color: var(--afy-accent);
  text-decoration-color: var(--afy-accent);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NUCLEAR OVERRIDES — html body … beats <style> blocks in head/body (Vaidam clone).
   Inverted dark nav strip + plum top bar + editorial cards (not soft-clinic UI).
   ═══════════════════════════════════════════════════════════════════════════ */

html body header > section.bg-theam.py-2,
html body .afy-topbar {
  background: linear-gradient(118deg, #120a1a 0%, var(--afy-brand) 42%, #6b3050 88%, var(--afy-brand-mid) 100%) !important;
  background-size: 180% 180% !important;
  animation: afy-gradient-flow 18s var(--afy-ease) infinite !important;
  border-bottom: 2px solid rgba(232, 120, 80, 0.5) !important;
  box-shadow: 0 16px 48px rgba(18, 10, 26, 0.45) !important;
}

html body section.nav-section.bg-theam-2,
html body header section.nav-section.bg-theam-2 {
  background: linear-gradient(180deg, #2c2438 0%, #1a1522 100%) !important;
  border-bottom: 1px solid rgba(232, 148, 107, 0.28) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35) !important;
}

html body header section.nav-section.bg-theam-2 .main-menu > li > a.nav-link,
html body header section.nav-section.bg-theam-2 .main-menu > li > .has-arrow > a.nav-link,
html body header section.nav-section.bg-theam-2 .main-menu > li > .has-arrow > a.drop-link {
  color: rgba(255, 250, 245, 0.9) !important;
  font-weight: 500 !important;
  border-radius: var(--afy-radius-sm) !important;
}

html body header section.nav-section.bg-theam-2 .main-menu > li > a.nav-link:hover,
html body header section.nav-section.bg-theam-2 .main-menu > li > .has-arrow > a.nav-link:hover,
html body header section.nav-section.bg-theam-2 .main-menu > li > .has-arrow > a.drop-link:hover {
  background: rgba(201, 75, 56, 0.22) !important;
  color: #fff !important;
}

html body header section.nav-section.bg-theam-2 .main-menu > li.active-trail > a.nav-link,
html body header section.nav-section.bg-theam-2 .main-menu > li > a.nav-link.active,
html body header section.nav-section.bg-theam-2 .main-menu > li > a.active-trail.active {
  background: rgba(201, 75, 56, 0.18) !important;
  color: #fff !important;
  border: 1px solid rgba(232, 148, 107, 0.45) !important;
  border-bottom: 3px solid var(--afy-accent-2) !important;
  box-shadow: none !important;
}

html body header section.nav-section.bg-theam-2 .has-arrow .ms-nav-arrow,
html body header section.nav-section.bg-theam-2 .ms-nav-arrow {
  filter: brightness(0) invert(1) !important;
  opacity: 0.75 !important;
}

html body ul.drop-menu,
html body .drop-menu,
html body .main-menu ul.drop-menu {
  background: #2a2234 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--afy-radius-sm) !important;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45) !important;
}

html body ul.drop-menu a,
html body .drop-menu a,
html body .main-menu ul.drop-menu a {
  color: rgba(255, 250, 245, 0.92) !important;
}

html body ul.drop-menu a:hover,
html body .drop-menu a:hover {
  background: rgba(201, 75, 56, 0.25) !important;
  color: #fff !important;
}

html body .header-search-inner,
html body header .header-search-inner {
  background: rgba(255, 250, 245, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 999px !important;
}

html body .header-search-inner:focus-within,
html body header > section.bg-theam.py-2 .header-search-inner:focus-within {
  border-color: rgba(232, 148, 107, 0.85) !important;
  box-shadow: 0 0 0 3px rgba(201, 75, 56, 0.28) !important;
}

html body .header-search-btn,
html body header .header-search-btn,
html body header > section.bg-theam.py-2 .header-search-btn {
  background: linear-gradient(145deg, var(--afy-accent), #a33d2e) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

html body .header-search-btn:hover,
html body header .header-search-btn:hover {
  filter: brightness(1.08);
}

html body .header-search-input,
html body header .header-search-input {
  color: var(--afy-ink) !important;
}

html body .afy-subnav {
  background: linear-gradient(180deg, rgba(26, 16, 28, 0.95) 0%, var(--afy-brand) 100%) !important;
}

html body .afy-footer {
  border-top-color: var(--afy-accent) !important;
}

html body .afy-footer a:hover {
  color: var(--afy-accent-2) !important;
}

/* Hero: diagonal mask, not typical horizontal teal wash */
html body.afy-home .slider figure::after,
html body .slider figure::after {
  background: linear-gradient(128deg, rgba(18, 8, 28, 0.92) 0%, rgba(58, 38, 82, 0.55) 40%, transparent 68%) !important;
}

html body .slider .slider-info h1 {
  font-family: var(--afy-display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.08 !important;
}

/* Editorial cards: tighter radius + offset shadow (not generic SaaS pill cards) */
html body .treatment_bx,
html body .nag_price_bx,
html body .country-bx,
html body .blog_bx,
html body .afy-up-blog,
html body .serv_bx {
  border-radius: var(--afy-radius) !important;
  border: 2px solid rgba(20, 16, 28, 0.08) !important;
  box-shadow: 6px 6px 0 rgba(58, 38, 82, 0.07), 0 12px 32px rgba(20, 16, 28, 0.06) !important;
}

html body .treatment_bx .treatment-icon,
html body .nag_price_bx .price-icon,
html body a.country-bx {
  color: var(--afy-brand) !important;
}

html body a.country-bx:hover {
  color: var(--afy-accent) !important;
}

/* -------------------------------------------------------------------------- */
/* Extra subtle motion (site-wide)                                            */
/* -------------------------------------------------------------------------- */
html body .afy-hospital-card,
html body .afy-linkbox,
html body .hospital-item-row {
  transition: transform 0.3s var(--afy-ease), box-shadow 0.3s var(--afy-ease), border-color 0.25s ease !important;
}

html body .afy-hospital-card:hover,
html body .afy-linkbox:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1) !important;
}

html body .hospital-item-row:hover {
  transform: translateX(4px);
  border-color: rgba(13, 148, 136, 0.35) !important;
}

html body .btn-danger,
html body .btn-primary,
html body .btn-quote-red {
  transition: transform 0.22s var(--afy-ease), box-shadow 0.25s ease !important;
}

html body .btn-danger:hover,
html body .btn-primary:hover,
html body .btn-quote-red:hover {
  transform: translateY(-2px);
  animation: afy-soft-pulse 1.5s ease-in-out infinite;
}

html body .row.g-3 > [class*="col-"] {
  animation: afy-fadeInUp 0.55s var(--afy-ease) both;
}

html body .row.g-3 > [class*="col-"]:nth-child(2) {
  animation-delay: 0.06s;
}
html body .row.g-3 > [class*="col-"]:nth-child(3) {
  animation-delay: 0.12s;
}
html body .row.g-3 > [class*="col-"]:nth-child(4) {
  animation-delay: 0.18s;
}
html body .row.g-3 > [class*="col-"]:nth-child(5) {
  animation-delay: 0.24s;
}

html body .afy-hospital-card img {
  transition: transform 0.6s var(--afy-ease) !important;
}

html body .afy-hospital-card:hover img {
  transform: scale(1.03);
}

/* Kill template “clinic white” section bands on homepage */
html body.afy-home section:not(.bg-theam):not(.bg-theam-2):not(.slider):not(.nav-section):not(.afy-updates-blogs-section):not(.footer-link):not(.footer-address) {
  background: rgba(255, 250, 245, 0.97) !important;
}

html body.afy-home section.gray-bg {
  background: linear-gradient(180deg, var(--afy-bg-2) 0%, #d8cdc0 100%) !important;
}

/* -------------------------------------------------------------------------- */
/* Google Translate — keep logo + label + arrow in one horizontal row       */
/* -------------------------------------------------------------------------- */
html body .header-google-translate,
html body .google-translate-wrap,
html body #google_translate_element {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  max-width: min(280px, 100%) !important;
}

html body .header-google-translate .goog-te-gadget,
html body .google-translate-wrap .goog-te-gadget,
html body #google_translate_element .goog-te-gadget {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

html body .header-google-translate .goog-te-gadget-simple,
html body .google-translate-wrap .goog-te-gadget-simple,
html body #google_translate_element .goog-te-gadget-simple {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

html body .header-google-translate .goog-te-gadget-simple > span,
html body .google-translate-wrap .goog-te-gadget-simple > span,
html body #google_translate_element .goog-te-gadget-simple > span {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
}

html body .header-google-translate .goog-te-gadget-simple img,
html body .google-translate-wrap .goog-te-gadget-simple img,
html body #google_translate_element .goog-te-gadget-simple img {
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

html body .goog-te-gadget-simple .goog-te-menu-value,
html body .goog-te-gadget-simple span[style*="border-left"] {
  display: inline-flex !important;
  align-items: center !important;
  flex-direction: row !important;
  white-space: nowrap !important;
}
