/* ============ CUSTOM FOOTER - WHY ROCONAL EDITION ============ */
/* Root variables for footer */
:root {
    --rc-footer-primary: #ee4d2d;
    --rc-footer-bg: #201f1d;
    --rc-footer-bg-dark: #1a1a18;
    --rc-footer-text: #676767;
    --rc-footer-heading: #ffffff;
    --rc-footer-muted: #858585;
}

/* Footer top section - Why Roconal */
.footer-top {
    background: var(--rc-footer-bg);
    position: relative;
    z-index: 99;
    padding: 70px 0 50px;
    overflow: hidden;
}

/* Decorative background elements */
.footer-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--rc-footer-primary),
        #ff6b5b,
        var(--rc-footer-primary)
    );
}

/* Why Roconal Section */
.rc-footer-about {
    margin-bottom: 50px;
}

.rc-footer-section-head {
    text-align: center;
    margin-bottom: 40px;
}

.rc-footer-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--rc-footer-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    position: relative;
    display: inline-block;
}

.rc-footer-section-title::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--rc-footer-primary);
    border-radius: 2px;
}

/* About content */
.rc-footer-about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.rc-footer-about-micro {
    font-size: 13px;
    font-weight: 600;
    color: var(--rc-footer-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.rc-footer-about-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--rc-footer-muted);
    margin: 0;
}

/* Metrics Grid */
.rc-footer-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.rc-footer-metric {
    text-align: center;
    padding: 25px 15px;
    background: rgba(238, 77, 45, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(238, 77, 45, 0.15);
    transition: all 0.3s ease;
}

.rc-footer-metric:hover {
    background: rgba(238, 77, 45, 0.15);
    border-color: var(--rc-footer-primary);
    transform: translateY(-5px);
}

.rc-footer-metric-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--rc-footer-primary);
    margin-bottom: 5px;
}

.rc-footer-metric-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--rc-footer-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Feature Cards */
.rc-footer-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.rc-footer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.rc-footer-card:hover {
    background: rgba(238, 77, 45, 0.1);
    border-color: rgba(238, 77, 45, 0.3);
    transform: translateY(-5px);
}

.rc-footer-card-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 15px;
    background: rgba(238, 77, 45, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rc-footer-primary);
    font-size: 24px;
    transition: all 0.3s ease;
}

.rc-footer-card:hover .rc-footer-card-icon {
    background: var(--rc-footer-primary);
    color: #ffffff;
    transform: rotateY(180deg);
}

.rc-footer-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--rc-footer-heading);
    margin-bottom: 8px;
}

.rc-footer-card-text {
    font-size: 12px;
    line-height: 1.6;
    color: var(--rc-footer-muted);
    margin: 0;
}

/* Footer Links & Contact Grid */
.rc-footer-bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Newsletter Section */
.rc-footer-newsletter {
    padding-right: 30px;
}

.rc-footer-newsletter h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--rc-footer-heading);
    margin-bottom: 12px;
}

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

.rc-footer-newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
}

.rc-footer-newsletter-input {
    flex: 1;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0 20px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.rc-footer-newsletter-input::placeholder {
    color: var(--rc-footer-muted);
}

.rc-footer-newsletter-input:focus {
    outline: none;
    border-color: var(--rc-footer-primary);
    background: rgba(255, 255, 255, 0.08);
}

.rc-footer-newsletter-btn {
    width: 48px;
    height: 48px;
    background: var(--rc-footer-primary);
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rc-footer-newsletter-btn:hover {
    background: #d43f22;
    transform: scale(1.05);
}

/* Contact & Social Section */
.rc-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rc-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rc-footer-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(238, 77, 45, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rc-footer-primary);
    font-size: 18px;
    flex-shrink: 0;
}

.rc-footer-contact-text {
    font-size: 14px;
    color: var(--rc-footer-muted);
}

.rc-footer-contact-text a {
    color: var(--rc-footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.rc-footer-contact-text a:hover {
    color: var(--rc-footer-primary);
}

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

.rc-footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rc-footer-muted);
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

/* CTA Buttons */
.rc-footer-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.rc-footer-btn {
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rc-footer-btn-primary {
    background: var(--rc-footer-primary);
    color: #ffffff;
}

.rc-footer-btn-primary:hover {
    background: #d43f22;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(238, 77, 45, 0.4);
}

.rc-footer-btn-secondary {
    background: transparent;
    color: var(--rc-footer-heading);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rc-footer-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--rc-footer-primary);
    color: var(--rc-footer-primary);
}

/* Footer Bottom - Copyright */
.footer-bottom {
    background: var(--rc-footer-bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    position: relative;
    z-index: 99;
}

.copyright-text p {
    color: var(--rc-footer-text);
    font-size: 14px;
    margin: 0;
}

/* Payment icons */
.vistors-details ul {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vistors-details ul li a {
    background: #ffffff;
    width: 50px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.vistors-details ul li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.vistors-details ul li a img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .footer-top {
        padding: 50px 0 30px;
    }

    .rc-footer-section-title {
        font-size: 26px;
    }

    .rc-footer-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .rc-footer-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .rc-footer-bottom-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rc-footer-newsletter {
        padding-right: 0;
    }

    .rc-footer-newsletter-form {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .footer-top {
        padding: 40px 0 20px;
    }

    .rc-footer-section-title {
        font-size: 22px;
    }

    .rc-footer-about-desc {
        font-size: 14px;
    }

    .rc-footer-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .rc-footer-metric {
        padding: 20px 10px;
    }

    .rc-footer-metric-value {
        font-size: 22px;
    }

    .rc-footer-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rc-footer-card {
        padding: 20px 15px;
    }

    .rc-footer-cta {
        flex-direction: column;
        align-items: center;
    }

    .rc-footer-btn {
        width: 100%;
        justify-content: center;
    }

    .rc-footer-newsletter h5 {
        font-size: 16px;
    }

    .rc-footer-newsletter p {
        font-size: 13px;
    }

    .rc-footer-newsletter-input {
        height: 50px !important;
        font-size: 15px !important;
        padding: 0 16px !important;
    }

    .rc-footer-newsletter-input::placeholder {
        font-size: 14px !important;
    }

    .rc-footer-newsletter-btn {
        width: 100%;
        height: 50px !important;
        font-size: 20px !important;
    }

    .vistors-details ul {
        justify-content: center;
        margin-top: 15px;
    }

    .copyright .row {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .rc-footer-metrics {
        grid-template-columns: 1fr;
    }

    .rc-footer-section-title::after {
        width: 40px;
    }
}
