body {
    background-color: #FFFFFF;
    padding: 1rem 1rem;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'TTHoves', sans-serif;
}
.logo-img {
    filter: brightness(0) saturate(100%) invert(14%) sepia(100%) saturate(7435%) hue-rotate(241deg) brightness(94%) contrast(94%);
}
.map-iframe {
    border: 0;
}
@media (min-width: 640px) {
    body {
        padding: 2rem 1.5rem;
    }
}
p {
    font-size: 15px;
}

/* Full-width sticky topbar with gradient blur */
.topbar {
    position: sticky;
    top: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 100px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.75) 100%);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    z-index: 100;
}

.topbar-inner {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Appointment form section */
.appointment-section {
    background: linear-gradient(135deg, #080882 0%, #2B6CB4 50%, #7BE8D5 100%);
}
.appointment-input {
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 16px 18px;
    font-size: 15px;
    color: #181818;
    width: 100%;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.appointment-input::placeholder {
    color: #9ca3af;
}
.appointment-input:focus {
    border-color: #7BE8D5;
    box-shadow: 0 0 0 4px rgba(123, 232, 213, 0.2);
}
.appointment-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 8px;
    display: block;
}
.appointment-submit {
    background: rgba(8, 8, 130, 0.6);
    color: white;
    border-radius: 14px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.appointment-submit:hover {
    background: rgba(8, 8, 130, 0.8);
    transform: translateY(-1px);
}

/* 3D Sphere for the letter 'O' */
.sphere-o {
    display: inline-block;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #7BE8D5 0%, #080882 40%, #080882 100%);
    box-shadow: 
        inset -5px -5px 15px rgba(24,24,24,0.4),
        0 12px 25px rgba(24, 24, 24, 0.25);
    margin: 0 4px;
    vertical-align: -10px;
}

/* Glassmorphism for floating labels */
.glass-pill {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(24, 24, 24, 0.05);
}

/* Hexagon Backgrounds using Base64 SVGs */
.bg-hex-light {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MCIgaGVpZ2h0PSI4MCI+PHBhdGggZD0iTTQwIDAgTDAgMjMuMSBMMCA2OS4zIEw0MCA5Mi40IEw4MCA2OS4zIEw4MCAyMy4xIFoiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgxMjMsIDIzMiwgMjEzLCAwLjM1KSIgc3Ryb2tlLXdpZHRoPSIxIi8+PC9zdmc+');
    background-size: 80px 80px;
}
.bg-hex-dark {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MCIgaGVpZ2h0PSI4MCI+PHBhdGggZD0iTTQwIDAgTDAgMjMuMSBMMCA2OS4zIEw0MCA5Mi40IEw4MCA2OS4zIEw4MCAyMy4xIFoiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgyNTUsIDI1NSwgMjU1LCAwLjA2KSIgc3Ryb2tlLXdpZHRoPSIxIi8+PC9zdmc+');
    background-size: 80px 80px;
}

/* Connecting lines for floating labels */
.line-to-doc {
    position: absolute;
    height: 1px;
    top: 50%;
    transform: translateY(-50%);
}

/* Custom selection highlight */
::selection {
    background: #080882;
    color: white;
}

/* Pointer cursor for all links */
a {
    cursor: pointer;
}

/* Services Section */
.services-number {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.service-link {
    display: inline-block;
    background-color: #080882;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.group:hover .service-link {
    background-color: white;
    color: #080882;
}

/* Button hover animations (no lift, no scale) */
a.btn-anim,
button.btn-anim {
    transition: filter 0.25s ease, box-shadow 0.25s ease;
}
a.btn-anim:hover,
button.btn-anim:hover {
    filter: brightness(1.12) contrast(1.03);
    box-shadow: 0 0 22px rgba(123, 232, 213, 0.35);
}
a.btn-anim i,
button.btn-anim i {
    display: inline-block;
    transition: transform 0.2s ease;
}
a.btn-anim:hover i,
button.btn-anim:hover i {
    transform: translateX(3px);
}

/* Blog slider styles */
.blog-slider {
    scroll-behavior: smooth;
}
.blog-slider::-webkit-scrollbar {
    display: none;
}
.blog-slide {
    flex: 0 0 calc(25% - 18px);
}
@media (max-width: 768px) {
    .blog-slide {
        flex: 0 0 100%;
    }
}

/* Main CTA button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #080882;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}
.cta-btn:hover {
    background-color: #06066d;
}

/* Word-by-word reveal animation */
.quote-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.quote-word.show {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll reveal animations (2026 entrance + exit) */
.reveal-section {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    filter: blur(2px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}
.reveal-section.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}
.reveal-section.is-exiting {
    opacity: 0.35;
    transform: translateY(-20px) scale(0.99);
    filter: blur(1px);
}

.reveal-item {
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s),
                filter 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s),
                background-color 0.15s ease,
                color 0.15s ease;
    will-change: opacity, filter;
}
.reveal-item.is-visible {
    opacity: 1;
    filter: blur(0);
}
.reveal-item.is-exiting {
    opacity: 0.3;
    filter: blur(2px);
}

/* Footer CTA button override */
footer .cta-btn {
    background-color: #7BE8D5;
    color: #080882;
}
footer .cta-btn:hover {
    background-color: #ffffff;
    color: #080882;
}

/* CTA button override: turquoise button on blue CTA sections */
.cta-btn-turquoise {
    background-color: #7BE8D5;
    color: #080882;
}
.cta-btn-turquoise:hover {
    background-color: #ffffff;
    color: #080882;
}

/* Service cards: instant hover color swap, keep reveal fade */
.reveal-item.hover\:bg-brand-blue {
    transition: background-color 0s ease, color 0s ease, opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s), filter 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s);
}
.service-link {
    transition: background-color 0s ease, color 0s ease;
}

/* Nav search expandable */
.nav-search {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-search-btn {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #18181B;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}
.nav-search-btn:hover {
    background-color: #DFF6E3;
}
.nav-search-input {
    width: 0;
    height: 36px;
    overflow: hidden;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    font-weight: 500;
    color: #18181B;
    padding: 0;
    white-space: nowrap;
    border-radius: 9999px;
}
.nav-search.open .nav-search-input {
    width: 160px;
    padding: 0 10px;
    background-color: #DFF6E3;
}
.nav-search.open .nav-search-btn {
    background-color: #DFF6E3;
}
.nav-search .nav-search-icon-close { display: none; }
.nav-search.open .nav-search-icon-search { display: none; }
.nav-search.open .nav-search-icon-close { display: flex; }

/* Nav language dropdown */
.nav-lang {
    position: relative;
}
.nav-lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    color: #18181B;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.nav-lang-btn:hover {
    background-color: #DFF6E3;
}
.nav-lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1px solid rgba(24,24,24,0.08);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(24,24,24,0.08);
    padding: 6px;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 60;
}
.nav-lang.open .nav-lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #18181B;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.nav-lang-item:hover {
    background-color: #DFF6E3;
}
.nav-lang-item.active {
    color: #080882;
    font-weight: 700;
}

/* Appointment popup (used on inner pages instead of redirecting to index.html) */
.appointment-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 20, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.appointment-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.appointment-modal {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 32px;
    padding: 2.5rem 2rem;
    text-align: center;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s ease;
}
.appointment-modal-overlay.open .appointment-modal {
    transform: translateY(0) scale(1);
}
.appointment-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.appointment-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Mobile nav menu (hamburger) */
.mobile-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: rgba(24, 24, 27, 0.06);
    color: #18181B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.mobile-nav-btn:hover {
    background: rgba(24, 24, 27, 0.12);
}
.mobile-nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid rgba(24, 24, 27, 0.08);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(24, 24, 24, 0.12);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 60;
}
.mobile-nav-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Nav pill links (7-item navbar) */
.nav-pill-link {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 9999px;
    white-space: nowrap;
    color: #181818;
    transition: background-color 0.15s ease;
}
.nav-pill-link:hover {
    background-color: #DFF6E3;
}
.nav-pill-link.active {
    background-color: #DFF6E3;
}
@media (min-width: 1280px) {
    .nav-pill-link {
        padding: 8px 18px;
        font-size: 14px;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .nav-lang-btn span {
        display: none;
    }
    .nav-search.open .nav-search-input {
        width: 110px;
    }
}

/* Anchor sections: keep sticky topbar from covering jump targets */
.anchor-section {
    scroll-margin-top: 120px;
}

/* Informational disclaimer box (online self-test tools) */
.disclaimer-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: #FFF7E6;
    border: 1px solid #F5D98B;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.5;
    color: #7A5A00;
}
.disclaimer-box i {
    margin-top: 2px;
    flex-shrink: 0;
}

/* Online-test selector cards */
.test-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.test-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(24, 24, 24, 0.08);
}

/* Online-test popup modals */
.test-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 20, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.test-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.test-modal {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 32px;
    padding: 2.25rem 2rem;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s ease;
}
.test-modal-overlay.open .test-modal {
    transform: translateY(0) scale(1);
}
.test-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: rgba(24, 24, 27, 0.06);
    color: #18181B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    z-index: 5;
}
.test-modal-close:hover {
    background: rgba(24, 24, 27, 0.12);
}

/* Placeholder / sample-content badge */
.placeholder-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #080882;
    background-color: #DFF6E3;
    padding: 4px 12px;
    border-radius: 9999px;
}
