/* ========================================
   CROWD STREET STYLE FOOTER
   ======================================== */

.cs-footer {
    background-color: #1b1b1f;
}

/* Main Footer Section */
.cs-footer-main {
    padding: 48px 0 40px;
}

.cs-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

/* Logo */
.cs-footer-logo {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.cs-footer-logo:hover {
    opacity: 0.8;
}

.cs-logo-img {
    height: 40px;
    width: auto;
}

/* Footer Columns */
.cs-footer-col {
    display: flex;
    flex-direction: column;
}

.cs-footer-heading {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}

.cs-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cs-footer-links li a {
    color: #c5d2d2;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.cs-footer-links li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* CTA Button */
.cs-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border: 1px solid #b8c4c4;
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.cs-footer-cta:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateX(4px);
}

.cs-footer-cta svg {
    transition: transform 0.3s ease;
}

.cs-footer-cta:hover svg {
    transform: translateX(4px);
}

/* Social Section */
.cs-footer-social {
    margin-top: 24px;
}

.cs-social-label {
    display: block;
    color: #b8c4c4;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.cs-social-icons {
    display: flex;
    gap: 12px;
}

.cs-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #5a6b6b;
    border-radius: 50%;
    color: #b8c4c4;
    transition: all 0.3s ease;
}

.cs-social-icon:hover {
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Divider */
.cs-footer-divider {
    padding: 0;
}

.cs-divider-line {
    border: none;
    border-top: 1px solid #5a6b6b;
    margin: 0;
}

/* Disclaimers Section */
.cs-footer-disclaimers {
    padding: 40px 0;
    background-color: #1b1b1f;
}

.cs-disclaimers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.cs-disclaimer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cs-disclaimer-text {
    color: #d0d3de;
    font-size: 0.8125rem;
    line-height: 1.6;
    margin: 0;
}

.cs-disclaimer-link {
    color: #979bb5;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cs-disclaimer-link:hover {
    color: #ffffff;
}

/* Copyright */
.cs-footer-copyright {
    margin-top: 32px;
    padding-top: 24px;
    text-align: right;
}

.cs-footer-copyright p {
    color: #9fa3b1;
    font-size: 0.8125rem;
    margin: 0;
    text-align: center;
}

/* ========================================
   TABLET STYLES (768px+)
   ======================================== */
@media (min-width: 768px) {
    .cs-footer-main {
        padding: 56px 0 48px;
    }

    .cs-footer-grid {
        grid-template-columns: repeat(3, 1fr) auto;
        gap: 40px;
    }

    .cs-footer-logo-col {
        grid-column: 1 / -1;
        margin-bottom: 16px;
    }

    .cs-logo-img {
        height: 48px;
    }

    .cs-disclaimers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

/* ========================================
   DESKTOP STYLES (1024px+)
   ======================================== */
@media (min-width: 1024px) {
    .cs-footer-main {
        padding: 64px 0 56px;
    }

    .cs-footer-grid {
        grid-template-columns: 200px repeat(3, 1fr) auto;
        gap: 48px;
        align-items: start;
    }

    .cs-footer-logo-col {
        grid-column: 1;
        margin-bottom: 0;
    }

    /* .cs-logo-img {
        height: 56px;
    } */

    .cs-footer-cta-col {
        text-align: right;
    }

    .cs-footer-social {
        margin-top: 20px;
    }

    .cs-social-label {
        text-align: right;
    }

    .cs-social-icons {
        justify-content: flex-end;
    }

    .cs-disclaimers-grid {
        gap: 64px;
    }

    .cs-disclaimer-text {
        font-size: 0.875rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cs-footer-col {
    animation: fadeInUp 0.6s ease forwards;
}

.cs-footer-col:nth-child(1) {
    animation-delay: 0.1s;
}

.cs-footer-col:nth-child(2) {
    animation-delay: 0.15s;
}

.cs-footer-col:nth-child(3) {
    animation-delay: 0.2s;
}

.cs-footer-col:nth-child(4) {
    animation-delay: 0.25s;
}

.cs-footer-col:nth-child(5) {
    animation-delay: 0.3s;
}

/* Hover effects enhancement */
.cs-footer-links li {
    position: relative;
}

.cs-footer-links li::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.cs-footer-links li:hover::before {
    width: 8px;
}