/*==============================
PREMIUM AYURVEDIC POPUP
PART 1
===============================*/

.custom-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 950px;
    max-width: 95%;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    z-index: 99999;
    display: none;
    box-shadow: 0 35px 80px rgba(0, 0, 0, .35);
}

.custom-popup.active {
    display: block;
    animation: popup .45s ease;
}

@keyframes popup {

    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.75);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

}

.popup-content {

    display: flex;
    min-height: 650px;

}

/*==========================
LEFT SIDE
==========================*/

.image-part {
    width: 48%;
    position: relative;
    overflow: hidden;
    padding: 50px;
    display: flex;
    align-items: center;
    background: #070760;
}

/* Blurred Background Image */
.image-part::before {
    content: "";
    position: absolute;
    inset: -15px;

    background:
        linear-gradient(
            rgb(255 255 255 / 9%),
            rgb(7 7 96 / 94%)
        ),
        url("../images/popup-img.webp");

    background-size: cover;
    background-position: center;

    filter: blur(5px);
    transform: scale(1.05);

    z-index: 0;
}

/* Keep content above blurred image */
.image-part > * {
    position: relative;
    z-index: 1;
}

/* floating circles */

.circle {

    position: absolute;
    border-radius: 50%;
    background: rgba(112, 173, 71, .18);

}

.circle1 {

    width: 260px;
    height: 260px;
    left: -100px;
    top: -80px;

}

.circle2 {

    width: 180px;
    height: 180px;
    right: -70px;
    bottom: 120px;

}

.circle3 {

    width: 90px;
    height: 90px;
    top: 55%;
    right: 60px;

}

/*=====================
Leaves
======================*/

.leaf {

    position: absolute;
    animation: leafmove 5s ease-in-out infinite;

}

.leaf1 {

    width: 110px;
    left: -10px;
    top: 20px;

}

.leaf2 {

    width: 90px;
    right: 10px;
    top: 160px;

}

.leaf3 {

    width: 120px;
    left: 30px;
    bottom: 40px;

}

@keyframes leafmove {

    0% {

        transform: translateY(0px) rotate(0deg);

    }

    50% {

        transform: translateY(-12px) rotate(4deg);

    }

    100% {

        transform: translateY(0px);

    }

}

/*====================
Water Drops
====================*/

.drop {

    position: absolute;
    opacity: .65;

}

.drop1 {

    width: 90px;
    top: 120px;
    right: 120px;

}

.drop2 {

    width: 70px;
    bottom: 170px;
    left: 180px;

}

/*=====================
CONTENT
======================*/

.left-inner {

    position: relative;
    z-index: 10;

}

.sub-heading {

    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: #166186;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

}

.sub-heading i {

    color: #6d9d36;

}

.left-inner h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0px 0 8px;
    color: #000;
}

.left-inner h2 span {

    color: #fff;

}

.left-inner p {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 16px;
}
/*====================
SLIDER
====================*/

.popup-slider {

    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);

}

.popup-slider img {

    width: 100%;
    height: 220px;
    object-fit: cover;

}

/*====================
CONTACT BOX
====================*/

.contact-card {

    margin-top: 30px;
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);

}

.contact-card ul {

    margin: 0;
    padding: 0;
    list-style: none;

}

.contact-card li {

    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;

}

.contact-card li:last-child {

    margin-bottom: 0;

}

.contact-card i {

    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #78a33d;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;

}








/*=========================================
RIGHT FORM PANEL
=========================================*/

.form-part {
    width: 52%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Leaf Watermark */

.form-part::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -120px;
    bottom: -120px;
    background: radial-gradient(circle, #8bc34a33, transparent 70%);
    border-radius: 50%;
}

.form-part::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -70px;
    left: -70px;
    background: rgba(139, 195, 74, .08);
    border-radius: 50%;
}

/*========================
FORM CARD
========================*/

.form-card {
    width: 100%;
    max-width: 470px;
    position: relative;
    z-index: 10;
}

.form-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2f508524;
    color: #0e5c8e;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 18px;
}

.form-tag i {
    color: #000;
}

.form-card h2 {
    font-size: 29px;
    font-weight: 700;
    color: #000;
    margin-bottom: 9px;
}

.form-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 14px;
}

/*==========================
INPUT GROUP
==========================*/

.input-group-custom {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #0f5d8d;
    font-size: 18px;
    z-index: 2;
}

.input-group-custom input,
.input-group-custom select {

   width: 100%;
    height: 47px;
    border: 2px solid #e7eddc;
    border-radius: 15px;
    padding-left: 48px;
    padding-right: 18px;
    font-size: 15px;
    background: #fff;
    transition: .35s;

}

.input-group-custom input:focus,
.input-group-custom select:focus {

    border-color: #76a73a;
    box-shadow: 0 0 18px rgba(118, 167, 58, .15);
    outline: none;

}

/* Placeholder */

.input-group-custom input::placeholder {
    color: #999;
}

/*=========================
SELECT
=========================*/

#expertise {

    appearance: none;
    -webkit-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2366a136' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 18px center;

}

/*=========================
ERROR TEXT
=========================*/

.invalid-feedback {

    font-size: 13px;
    margin-top: 6px;

}

/*=========================
CHECKBOX
=========================*/

.privacy-box {

    margin-top: 10px;
    padding: 18px;
    background: #f7fbf2;
    border-radius: 14px;
    border: 1px solid #edf2e4;

}

.form-check {

    margin: 0;

}

.form-check-input {

    margin-top: 5px;

}

.form-check-input:checked {

    background: #6f9d37;
    border-color: #6f9d37;

}

.form-check-label {

    font-size: 14px;
    line-height: 1.8;
    color: #555;

}

.form-check-label a {

    color: #5c8f28;
    font-weight: 600;
    text-decoration: none;

}

.form-check-label a:hover {

    text-decoration: underline;

}

/*=========================
BUTTON
=========================*/

.main-bty {

    width: 100%;
    height: 60px;

    border: none;
    border-radius: 16px;

    background: linear-gradient(135deg, #1d0a77, #065795);

    color: #fff;

    font-size: 18px;
    font-weight: 700;

    cursor: pointer;

    transition: .35s;

    box-shadow: 0 15px 35px rgba(110, 157, 54, .30);

}

.main-bty i {

    margin-right: 10px;

}

.main-bty:hover {

    transform: translateY(-4px);

    box-shadow: 0 25px 45px rgba(110, 157, 54, .40);

    background: linear-gradient(135deg, #26467b, #7fb63e);

}

/*=========================
CLOSE BUTTON
=========================*/

.popup-close {

    position: absolute;

    right: 18px;
    top: 18px;

    width: 46px;
    height: 46px;

    border: none;

    border-radius: 50%;

    background: #000;

    color: #fff;

    font-size: 18px;

    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 999;

    transition: .3s;

}

.popup-close:hover {

    background: #3d5d19;
    transform: rotate(90deg);

}


/* Overlay Layer */

.custom-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    /* Dark transparent layer */
    backdrop-filter: blur(4px);
    /* Optional blur */
    -webkit-backdrop-filter: blur(4px);

    opacity: 0;
    visibility: hidden;
    transition: all .35s ease;

    z-index: 9998;
}

/* Show Overlay */

.custom-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Popup */

.custom-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.9);

    opacity: 0;
    visibility: hidden;

    transition: all .35s ease;

    z-index: 9999;
}

/* Show Popup */

.custom-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}