.banner-section img {
    position: relative;
    z-index: 0;
    overflow-x: hidden;
    height: 410px;
    object-fit: cover;
}

.banner-enquiry-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    transition: padding 0.3s cubic-bezier(0.4,0,0.2,1);
}

.banner-enquiry-wrapper .banner-enquiry {
    position: absolute;
    top: 50%;
    left: 7%;
    transform: translateY(-50%);
    transition: left 0.3s cubic-bezier(0.4,0,0.2,1), top 0.3s cubic-bezier(0.4,0,0.2,1), transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.banner-enquiry-wrapper .banner-enquiry .banner-enquiry-box .banner-enquiry-heading {
    background-color: #ffd100;
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    transition: background-color 0.3s, color 0.3s;
}

.banner-enquiry-wrapper .banner-enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 260px;
    background: #fff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 6px 15px;
    box-sizing: border-box;
    transition: box-shadow 0.3s, background 0.3s, width 0.3s, padding 0.3s;
}

.banner-enquiry-wrapper .banner-heading {
    display: block;
    width: 480px;
    padding: 0;
    top: 35%;
    left: 50%;
    transform: translate(-50%, 0);
    transition: top 0.3s, transform 0.3s;
}

.banner-enquiry-wrapper .banner-heading .banner-main-heading {
    font-size: 32px;
    transition: font-size 0.3s;
}

.banner-enquiry-wrapper .banner-enquiry .banner-enquiry-box .form-control {
    color: #222;
    background-color: #f7f7f7;
    border-radius: 5px;
    border: none;
    transition: background-color 0.3s, color 0.3s;
}

.banner-enquiry-wrapper .banner-enquiry .banner-enquiry-box label {
    color: #565656;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s;
}

.banner-enquiry-btn {
    display: flex;
    justify-content: center;
    background: linear-gradient(45deg, #ffb300, #ff0505);
    background-size: 200% 200%;
    background-position: left;
    padding: 5px;
    border-radius: 30px;
    border: none;
    width: 130px;
    margin: auto;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    transition:
        background-position 0.4s cubic-bezier(0.4,0,0.2,1),
        box-shadow 0.3s,
        width 0.3s;
    box-shadow: 0 2px 6px 0 rgba(255, 92, 0, 0.15);
    cursor: pointer;
}

.banner-enquiry-btn:hover {
    background-position: right;
    box-shadow: 0 4px 14px 0 rgba(255, 92, 0, 0.20);
}
.cta-expert-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(45deg, #d72700, #7200ff) !important;
    background-size: 200% 200%;
    background-position: left;
    border-radius: 30px 0px 0 30px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    border: none;
    padding: 12px 32px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(114,0,255,0.12);
    outline: none;
    z-index: 2;
    /* Smooth transition for hover */
    transition:
        background-position 0.4s cubic-bezier(0.4,0,0.2,1),
        box-shadow 0.3s,
        color 0.3s;
    /* Pulse animation */
    animation: btnPulse 1.5s infinite alternate;
}
.cta-expert-btn .pulse-text {
    display: inline-block;
    animation: textPulse 1.5s infinite alternate;
}
.cta-expert-btn:focus{
    outline: none;
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(114,0,255,0.12);
        transform: scale(1.0);
    }
    100% {
        box-shadow: 0 0 20px 6px rgba(114,0,255,0.25);
        transform: scale(1.0);
    }
}

@keyframes textPulse {
    0% {
        color: #fff;
        letter-spacing: 0px;
        text-shadow: 0 0 0 #7200ff;
    }
    100% {
        color: #fff;
        letter-spacing: 0.5px;
        text-shadow: 0 0 8px #7200ff;
    }
}

.cta-expert-btn:hover {
    background-position: right;
    background: linear-gradient(45deg, #7200ff, #d72700);
    color: #fff;
}
/* Custom style for mobile responsiveness */
.custom-recaptcha iframe {
    max-width: 100% !important;
    height: auto !important;
}

/* Center it */
.g-recaptcha {
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 1199px) {
    .banner-enquiry-wrapper .banner-enquiry {
        left: 15px;
    }
    .banner-enquiry-wrapper .banner-heading .banner-main-heading{
        font-size: 24px;
    }
    .banner-enquiry-wrapper .banner-enquiry-form {
        max-width: 360px;
        width: 100%;
        gap: 16px;
        box-sizing: border-box;
        transition: max-width 0.3s, width 0.3s;
    }
    .banner-enquiry-wrapper .banner-enquiry-form .banner-enquiry-box:nth-of-type(3) {
        grid-column: span 2;
    }
    .banner-enquiry-wrapper .banner-enquiry-form .banner-enquiry-btn {
        width: 100%;
        grid-column: span 2;
        transition: width 0.3s;
    }
}
@media(max-width:1024px){
    .banner-enquiry-wrapper .banner-heading{
        left: 55%;
    }
}
@media (max-width: 980px) {
    .banner-enquiry-wrapper {
        flex-direction: column-reverse;
        padding: 10px 0;
    }
    .banner-enquiry-wrapper .banner-enquiry {
        display: none;
    }
    .banner-section img{
        height: auto;
        object-fit: none;
    }
    .banner-enquiry-wrapper .banner-heading {
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: top 0.3s, left 0.3s, transform 0.3s;
    }
    .banner-enquiry-wrapper .banner-enquiry-form{
        border:1px solid #ddd;
    }
    .banner-section .cta-expert-btn{
        position: unset;
        display: block;
        margin: auto;
        border-radius: 30px;
    }
}
@media (max-width: 767px) {
    .banner-enquiry-wrapper{
        width: 98%;
        padding: 10px;
        margin: auto;
    }
    .banner-enquiry-wrapper .banner-heading {
        top: 22%;
    }
    .banner-enquiry-wrapper .banner-heading .banner-main-heading{
        font-size: 26px;
    }
}
@media (max-width: 575px){
    .banner-enquiry-wrapper .banner-heading {
        top: 25%;
        width: 100%;
        padding: 10px;
    }
    .banner-enquiry-wrapper .banner-heading .banner-main-heading{
        font-size: 22px;
    }
}
@media (max-width: 420px){
    .banner-enquiry-wrapper .banner-heading {
        top: 25%;
    }
    .banner-enquiry-wrapper .banner-heading .banner-main-heading {
        font-size: 16px;
    }
}
@media (max-width: 320px){
    .banner-enquiry-wrapper .banner-heading{
        top: 18%;
    }
    .banner-enquiry-wrapper{
        padding: 10px;
        width: 95%;
    }
}