/* ============================================
                   CUSTOM COLOR PALETTE (as specified)
                   ============================================ */
:root {
    /* Primary */
    --color-bg: #F7F3EE;
    /* primary background */
    --color-primary: #2C2926;
    /* primary brand color */
    --color-accent: #B08D57;
    /* luxury accent */
    --color-secondary: #6F6256;
    /* supporting color */
    --color-bg-secondary: #EDE6DD;
    /* secondary surfaces */

    /* Extended */
    --color-accent-light: #D6BE91;
    --color-text: #2C2926;
    --color-text-secondary: #6F6256;
    --color-text-light: #F7F3EE;
    --color-border: #D8CEC2;
    --color-border-light: #E8E0D7;
    --color-success: #66755A;
    --color-danger: #9A5B52;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(44, 41, 38, 0.06);
    --shadow-md: 0 8px 24px rgba(44, 41, 38, 0.10);
    --shadow-lg: 0 16px 45px rgba(44, 41, 38, 0.14);

    /* Radius */
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Typography */
    --font-heading: "Playfair Display", serif;
    --font-body: "Inter", sans-serif;
}

/* ============================================
                   BASE & BACKGROUND
                   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    background: var(--color-bg);
    padding: 1.5rem;
    position: relative;
    overflow-x: hidden;
}

/* Animated background accents using brand colors */
body::before {
    content: '';
    position: fixed;
    top: -30%;
    left: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle at 30% 40%, rgba(176, 141, 87, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBg1 24s ease-in-out infinite alternate;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle at 70% 60%, rgba(111, 98, 86, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBg2 28s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes floatBg1 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(8%, 6%) scale(1.3) rotate(5deg);
    }
}

@keyframes floatBg2 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(-10%, -5%) scale(1.4) rotate(-4deg);
    }
}

/* ============================================
                   CARD — Glassmorphism with brand colors
                   ============================================ */
.lead-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(216, 206, 194, 0.30);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(216, 206, 194, 0.10) inset;
    max-width: 880px;
    width: 100%;
    padding: 2.2rem 2.5rem 2.8rem;
    transition: box-shadow 0.4s ease, transform 0.2s ease;
    animation: cardEntry 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardEntry {
    0% {
        opacity: 0;
        transform: scale(0.94) translateY(30px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 576px) {
    .lead-card {
        padding: 1.8rem 1.2rem 2rem;
        border-radius: 2rem;
        backdrop-filter: blur(12px);
    }
}

/* ============================================
                   HEADER — "Home Fashion"
                   ============================================ */
.form-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.2rem;
    padding-bottom: 0.9rem;
    border-bottom: 2px solid var(--color-border-light);
    position: relative;
}

.form-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    border-radius: 10px;
    animation: headerLine 2.8s ease-in-out infinite alternate;
    box-shadow: 0 0 20px rgba(176, 141, 87, 0.15);
}

@keyframes headerLine {
    0% {
        width: 80px;
        opacity: 0.5;
    }

    100% {
        width: 180px;
        opacity: 1;
    }
}

.brand-icon {
    font-size: 2.4rem;
    color: var(--color-accent);
    filter: drop-shadow(0 0 12px rgba(176, 141, 87, 0.15));
    animation: iconPulse 3.6s ease-in-out infinite;
}

@keyframes iconPulse {
    0% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 8px rgba(176, 141, 87, 0.15));
    }

    50% {
        transform: scale(1.08) rotate(3deg);
        filter: drop-shadow(0 0 24px rgba(176, 141, 87, 0.25));
    }

    100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 8px rgba(176, 141, 87, 0.15));
    }
}

.form-header h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.1rem;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 60%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(44, 41, 38, 0.06));
}

.brand-tag {
    background: rgba(176, 141, 87, 0.08);
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--color-secondary);
    border: 1px solid rgba(176, 141, 87, 0.12);
    letter-spacing: 0.4px;
    margin-left: auto;
    backdrop-filter: blur(4px);
}

@media (max-width: 576px) {
    .brand-tag {
        margin-left: 0;
        width: 100%;
        text-align: center;
        margin-top: 4px;
        font-size: 0.7rem;
    }

    .form-header h2 {
        font-size: 1.7rem;
    }

    .brand-icon {
        font-size: 2rem;
    }
}

/* ============================================
                   FORM ELEMENTS
                   ============================================ */
.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-label i {
    font-size: 1.1rem;
    color: var(--color-accent);
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(4px);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.4rem;
    font-size: 0.98rem;
    font-family: var(--font-body);
    color: var(--color-primary);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.form-control::placeholder {
    color: var(--color-text-secondary);
    font-weight: 300;
    font-size: 0.92rem;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.90);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.15), var(--shadow-sm);
    color: var(--color-primary);
    transform: scale(1.01);
}

.form-control:hover,
.form-select:hover {
    border-color: var(--color-accent-light);
    background: rgba(255, 255, 255, 0.80);
}

.input-group .form-control {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    border-left: none;
}

.input-group-text {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    padding-right: 0.4rem;
    color: var(--color-accent);
    font-size: 1.1rem;
    backdrop-filter: blur(4px);
}

.input-group .form-control:focus {
    border-left: none;
}

.form-text {
    color: var(--color-text-secondary);
    font-size: 0.75rem;
    margin-top: 0.2rem;
    padding-left: 0.6rem;
    opacity: 0.8;
}

.required-star {
    color: var(--color-danger);
    font-weight: 700;
    margin-left: 1px;
    font-size: 1.1rem;
}

/* ============================================
                   SUBMIT BUTTON — Luxury Accent
                   ============================================ */
.btn-submit {
    background: linear-gradient(145deg, var(--color-accent), var(--color-secondary));
    border: none;
    border-radius: var(--radius-xl);
    padding: 0.95rem 2rem;
    font-weight: 700;
    font-size: 1.15rem;
    font-family: var(--font-body);
    color: var(--color-text-light);
    width: 100%;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 32px -10px rgba(176, 141, 87, 0.30);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: left 0.7s ease;
}

.btn-submit:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 20px 44px -12px rgba(176, 141, 87, 0.40);
    background: linear-gradient(145deg, var(--color-accent-light), var(--color-accent));
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:active {
    transform: scale(0.97) translateY(0);
}

.btn-submit i {
    margin-right: 0.6rem;
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translateX(5px) scale(1.08);
}

/* ============================================
                   FEEDBACK ALERTS
                   ============================================ */
.alert-feedback {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(176, 141, 87, 0.10);
    backdrop-filter: blur(8px);
    font-weight: 500;
    padding: 1rem 1.8rem;
}

.alert-success-custom {
    background: rgba(102, 117, 90, 0.12);
    color: var(--color-success);
    border-color: rgba(102, 117, 90, 0.15);
}

.alert-danger-custom {
    background: rgba(154, 91, 82, 0.10);
    color: var(--color-danger);
    border-color: rgba(154, 91, 82, 0.12);
}

.invalid-feedback {
    font-size: 0.8rem;
    font-weight: 500;
    padding-left: 0.8rem;
    color: var(--color-danger);
}

.row.gy-3 {
    --bs-gutter-y: 1.1rem;
}

hr {
    border-color: var(--color-border-light);
    opacity: 0.5;
}

.text-muted {
    color: var(--color-text-secondary) !important;
}

.btn-close {
    filter: invert(0.3) brightness(0.7);
}

/* subtle card surface for secondary bg */
.bg-secondary-surface {
    background: var(--color-bg-secondary);
}