/* Sethi Children Hospital - Custom Styles */

::-webkit-scrollbar { width: 0.375rem; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #3d348b; border-radius: 0.25rem; }

/* Default page content (Privacy Policy, Terms, etc.) – theme-consistent typography */
.sch-page-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
}
.sch-page-content h2 {
    font-family: "Anek Gujarati", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #0f172a;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.sch-page-content h3 {
    font-family: "Anek Gujarati", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #1e293b;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.sch-page-content p {
    margin-bottom: 1rem;
    color: #475569;
}
.sch-page-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style-type: disc;
    list-style-position: outside;
    color: #475569;
}
.sch-page-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style-type: decimal;
    list-style-position: outside;
    color: #475569;
}
.sch-page-content li {
    margin-bottom: 0.25rem;
    display: list-item;
}
.sch-page-content a {
    color: #00a650;
    text-decoration: none;
}
.sch-page-content a:hover {
    text-decoration: underline;
}
.sch-page-content strong {
    font-weight: 600;
    color: #1e293b;
}

/* Contact form: loading state (only visual; inputs stay enabled so their values are submitted) */
#sch-contact-form.is-submitting .sch-contact-submit {
    cursor: not-allowed;
}

/* 404 page – glitch effect on each part: "Oops!" and "404" separately */
.glitch-404 {
    position: relative;
    display: inline-block;
}
.glitch-404-inner {
    position: relative;
    z-index: 1;
}
.glitch-404::before,
.glitch-404::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-weight: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
}
.glitch-404::before {
    color: #00a650;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    animation: glitch-404-a 3s ease-in-out infinite;
    transform: translate(-2px, 0);
}
.glitch-404::after {
    color: #3d348b;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    animation: glitch-404-b 2.7s ease-in-out infinite;
    transform: translate(2px, 0);
}
/* Second span (404) – slightly offset animation so both don’t glitch at same time */
.glitch-404-num::before {
    animation-delay: 0.4s;
}
.glitch-404-num::after {
    animation-delay: 0.2s;
}
@keyframes glitch-404-a {
    0%, 90%, 100% { transform: translate(-2px, 0); opacity: 0.8; }
    92% { transform: translate(3px, -2px); opacity: 1; }
    94% { transform: translate(-3px, 2px); opacity: 1; }
    96% { transform: translate(2px, 1px); opacity: 1; }
    98% { transform: translate(-1px, -1px); opacity: 1; }
}
@keyframes glitch-404-b {
    0%, 90%, 100% { transform: translate(2px, 0); opacity: 0.8; }
    93% { transform: translate(-3px, 2px); opacity: 1; }
    95% { transform: translate(3px, -2px); opacity: 1; }
    97% { transform: translate(-2px, -1px); opacity: 1; }
    99% { transform: translate(1px, 1px); opacity: 1; }
}
