/**
 * Theme Name:     Bronx Child
 * Author:         WordPressRiver
 * Template:       bronx
 * Text Domain:	   bronx-child
 * Description:    Introducing a WordPress theme tailored for Personal Portfolio WordPress Theme
 */
@media (min-width: 992px) {
    .contact-sec .contact-form-wrap {
        flex: 1 1 50%;
        min-width: 0; /* lets the iframe shrink instead of forcing overflow */
    }
    .contact-sec .contact-img {
        flex: 1 1 50%;
        width: 50%;
    }
    /* make the embedded Google Form fill its half */
    .contact-sec .contact-form #ajax-form iframe {
        width: 100%;
    }
}

.copyright .credit {
    flex: 1;
    text-align: center;
}
.copyright .credit a {
    font-size: 18px;
    font-weight: 600;
    line-height: 20px;
    font-family: var(--font_instrument);
    color: var(--dark);
    text-transform: uppercase;
    position: relative;
}
.copyright .credit a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--dark);
    transition: width 0.3s ease;
}
.copyright .credit a:hover::before {
    width: 100%;
}
/* ===== Hero "Join Now" CTA button ===== */
.hero-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: -6px; /* tighten within the hero-sec-content 30px gap */
    opacity: 0;
    transform: translateY(18px);
    animation: heroCtaIn 0.7s ease 0.6s forwards;
}
.hero-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    padding: 15px 42px;
    border: 2px solid #12b634;
    border-radius: 40px;
    background: #12b634;
    color: #ffffff;
    font-family: var(--font_instrument);
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.hero-cta-btn span {
    position: relative;
    z-index: 2;
}
.hero-cta-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #ffffff;
    border-radius: 40px;
    will-change: transform;
    transition: top .35s ease;
}
.hero-cta-btn:hover {
    color: #0e9a2b;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(18, 182, 52, 0.35);
}
.hero-cta-btn:hover::before {
    top: 0;
}
.hero-cta-btn:focus-visible {
    outline: 2px solid #12b634;
    outline-offset: 3px;
}
@keyframes heroCtaIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 767px) {
    .hero-cta-btn {
        padding: 13px 34px;
        font-size: 16px;
    }
}
