/* ===== FOOTER SECTION CSS ===== */

.footer {
    position: relative;
    background: rgba(18, 18, 36, 0.85); /* Darker background with higher opacity */
    backdrop-filter: blur(10px); /* Blur effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    padding: 100px 0 40px;
    color: var(--text-light);
    overflow: hidden;
    border-top: 1px solid rgba(126, 211, 33, 0.2);
    z-index: 1;
    transition: all 0.5s ease;
}

.footer-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(126, 211, 33, 0.25) 0%, rgba(126, 211, 33, 0) 70%);
    top: -150px;
    right: -100px;
    z-index: -1;
    border-radius: 50%;
    animation: pulse-glow 8s infinite alternate ease-in-out;
    animation-play-state: paused;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0wIDBoNjB2NjBIMHoiLz48cGF0aCBkPSJNMzAgMzBhMSAxIDAgMCAxLTEtMSAxIDEgMCAwIDEgMS0xIDEgMSAwIDAgMSAxIDEgMSAxIDAgMCAxLTEgMW0wLTRhMyAzIDAgMCAwLTMgMyAzIDMgMCAwIDAgMyAzIDMgMyAwIDAgMCAzLTMgMyAzIDAgMCAwLTMtMyIgZmlsbD0icmdiYSgxMjYsIDIxMSwgMzMsIDAuMDUpIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+');
    z-index: -1;
    opacity: 0.1; /* Reduce opacity for better contrast */
}

.footer-main-content {
    margin-top: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 130px;
    max-width: 180px;
    transition: all var(--transition-fast);
    filter: drop-shadow(0 0 8px rgba(126, 211, 33, 0.3));
}

.footer-description {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 490px;
}

.footer-contact-info {
    margin-top: 30px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.footer-contact-item i {
    font-size: 18px;
    color: var(--primary-green);
    margin-right: 15px;
    margin-top: 2px;
}

.footer-contact-item span {
    font-size: 14px;
    line-height: 1.5;
}

.footer-title {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 4px;
    background: rgba(126, 211, 33, 0.12);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-shadow: 0 0 10px rgba(126, 211, 33, 0.3);
}

.footer-title-underline {
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(126, 211, 33, 0.4);
}

/* Glass effect for footer bottom */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(126, 211, 33, 0.1);
    margin-top: 30px;
    position: relative;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2;
}

.copyright {
    color: var(--text-dimmed);
    font-size: 14px;
    text-align: center;
    padding: 10px 0;
    text-shadow: 0 0 10px rgba(126, 211, 33, 0.15);
}

.copyright .brand-name {
    color: var(--primary-green);
    font-weight: 500;
    position: relative;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 6px;
    position: relative;
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: flex;
    align-items: center;
}

.footer-link-effect {
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    display: inline-block;
    overflow: hidden;
    padding: 2px 4px;
}

.footer-link-effect span {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-link-effect:hover {
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(126, 211, 33, 0.4);
}

.footer-link-effect:hover span {
    transform: translateY(-2px);
}

.footer-newsletter p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.newsletter-form .input-group {
    border: 1px solid var(--card-border);
    border-radius: 4px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.newsletter-form .input-group:focus-within {
    border-color: rgba(126, 211, 33, 0.4);
    box-shadow: 0 0 0 3px rgba(126, 211, 33, 0.1);
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: #fff;
    padding: 12px 15px;
    font-size: 14px;
    height: auto;
    transition: all 0.3s ease;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-purple));
    border: none;
    padding: 0 15px;
    color: var(--dark-bg);
    transition: all 0.3s ease;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn i {
    font-size: 16px;
    color: #fff;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-green));
    transform: translateX(3px);
}

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

.contact-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.footer-social-luxury {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.social-luxury-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.social-luxury-link {
    text-decoration: none;
    position: relative;
}

.social-luxury-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(126, 211, 33, 0.3);
    color: var(--text-light);
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-luxury-icon:hover {
    color: var(--dark-bg);
    transform: translateY(-3px);
    border-color: transparent;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
}

.copyright {
    margin: -20px 0px 0px 0px;
    font-size: 14px;
    color: var(--text-dimmed);
}

.copyright .brand-name {
    color: var(--primary-green);
    font-weight: 500;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin: 10px auto 10px auto;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
}

.footer-bottom-links a {
    color: var(--text-dimmed);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

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

/* Remove the previous mobile style overrides */
/* Modify footer structure for mobile */
@media (max-width: 767px) {
    .footer-bottom .row {
        flex-direction: column;
    }
    
    .footer-bottom .col-md-6 {
        width: 100%;
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .footer-social-luxury .social-luxury-wrapper {
        gap: 10px;
    }
    
    .social-luxury-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Responsive Footer Styles */
@media (max-width: 1200px) {
    .footer-contact-bar {
        flex-wrap: wrap;
    }
    
    .footer-contact-bar .contact-item {
        margin-right: 20px;
        margin-bottom: 10px;
    }
}

@media (max-width: 991px) {
    .footer {
        padding: 80px 0 40px;
    }
    
    .footer-main-content {
        margin-bottom: 40px;
    }
    
    .footer-title {
        font-size: 17px;
    }
    
    .footer-description {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 60px 0 40px;
    }
    
    .footer-contact-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-contact-bar .contact-item {
        margin-bottom: 15px;
    }
    
    .footer-social-luxury {
        margin-bottom: 30px;
    }
    
    .social-luxury-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .copyright {
        text-align: center;
        margin-top: 0;
        color: #ffffff;
    }
    
    .footer-brand {
        margin-top: -60px;
        text-align: center;
    }
    
    .footer-logo {
        height: 100px;
        max-width: 150px;
    }
    
    .footer-contact-item {
        margin-bottom: 15px;
    }
    
    .footer-contact-item i {
        font-size: 16px;
        margin-right: 10px;
    }
    
    .footer-description {
        margin-bottom: 20px;
    }
    
    .footer-menu {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 50px 0 30px;
    }
    
    .footer-social-luxury .social-luxury-wrapper {
        gap: 10px;
    }
    
    .social-luxury-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    /* Ensure bottom links don't wrap and are scrollable */
    .footer-bottom-links {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 15px;
        padding: 0 5px;
    }
    
    .footer-bottom-links a {
        font-size: 13px;
        white-space: nowrap;
    }
    
    .copyright {
        font-size: 13px;
        color: #ffffff;

    }
    
    .footer-title {
        font-size: 16px;
        padding: 5px 12px;
    }
    
    .footer-link-effect {
        font-size: 14px;
    }
    
    .footer-contact-item span {
        font-size: 13px;
    }
    
    .footer-description {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .newsletter-form .form-control {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .newsletter-btn {
        padding: 0 10px;
    }
    
    .newsletter-btn i {
        font-size: 14px;
    }
    
    .footer-newsletter p {
        font-size: 13px;
        margin-bottom: 15px;
    }
}

.footer-newsletter .footer-social-luxury {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0;
    margin-top: 20px;
}

.footer-newsletter .social-luxury-wrapper {
    justify-content: flex-start;
    gap: 12px;
}

.footer-newsletter .social-luxury-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
}

@media (max-width: 767px) {
    .footer-newsletter .footer-social-luxury {
        justify-content: center;
    }
    
    .footer-newsletter .social-luxury-wrapper {
        justify-content: center;
    }
    
    /* Fix spacing for columns in mobile view */
    .footer [class*="col-"] {
        margin-bottom: 30px;
    }
    
    .footer [class*="col-"]:last-child {
        margin-bottom: 0;
    }
}

.footer-brand {
    margin-top: -90px;
}

/* Scroll to Top Button Styles */
.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(30, 30, 32, 0.95), rgba(50, 50, 55, 0.95));
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(126, 211, 33, 0.1);
    overflow: hidden;
}

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

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin: 20px 0;
}

.scroll-to-top i {
    font-size: 25px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.95), rgba(156, 39, 176, 0.95));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(126, 211, 33, 0.2);
    transform: translateY(-3px);
}


.scroll-to-top:hover i {
    transform: translateY(-5px);
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* WhatsApp Button Styles */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998; /* Lower z-index than scroll-to-top */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.whatsapp-button i {
    font-size: 30px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Responsive styles for both buttons */
@media screen and (max-width: 768px) {
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 85px;
        right: 20px;
    }
    
    .scroll-to-top i {
        font-size: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        right: 20px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .footer-bottom-links {
        padding: 0 15px;
    }
}

.footer-brand a {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 10px;
    display: inline-block;
}
.footer-brand a:hover {
    transform: translateY(-5px);
}

.footer-logo {
    transition: all 0.3s ease;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-link-effect {
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 2px 0;
    font-size: 15px;
}

.footer-link-effect span {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-link-effect:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.footer-link-effect:hover span {
    transform: translateY(-2px);
}

.footer {
    position: relative;
    overflow: hidden;
}

.footer .col-lg-5, 
.footer .col-lg-2,
.footer .col-lg-3 {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.footer-column-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.footer-menu li {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
    transition-delay: calc(var(--i) * 0.1s);
    color: #ffffff;
}

.footer-item-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


.footer-glow {
    animation-play-state: paused;
}