/* Cohsar Custom Footer - Universal Stylesheet v1.4.0 */

.cohsar-footer {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    clear: both;
}

.cohsar-footer *,
.cohsar-footer *::before,
.cohsar-footer *::after {
    box-sizing: border-box;
}

.cohsar-footer-inner-container {
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Pre-Footer / Custom Text Top */
.footer-custom-text-top {
    text-align: center;
    width: 100%;
    margin-bottom: 36px;
}

.footer-custom-text-top img {
    max-width: 100%;
    height: auto;
}

/* Main Multi-Column Wrap */
.cohsar-footer-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 36px;
    width: 100%;
}

/* Brand & Logo Column */
.footer-col-brand {
    flex: 1.4 1 260px;
    min-width: 240px;
    max-width: 420px;
}

.footer-col-brand img {
    margin-bottom: 16px;
    height: auto;
    display: inline-block;
}

.footer-brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
    display: block;
}

.footer-brand-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    opacity: 0.88;
    margin-bottom: 16px;
}

.footer-brand-desc p {
    margin: 0 0 10px 0;
}

/* Navigation Columns */
.footer-col {
    flex: 1 1 180px;
    min-width: 160px;
}

.footer-col h4 {
    margin-top: 0;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 0.98rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

/* Column Content & Lists */
.footer-col-content {
    font-size: 0.94rem;
    line-height: 1.7;
}

.footer-col-content ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.footer-col-content li {
    margin-bottom: 10px;
}

.footer-col-content p {
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.footer-col-content a {
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-col-content a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* Middle Rich Text Banner */
.cohsar-footer-rich-text-middle {
    width: 100%;
    margin: 36px 0;
}

.cohsar-footer-rich-text-middle img {
    max-width: 100%;
    height: auto;
}

/* Social Media Channels - Native Circular Interactive Buttons */
.footer-social {
    margin: 30px auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

.footer-social a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    min-height: 44px !important;
    width: 44px !important;
    height: 44px !important;
    color: currentColor !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 50% !important;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.footer-social a svg {
    width: 22px !important;
    height: 22px !important;
    fill: currentColor !important;
    display: block !important;
    pointer-events: none;
}

/* Bottom Bar */
.footer-bottom-bar {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-copy {
    opacity: 0.85;
}

.footer-custom-text-bottom {
    opacity: 0.85;
}

.footer-custom-text-bottom a {
    color: inherit;
    text-decoration: none;
    margin: 0 8px;
    transition: opacity 0.2s ease;
}

.footer-custom-text-bottom a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .cohsar-footer-wrap {
        gap: 28px;
    }
    .footer-col-brand {
        flex-basis: 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .cohsar-footer-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .footer-col,
    .footer-col-brand {
        flex-basis: 100%;
        width: 100%;
        min-width: 0;
    }

    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-copy,
    .footer-custom-text-bottom {
        width: 100%;
        text-align: center;
    }
}
