/* =========================================
   Light Luxury Footer Section
   ========================================= */
.footer-luxury {
    background-color: #fff;
    color: #333;
    position: relative;
    font-size: 14px;
    border-top: 1px solid #eee;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.02);
    /* overflow: hidden; - Removed to allow tooltips if needed, but kept safe for layout */
    overflow: hidden;
}

.footer-luxury::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* background: url('../img/pattern-light.png'); */
    background: #f9f9f9; /* Fallback light color */
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.footer-top {
    padding: 80px 0 40px;
    position: relative;
    z-index: 2;
}

.footer-widget-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-desc {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-logo h2 {
    color: var(--primary-color) !important;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.social-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

/* Links Lists */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

/* Icon Fixes - ROBUST */
.footer-luxury i, 
.contact-widget i,
.scroll-top-btn i {
    font-style: normal;
    display: inline-block;
}

/* Force Font Family for Solid/Regular/Light/Thin/Duotone */
.fa-solid, .fas, 
.fa-regular, .far,
.fa-light, .fal,
.fa-thin, .fat,
.fa-duotone, .fad {
    font-family: "Font Awesome 7 Pro", "Font Awesome 6 Pro", "Font Awesome 5 Pro", sans-serif !important;
    font-weight: 900 !important; /* Default to solid weight */
}

/* Sharp Duotone - Specific Family */
.fa-sharp-duotone, .fasds {
    font-family: "Font Awesome 7 Sharp Duotone", "Font Awesome 7 Pro", sans-serif !important;
    font-weight: 900 !important;
}

/* Specific Weights */
.fa-regular, .far { font-weight: 400 !important; }
.fa-light, .fal { font-weight: 300 !important; }
.fa-thin, .fat { font-weight: 100 !important; }
.fa-duotone, .fad, .fa-sharp-duotone { font-weight: 900 !important; }

/* Brands */
.fa-brands, .fab {
    font-family: "Font Awesome 7 Brands", "Font Awesome 6 Brands", "Font Awesome 5 Brands", sans-serif !important;
    font-weight: 400 !important;
}

.footer-links li a i {
    font-size: 12px;
    color: var(--secondary-color);
    transition: margin-left 0.3s;
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.footer-links li a:hover i {
    margin-left: 5px;
}

/* Contact Info in Footer */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #555;
}

.footer-contact-list li .icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-contact-list li .text {
    line-height: 1.6;
}

.footer-contact-list li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

.footer-contact-list li a:hover {
    color: var(--primary-color);
}

/* News Ticker */
.footer-news-ticker {
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: auto; /* Auto height for multiline */
    min-height: 32px;
    position: relative;
    z-index: 3;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    padding: 5px 0;
}

.ticker-content-static {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* Spacing between chips */
    padding: 10px;
}

.ticker-item {
    flex: 0 0 calc(25% - 10px); /* 4 items per row minus gap */
    min-width: 0;
    text-align: center;
    padding: 8px 15px;
    background: rgba(255,255,255,0.06); /* Glassy background */
    border-radius: 4px; /* Rounded corners */
    border: none; /* Remove all borders */
    box-sizing: border-box;
    position: relative;
    transition: all 0.3s ease;
}

.ticker-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ticker-item::after {
    display: none; /* Remove underline effect */
}

/* Remove intelligent border logic since borders are gone */
.ticker-item:nth-child(4n+4) {
    border-left: none;
}
.ticker-item:nth-last-child(-n+4) {
    border-bottom: none;
}

.ticker-item a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
}

.ticker-item a i {
    color: var(--secondary-color);
    font-size: 11px;
    margin-left: 6px;
    opacity: 0.9;
}

.ticker-item:hover a {
    color: #fff;
}

/* Mobile Grid - Modern Chips */
@media (max-width: 768px) {
    .ticker-content-static {
        justify-content: space-between;
        padding: 10px;
        gap: 8px;
    }
    .ticker-item {
        flex: 0 0 calc(50% - 5px); /* 2 items per row with gap */
        width: calc(50% - 5px);
        margin: 0;
        border: none;
        background: rgba(255,255,255,0.08);
    }
    .ticker-item a {
        padding: 4px 2px;
    }
}

.separator {
    display: none;
}

/* Footer Bottom */
.footer-bottom {
    background: #f9f9f9;
    padding: 20px 0;
    position: relative;
    z-index: 2;
    border-top: 1px solid #eee;
    color: #777;
}

.footer-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-text {
    font-size: 14px;
}

.copyright-text a {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #777 !important;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--primary-color) !important;
}

/* Scroll Top */
.scroll-top-btn {
    width: 45px;
    height: 45px;
    background: transparent; /* Transparent for ring effect */
    color: var(--primary-color); /* Icon color */
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    position: fixed;
    bottom: 30px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    box-shadow: inset 0 0 0 2px rgba(0,0,0,0.1); /* Subtle track */
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: rgba(0,0,0,0.05);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.scroll-top-btn svg.progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    z-index: -1;
    pointer-events: none;
}

.scroll-top-btn svg path {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 4;
    box-sizing: border-box;
    transition: stroke-dashoffset 10ms linear;
}

.scroll-top-left {
    left: 30px;
    right: auto;
}

.scroll-top-right {
    right: 30px;
    left: auto;
}

/* =========================================
   Luxury Contact Widget
   ========================================= */
.contact-widget {
    position: fixed;
    bottom: 30px; /* Aligned with scroll top btn */
    z-index: 9999 !important;
    font-family: inherit;
}

.contact-widget-left {
    left: 30px;
    right: auto;
}

.contact-widget-right {
    right: 30px;
    left: auto;
}

/* Toggle Button */
.contact-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #4a5499);
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 10;
}

.contact-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.contact-toggle-btn i {
    font-size: 28px;
    transition: transform 0.3s;
}

.contact-widget.active .contact-toggle-btn i {
    transform: rotate(90deg);
}

/* Pulse Animation */
.pulse-ring {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    animation: pulse 2s infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Popup */
.contact-popup {
    position: absolute;
    bottom: 80px;
    width: 320px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #eee;
}

.contact-widget-left .contact-popup {
    left: 0;
    right: auto;
    transform-origin: bottom left;
}

.contact-widget-right .contact-popup {
    right: 0;
    left: auto;
    transform-origin: bottom right;
}

.contact-widget.active .contact-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.popup-header {
    background: linear-gradient(135deg, var(--primary-color), #4a5499);
    padding: 20px;
    text-align: center;
    color: #fff;
}

.popup-header h4 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.popup-header p {
    margin: 0;
    color: rgba(255,255,255,0.8);
    font-size: 12px;
}

.popup-body {
    padding: 20px;
}

.contact-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 15px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.contact-option:hover {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.contact-option .text-box {
    text-align: right;
}

.contact-option .label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
}

.contact-option .value {
    display: block;
    font-size: 12px;
    color: #777;
}

.contact-option .icon-box {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.phone-icon {
    background: var(--primary-color);
    box-shadow: 0 4px 10px rgba(var(--primary-color-rgb), 0.3);
}

.whatsapp-icon .icon-box {
    background: #25D366;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.working-hours {
    text-align: center;
    font-size: 12px;
    color: #999;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.working-hours i {
    color: var(--secondary-color);
    margin-left: 5px;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-bottom-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .ticker-label {
        font-size: 12px;
        padding: 0 10px;
    }
    .contact-widget {
        bottom: 20px;
    }
    .contact-widget-left {
        left: 20px;
        right: auto;
    }
    .contact-widget-right {
        right: 20px;
        left: auto;
    }
    .scroll-top-btn {
        bottom: 20px;
    }
    .scroll-top-left {
        left: 20px;
        right: auto;
    }
    .scroll-top-right {
        right: 20px;
        left: auto;
    }
}
