/*==============================
ADARSHAA MEDICAL — ENQUIRY POPUP
===============================*/

.custom-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 890px;
    max-width: 95%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    z-index: 99999;
    display: none;
    box-shadow: 0 35px 80px rgba(11, 43, 60, .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: #0B2B3C; /* --navy */
}

.image-part::before {
    content: "";
    position: absolute;
    inset: -15px;

    background:
        linear-gradient(160deg, rgb(14 15 16) 0%, rgb(1 8 5) 60%, rgb(28 214 128) 130%);

    background-size: cover;
    background-position: center;

    z-index: 0;
}

.image-part > * {
    position: relative;
    z-index: 1;
}

/* floating circles */

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(216, 155, 60, .16); /* gold tint */
}

.circle1 { width: 260px; height: 260px; left: -100px; top: -80px; }
.circle2 { width: 180px; height: 180px; right: -70px; bottom: 120px; background: rgba(18, 135, 122, .22); }
.circle3 { width: 90px; height: 90px; top: 55%; right: 60px; }

/*=====================
Leaves / decorative floats
======================*/

.leaf {
    position: absolute;
    animation: leafmove 5s ease-in-out infinite;
    opacity: .5;
    filter: brightness(0) saturate(100%) invert(76%) sepia(40%) saturate(500%) hue-rotate(0deg); /* tint toward gold */
}

.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: .35;
}

.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: #0C685E; /* --teal-dark */
    box-shadow: 0 10px 25px rgba(11, 43, 60, .12);
}

.sub-heading i {
    color: #D89B3C; /* --gold */
}

.left-inner h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin: 25px 0 18px;
    color: #fff;
}

.left-inner h2 span {
    color: #D89B3C; /* --gold */
}

.left-inner p {
    font-size: 16px;
    line-height: 1.8;
    color: #C9DAD6;
    margin-bottom: 30px;
}

/*====================
SLIDER (unused here, kept for parity)
====================*/

.popup-slider {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(11, 43, 60, .18);
}

.popup-slider img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/*====================
CONTACT BOX (unused here, kept for parity)
====================*/

.contact-card {
    margin-top: 30px;
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(11, 43, 60, .10);
}

.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: #142430;
}

.contact-card li:last-child { margin-bottom: 0; }

.contact-card i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #12877A; /* --teal */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

/*=========================================
RIGHT FORM PANEL
=========================================*/

.form-part {
    width: 52%;
    background: #F7FAF9; /* --paper */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    position: relative;
    overflow: hidden;
}

.form-part::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -120px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(18, 135, 122, .14), transparent 70%);
    border-radius: 50%;
}

.form-part::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -70px;
    left: -70px;
    background: rgba(216, 155, 60, .10);
    border-radius: 50%;
}

/*========================
FORM CARD
========================*/

.form-part .form-card {
    width: 100%;
    max-width: 470px;
    position: relative;
    z-index: 10;
}

.form-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E7F3F1; /* --teal-tint */
    color: #0C685E; /* --teal-dark */
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 18px;
}

.form-tag i {
    color: #D89B3C; /* --gold */
}

.form-card h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: #0B2B3C; /* --navy */
    margin-bottom: 12px;
}

.form-text {
    color: #4C6270; /* --ink-soft */
    line-height: 1.8;
    margin-bottom: 35px;
}

/*==========================
INPUT GROUP
==========================*/

.form-part .input-group-custom {
    position: relative;
}

.form-part .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #12877A; /* --teal */
    font-size: 18px;
    z-index: 2;
}

.input-group-custom input,
.input-group-custom select {
    width: 100%;
    height: 56px;
    border: 2px solid #E1E9E8; /* --line */
    border-radius: 12px;
    padding-left: 56px;
    padding-right: 18px;
    font-size: 15px;
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fff;
    transition: .3s;
}

.input-group-custom input:focus,
.input-group-custom select:focus {
    border-color: #12877A; /* --teal */
    box-shadow: 0 0 0 4px rgba(18, 135, 122, .14);
    outline: none;
}

.input-group-custom input::placeholder {
    color: #8FA0A8;
}

/*=========================
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='%230C685E' 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;
    color: #C0392B;
}

/*=========================
CHECKBOX (kept for parity)
=========================*/

.privacy-box {
    margin-top: 10px;
    padding: 18px;
    background: #F7FAF9; /* --paper */
    border-radius: 14px;
    border: 1px solid #E1E9E8; /* --line */
}

.form-check { margin: 0; }
.form-check-input { margin-top: 5px; }
/* 
.form-check-input:checked {
    background: #12877A; 
    /* border-color: #12877A; 
}
*/
.form-check-label {
    font-size: 14px;
    line-height: 1.8;
    color: #4C6270; /* --ink-soft */
}

.form-check-label a {
    color: #0C685E; /* --teal-dark */
    font-weight: 600;
    text-decoration: none;
}

.form-check-label a:hover { text-decoration: underline; }

/*=========================
BUTTON
=========================*/

.main-bty {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #0B2B3C, #12877A);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 15px 35px rgba(11, 43, 60, .28);
}

.main-bty i { margin-right: 10px; color: #D89B3C; }

.main-bty:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(11, 43, 60, .35);
    background: linear-gradient(135deg, #123A4E, #0C685E);
}

/*=========================
CLOSE BUTTON
=========================*/

.popup-close {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #0B2B3C; /* --navy */
    color: #D89B3C; /* --gold */
    font-size: 17px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: .3s;
}

.popup-close:hover {
    background: #B87F27; /* --gold-dark */
    color: #fff;
    transform: rotate(90deg);
}

/* Overlay Layer */

.custom-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 43, 60, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all .35s ease;
    z-index: 9998;
}

.custom-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.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;
}

.custom-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 991px) {
    .popup-content { flex-direction: row; }
    .image-part, .form-part { width: 100%; }
    .image-part { padding: 35px; }
}

@media (max-width: 575px) {
    .left-inner h2 { font-size: 30px; }
    .form-card h2 { font-size: 26px; }
}