/* ─────────────────────────────────────────────────────────
   stylefooter.css  —  Marthys Orthopaedic Indonesia
   Theme: Corporate Blue  |  Font: Plus Jakarta Sans
───────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

footer {
    bottom: 0;
}

/* ── FOOTER WRAPPER ─────────────────────────────────── */
.footer {
    background-color: #080f1e;
    width: 100%;
    padding: 64px 60px 40px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

/* subtle top border accent */
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1042b0, #1a56db, #3b82f6);
}

/* subtle background texture */
.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 80%, rgba(26,86,219,.06) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(59,130,246,.05) 0%, transparent 40%);
    pointer-events: none;
}

/* ── THREE COLUMNS ──────────────────────────────────── */
.footer .footer-left,
.footer .footer-center,
.footer .footer-right,
.footer .footer-right2{
    display: inline-block;
    vertical-align: top;
    position: relative;
    z-index: 1;
}

.footer .footer-left   { width: 28%; padding-right: 32px; }
.footer .footer-center { width: 20%; padding: 0 24px; border-left: 1px solid rgba(255,255,255,.07); border-right: 1px solid rgba(255,255,255,.07); }
.footer .footer-right  { width: 20%; padding-left: 32px; }
.footer .footer-right2  { width: 28%; padding-left: 32px; }

/* ── SECTION HEADINGS ───────────────────────────────── */
.footer h3 {
    color: #f1f5f9;
    margin: 0 0 22px;
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.2px;
}

/* ── INSTAGRAM FEED (left) ──────────────────────────── */
.footer .footer-left .credit-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.footer .footer-left .credit-cards a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .22s cubic-bezier(.4,0,.2,1), opacity .22s;
}

.footer .footer-left .credit-cards a:hover {
    transform: scale(1.04);
    opacity: .85;
}

.footer .footer-left .credit-cards img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer .footer-copyright {
    color: #475569;
    font-size: 12px;
    font-weight: 400;
    margin-top: 20px;
}

/* ── CONTACT INFO (center) ──────────────────────────── */
.footer .footer-center > div {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer .footer-center i {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(26,86,219,.18);
    border: 1px solid rgba(26,86,219,.30);
    color: #60a5fa;
    font-size: 16px;
    border-radius: 10px;
    text-align: center;
    line-height: 40px;
    transition: background .22s, border-color .22s;
}

.footer .footer-center > div:hover i {
    background: rgba(26,86,219,.32);
    border-color: rgba(26,86,219,.55);
}

.footer .footer-center i.fa-envelope { font-size: 14px; }

.footer .footer-center p {
    display: block;
    color: #fff;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.footer .footer-center p span {
    display: block;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 2px;
}

.footer .footer-center p a {
    color: #60a5fa;
    text-decoration: none;
    transition: color .18s;
}

.footer .footer-center p a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* ── ABOUT + SOCIAL (right) ─────────────────────────── */
.footer .footer-about {
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.75;
    margin: 0;
}

.footer .footer-about span {
    display: block;
    color: #f1f5f9;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -.1px;
}

/* divider line under about text */
.footer .footer-right .about-divider {
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, #1a56db, #3b82f6);
    border-radius: 2px;
    margin: 16px 0;
}

/* Social icons */
.footer .footer-media {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer .footer-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
    font-size: 16px;
    color: #94a3b8;
    transition: background .22s, color .22s, border-color .22s, transform .22s;
}

.footer .footer-media a:hover {
    background: #1a56db;
    border-color: #1a56db;
    color: #fff;
    transform: translateY(-2px);
}

/* ── BOTTOM BAR ─────────────────────────────────────── */
.footer-bottom {
    position: relative;
    z-index: 1;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    color: #334155;
    font-size: 12.5px;
    font-weight: 400;
    margin: 0;
}

.footer-bottom a {
    color: #475569;
    font-size: 12.5px;
    text-decoration: none;
    transition: color .18s;
}

.footer-bottom a:hover { color: #60a5fa; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 960px) {
    .footer { padding: 52px 40px 36px; }
    .footer .footer-left   { width: 100%; padding-right: 0; margin-bottom: 40px; }
    .footer .footer-center { width: 100%; padding: 32px 0; border-left: none; border-right: none; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 40px; }
    .footer .footer-right  { width: 100%; padding-left: 0; }
    .footer .footer-right2  { width: 100%; padding-left: 0; }

    .footer .footer-left .credit-cards { max-width: 300px; }
}

@media (max-width: 480px) {
    .footer { padding: 44px 24px 32px; }
    .footer .footer-left .credit-cards { max-width: 100%; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-height: 800px) {
    footer { position: static; }
}