/* ===================================================================
   TOP HR LINE
=================================================================== */
.footer-top-line {
    border: none;
    border-top: 1px solid #2a2a2a;
    width: 100%;
    margin: 0;
}

/* ===================================================================
   FOOTER BASE
=================================================================== */
.rm-footer {
    background: #0c0c0c;
    padding: 50px 0 30px;
    color: #fff;
    font-family: "Inter", sans-serif;
    width: 100%;
}

/* Container */
.rm-footer-container {
    max-width: 1400px;
    margin: auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

/* ===================================================================
   COLUMNS
=================================================================== */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #d5d5d5;
    font-size: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.25s ease;
}

.footer-col ul li a:hover {
    color: #4a9fff;
}

.footer-logo {
    height: 55px;
}

.footer-col h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

/* ===================================================================
   ICONS — HOVER + SUBTLE ANIMATION
=================================================================== */
.footer-col i {
    margin-right: 7px;
    font-size: 18px;
    color: #4a9fff;
    transition: transform 0.25s ease, text-shadow 0.25s ease;
}

.footer-col a:hover i {
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(74,159,255,0.6);
}

/* ===================================================================
   CONTACT LIST
=================================================================== */
.contact-list li {
    font-size: 14.5px;
    color: #e2e2e2;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-list a {
    color: #d5d5d5;
    text-decoration: none;
}

.contact-list a:hover {
    color: #4a9fff;
}

/* ===================================================================
   SOCIAL ICONS
=================================================================== */
.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 18px;
}

.footer-socials a {
    color: #bbb;
    font-size: 20px;
    transition: transform 0.25s ease, color 0.25s ease;
}

.footer-socials a:hover {
    color: #4a9fff;
    transform: translateY(-3px);
}

/* ===================================================================
   FOOTER BOTTOM BAR
=================================================================== */
.rm-footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding-top: 25px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
}

.rm-footer-bottom p {
    margin: 0;
    color: #aaa;
    font-size: 14px;
}

.rm-footer-links a {
    color: #bbb;
    margin-left: 20px;
    font-size: 14px;
    text-decoration: none;
}

.rm-footer-links a:hover {
    color: #4a9fff;
}

/* ===================================================================
   RESPONSIVE
=================================================================== */
@media (max-width: 900px) {
    .rm-footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .rm-footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .rm-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .rm-footer-links a {
        margin-left: 12px;
    }

    .footer-socials {
        justify-content: flex-start;
    }
}

/* ==============================
   MOBILE FOOTER FIX
============================== */
@media (max-width: 600px) {

    .rm-footer {
        padding: 40px 0 25px;
    }

    .rm-footer-container {
        padding: 0 24px; /* THIS FIXES LEFT CRAMPING */
        text-align: left;
    }

    .footer-col {
        width: 100%;
    }

    .footer-col ul li,
    .contact-list li {
        padding: 6px 0;
    }

    .footer-col h4 {
        margin-bottom: 14px;
    }

    .footer-socials {
        margin-top: 16px;
    }

    .rm-footer-bottom {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 600px) {
    .footer-col a {
        min-height: 10px;
        display: flex;
        align-items: center;
    }
}


/* Icon images (custom icons support) */
/* php file code chnage 
<img src="icon.png" class="icon" alt="">


css file addition
.footer-col img.icon,
.footer-socials img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: 
        transform 0.3s ease,
        filter 0.3s ease;
} */

/* Hover: tilt + enlarge (desktop only) */
/* @media (hover: hover) {
    .footer-col a:hover img.icon,
    .footer-socials a:hover img {
        transform: scale(1.15) rotate(-6deg);
        filter: drop-shadow(0 0 6px rgba(74,159,255,0.6));
    }
} */
