/* =========================================
   FOOTER – RESPONSIVE & CLEAN
   ========================================= */

.footer-section {
    background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
    color: #fff;
    padding: 40px 20px 25px;
    font-family: 'Anek Malayalam','Manjari',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
}

/* ---------- GRID ---------- */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
}

.about-col,
.follow-col {
    grid-column: 1 / -1;
}

/* ---------- TITLES & TEXT ---------- */

.footer-col h3 {
    color: #ffd700;
    font-size: 17px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,.95);
}

/* ---------- LINKS ---------- */

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,.9);
    text-decoration: none;
    transition: .3s;
}

.footer-col ul li a:hover {
    color: #ffd700;
    transform: translateX(3px);
}

/* ---------- CONTACT ---------- */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item strong {
    color: #ffd700;
    display: block;
    margin-bottom: 4px;
}

.contact-item,
.contact-item a {
    font-size: 14px;
    color: rgba(255,255,255,.9);
    text-decoration: none;
}

/* Phone visibility */
.phone-desktop { display: none; }
.phone-mobile  { display: block; margin-top: 20px; }

/* ---------- SOCIAL ---------- */

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    transition: .3s;
}

.social-icons a:hover {
    background: #ffd700;
    color: #8b0000;
    transform: translateY(-3px);
}

/* ---------- BOTTOM ---------- */

.footer-bottom {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,.2);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,.85);
}

.developer-credit {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.developer-credit a {
    color: #ffd700;
    font-weight: 600;
    text-decoration: none;
}

/* ---------- HEART ---------- */

.heart {
    color: #ff4757;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%,100% { transform: scale(1); }
    25% { transform: scale(1.2); }
}

/* ---------- BACK TO TOP ---------- */

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg,#ffd700,#ffed4e);
    color: #8b0000;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 1000;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* ---------- DESKTOP ---------- */

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(4,1fr);
        gap: 40px;
    }

    .about-col,
    .follow-col {
        grid-column: auto;
        text-align: left;
    }

    .phone-desktop { display: block; }
    .phone-mobile  { display: none; }

    .social-icons { justify-content: flex-start; }
}
