.loading-box {
    width: 100%;
    justify-content: center;
    justify-items: center;
    align-content: center;
    align-items: center;
    min-height: 300px;
    display: none;
}
.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    border-top: 4px solid #FFF;
    border-right: 4px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border-left: 4px solid #FF3D00;
    border-bottom: 4px solid transparent;
    animation: rotation 0.5s linear infinite reverse;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* WhatsApp Button - Fixed Position */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
}

.whatsapp-btn:hover {
    background-color: #20BA5A;
    color: white;
    text-decoration: none;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn i {
    font-size: 1.5em;
    margin-right: 8px;
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .whatsapp-btn i {
        font-size: 1.3em;
        margin-right: 6px;
    }
}

/* Footer Logo Styling */
.footer-logo {
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .footer-logo {
        max-width: 120px;
    }
}

@media (max-width: 576px) {
    .footer-logo {
        max-width: 100px;
    }
}

/* Newsletter Section in Footer */
.newsletter-section {
    margin-top: 0.5rem;
}

.newsletter-section h5 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.newsletter-form input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .newsletter-form {
        max-width: 100%;
    }
    
    .newsletter-form .d-flex {
        flex-direction: row;
    }
    
    .newsletter-form input {
        flex: 1;
    }
    
    .newsletter-form button {
        width: auto;
        min-width: 150px;
    }
}

/* Copyright Section in Footer */
.copyright-section {
    margin-top: 0.5rem;
}

.copyright-section .border-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.copyright-section p {
    font-size: 0.75rem;
    line-height: 1.4;
}

.copyright-section img {
    margin-top: 0.25rem;
}

/* Footer Compact Styling */
footer {
    padding-bottom: 1rem !important;
}

footer .row {
    margin-bottom: 0 !important;
}

footer h5 {
    font-size: 0.95rem !important;
    margin-bottom: 0.75rem !important;
}

footer ul li {
    margin-bottom: 0.25rem !important;
}

footer ul li a {
    font-size: 0.875rem !important;
    padding: 0.25rem 0 !important;
}

/* Override Bootstrap Primary Button to Use Main Color */
.btn-primary,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--mainColor) !important;
    border-color: var(--mainColor) !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #fff !important;
}

/* All buttons hover effect - background color */
button:hover:not([disabled]):not(.whatsapp-btn),
a.btn:hover:not([disabled]):not(.whatsapp-btn),
input[type="button"]:hover:not([disabled]),
input[type="submit"]:hover:not([disabled]),
.mainBtn:hover,
.secBtn:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
}

/* Buttons with light backgrounds - text color #A98B57 on hover */
.btn-outline-light:hover,
.btn-light:hover,
.secBtn:hover,
button[style*="background"][style*="white"]:hover,
button[style*="background"][style*="#fff"]:hover,
button[style*="background"][style*="transparent"]:hover,
a.btn[style*="background"][style*="white"]:hover,
a.btn[style*="background"][style*="#fff"]:hover,
a.btn[style*="background"][style*="transparent"]:hover,
button.bg-white:hover,
button.bg-light:hover,
a.btn.bg-white:hover,
a.btn.bg-light:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #A98B57 !important;
}

/* Buttons with dark backgrounds - white text on hover */
.btn-primary:hover,
.mainBtn:hover,
button[style*="background"][style*="#"]:hover:not([style*="white"]):not([style*="#fff"]),
a.btn[style*="background"][style*="#"]:hover:not([style*="white"]):not([style*="#fff"]) {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #fff !important;
}

/* Buttons with light/white backgrounds - transition */
.btn-outline-light,
.btn-outline-primary,
.btn-light,
.secBtn,
button[class*="outline"],
a[class*="btn"][class*="outline"] {
    transition: all 0.3s ease;
}
