/* ================================================================
   Ksheerdhara — Clean Corporate Footer
   ================================================================ */
.kd-footer {
    --kf-bg: #0c3428;
    --kf-bg-deep: #071f18;
    --kf-green: #1a7a4a;
    --kf-gold: #c9940f;
    --kf-text: rgba(255, 255, 255, 0.92);
    --kf-muted: rgba(255, 255, 255, 0.68);
    --kf-border: rgba(255, 255, 255, 0.1);
    position: relative;
    font-family: 'Plus Jakarta Sans', 'Mukta', sans-serif;
    background: var(--kf-bg);
    color: var(--kf-text);
    margin-top: 0;
    clear: both;
}

/* override old template footer styles if any leak */
footer.kd-footer .container {
    max-width: 1200px;
    padding-left: 16px;
    padding-right: 16px;
}

.kd-footer *,
.kd-footer *::before,
.kd-footer *::after {
    box-sizing: border-box;
}

/* thin gold–green accent line */
.kd-footer-topline {
    height: 5px;
    background: linear-gradient(90deg, var(--kf-gold) 0%, var(--kf-green) 50%, var(--kf-gold) 100%);
}

.kd-footer-main {
    padding: clamp(40px, 6vw, 56px) 0 clamp(32px, 4vw, 44px);
}

.kd-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

/* brand column */
.kd-footer-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.kd-footer-logo-box {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    padding: 8px;
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.kd-footer-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.kd-footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kd-footer-logo-text strong {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.kd-footer-logo-text span {
    font-size: 12px;
    font-weight: 500;
    color: var(--kf-gold);
    letter-spacing: 0.03em;
}

.kd-footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--kf-muted);
    margin: 0 0 16px;
    max-width: 380px;
}

.kd-footer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.kd-footer-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--kf-muted);
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--kf-border);
}

.kd-footer-features i {
    color: var(--kf-gold);
    font-size: 11px;
}

.kd-footer-social {
    display: flex;
    gap: 8px;
}

.kd-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--kf-border);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.kd-footer-social a:hover {
    background: var(--kf-green);
    color: #fff;
}

/* links column */
.kd-footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 16px;
}

.kd-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kd-footer-links li {
    margin-bottom: 8px;
}

.kd-footer-links a {
    color: var(--kf-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.kd-footer-links a:hover {
    color: #fff;
}

/* contact column */
.kd-footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.kd-footer-contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.kd-footer-contact-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--kf-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.kd-footer-contact-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--kf-gold);
    margin-bottom: 2px;
}

.kd-footer-contact-body span,
.kd-footer-contact-body a {
    font-size: 14px;
    line-height: 1.5;
    color: var(--kf-muted);
    text-decoration: none;
}

.kd-footer-contact-body a:hover {
    color: #fff;
}

/* bottom bar */
.kd-footer-bottom {
    border-top: 1px solid var(--kf-border);
    padding: 16px 0;
    background: var(--kf-bg-deep);
}

.kd-footer-bottom-inner {
    text-align: center;
}

.kd-footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: var(--kf-muted);
}

.kd-footer-bottom strong {
    color: #fff;
    font-weight: 600;
}

@media (min-width: 768px) {
    .kd-footer-grid {
        grid-template-columns: 1.5fr 1fr 1.2fr;
        gap: 40px;
    }
}

@media (min-width: 992px) {
    .kd-footer-grid {
        gap: 48px;
    }
}
