﻿/* SANIDHYA CP FOUNDATION - FOOTER */

.site-footer {
    position: relative;
    overflow: hidden;
    background: #104a43;
    color: #ffffff;
}

    /* Decorative shape */
    .site-footer::before {
        content: "";
        position: absolute;
        top: -120px;
        right: -120px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.025);
        pointer-events: none;
    }

/* Main footer */
.footer-main {
    position: relative;
    z-index: 1;
    padding: 55px 0 38px;
}

/* Footer brand */
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    color: #ffffff;
    text-decoration: none;
}

/* Footer logo */
.footer-brand-logo {
    width: 45px;
    height: 45px;
    max-width: 45px;
    max-height: 45px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* Old S icon support */
.footer-brand-icon {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #167d6b;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
    gap:0;
}

/* Brand text */
.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    gap:0;
}

    .footer-brand-text strong {
        color: #ffffff;
        font-size: 19px;
        font-weight: 800;
        line-height: 1.05;
    }

    .footer-brand-text small {
        margin-top: 4px;
        color: #bcd9d3;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 1.4px;
        text-transform: uppercase;
    }

/* Description */
.footer-description {
    max-width: 310px;
    margin: 0 0 14px;
    color: #e1efec;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.75;
}

/* Inspired text */
.footer-inspired {
    margin: 0 0 18px;
    color: #d2e6e2;
    font-size: 13px;
    font-weight: 600;
}

/* Social media */
.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

    .social-link:hover,
    .social-link:focus {
        background: #ffffff;
        border-color: #ffffff;
        color: #126c60;
        transform: translateY(-2px);
    }

/* Footer headings */
.footer-heading {
    position: relative;
    margin: 3px 0 22px;
    padding-bottom: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
}

    .footer-heading::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 30px;
        height: 2px;
        border-radius: 10px;
        background: #5fc8b9;
    }

/* Footer links */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 11px;
    }

        .footer-links li:last-child {
            margin-bottom: 0;
        }

    .footer-links a {
        display: inline-block;
        color: #e0efec;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
        text-decoration: none;
        transition: color 0.2s ease, transform 0.2s ease;
    }

        .footer-links a:hover,
        .footer-links a:focus {
            color: #ffffff;
            transform: translateX(3px);
        }

/* Contact */
.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #e4f0ee;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

    .footer-contact-row i {
        width: 18px;
        margin-top: 2px;
        color: #ffffff;
        font-size: 16px;
        flex-shrink: 0;
    }

a.footer-contact-row:hover,
a.footer-contact-row:focus {
    color: #ffffff;
}

/* Share Your Story */
.footer-action-links {
    margin-top: 18px;
}

.footer-action-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid #ffffff;
    border-radius: 30px;
    background: #ffffff;
    color: #126c60;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

    .footer-action-primary:hover,
    .footer-action-primary:focus {
        background: transparent;
        color: #ffffff;
        transform: translateY(-2px);
    }

/* Footer bottom */
.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Copyright */
.footer-copyright {
    color: #cbdedb;
    font-size: 12px;
    line-height: 1.6;
}

    .footer-copyright strong {
        color: #ffffff;
        font-weight: 700;
    }

/* Legal links */
.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px 20px;
}

    .footer-legal-links a {
        color: #cbdedb;
        font-size: 12px;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .footer-legal-links a:hover,
        .footer-legal-links a:focus {
            color: #ffffff;
        }

/* Tablet */
@media (max-width: 991.98px) {

    .footer-main {
        padding: 45px 0 32px;
    }

    .footer-brand-logo {
        width: 72px;
        height: 72px;
        max-width: 72px;
        max-height: 72px;
    }

    .footer-brand-text strong {
        font-size: 18px;
    }

    .footer-description {
        max-width: 360px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-legal-links {
        justify-content: flex-start;
    }
}

/* Mobile */
@media (max-width: 767.98px) {

    .footer-main {
        padding: 38px 0 28px;
    }

    .footer-brand {
        gap: 11px;
        margin-bottom: 18px;
    }

    .footer-brand-logo {
        width: 65px;
        height: 65px;
        max-width: 65px;
        max-height: 65px;
    }

    .footer-brand-text strong {
        font-size: 17px;
    }

    .footer-brand-text small {
        font-size: 9px;
    }

    .footer-heading {
        margin-top: 0;
        margin-bottom: 18px;
    }

    .footer-links li {
        margin-bottom: 9px;
    }

    .footer-bottom {
        padding: 18px 0;
    }
}

/* Small mobile */
@media (max-width: 575.98px) {

    .footer-main {
        padding-top: 32px;
    }

    .footer-brand-logo {
        width: 58px;
        height: 58px;
        max-width: 58px;
        max-height: 58px;
    }

    .footer-description {
        max-width: 100%;
        font-size: 13px;
    }

    .footer-heading {
        font-size: 14px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-contact-row {
        font-size: 13px;
    }

    .footer-legal-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
