.custom-hero {
    height: 60vh;
    min-height: 480px;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.88) 0%, rgba(19, 34, 56, 0.82) 100%),
                url('https://images.unsplash.com/photo-1593030761757-71fae45fa0e7?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 2px solid var(--gold);
    position: relative;
}

.custom-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(11, 15, 25, 0.92) 100%);
}

.custom-hero .hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
}

.custom-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.8px;
    margin-bottom: 1rem;
}

.custom-hero p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.2rem;
    line-height: 1.7;
}

/* --- MAIN CONTAINER --- */
.custom-form-section {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.custom-form {
    max-width: 820px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-blue);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.6rem;
    font-size: 0.88rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px 18px;
    border: 1px solid var(--border-blue);
    border-radius: 12px;
    font-size: 0.95rem;
    background-color: rgba(11, 15, 25, 0.8);
    color: var(--text-main);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-group small {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 0.4rem;
}

/* --- MEASUREMENTS BOXES --- */
.measurements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
}

.measurements-grid input {
    padding: 12px;
    border: 1px solid var(--border-blue);
    border-radius: 10px;
    font-size: 0.95rem;
    text-align: center;
    background-color: rgba(11, 15, 25, 0.8);
    color: var(--text-main);
    transition: var(--transition);
}

/* --- FOCUS STATES --- */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.measurements-grid input:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
    background-color: #0b0f19;
}

/* --- DROPDOWN CUSTOM ARROW --- */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-group select option {
    background: #131b2e;
    color: var(--text-main);
}

/* --- FILE UPLOAD --- */
#designImage {
    display: none;
}

.custom-file-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    width: 160px;
    border: 1px solid var(--gold);
    border-radius: 10px;
    background-color: transparent;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.4rem;
}

.custom-file-upload:hover {
    background-color: var(--gold);
    color: #0b0f19;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.file-name-display {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* --- SUBMIT BUTTON --- */
.submit-btn {
    margin-top: 2rem;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #d4af37 0%, #b89320 100%);
    color: #0b0f19;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #f5c754 0%, #d4af37 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
    color: #000;
}

.why-custom {
    padding: 6rem 0;
    background: #080c15;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.benefit-card {
    text-align: center;
    padding: 2.5rem 1.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-md);
}

.benefit-card i {
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 1.2rem;
    transition: var(--transition);
}

.benefit-card:hover i {
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--text-main);
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* --- STEP PROGRESS BAR --- */
.steps-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    background: var(--bg-card);
    padding: 1.2rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-gold);
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.95rem;
}

.step-num-badge {
    background: var(--gold);
    color: #000;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.step-text {
    line-height: 1.3;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 992px) {
    .custom-hero h1 {
        font-size: 2.8rem;
    }
    
    .custom-form {
        padding: 2.5rem 2rem;
    }

    .custom-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .custom-hero h1 {
        font-size: 2.4rem;
    }
    .steps-progress-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        padding: 1.2rem 1.4rem;
    }
    .custom-form {
        padding: 2rem 1.4rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: auto;
    }
    .measurements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .custom-hero h1 {
        font-size: 2rem;
    }
    .custom-form {
        padding: 1.5rem 1rem;
    }
    .measurements-grid {
        grid-template-columns: 1fr;
    }
    .custom-benefits {
        grid-template-columns: 1fr;
    }
}