.connect {
    width: 100%;
    padding: 80px 100px;
    background: url(/embase_website/static/src/images/connect_frame.svg);
    position: relative;
    overflow: hidden;
    background-size: cover;
}

.connect-container {
    max-width: 1335px;
    margin: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    gap: 24px;

    position: relative;
}

.connect h2 {

    margin: 0;

    font-size: 48px;
    line-height: 58px;
    font-weight: 600;
    letter-spacing: 0%;

    color: rgba(34, 34, 34, 1);

    max-width: 760px;
}

.connect p {

    max-width: 640px;
    margin: 0;
    font-style: normal;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    letter-spacing: -3%;

    color: rgba(34, 34, 34, 1);

}

.verify-btn {
    padding: 14px 22px;
    border-radius: 100px;
    color: var(--secondary);
    text-decoration: none;
    transition: background 200ms ease, color 200ms ease;
    font-family: Lato !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    display: flex;
    gap: 7px;
    position: relative;
    overflow: hidden;
    background: transparent;
    z-index: 0;
}

.back-btn::after, .verify-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
    transform: skewX(-20deg);
}

.verify-btn::before {
    content: "";
    position: absolute;
    left: 0;
    border-radius: 50px;
    background: var(--primary);
    z-index: -1;
    transition: transform .4s cubic-bezier(0.475, 0.425, 0, 0.995);
    border: 1px solid transparent;
    transform: scaleX(1);
    transform-origin: left;
    width: 100%;
    height: 100%;
    top: 0;
}

.verify-btn:hover::before {
    transform: scale(1);
    transform-origin: right;
}

.verify-btn:hover svg {
    transform: rotate(45deg);
}

.verify-btn svg {
    transition: all 0.1s ease-in-out;
}

.verify-btn:hover::after {
    border-color: var(--primary);
}

.verify-btn::after {
    border: 2px solid transparent;
}

.verify-btn::after {
    content: "";
    position: absolute;
    left: 0;
    border-radius: 50px;
    background: white;
    z-index: -1;
    transition: transform .4s cubic-bezier(0.475, 0.425, 0, 0.995);
    border: 1px solid transparent;
    transform: scaleX(0);
    transform-origin: right;
    width: 100%;
    height: 100%;
    top: 0;
}

.verify-btn:hover::after {
    transform: scale(1);
    transform-origin: left;
}

.verify-btn:hover svg path {
    fill: var(--primary);
}

.verify-btn svg, path, rect {
    transition: all 0.4s ease-in-out;
}
.connect-buttons{
  display: flex;
    gap: 16px;
    margin-top: 16px;
}
/*==================================
CONNECT SECTION RESPONSIVE
===================================*/

/* Large Laptop */
@media (max-width: 1400px) {

    .connect {

        padding: 70px 60px;

    }

    .connect h2 {

        font-size: 44px;

        line-height: 54px;

    }

}

/* Laptop / Tablet Landscape */
@media (max-width: 1024px) {

    .connect {

        padding: 70px 40px;

    }

    .connect-container {

        gap: 20px;

    }

    .connect h2 {

        font-size: 40px;

        line-height: 50px;

        max-width: 680px;

    }

    .connect p {

        font-size: 17px;

        line-height: 26px;

    }

}

/* Tablet */
@media (max-width: 768px) {

    .connect {
        padding: 20px;
        box-sizing: border-box;
    }

    .connect h2 {
        font-size: 34px;
        line-height: 44px;
        text-align: center;
    }

    .connect p {
        font-size: 16px;
        line-height: 25px;
        text-align: center;
    }

    .connect-buttons {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

}

/* Mobile */
@media (max-width: 480px) {

    .connect {

        padding: 16px;

    }

    .connect-container {

        gap: 10px;

    }


    .connect h2 {

        font-size: 32px;
        font-weight: 600;
        letter-spacing: -4%;

        line-height: 40px;

    }

    .connect p {

        font-size: 16px;

        line-height: 24px;
        letter-spacing: -4%;
        font-weight: 400;
        margin: 0 auto;

    }

    .connect-buttons {

        display: flex;

        justify-content: center;

        align-items: center;

        gap: 12px;

        flex-wrap: nowrap;

        width: auto;

    }


}

/* Small Phones */
@media (max-width: 380px) {

    .connect {
        width: 100%;
        padding: 50px 16px;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Let's Connect */
    .connect h3 {
        font-size: 16px;
        line-height: 22px;
        padding: 10px 22px;
        margin-bottom: 25px;
    }

    /* Main heading */
    .connect h2 {
        font-size: 25px;
        line-height: 34px;
        text-align: center;
        margin-bottom: 24px;
    }


    .connect p {
        font-size: 14px;
        line-height: 22px;
        text-align: center;
        margin-bottom: 28px;
    }

    /* Buttons */
    .connect .buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .connect .buttons a,
    .connect .buttons button {
        width: 100%;
        max-width: 280px;
        box-sizing: border-box;
        text-align: center;
    }
}

.connect::before {
    background: url("/embase_website/static/src/images/dot_bg.png") center center;
}
