/* Hide default theme and Elementor footers */
footer#colophon, 
.site-footer, 
.elementor-location-footer, 
#site-footer {
    display: none !important;
}

/* Remove bottom spacing from main content areas */
.site-main, 
#content, 
.site-content,
.elementor-location-single {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Footer Wrapper */
.revia-footer-wrapper-df9cee42 {
    background-color: #fff3e5 !important; /* Force Light Beige background */
    color: #372615; /* Dark brown text */
    padding: 60px 0 0;
    font-family: 'Cairo', 'Roboto', sans-serif;
    direction: rtl;
    width: 100%;
}

html[dir="ltr"] .revia-footer-wrapper-df9cee42 {
    direction: ltr;
}

/* Container & Grid Setup */
.revia-footer-container-df9cee42 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 40px;
    align-items: flex-start;
}

/* Typography & Colors */
.revia-footer-col-df9cee42 h3 {
    color: #986d2f; /* Dark gold / brown for headings */
    font-size: 1.15rem;
    margin-bottom: 18px;
    font-weight: 700;
    margin-top: 0;
}

.revia-footer-col-df9cee42 p, 
.revia-footer-col-df9cee42 a, 
.revia-footer-col-df9cee42 li {
    color: #372615 !important; /* Dark brown text forced */
    font-size: 0.95rem;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.revia-footer-col-df9cee42 a:hover {
    color: #986d2f !important; /* Gold hover */
}

.revia-footer-col-df9cee42 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.revia-footer-col-df9cee42 ul li {
    margin-bottom: 10px;
}

/* Logo area */
.revia-footer-logo-link-df9cee42 {
    display: inline-block;
    margin-bottom: 15px;
}

.revia-footer-logo-df9cee42 {
    max-width: 140px;
    height: auto;
    display: block;
}

/* Contact Info */
.revia-contact-phone-df9cee42 {
    margin-bottom: 15px;
}

.revia-phone-link-df9cee42 {
    display: inline-block;
    font-weight: 600;
}

/* Social Icons */
.revia-social-icons-df9cee42 {
    display: flex;
    gap: 12px;
}

.revia-social-icons-df9cee42 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #372615; /* Dark brown bg for icons */
    color: #fff3e5 !important; /* Beige icon color */
    transition: all 0.3s ease;
}

.revia-social-icons-df9cee42 a:hover {
    background-color: #986d2f; /* Gold on hover */
    transform: translateY(-3px);
    color: #fff !important;
}

.revia-social-icons-df9cee42 svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Newsletter */
.revia-newsletter-form-df9cee42 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.revia-newsletter-form-df9cee42 input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #986d2f; /* Gold/brown border */
    background-color: #ffffff; /* White bg for input to contrast beige */
    color: #372615;
    border-radius: 4px;
    outline: none;
    box-sizing: border-box;
}

.revia-newsletter-form-df9cee42 input[type="email"]::placeholder {
    color: #888;
}

.revia-newsletter-form-df9cee42 button {
    width: 100%;
    padding: 12px 15px;
    background-color: #986d2f; /* Gold button */
    color: #FFF8F3 !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.revia-newsletter-form-df9cee42 button:hover {
    background-color: #372615; /* Dark brown hover */
}

/* Copyright */
.revia-footer-bottom-df9cee42 {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(55, 38, 21, 0.1); /* Subtle dark brown border */
    margin-top: 40px;
    font-size: 0.85rem;
    color: #372615;
}

/* Tablet Responsive */
@media (max-width: 1023px) {
    .revia-footer-container-df9cee42 {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .revia-footer-wrapper-df9cee42 {
        padding: 28px 0 0;
    }
    
    .revia-footer-container-df9cee42 {
        grid-template-columns: 1fr;
        text-align: center;
        align-items: center;
        gap: 22px; /* Tighter gap */
    }

    .revia-footer-logo-link-df9cee42 {
        margin: 0 auto 12px;
    }

    .revia-footer-logo-df9cee42 {
        max-width: 120px; /* Smaller logo */
    }

    .revia-social-icons-df9cee42 {
        justify-content: center;
    }

    /* Strict Mobile Order & Layout */
    .revia-col-brand-df9cee42 { order: 1; }
    .revia-col-contact-df9cee42 { order: 2; }
    .revia-col-menu-df9cee42 { order: 3; }
    .revia-col-newsletter-df9cee42 { order: 4; }
    
    /* 2-Column Grid for Menu Links on Mobile */
    .revia-col-menu-df9cee42 ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        text-align: center;
    }
    
    .revia-col-menu-df9cee42 ul li {
        margin-bottom: 0;
    }
    
    /* Optimize newsletter form width on mobile */
    .revia-newsletter-form-df9cee42 {
        width: 90%;
        max-width: 360px;
        margin: 0 auto;
    }
    
    /* Copyright Padding */
    .revia-footer-bottom-df9cee42 {
        margin-top: 28px;
        padding-top: 16px;
        padding-bottom: 24px; 
    }
}