/* =========================
   FOOTER – JAI DURGA PLASTIC (NO GAP, COMPACT)
========================= */
.animated-footer {
    background: linear-gradient(135deg, #02111f, #05203a, #0b3158);
    color: #e0e7ff;
    overflow: hidden;
    position: relative;
    margin-top: 10px;   /* ✅ small gap from content */
    transition: background 0.3s ease;
}

body.dark-mode .animated-footer {
    background: linear-gradient(135deg, #0a0f1a, #0f172a);
    color: #cbd5e1;
}

.footer-wave-top svg {
    display: block;
    width: 100%;
    height: 80px;
    margin-bottom: -5px;
}
body.dark-mode .footer-wave-top path {
    fill: #0f172a;
}

.footer-main {
    padding: 35px 5% 25px;   /* ✅ reduced top/bottom */
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.footer-col, .footer-col2, .footer-col3, .footer-col4 {
    display: flex;
    flex-direction: column;
}

/* Logo */
.footer-logo h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
    color: #fff;
}
.footer-logo span {
    color: #f4a261;
}
.tagline {
    font-size: 12px;
    color: #b9d0f0;
    margin-bottom: 12px;
}
.company-desc {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #dce5f5;
    max-width: 280px;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 10px;
}
.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}
.social-icon:hover {
    background: #f4a261;
    transform: translateY(-3px);
}

/* Headings */
.footer-col2 h3, .footer-col3 h3, .footer-col4 h3 {
    font-size: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}
.footer-col2 h3 i, .footer-col3 h3 i, .footer-col4 h3 i {
    color: #f4a261;
}

/* Quick links */
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #dce5f5;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links a i {
    font-size: 0.7rem;
    color: #f4a261;
}
.footer-links a:hover {
    color: #f4a261;
    padding-left: 5px;
}

/* Contact info */
.footer-contact {
    list-style: none;
    padding: 0;
}
.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.footer-contact li i {
    color: #f4a261;
    font-size: 1rem;
    margin-top: 2px;
}
.footer-contact strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
    color: white;
}
.footer-contact span {
    font-size: 12px;
    color: #dce5f5;
    line-height: 1.4;
}

/* Business hours */
.business-hours-list {
    list-style: none;
    padding: 0;
    margin-bottom: 18px;
}
.business-hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
}
.closed {
    color: #ff9f9f;
}

/* Newsletter */
.newsletter h4 {
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
}
.newsletter h4 i {
    color: #f4a261;
}
.newsletter-form {
    display: flex;
    background: rgba(255,255,255,0.08);
    border-radius: 50px;
    overflow: hidden;
}
.newsletter-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 12px;
    color: white;
    font-size: 13px;
    outline: none;
}
.newsletter-form input::placeholder {
    color: #b9d0f0;
}
.newsletter-form button {
    width: 40px;
    border: none;
    background: #f4a261;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}
.newsletter-form button:hover {
    background: #e67e22;
}

/* Footer bottom */
.footer-bottom {
    background: rgba(0,0,0,0.22);
    padding: 12px 5%;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.bottom-content p {
    font-size: 12px;
    color: #dce5f5;
}
.heart i {
    color: #ff5e5e;
}
.footer-bottom-links {
    display: flex;
    gap: 16px;
}
.footer-bottom-links a {
    color: #dce5f5;
    text-decoration: none;
    font-size: 12px;
    transition: 0.3s;
}
.footer-bottom-links a:hover {
    color: #f4a261;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: #f4a261;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    font-size: 1rem;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: #e67e22;
    transform: translateY(-3px);
}

/* Animations */
.fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}
@media (max-width: 768px) {
    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }
    .footer-col, .footer-col2, .footer-col3, .footer-col4 {
        width: 100%;
        text-align: center;
        align-items: center;
    }
    .footer-col h3, .footer-col2 h3, .footer-col3 h3, .footer-col4 h3 {
        justify-content: center;
    }
    .footer-links li {
        text-align: center;
    }
    .footer-contact li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
    .bottom-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-links {
        justify-content: center;
    }
}