:root {
    --lav-50: #f6f2fc;
    --lav-100: #efe6fb;
    --lav-200: #e2d3f7;
    --lav-300: #cbb2ef;
    --violet-500: #8b5cf6;
    --violet-600: #7c4de0;
    --violet-700: #6432c2;
    --ink-900: #362a52;
    --ink-600: #6c5f89;
    --ink-400: #9a8fb5;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}
.cf-section {
    width: 100%;
    min-height: 100vh;
    padding: 20px 0 40px;
    background:
        radial-gradient(1100px 600px at 85% -10%, var(--lav-200) 0%, transparent 60%),
        radial-gradient(900px 500px at -10% 110%, var(--lav-100) 0%, transparent 55%),
        var(--lav-50);

    font-family: 'Inter', sans-serif;
    color: var(--ink-900);
    margin-top: 48px;
}

.cf-heading {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.cf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--violet-700);
    font-weight: 600;
    background: var(--lav-100);
    border: 1px solid var(--lav-200);
    padding: 12px 18px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.cf-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--violet-500);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18);
}

/* ---------- Card shell ---------- */
.cf-card {
    background: var(--white);
    border-radius: 9px;
    /*box-shadow: 0 30px 60px -25px rgba(100, 50, 194, 0.28), 0 4px 18px rgba(100, 50, 194, 0.06);*/
    overflow: hidden;
    border: 1px solid rgba(203, 178, 239, 0.35);
    width: 100%;
    max-width: 100%;
}

/* ---------- Bottom info panel (contact strip) ---------- */
.cf-panel {
    background:
        radial-gradient(700px 260px at 15% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 60%),
        linear-gradient(120deg, var(--violet-600) 0%, var(--violet-700) 55%, #4c2596 100%);
    color: var(--white);
    padding: 12px 10px 14px;
    position: relative;
    overflow: hidden;
}

.cf-panel::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -120px;
    right: -80px;
}

.cf-panel::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    bottom: -70px;
    left: -40px;
}

.cf-panel-inner {
    position: relative;
    z-index: 1;
}

.cf-panel-title {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 6px;
}

.cf-panel-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.cf-contact-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cf-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
}

.cf-contact-list li .cf-contact-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.cf-contact-list li .cf-contact-label {
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 2px;
}

.cf-icon-badge {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* ---------- Right form panel ---------- */
.cf-form-wrap {
    padding: 10px 12px 12px;
    width: 100%;
    overflow: hidden;
}

.cf-form-title {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.cf-form-sub {
    color: var(--ink-600);
    font-size: 12px;
    margin-bottom: 12px;
}

/* Floating field */
.cf-field {
    position: relative;
    margin-bottom: 10px;
}
.cf-field input,
.cf-field textarea {
    width: 100%;
    border: 1.5px solid var(--lav-200);
    background: var(--lav-50);
    border-radius: 8px;
    padding: 8px 16px 8px 42px;
    /* bottom 5px ki jagah 15px */
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--ink-900);
    outline: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.cf-field textarea {
    padding-top: 18px;
    min-height: 76px;
    resize: vertical;
    line-height: 1.4;
}

.cf-field input:focus,
.cf-field textarea:focus {
    border-color: var(--violet-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14);
}
.cf-field label {
    position: absolute;
    left: 42px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--ink-400);
    pointer-events: none;
    transition: all .18s ease;
}

.cf-field textarea~label {
    top: 16px;
}

.cf-field input:focus~label,
.cf-field input:not(:placeholder-shown)~label,
.cf-field textarea:focus~label,
.cf-field textarea:not(:placeholder-shown)~label {
    top: 5px;
    left: 42px;
    font-size: 0.65rem;
    color: var(--violet-600);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.cf-field .cf-field-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-400);
    font-size: 14px;
}

.cf-field textarea~.cf-field-icon {
    top: 17px;
}

.cf-field input:focus~.cf-field-icon,
.cf-field textarea:focus~.cf-field-icon {
    color: var(--violet-600);
}

.cf-field small.cf-error {
    display: none;
    color: #c0392b;
    font-size: 0.78rem;
    margin-top: 6px;
    margin-left: 4px;
}

.cf-field.has-error input,
.cf-field.has-error textarea {
    border-color: #e57a72;
    background: #fdf3f2;
}

.cf-field.has-error small.cf-error {
    display: block;
}

.cf-field.is-valid input,
.cf-field.is-valid textarea {
    border-color: #9ad6b4;
}

/* Submit button */
.cf-submit {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 0.92rem;
    color: #fff;
    /* background: linear-gradient(135deg, var(--violet-500), var(--violet-700)); */
    background: linear-gradient(135deg, #800000 0%, #6D071A 45%, var(--violet-700) 100%);
    background-size: 160% 160%;
    background-position: 0% 50%;
    box-shadow: 0 14px 28px -12px rgba(124, 77, 224, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform .2s ease, box-shadow .2s ease, background-position .4s ease, opacity .15s ease;
}

.cf-submit::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.35) 40%, transparent 60%);
    transform: translateX(-120%);
    transition: transform .6s ease;
}

.cf-submit i {
    transition: transform .25s ease;
}

.cf-submit:hover {
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 20px 36px -12px rgba(124, 77, 224, 0.7);
    background-position: 100% 50%;
}

.cf-submit:hover::before {
    transform: translateX(120%);
}

.cf-submit:hover i {
    transform: translateX(4px) rotate(-8deg);
}

.cf-submit:focus-visible {
    outline: 2px solid var(--violet-700);
    outline-offset: 3px;
}

.cf-submit:active {
    transform: translateY(-1px) scale(0.99);
}

.cf-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.cf-submit .spinner-border {
    width: 1rem;
    height: 1rem;
    display: none;
}

.cf-submit.loading .spinner-border {
    display: inline-block;
}

.cf-submit.loading .cf-submit-label {
    display: none;
}

/* Success toast-ish banner */
.cf-success {
    display: none;
    align-items: center;
    gap: 10px;
    background: #eefaf1;
    border: 1px solid #bfe8cc;
    color: #1f7a45;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.82rem;
    margin-bottom: 16px;
}

.cf-success.show {
    display: flex;
}

.cf-success i {
    font-size: 1rem;
}

/* Char counter */
.cf-counter {
    text-align: right;
    font-size: 0.7rem;
    color: var(--ink-400);
    margin-top: -10px;
    margin-bottom: 14px;
}


/* Inputs */
.cf-field input,
.cf-field textarea,
.cf-submit {
    width: 100%;
    max-width: 100%;
}

/* Long heading wrap */
.cf-form-title {
    word-break: break-word;
}

/* Message Icon */
.cf-message-icon {
    position: absolute;
    left: 15px;
    top: 12px;
    font-size: 14px;
    color: var(--ink-400);
}

/* Message Label */
.cf-message-label {
    position: absolute;
    left: 42px;
    top: 16px;
    font-size: 14px;
    color: var(--ink-400);
    pointer-events: none;
    transition: all .18s ease;
}

/* Floating Label */
#messageInput:focus+.cf-message-label,
#messageInput:not(:placeholder-shown)+.cf-message-label {
    top: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--violet-600);
}

/* Responsive tweaks */
@media (max-width: 1100px) {
   
}

@media (max-width:991px) {
    .col-lg-3 {
        padding: 8px 30px 15px 30px;
    }

    .tablet-col-6 {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .cf-panel {
        padding: 26px 24px 22px;
    }

    .cf-panel::before,
    .cf-panel::after {
        display: none;
    }

    .cf-form-wrap {
        padding: 30px 24px;
    }

}

@media (max-width: 768px) {
   .cf-field label{
    font-size: 12px;
   }
}

@media (max-width: 576px) {
      .tablet-col-6{
        width:100%;
        flex:0 0 100%;
        max-width:100%;
    }
    .cf-section {
        padding: 20px 16px;
    }
    .cf-card {
        border-radius: 20px;
    }

    .cf-panel {
        padding: 26px 20px 22px;
    }

    .cf-panel-title {
        font-size: 1.1rem;
    }

    .cf-form-wrap {
        padding: 28px 20px;
    }

    .cf-form-title {
        font-size: 1.25rem;
    }

    .cf-eyebrow {
        font-size: .68rem;
        padding: 5px 12px;
    }
    .cf-field label{
    font-size: 11px;
   }
.cf-message-icon {
    top: 10px;
}
}



