*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
}

/* 1. Fixes the buttons and adds the hand cursor */
#websbtn,
#backbtn1,
#xbtn1,
#adverbtn,
#homebtn,
#marketingbtn,
#infobtn,
#webs1,
#wellnessbtn {
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* 2. The Bulletproof Shield: Stops the giant background from turning blue */
#animated-svg,
#mainbg,
use {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

header {
    height: 6rem;
    background: #080f14;
}

.site-logo {
    position: absolute;
    top: 1.875rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9990000;
    display: block;
    width: 10rem;
    height: auto;
    transition: opacity 0.3s ease;
}

.site-logo img {
    width: 100%;
    height: auto;
    display: block;
    filter: invert(1) brightness(2);
}

.site-logo:hover {
    opacity: 0.8;
}

.scene-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#animated-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.quote-btn {
    position: absolute;
    top: 67%;
    left: 58%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    line-height: 1.4;
    color: #e0f7fa;
    background: rgba(16, 28, 36, 0.6);
    border: 0.0625rem solid #5ce1e6;
    border-radius: 0.125rem;
    padding: 0.3125rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 0.3125rem rgba(92, 225, 230, 0.15),
        inset 0 0 0.3125rem rgba(92, 225, 230, 0.1);
    text-shadow: 0 0 0.1875rem rgba(92, 225, 230, 0.4);
    outline: none;
    animation: pointLeft 4s ease-in-out infinite alternate;
}

@keyframes pointLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-0.25rem);
    }
}

.quote-btn:hover {
    color: #ffffff;
    background: rgba(92, 225, 230, 0.25);
    box-shadow: 0 0 0.625rem rgba(92, 225, 230, 0.5),
        0 0 1.25rem rgba(92, 225, 230, 0.25),
        inset 0 0 0.375rem rgba(92, 225, 230, 0.3);
    text-shadow: 0 0 0.25rem #ffffff, 0 0 0.5rem #5ce1e6;
    transform: translate(-50%, -53%);
}

.quote-btn:active {
    transform: translate(-50%, -47%);
    box-shadow: 0 0 0.3125rem rgba(92, 225, 230, 0.3);
}

.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 15, 20, 0.85);
    backdrop-filter: blur(0.5rem);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.form-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.form-modal {
    background: rgba(16, 28, 36, 0.75);
    border: 0.0938rem solid #5ce1e6;
    border-radius: 0.375rem;
    width: 80%;
    height: 80%;
    max-width: 28.125rem;
    padding: 1.875rem;
    position: relative;
    box-shadow: 0 0 1.875rem rgba(92, 225, 230, 0.25), inset 0 0 0.9375rem rgba(92, 225, 230, 0.1);
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: #e0f7fa;
}

.close-btn {
    position: absolute;
    top: 0.9375rem;
    right: 0.9375rem;
    background: none;
    border: none;
    color: #5ce1e6;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #ffffff;
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.progress-step {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: 0.0625rem solid #5ce1e6;
    background: rgba(16, 28, 36, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #5ce1e6;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: #5ce1e6;
    color: #101c24;
    box-shadow: 0 0 0.625rem #5ce1e6;
}

.progress-line {
    height: 0.0625rem;
    width: 2.5rem;
    background: rgba(92, 225, 230, 0.3);
}

.form-page {
    display: none;
}

.form-page.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(0.3125rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-modal h3 {
    margin: 0 0 0.3125rem 0;
    font-weight: 500;
    letter-spacing: 0.0625rem;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.form-modal .subtitle {
    margin: 0 0 1.25rem 0;
    font-size: 0.8rem;
    color: rgba(224, 247, 250, 0.6);
}

.input-group {
    margin-bottom: 0.9375rem;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    margin-bottom: 0.375rem;
    color: #5ce1e6;
}

.input-group input,
.input-group textarea {
    background: rgba(8, 15, 20, 0.6);
    border: 0.0625rem solid rgba(92, 225, 230, 0.3);
    border-radius: 0.1875rem;
    padding: 0.625rem;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #5ce1e6;
    box-shadow: 0 0 0.3125rem rgba(92, 225, 230, 0.2);
}

.input-group select {
    background: rgba(8, 15, 20, 0.6);
    border: 0.0625rem solid rgba(92, 225, 230, 0.3);
    border-radius: 0.1875rem;
    padding: 0.625rem;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%235ce1e6' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.625rem top 50%;
}

.input-group select option {
    background: #101c24;
    color: #ffffff;
}

.error-msg {
    color: #ff3838;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.0313rem;
    margin-top: 0.3125rem;
    display: none;
    animation: shakeError 0.3s ease-in-out;
}

.input-group.invalid-field input,
.input-group.invalid-field select {
    border-color: #ff3838;
    box-shadow: 0 0 0.5rem rgba(255, 56, 56, 0.4), inset 0 0 0.25rem rgba(255, 56, 56, 0.2);
}

.input-group.invalid-field .error-msg {
    display: block;
}

@keyframes shakeError {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-0.25rem);
    }

    75% {
        transform: translateX(0.25rem);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.service-card {
    background: rgba(8, 15, 20, 0.4);
    border: 0.0625rem solid rgba(92, 225, 230, 0.2);
    border-radius: 0.25rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.service-card input {
    accent-color: #5ce1e6;
    cursor: pointer;
}

.service-card:hover {
    border-color: rgba(92, 225, 230, 0.6);
    background: rgba(92, 225, 230, 0.05);
}

.service-card.selected {
    border-color: #5ce1e6;
    background: rgba(92, 225, 230, 0.15);
    box-shadow: 0 0 0.5rem rgba(92, 225, 230, 0.2);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5625rem;
}

.nav-btn {
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    padding: 0.5rem 1rem;
    border-radius: 0.1875rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.back-btn {
    background: transparent;
    border: 0.0625rem solid rgba(224, 247, 250, 0.4);
    color: rgba(224, 247, 250, 0.7);
}

.back-btn:hover {
    border-color: #ffffff;
    color: #ffffff;
}

.next-btn,
.submit-btn {
    background: rgba(92, 225, 230, 0.1);
    border: 0.0625rem solid #5ce1e6;
    color: #5ce1e6;
}

.next-btn:hover,
.submit-btn:hover {
    background: #5ce1e6;
    color: #101c24;
    box-shadow: 0 0 0.75rem rgba(92, 225, 230, 0.5);
}

.wellness-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
    background: #080f14;
    overflow: hidden;
}

.box-8-9 {
    width: 90%;
    max-width: 56.25rem;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    margin: 4rem auto;
    background: rgba(16, 28, 36, 0.75);
    border-radius: 1rem;
    border: 0.0625rem solid rgba(92, 225, 230, 0.25);
    box-shadow: 0 1.25rem 3.125rem rgba(0, 0, 0, 0.8), inset 0 0.0625rem 0.125rem rgba(255, 255, 255, 0.05);
    padding: 1.875rem;
}

.no-border {
    border: none;
}

.grid-column {
    display: flex;
    flex-direction: column;
    gap: 0.9375rem;
}

.col-archive-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
    min-height: 0;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

#archive-search {
    width: 100%;
    padding: 0.875rem 1.125rem;
    font-size: 0.95rem;
    background: rgba(8, 15, 20, 0.6);
    border: 0.0625rem solid rgba(92, 225, 230, 0.3);
    border-radius: 0.375rem;
    outline: none;
    transition: all 0.3s ease;
    color: #ffffff;
}

#archive-search:focus {
    border-color: #5ce1e6;
    box-shadow: 0 0 0.9375rem rgba(92, 225, 230, 0.25), inset 0 0 0.5rem rgba(92, 225, 230, 0.1);
}

#archive-search::placeholder {
    color: rgba(224, 247, 250, 0.4);
}

.search-counter {
    font-size: 0.75rem;
    color: rgba(92, 225, 230, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    padding-left: 0.25rem;
}

#no-results-message {
    text-align: center;
    padding: 2.5rem 1.25rem;
    background: rgba(255, 56, 56, 0.05);
    border: 0.0625rem dashed #ff3838;
    border-radius: 0.375rem;
    color: #ff3838;
    font-size: 0.95rem;
}

.archive-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 0.0625rem solid rgba(92, 225, 230, 0.15);
    overflow-y: auto;
    flex-grow: 1;
    min-height: 0;
    padding-right: 0.3125rem;
}

.archive-list::-webkit-scrollbar {
    width: 0.375rem;
}

.archive-list::-webkit-scrollbar-track {
    background: rgba(8, 15, 20, 0.3);
    border-radius: 0.1875rem;
}

.archive-list::-webkit-scrollbar-thumb {
    background: rgba(92, 225, 230, 0.3);
    border-radius: 0.1875rem;
}

.archive-list::-webkit-scrollbar-thumb:hover {
    background: rgba(92, 225, 230, 0.6);
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 0.625rem;
    border-bottom: 0.0625rem solid rgba(92, 225, 230, 0.15);
    cursor: pointer;
}

.list-item:hover {
    background-color: rgba(92, 225, 230, 0.06);
    padding-left: 1.125rem;
}

.list-date {
    font-size: 0.8rem;
    color: rgba(224, 247, 250, 0.5);
    width: 6.875rem;
    flex-shrink: 0;
}

.list-title {
    font-size: 1rem;
    color: #e0f7fa;
    margin: 0;
    font-weight: 500;
    flex-grow: 1;
    padding-right: 1.25rem;
}

.list-item:hover .list-title {
    color: #ffffff;
}

.list-arrow {
    font-size: 1.1rem;
    color: rgba(92, 225, 230, 0.4);
}

.list-item:hover .list-arrow {
    color: #5ce1e6;
    transform: translateX(0.25rem);
    text-shadow: 0 0 0.5rem #5ce1e6;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(8, 15, 20, 0.85);
    backdrop-filter: blur(0.5rem);
    -webkit-backdrop-filter: blur(0.5rem);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: rgba(16, 28, 36, 0.9);
    border: 0.0938rem solid #5ce1e6;
    width: 90%;
    max-width: 31.25rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1.5625rem 3.125rem rgba(0, 0, 0, 0.8), 0 0 1.875rem rgba(92, 225, 230, 0.2);
    position: relative;
    transform: translateY(1.25rem);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #e0f7fa;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 0.9375rem;
    right: 0.9375rem;
    background: #5ce1e6;
    color: #000;
    border: 0.0625rem solid rgba(92, 225, 230, 0.3);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-btn:hover {
    background: #5ce1e6;
    color: #101c24;
    box-shadow: 0 0 0.625rem #5ce1e6;
}

.modal-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020608;
    border-bottom: 0.0625rem solid rgba(92, 225, 230, 0.2);
}

.modal-media video,
.modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 1.5625rem;
    display: flex;
    flex-direction: column;
}

.modal-date {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(92, 225, 230, 0.7);
    letter-spacing: 0.0625rem;
    margin-bottom: 0.375rem;
}

.modal-title {
    font-size: 1.25rem;
    color: #ffffff;
    margin: 0 0 0.625rem 0;
    font-weight: 600;
    line-height: 1.3;
}

.modal-description {
    font-size: 0.9rem;
    color: rgba(224, 247, 250, 0.7);
    line-height: 1.5;
    margin: 0 0 1.25rem 0;
}

.modal-cta-btn {
    background: rgba(92, 225, 230, 0.1);
    border: 0.0625rem solid #5ce1e6;
    color: #5ce1e6;
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    text-align: center;
    transition: all 0.2s;
}

.modal-cta-btn:hover {
    background: #5ce1e6;
    color: #101c24;
    box-shadow: 0 0 0.75rem #5ce1e6;
}

.visually-hidden {
    position: absolute;
    width: 0.0625rem;
    height: 0.0625rem;
    padding: 0;
    margin: -0.0625rem;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hidden {
    display: none;
}

#response-container {
    display: none;
    /* Keep hidden on initial modal launch */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 3.75rem);
    /* Perfectly scales inside your 1.875rem padding rules */
    text-align: center;
    box-sizing: border-box;
    /* animation: fadeIn 0.4s ease-out; */
    /* Keeps animation uniform across pages */
}

#response-container .success-icon {
    font-size: 3rem;
    color: #5ce1e6;
    margin-bottom: 1rem;
    text-shadow: 0 0 0.625rem #5ce1e6;
}

#response-container h3 {
    color: #ffffff;
    text-shadow: 0 0 0.3125rem rgba(92, 225, 230, 0.3);
    margin: 0 0 0.3125rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5625rem;
    width: 100%;
    margin-top: 0.625rem;
}

.contact-column {
    background: rgba(8, 15, 20, 0.4);
    border: 0.0625rem solid rgba(92, 225, 230, 0.15);
    border-radius: 0.375rem;
    padding: 1.5625rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-column h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.0938rem;
    color: #5ce1e6;
    margin: 0 0 0.9375rem 0;
    font-weight: 600;
    text-shadow: 0 0 0.3125rem rgba(92, 225, 230, 0.3);
}

.contact-column p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0f7fa;
    margin: 0;
}

.contact-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #5ce1e6;
    text-shadow: 0 0 0.5rem rgba(92, 225, 230, 0.6);
}

.social-icons {
    display: flex;
    gap: 0.9375rem;
    margin-top: auto;
    padding-top: 1.25rem;
}

.social-icons a {
    color: rgba(224, 247, 250, 0.7);
    font-size: 1.3rem;
    transition: all 0.25s ease;
}

.social-icons a:hover {
    color: #5ce1e6;
    transform: translateY(-0.125rem);
    filter: drop-shadow(0 0 0.3125rem #5ce1e6);
}

.split-col {
    gap: 1.5625rem;
}

.info-block {
    display: flex;
    flex-direction: column;
}

.days-highlight {
    color: #ffffff;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.25rem;
}

.time-label {
    color: rgba(224, 247, 250, 0.6);
    font-size: 0.85rem;
}

.map-column {
    grid-column: span 1;
}

.map-responsive {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 9.375rem;
    border-radius: 0.25rem;
    overflow: hidden;
    border: 0.0625rem solid rgba(92, 225, 230, 0.2);
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

@media (max-width: 54.25rem) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .map-responsive {
        height: 12.5rem;
    }

    .social-icons {
        margin-top: 0.9375rem;
    }
}