.team-cta {
    position: relative;
    height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 80px;
    margin-top: 0;
}

#footer {
    margin-top: 0;
    padding-top: 0;
}

.team-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.team-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 40px;
    font-family: var(--font-body);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.btn-gold-solid {
    background-color: var(--color-black);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-gold-solid:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
    transform: none;
    /* Header doesn't have transform */
}

/* Pre-footer Alignment */
.team-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.team-bg {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Main Footer Alignment */
.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.main-footer {
    background-color: var(--color-black);
    padding: 60px 0;
    border-top: 1px solid #222;
}

.footer-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.fallback-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.fallback-logo span {
    color: var(--color-gold);
}

.footer-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 900;
    font-size: 35px;
    color: white;
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-icons a i {
    font-family: "Font Awesome 6 Brands" !important;
}

.social-icons a:hover {
    color: var(--color-gold);
}

.copyright {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.copyright p {
    color: #888;
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .team-cta {
        height: 400px;
        padding-bottom: 50px;
    }

    .cta-content h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .btn-gold-solid {
        padding: 10px 30px;
        font-size: 0.85rem;
    }
}