/**
 * CTA Block
 *
 * @package Infintor
 */

/* ==========================================================
   CTA SECTION
========================================================== */

.infintor-cta {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background: fixed;
}

.infintor-cta * {
    box-sizing: border-box;
}

.infintor-cta .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.infintor-cta .cta-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.banner-bg {
    position: absolute;
    inset: 0;
    min-width: auto;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
/* ==========================================================
   GRID
========================================================== */

.cta-grid {
    display: grid;
    grid-template-columns: minmax(50%, 1fr) minmax(50%, 50%);
    gap: 10px;
    align-items: stretch;
}

/* ==========================================================
   LEFT PANEL
========================================================== */

.cta-left {

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 40px 40px;

    border-radius: 15px;

    background: #1b172f8c;

    border: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 30px 80px rgba(0,0,0,.20);
}

/* ==========================================================
   RIGHT PANEL
========================================================== */

.cta-right {

    display: flex;
    flex-direction: column;

    padding: 45px;

    border-radius: 15px;

    background: #faf9f7;

    border: 1px solid rgba(255,255,255,.20);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.25);

    overflow: hidden;

    position: relative;
}

/* ==========================================================
   GLASS HIGHLIGHT
========================================================== */

.cta-right::before {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    border-radius: inherit;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.18),
            rgba(255,255,255,.03)
        );

    opacity: .9;
}

/* ==========================================================
   CONTENT LAYER
========================================================== */

.cta-left > *,
.cta-right > * {

    position: relative;

    z-index: 2;
}

/* ==========================================================
   SECTION LABEL
========================================================== */

.cta-label {

    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    padding-bottom: 10px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ==========================================================
   LEFT HEADING
========================================================== */

.cta-heading {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(38px, 2.6vw, 60px);
    line-height: 1.0;
    font-weight: 500;
    max-width: 650px;
}

/* ==========================================================
   LEFT DESCRIPTION
========================================================== */

.cta-description {
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.8;
    max-width: 620px;
}

.cta-description p {

    margin: 0 0 18px;
}

.cta-description p:last-child {

    margin-bottom: 0;
}

/* ==========================================================
   DIVIDER
========================================================== */

.cta-divider {

    margin: 30px 0;

    border: 0;

    height: 1px;

    background: rgba(255,255,255,.10);
}

.features-description p{
        font-family: "Poppins", sans-serif;
        font-size: 14px;
        line-height: 1.7;
        font-weight: 200;
        color: rgba(255, 255, 255, .82);
}

/* ==========================================================
   RIGHT HEADER
========================================================== */

.cta-icon {

    margin-bottom: 22px;
}

.cta-icon img {

    width: 58px;

    height: 58px;

    object-fit: contain;

    display: block;
}

.cta-form-heading {
    margin: 0 0 12px;
    color: #000000;
    font-size: 30px;
    letter-spacing: -1px;
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
}

.cta-form-description {
    margin: 0 0 32px;
    color: rgb(0 0 0 / 85%);
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

/* ==========================================================
   FORM WRAPPER
========================================================== */

.cta-form-wrapper {

    flex: 1;

    width: 100%;

    min-height: 480px;

    border-radius: 18px;

    overflow: hidden;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.10);

    padding: 0;
}

.cta-form-wrapper iframe {

    width: 100%;

    min-height: 480px;

    border: 0;

    display: block;

    background: #ffffff;
}

/* ==========================================================
   DEFAULT IMAGE BEHAVIOUR
========================================================== */

.infintor-cta img {
    display: block;
}

/* ==========================================================
   FEATURE LIST
========================================================== */

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cta-features li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cta-features img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
}

.cta-features span {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 200;
}

/* ==========================================================
   CONTACT GRID
========================================================== */

.cta-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 20px;
    margin-top: 20px;
}

/* ==========================================================
   CONTACT CARD
========================================================== */

.cta-contact-card {

    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60px;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgb(255 255 255 / 30%);
    border: 1px solid rgba(255, 255, 255, .08);
    transition: transform .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.cta-contact-card:hover {

    background: rgb(33 34 59 / 70%);
    border-color: rgb(20 28 58 / 0%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .20);
}

/* ==========================================================
   CONTACT TITLE
========================================================== */

.cta-contact-title {

    margin-bottom: 1px;
    color: rgb(255 255 255);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==========================================================
   CONTACT VALUE
========================================================== */

.cta-contact-value {

    color: #ffffff;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 300;
    word-break: break-word;
}

/* ==========================================================
   FORM AREA
========================================================== */

.cta-form-wrapper>*:first-child{
    margin-top:0;
}

.cta-form-wrapper>*:last-child{
    margin-bottom:0;
}

.cta-form-wrapper iframe{
    display:block;
    width:100%;
    min-height:520px;
}

/* ==========================================================
   SHORTCODE FORM
========================================================== */

.cta-form-wrapper form{
    width:100%;
}

.cta-form-wrapper .wpcf7,
.cta-form-wrapper .gform_wrapper{
    margin:0;
}

/* ==========================================================
   CUSTOM HTML
========================================================== */

.cta-form-wrapper .cta-custom-html{
    width:100%;
}

/* ==========================================================
   LINKS
========================================================== */

.cta-left a{

    color:#ffffff;

    text-decoration:none;

    transition:opacity .30s ease;
}

.cta-left a:hover{

    opacity:.8;
}

/* ==========================================================
   BUTTONS INSIDE FORM
========================================================== */

.cta-form-wrapper button,
.cta-form-wrapper input[type="submit"],
.cta-form-wrapper .button{

    transition:
        transform .30s ease,
        box-shadow .30s ease;
}

.cta-form-wrapper button:hover,
.cta-form-wrapper input[type="submit"]:hover,
.cta-form-wrapper .button:hover{

    transform:translateY(-2px);

    box-shadow:
        0 10px 25px rgba(0,0,0,.15);
}

/* ==========================================================
   INPUTS
========================================================== */

.cta-form-wrapper input,
.cta-form-wrapper textarea,
.cta-form-wrapper select{

    width:100%;
}

/* ==========================================================
   FOCUS STATES
========================================================== */

.cta-form-wrapper input:focus,
.cta-form-wrapper textarea:focus,
.cta-form-wrapper select:focus,
.cta-form-wrapper button:focus{

    outline:none;
}

/* ==========================================================
   GLASS HOVER EFFECT
========================================================== */

.cta-right{
    display: flex;
    align-items: center;
/*
    transition:
        transform .40s ease,
        box-shadow .40s ease;*/
}

.cta-right:hover{

/*    transform:translateY(-8px);*/

    box-shadow:
        0 35px 70px rgba(0,0,0,.28);
}

/* ==========================================================
   LEFT PANEL HOVER
========================================================== */

/*.cta-left{

    transition:
        transform .40s ease,
        background .40s ease;
}*/

.cta-left:hover{

/*    transform:translateY(-6px);*/

    background: #1a163199;
}

/* ==========================================================
   SELECTION
========================================================== */

.infintor-cta ::selection{

    background:#ffffff;

    color:#111111;
}

/* ==========================================================
   TABLET (1024px)
========================================================== */

@media (max-width: 1024px) {

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-left,
    .cta-right {
        padding: 45px;
    }

    .cta-heading {
        font-size: 46px;
    }

    .cta-form-heading {
        font-size: 30px;
    }

    .cta-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-form-wrapper {
        min-height: 450px;
    }

    .cta-form-wrapper iframe {
        min-height: 450px;
    }

}

/* ==========================================================
   MOBILE (767px)
========================================================== */

@media (max-width: 767px) {

    .infintor-cta {
        /*padding-left: 15px;*/
        /*padding-right: 15px;*/
    }

    .infintor-cta .container {
        padding: 0 !important;
    }
    
    .infintor-cta .cta-container {
        padding: 0 10px !important;
    }
    .cta-grid {
        gap: 25px;
    }

    .cta-left,
    .cta-right {
        padding: 30px 24px;
        border-radius: 22px;
    }

    .cta-label {
        margin-bottom: 20px;
        font-size: 12px;
    }

    .cta-heading {
        font-size: 34px;
        line-height: 1.2;
    }

    .cta-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .cta-divider {
        margin: 30px 0;
    }

    .cta-features {
        gap: 14px;
    }

    .cta-features span {
        font-size: 15px;
    }

    .cta-contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 30px;
    }

    .cta-contact-card {
        min-height: auto;
        padding: 18px 20px;
    }

    .cta-contact-title {
        font-size: 12px;
    }

    .cta-contact-value {
        font-size: 17px;
    }

    .cta-icon img {
        width: 48px;
        height: 48px;
    }

    .cta-form-heading {
        font-size: 28px;
    }

    .cta-form-description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .cta-form-wrapper {
        min-height: 380px;
        border-radius: 16px;
    }

    .cta-form-wrapper iframe {
        min-height: 380px;
    }

}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .cta-left,
    .cta-right {
        padding: 24px 20px;
    }

    .cta-heading {
        font-size: 30px;
    }

    .cta-description {
        font-size: 15px;
    }

    .cta-form-heading {
        font-size: 24px;
    }

    .cta-form-wrapper {
        min-height: 540px;
    }

    .cta-form-wrapper iframe {
        min-height: 540px;
    }

}

/* ==========================================================
   ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .cta-left,
    .cta-right,
    .cta-contact-card,
    .cta-form-wrapper button,
    .cta-form-wrapper input[type="submit"],
    .cta-form-wrapper .button {

        transition: none !important;
        transform: none !important;
        animation: none !important;

    }

}

/* ==========================================================
   PRINT
========================================================== */

@media print {

    .infintor-cta {

        background: #ffffff !important;
        color: #000000 !important;

    }

    .cta-left,
    .cta-right {

        background: #ffffff !important;
        color: #000000 !important;
        box-shadow: none !important;
        border: 1px solid #dddddd !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;

    }

    .cta-form-wrapper iframe {

        display: none;

    }

}

/* ==========================================================
   IMAGE DEFAULTS
========================================================== */

.cta-left img,
.cta-right img {

    max-width: 100%;
    height: auto;
    display: block;

}

/* ==========================================================
   HIDDEN EMPTY ELEMENTS
========================================================== */

.cta-label:empty,
.cta-heading:empty,
.cta-description:empty,
.cta-form-heading:empty,
.cta-form-description:empty {

    display: none;

}

/* ==========================================================
   RESPONSIVE EMBEDS
========================================================== */

.cta-form-wrapper iframe,
.cta-form-wrapper object,
.cta-form-wrapper embed {

    max-width: 100%;

}

/* ==========================================================
   LAST CHILD SPACING
========================================================== */

.cta-left > :last-child,
.cta-right > :last-child {

    margin-bottom: 0;

}

/* ==========================================================
   LIST RESET
========================================================== */

.cta-features li:last-child {

    margin-bottom: 0;

}

/* ==========================================================
   PERFORMANCE
========================================================== */

.cta-left,
.cta-right {

    will-change: transform;

}

/* ==========================================================
   END OF CTA BLOCK
========================================================== */

/* ==========================================================
   PREMIUM BACKGROUND EFFECTS
========================================================== */

.infintor-cta::before{
    content:"";
    position:absolute;
    width:650px;
    height:650px;
    top:-260px;
    left:-180px;
    border-radius:50%;
    background:radial-gradient(circle,
        rgba(255,255,255,.12) 0%,
        rgba(255,255,255,0) 70%);
    filter:blur(20px);
    pointer-events:none;
    z-index:0;
}

.infintor-cta::after{
    content:"";
    position:absolute;
    width:520px;
    height:520px;
    right:-120px;
    bottom:-180px;
    border-radius:50%;
    background:radial-gradient(circle,
        rgba(255,255,255,.08) 0%,
        rgba(255,255,255,0) 70%);
    filter:blur(30px);
    pointer-events:none;
    z-index:0;
}

/* ==========================================================
   GLASS BORDER SHINE
========================================================== */

.cta-right::after{

    content:"";

    position:absolute;

    inset:1px;

    border-radius:inherit;

    pointer-events:none;

    background:linear-gradient(
        145deg,
        rgba(255,255,255,.18),
        rgba(255,255,255,0)
    );

    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    padding:1px;

    mask-composite:exclude;
    -webkit-mask-composite:xor;
}

/* ==========================================================
   FEATURE ICON
========================================================== */

.cta-features li img{

    width:24px;

    height:24px;

    border-radius:50%;

    padding:4px;

    background:rgba(255,255,255,.10);

    border:1px solid rgba(255,255,255,.12);
}

/* ==========================================================
   CONTACT CARD ICON SUPPORT
========================================================== */

.cta-contact-card{

    position:relative;

    overflow:hidden;
}

.cta-contact-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.05),
        rgba(255,255,255,0)
    );

    opacity:0;

    transition:opacity .35s ease;
}

.cta-contact-card:hover::before{

    opacity:1;
}

/* ==========================================================
   FORM SHADOW
========================================================== */

/*.cta-form-wrapper{

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.06),
        0 20px 50px rgba(0,0,0,.15);
}*/

/* ==========================================================
   IFRAME
========================================================== */

.cta-form-wrapper iframe{

    background:#ffffff;

    border-radius:16px;
}

/* ==========================================================
   SMOOTH SCROLL
========================================================== */

html{

    scroll-behavior:smooth;
}

/* ==========================================================
   HIGH DPI IMAGE
========================================================== */

.cta-icon img{

    image-rendering:auto;
}

/* ==========================================================
   HOVER LIFT
========================================================== */

@media (hover:hover){

/*.cta-left:hover{

    transform:translateY(-8px);

}

.cta-right:hover{

    transform:translateY(-8px);

}*/

}

/* ==========================================================
   DARK MODE SUPPORT
========================================================== */

@media (prefers-color-scheme:dark){

.cta-form-wrapper{

    background:rgba(255,255,255,.05);

}

}

/* ==========================================================
   END
========================================================== */