/* Footer Styles */
.call-area {
    background-color: #000000 !important;
    border-radius: 5px;
    padding: 21px;
}

.pointer {
    cursor: pointer;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background-color: #1b2430;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.footer-bg-dark {
    font-family: "Montserrat", sans-serif;
    background-color: #1f2530 !important;
    font-size: 16px;
}

.footer-logo {
    width: 230px;
}

footer.footer-bg-dark a {
    text-decoration: none;
    transition: 0.3s ease;
}

footer.footer-bg-dark ul li a:hover {
    font-weight: 600 !important;
}

.footer-social-icons a img {
    width: 40px;
}

.copyright-box {
    background-color: #1c1d1f;
    margin-bottom: 35px;
}

.footer-bg-dark .bg-black {
    background-color: #33373d !important;
}

/* Stock Bar Styles */
.stock-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #333;
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    z-index: 99;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-right: 20px;
}

.tab {
    padding: 5px 15px;
    cursor: pointer;
    border-radius: 5px;
    background: #444;
    color: white;
    border: none;
    outline: none;
    transition: background 0.3s;
}

.tab.active {
    background: #666;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    flex-grow: 1;
    visibility: hidden;
}

.marquee-content {
    display: inline-block;
    transform: translateX(100%);
    visibility: visible;
    animation: marquee 15s linear infinite;
}

#tab1 .marquee-content {
    animation: marquee 45s linear infinite;
}

#tab2 .marquee-content {
    animation: marquee 15s linear infinite;
}

.hidden {
    display: none;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Appointment Modal Styles - FIXED Z-INDEX */
.appointment-popup .modal {
    z-index: 1060 !important;
}

.appointment-popup .modal-backdrop {
    z-index: 1055 !important;
}

.appointment-popup .modal-dialog {
    max-width: 70%;
    z-index: 1061;
}

.appointment-popup .modal-dialog .row {
    align-items: center;
}

.appointment-popup .modal-content {
    background-color: #1072af;
    color: #fff;
    padding-bottom: 30px;
    position: relative;
    z-index: 1062;
}

.appointment-popup .modal-content:after {
    background-image: url('https://staging.cloud1.me/laraweb/public/dotted.png');
    background-repeat: no-repeat;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    filter: invert(1);
    opacity: 0.2;
    background-size: auto;
    z-index: 0;
    pointer-events: none;
}

.appointment-popup .popup-header {
    position: relative;
    z-index: 2;
}

.appointment-popup .popup-form-container {
    position: relative;
    z-index: 2;
}

/* CRITICAL FIX: Override homepage inline styles for close button */
.appointment-popup button.btn-close,
.appointment-popup .btn-close,
button.btn-close {
    position: absolute !important;
    right: 10px !important;
    top: 10px !important;
    color: #fff !important;
    opacity: 1 !important;
    filter: invert(1) !important;
    z-index: 9999 !important;
    display: block !important;
    width: 1em !important;
    height: 1em !important;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
}

.appointment-popup .modal-dialog .form-control {
    font-size: 13px;
    position: relative;
    z-index: 3;
    background-color: #fff !important;
    color: #000 !important;
    pointer-events: auto;
}

.appointment-popup .modal-dialog .form-control:focus {
    z-index: 4;
}

.appointment-popup .form-wrapper {
    padding: 25px 0px;
    position: relative;
    z-index: 2;
}

.appointment-popup .modal-dialog .form-label {
    margin-bottom: .2rem;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.modal-dialog button.btn.btn-primary,
.modal-dialog button.btn.btn-light {
    text-align: center;
    display: block;
    background: #fff;
    color: #1072af;
    font-weight: 600;
    font-size: 15px;
    padding: 9px 20px;
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.appointment-popup .alert {
    position: relative;
    z-index: 2;
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 65px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #0074b4;
    display: none;
}

#scrollTopBtn svg {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

#progressCircle {
    transition: stroke-dashoffset 0.2s ease-in-out;
}

/* Responsive Styles */
@media screen and (max-width: 620px) {
    .footer-upper {
        justify-content: flex-start !important;
        margin-bottom: 20px !important;
    }

    .stock-container {
        justify-content: flex-start !important;
    }

    .stock-container p {
        margin: 0 !important;
    }
}

@media (max-width: 767px) {
    .copyright-box {
        margin-bottom: 92px;
    }

    body #scrollTopBtn {
        bottom: 110px;
    }
}

@media (min-width: 768px) {
    .form-wrapper>* {
        width: 48%;
    }

    .form-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 35px 0px;
        padding-bottom: 0;
    }
}

@media screen and (max-width: 920px) {
    .appointment-popup .modal-dialog {
        max-width: 95%;
    }
}