/* Medvalley — Custom design-system CSS (used alongside Tailwind CDN utilities) */

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 24px 64px rgba(15, 43, 70, 0.12), 0 0 0 1px rgba(26, 95, 158, 0.06);
}

.hero-mesh {
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(155, 168, 224, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 10%, rgba(126, 184, 164, 0.2) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 70% 80%, rgba(232, 132, 124, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 20% 70%, rgba(212, 160, 84, 0.12) 0%, transparent 45%),
        linear-gradient(160deg, #FAF8F5 0%, #F0EBE4 50%, #E8F2F8 100%);
}

/* Shared inner-page banner — blue theme with white text */
.page-banner {
    background:
        radial-gradient(ellipse 70% 80% at 0% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 70% at 100% 20%, rgba(61, 155, 143, 0.28) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 80% 100%, rgba(155, 168, 224, 0.22) 0%, transparent 45%),
        linear-gradient(135deg, #0F2B46 0%, #1A5F9E 55%, #1565A0 100%);
    color: #fff;
}
.page-banner-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
    opacity: 0.8;
}
.page-banner .section-label {
    color: rgba(255, 255, 255, 0.75) !important;
}
.page-banner > .relative > h1,
.page-banner h1.font-headline-md,
.page-banner h1.font-display-lg {
    color: #fff !important;
}
.page-banner > .relative > p,
.page-banner .text-white\/85 {
    color: rgba(255, 255, 255, 0.85);
}
.page-banner .stat-pill,
.page-banner .stat-pill .text-primary,
.page-banner .stat-pill .text-trust-blue,
.page-banner .stat-pill .text-healing-teal,
.page-banner .stat-pill .text-accent-gold {
    color: inherit;
}
.page-banner .stat-pill {
    color: #0F2B46;
}
.page-banner .stat-pill .text-primary {
    color: #0F2B46 !important;
}
/* Keep form controls readable on blue banner pages */
.page-banner .form-inner {
    color: #0F2B46;
}
.page-banner .form-inner h3,
.page-banner .form-inner .text-primary {
    color: #0F2B46 !important;
}
.page-banner .form-inner input,
.page-banner .form-inner select,
.page-banner .form-inner textarea {
    color: #0F2B46 !important;
    background-color: #F3F0EB;
}
.page-banner .form-inner select option {
    color: #0F2B46;
    background: #fff;
}
.page-banner .form-inner .text-outline,
.page-banner .form-inner .text-on-surface-variant {
    color: #5A6478 !important;
}
.page-banner .form-inner a.text-trust-blue {
    color: #1A5F9E !important;
}

.text-gradient {
    background: linear-gradient(135deg, #1A5F9E 0%, #3D9B8F 50%, #0F2B46 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-gradient-border {
    position: relative;
    border-radius: 1.25rem;
    padding: 2px;
    background: linear-gradient(135deg, #1A5F9E, #3D9B8F, #D4A054, #9BA8E0);
    background-size: 300% 300%;
    animation: gradient-shift 8s ease infinite;
}
.form-gradient-border > .form-inner {
    background: white;
    border-radius: calc(1.25rem - 2px);
}
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fade-up 0.8s ease forwards; }
.animate-slide-up { animation: fade-up 0.9s ease 0.2s forwards; opacity: 0; }
.float-card { animation: float 5s ease-in-out infinite; }
.float-card-delay { animation: float 5s ease-in-out 1.5s infinite; }

.footer-gradient { background: linear-gradient(180deg, #0F2B46 0%, #1A2332 60%, #141C28 100%); }
.footer-cta-gradient { background: linear-gradient(135deg, #1A5F9E 0%, #3D9B8F 60%, #2A7A6E 100%); }

.nav-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.mobile-menu-panel.open { max-height: 2000px; }

.specialty-tint-blue      { background: linear-gradient(145deg, #EBF4FB 0%, #F5FAFF 100%); }
.specialty-tint-teal      { background: linear-gradient(145deg, #E8F5F2 0%, #F2FAF8 100%); }
.specialty-tint-coral     { background: linear-gradient(145deg, #FDF0EE 0%, #FFF6F4 100%); }
.specialty-tint-lavender  { background: linear-gradient(145deg, #EEF0FA 0%, #F6F7FD 100%); }
.specialty-tint-gold      { background: linear-gradient(145deg, #FBF5EA 0%, #FDFAF2 100%); }
.specialty-tint-sage      { background: linear-gradient(145deg, #EDF5F0 0%, #F4FAF7 100%); }
.specialty-tint-peach     { background: linear-gradient(145deg, #FAF0EA 0%, #FDF6F2 100%); }
.specialty-tint-navy      { background: linear-gradient(145deg, #E8EEF5 0%, #F2F6FA 100%); }

.stat-pill {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.5);
}

.logo-marquee { mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }

.section-label {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
}

header.scrolled { box-shadow: 0 4px 24px rgba(1, 36, 104, 0.35); }

/* Compact custom language switcher (Google Translate powered) */
.header-lang-select {
    height: 28px;
    flex-shrink: 0;
}
.lang-switcher-select {
    appearance: none;
    -webkit-appearance: none;
    height: 28px;
    padding: 0 22px 0 26px;
    font-size: 11px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.01em;
    color: #012468;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23012468' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    border: 1px solid #ffffff;
    border-radius: 999px;
    cursor: pointer;
    outline: none;
    width: 86px;
    line-height: 26px;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.lang-switcher-select:hover,
.lang-switcher-select:focus {
    border-color: #ffffff;
    color: #012468;
    background-color: #f3f6fb;
}
.lang-switcher-select option {
    color: #0F2B46;
    background: #fff;
}
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
/* Keep Material icon ligatures from being translated/broken */
.material-symbols-outlined,
.notranslate {
    translate: no;
}
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-style: normal !important;
    font-weight: normal !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    white-space: nowrap !important;
    word-wrap: normal !important;
    direction: ltr !important;
    -webkit-font-feature-settings: 'liga' !important;
    font-feature-settings: 'liga' !important;
    -webkit-font-smoothing: antialiased;
}
/* Hide Google's injected UI chrome */
#google_translate_element,
.goog-te-banner-frame.skiptranslate,
body > .skiptranslate,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-gadget {
    display: none !important;
}
body {
    top: 0 !important;
}
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

#site-header .header-nav-link,
#site-header .header-nav-link:visited {
    position: relative;
    color: #ffffff !important;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.35rem 0.55rem;
    border-radius: 0.5rem;
    transition: color 0.2s, background 0.2s;
}
#site-header .header-nav-link:hover,
#site-header .header-nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14);
}
.nav-chevron {
    transition: transform 0.2s ease;
    color: currentColor;
    opacity: 0.7;
}
.nav-item:hover .nav-chevron,
.nav-item:focus-within .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.specialty-card, .info-card {
    border: 1px solid rgba(138, 148, 166, 0.35);
    box-shadow: 0 1px 2px rgba(15, 43, 70, 0.04);
}
.specialty-card:hover, .info-card:hover {
    border-color: rgba(26, 95, 158, 0.35);
    box-shadow: 0 4px 16px rgba(15, 43, 70, 0.08);
}

.fade-section { opacity: 0; transform: translateY(2rem); }
.fade-section.opacity-100 { opacity: 1; transform: translateY(0); }

/* Star rating */
.star-rating .material-symbols-outlined { font-variation-settings: 'FILL' 1; }

/* Footer social icons */
.footer-social-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social-btn:hover {
    background: #3D9B8F;
    border-color: #3D9B8F;
    color: #fff;
    transform: translateY(-2px);
}
