/* Custom styles */
body {
    background-color: var(--bs-white);
    color: var(--bs-dark);
}

.client-logo {
    background-color: var(--bs-white);
    transition: transform 0.3s ease-in-out;
}

.client-logo:hover {
    transform: scale(1.05);
}

.client-logo .card-img-top {
    transition: filter 0.3s ease-in-out;
    filter: grayscale(100%);
    max-height: 128px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    background-color: transparent;
}

.client-logo:hover .card-img-top {
    filter: grayscale(0%);
}

.btn-link {
    padding: 0.375rem 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent !important;
    transition: transform 0.3s ease-in-out;
}

.btn-link img {
    width: 32px;
    height: 32px;
    background-color: transparent !important;
}

.btn-link:hover {
    transform: scale(1.1);
}

.footer-text {
    font-size: 0.65rem; /* Further reduced font size */
    margin-bottom: 0.5rem; /* Increased margin for better positioning */
    opacity: 0.7; /* Slightly increased opacity for better visibility */
}

.header-logo {
    max-height: 120px;
}

.header-icons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.main-title {
    font-size: 3rem;
    line-height: 1.2;
    word-wrap: break-word;
    color: var(--bs-dark);
    text-align: center;
    position: relative;
    z-index: 10;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin: 3rem auto;
}

.header-container {
    margin-bottom: 3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: var(--bs-white);
}

.client-logos-container {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.btn-customer-login {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    display: inline-block;
    margin: 0 auto;
    min-width: 160px;
}

.title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

@media (max-width: 767px) {
    .header-logo {
        max-height: 100px;
    }
    .main-title {
        font-size: 2rem;
    }
    .header-container {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        margin-bottom: 2rem;
    }
    .client-logos-container {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    .header-icons {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .main-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) {
    .main-title {
        font-size: 3rem;
    }
}
