/* global.css */
@font-face {
    font-family: 'WantedSansVariable';
    src: url('assets/fonts/wanted_sans/WantedSans-1.0.1/variable/WantedSansVariable.ttf') format('ttf'),
         url('assets/fonts/wanted_sans/WantedSans-1.0.1/otf/WantedSans-Regular.otf') format('otf');
    font-weight: normal;
    font-style: normal;
}

html, body {
    overflow-x: hidden;
    background-color: #FAFAFA;
    margin: 0;
    padding: 0;
    font-family: 'WantedSansVariable', sans-serif;
}

p {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #666;
}

.spacer {
    height: 3.125rem;
}

.spacer-sm {
    height: 1.25rem;
}

.spacer-md {
    height: 3.125rem;
}

.spacer-lg {
    height: 9.375rem;
}

.highlight {
    background: linear-gradient(to right, #007bff, #66ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.emphasize {
    font-weight: bold;
}

.page-header {
    text-align: left;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 5rem;
    font-weight: bold;
}

.page-header p {
    font-size: 1.25rem;
}

.custom-button {
    background-color: #4A90E2;
    color: white;
    border: none;
    padding: 0.938rem 1.25rem;
    font-size: 1.125rem;
    border-radius: 1.625rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.custom-button:hover {
    background-color: #357ABD;
}

.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: #fff;
    padding: 16px 24px;
    border-radius: 4px;
    font-size: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, bottom 0.3s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    pointer-events: auto;
    bottom: 40px;
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #555;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.load-in-video {
    height: auto;
    object-fit: cover;
    display: block;
    pointer-events: none;
    background-color: transparent;
}

.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

#user-carousel-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: transparent;
}

#solutions-video {
    background-color: transparent !important;
    object-fit: cover;
}

.list-of-cards-video {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F9FAFC;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 2.45 / 1;
}

.list-of-cards-video video {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
    background: transparent !important;
    object-fit: cover;
    clip-path: inset(2px 1px 1px 1px);
}


@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        padding: 1.25rem;
    }

    .contact-form {
        margin-top: 1.875rem;
    }

    .contact-text h2 {
        font-size: 2.25rem;
    }
}

.left-image {
    float: left;
    margin-right: 20px;
}

.left-image img {
    max-width: 100%;
    height: auto;
}

.right-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 20px 0;
    position: relative;
}

.right-image img {
    max-width: 100%;
    height: auto;
}

.list-of-cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 8rem;
    height: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.large-card {
    width: 12rem;
    height: 15rem;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card img {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.725rem;
    color: #666;
    margin-bottom: 1rem;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    height: 100%;
}

.card-header img {
    width: 2rem;
    height: 2rem; 
    border-radius: 50%;
    object-fit: cover;
}

.card-header h3 {
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    line-height: 1
}

.profile-image img {
    border-radius: 50%;
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #555;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



@media (max-width: 768px) {
    #financial-records-video {
        display: none;
    }

    .page-header h1 {
        font-size: 3rem;
        font-weight: bold;
    }

    .page-header p {
        font-size: 0.9rem;
    }
}