/* ================= FOOTER BASE ================= */
.footer {
    background: linear-gradient(135deg, #0D1F1A 0%, #0A3328 40%, #145C45 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    padding: 80px 6% 40px 6%;
    position: relative;
    letter-spacing: 0.2px;
    overflow: hidden;
}

/* Smooth entrance fade for premium feel */
.footer * {
    animation: footerFade 0.6s ease forwards;
    opacity: 0;
}
@keyframes footerFade { to { opacity: 1; } }

/* ================= ABSTRACT PREMIUM SHAPE ================= */
.footer-abstract-shape {
    position: absolute;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.22), transparent 80%);
    border-radius: 70% 30% 60% 40%;
    filter: blur(95px);
    top: -120px;
    left: -60px;
    z-index: 0;
    animation: floatFooterShape 12s ease-in-out infinite;
}
@keyframes floatFooterShape {
    0% { transform: rotate(18deg) translateY(0) translateX(0); }
    50% { transform: rotate(18deg) translateY(-25px) translateX(20px); }
    100% { transform: rotate(18deg) translateY(0) translateX(0); }
}

/* Ensure content above abstract shape */
.footer-top, .footer-bottom { position: relative; z-index: 1; }

/* ================= TOP SECTION ================= */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding-bottom: 55px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* ================= 4 COLUMN LAYOUT ================= */
.footer-brand,
.footer-links,
.footer-contact,
.footer-social {
    flex: 1 1 220px; 
    max-width: 25%;
}

/* ================= BRAND COLUMN ================= */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.footer-logo {
    width: 160px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 8px;
    box-shadow: 0 0 25px rgba(0,0,0,0.35),
                0 4px 12px rgba(0,0,0,0.25),
                inset 0 0 25px rgba(212,175,55,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.footer-logo:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 35px rgba(0,0,0,0.4),
                0 6px 18px rgba(0,0,0,0.3),
                inset 0 0 32px rgba(212,175,55,0.18);
}
.footer-desc {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.9;
    max-width: 340px;
}

/* ================= SECTION HEADINGS ================= */
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.28rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    color: var(--kd-gold);
    text-shadow: 0 0 10px rgba(212,175,55,0.35);
}

/* ================= LINKS ================= */
.footer-links ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    opacity: 0.95;
    transition: all 0.3s ease;
}
.footer-links li a i {
    font-size: 15px;
    color: var(--kd-gold);
    text-shadow: 0 0 6px rgba(212,175,55,0.7),
                 0 0 14px rgba(212,175,55,0.5),
                 0 0 28px rgba(212,175,55,0.35);
    transform: translateZ(0);
}
.footer-links li a:hover {
    color: var(--kd-gold);
    transform: translateX(4px);
}

/* ================= CONTACT SECTION ================= */
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1rem;
}
.footer-contact p i {
    font-size: 19px;
    color: var(--kd-gold);
    text-shadow: 0 0 6px rgba(212,175,55,0.9),
                 0 0 16px rgba(212,175,55,0.7),
                 0 0 30px rgba(212,175,55,0.45),
                 0 0 50px rgba(212,175,55,0.35);
    transition: transform 0.3s ease;
}
.footer-contact p:hover i { transform: scale(1.15); }

/* ================= CTA BUTTON ================= */
.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--kd-gold);
    color: var(--kd-dark-green);
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 18px;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(212,175,55,0.28),
                0 4px 12px rgba(0,0,0,0.25),
                inset 0 0 25px rgba(255,255,255,0.25);
    transition: all 0.35s ease;
}
.footer-cta:hover {
    background: var(--kd-light-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(212,175,55,0.34),
                0 6px 14px rgba(0,0,0,0.35),
                inset 0 0 30px rgba(255,255,255,0.3);
}

/* ================= SOCIAL ICONS ================= */
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--kd-gold);
    margin: 5px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 12px rgba(212,175,55,0.4),
                0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.footer-social a:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(212,175,55,0.7),
                0 6px 16px rgba(0,0,0,0.25);
}
/* ================= SOCIAL ICONS ================= */
.footer-social div {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    justify-content: flex-start; /* aligns with left column */
}

/* ================= SOCIAL ICONS FIX ================= */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(212,175,55,0.3); /* stronger background */
    box-shadow:
        0 0 12px rgba(212,175,55,0.6),
        0 0 20px rgba(212,175,55,0.4),
        inset 0 0 6px rgba(212,175,55,0.2);
    color: var(--kd-gold);
    font-size: 18px;
    transition: all 0.35s ease;
}

.footer-social a i {
    filter: none; /* remove blur */
    opacity: 1;    /* fully visible */
}

.footer-social a:hover {
    background: rgba(212,175,55,0.5);
    box-shadow:
        0 0 18px rgba(212,175,55,0.8),
        0 0 36px rgba(212,175,55,0.6),
        inset 0 0 8px rgba(212,175,55,0.25);
    transform: translateY(-2px) scale(1.1);
    color: #fff;
}


/* ================= BOTTOM SECTION ================= */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    gap: 16px;
    font-size: 0.95rem;
    opacity: 0.9;
}
.footer-bottom a {
    color: var(--kd-gold);
    text-shadow: 0 0 10px rgba(212,175,55,0.45);
}
.footer-bottom a:hover { text-decoration: underline; }

/* ================= PREMIUM GOLD DIVIDER ================= */
.footer-divider {
    width: 100%;
    height: 2px;
    position: relative;
    margin: 40px 0;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.6) 50%, rgba(212, 175, 55, 0) 100%);
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.55));
    overflow: hidden;
}
.footer-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.85) 0%, rgba(212, 175, 55, 0.25) 40%, rgba(212, 175, 55, 0) 70%);
    transform: translateY(-50%);
    filter: blur(18px);
    animation: goldSweep 6s infinite ease-in-out;
    opacity: 0.9;
}
.footer-divider::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
    animation: shimmerPass 4s infinite ease-in-out;
    opacity: 0.4;
}
@keyframes goldSweep { 0% { left: -20%; } 50% { left: 50%; } 100% { left: 120%; } }
@keyframes shimmerPass { 0% { left: -80%; } 50% { left: 40%; } 100% { left: 120%; } }

/* ================= RESPONSIVE ================= */
@media screen and (max-width: 991px) {
    .footer-top, .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
    .footer-brand, .footer-links, .footer-contact, .footer-social { max-width: 100%; margin-bottom: 35px; text-align: center; }
    .footer-logo { width: 135px; }
}
/* ================= MOBILE STICKY FOOTER MENU ================= */
.mobile-footer-menu {
    display: none; /* visible only on mobile */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0D1F1A;
    border-top: 2px solid rgba(212,175,55,0.6);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    z-index: 1000;
}

.mobile-footer-menu .footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.85rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-footer-menu .footer-item:hover {
    color: var(--kd-gold);
}

.mobile-footer-menu .footer-icon {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.mobile-footer-menu .cta-footer {
    background: var(--kd-gold);
    color: var(--kd-dark-green);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(212,175,55,0.45);
}

.mobile-footer-menu .cta-footer:hover {
    background: var(--kd-light-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(212,175,55,0.5);
}

/* Show only on mobile screens */
@media screen and (max-width: 991px) {
    .mobile-footer-menu { display: flex; }
}

@media screen and (min-width: 992px) {
    .mobile-footer-menu { display: none; }
}
