/* ==========================================================================
   Kano Quality Award — Footer Stylesheet (Redesign 2026)
   Dark navy gradient + gold accents
   ========================================================================== */

footer {
    position: relative;
    background:
        radial-gradient(760px 380px at 90% -10%, rgba(8, 90, 214, 0.22), transparent 62%),
        radial-gradient(620px 320px at 4% 110%, rgba(247, 169, 3, 0.10), transparent 60%),
        linear-gradient(165deg, #081a33 0%, #0a1f3d 45%, #10294f 100%);
    color: #cbd5e6;
    margin-top: 0;
}

/* gold accent line on top of footer */
.footer-top-accent {
    height: 5px;
    background: linear-gradient(90deg,
            #f7a903 0%, #ffd34d 22%, #0a1f3d 22.15%, #0a1f3d 74%, #085ad6 74.15%, #1e6fe8 100%);
}

.footer-content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 24px 48px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
}

.footer-section h2 {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.4rem;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 58px;
    height: 4px;
    border-radius: 99px;
    background: linear-gradient(90deg, #f7a903, #ffd34d);
}

.footer-section h4 {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    color: #ffd76e;
    font-weight: 600;
    font-size: 1.08rem;
    margin-bottom: 0.9rem;
}

.footer-brand p {
    color: #b9c6da;
    font-size: 0.94rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.footer-brand p:first-of-type {
    color: #dbe4f1;
}

/* Contact list (right column) */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-top: 6px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    color: #b9c6da;
    font-size: 0.96rem;
    line-height: 1.75;
}

.f-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.footer-contact-list li:hover .f-icon {
    background: rgba(247, 169, 3, 0.18);
    border-color: rgba(247, 169, 3, 0.45);
    transform: translateY(-2px);
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding: 20px 24px 26px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.88rem;
    color: #8fa0bd;
    letter-spacing: 0.3px;
}

.footer-bottom p::first-letter {
    color: #ffd76e;
}

/* --- Responsive --- */
@media (max-width: 860px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 48px 22px 36px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 40px 18px 30px;
    }

    .footer-contact-list li {
        font-size: 0.9rem;
    }
}
