/* ===============================
   FOOTER (FINAL CLEAN BRAND UI)
=============================== */

.footer {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 80px 60px 30px;
    color: #fff;
}

/* GRID */
.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

/* ===============================
   LOGO (WHITE BG FIX)
=============================== */

.footer-logo-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    width: 140px;
    background: #fff;
    /* ✅ FIX LOGO VISIBILITY */
    padding: 10px 15px;
    border-radius: 10px;
    display: inline-block;
}

.footer-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* BRAND */
.footer-brand {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

/* TAGLINE */
.footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===============================
   HEADINGS
=============================== */

.footer h3 {
    margin-bottom: 15px;
    position: relative;
    font-weight: 600;
    color: #fff;
}

/* ORANGE UNDERLINE */
.footer h3::after {
    content: "";
    width: 45%;
    height: 2px;
    background: var(--accent);
    position: absolute;
    bottom: -5px;
    left: 0;
}

/* TEXT */
.footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* ===============================
   SOCIAL ICONS
=============================== */

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    transition: 0.3s;
    text-decoration: none;
}

/* HOVER */
.footer-social a:hover {
    background: #fff;
    color: var(--accent);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(243, 112, 33, 0.4);
}

/* ===============================
   LINKS
=============================== */

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: 0.3s;
    position: relative;
}

/* UNDERLINE */
.footer-links ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: 0.3s;
}

/* HOVER */
.footer-links ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links ul li a:hover::after {
    width: 100%;
}

/* ===============================
   BUTTONS
=============================== */

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-buttons a {
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

/* PRIMARY */
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 5px 15px rgba(243, 112, 33, 0.4);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
}

/* OUTLINE */
.btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
}

/* ===============================
   FOOTER BOTTOM
=============================== */

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);

    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* LINKS */
.dev-link {
    font-weight: 600;
    color: var(--accent);
    transition: 0.3s;
}

.dev-link:hover {
    color: #fff;
    text-decoration: underline;
}

.admin-link {
    color: inherit;
    text-decoration: none;
}

/* ===============================
   RESPONSIVE
=============================== */

@media(max-width:1000px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto;
    }

    .footer h3::after {
        width: 100%;
    }
}