/* ===== GLOBAL ===== */
body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* ===== LAYOUT ===== */
.hajj-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
}

/* ===== LEFT SIDE ===== */
.hajj-visual-side {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.hajj-bg {
    position: absolute;
    inset: 0;
}

.hajj-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(255,255,255,.95),
        rgba(255,255,255,.7)
    );
}

.hajj-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

/* Content */
.left-content {
    position: relative;
    z-index: 2;
    padding: 90px 80px;
    max-width: 520px;
}

/* Title */
.left-title {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.1;
    margin-bottom: 30px;
}

.left-title span {
    display: block;
    font-size: 52px;
    color: #d4af37;
    font-weight: 700;
}

/* Imam Photo */
.imam-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, #d4af37, #f5e7b2);
    box-shadow: 0 15px 40px rgba(0,0,0,.25);
    margin-bottom: 22px;
}

.imam-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

/* Bio */
.left-bio {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
    max-width: 420px;
}

/* ===== RIGHT FORM SIDE ===== */
.hajj-form-side {
    background: #2e3138;
    color: #fff;
    padding: 80px 90px;
    display: flex;
    flex-direction: column;
}

.badge-gold {
    background: rgba(212,175,55,.18);
    color: #d4af37;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 11px;
    letter-spacing: .18em;
    width: fit-content;
    margin-bottom: 22px;
}

.form-title {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-imam {
    color: #d4af37;
    font-size: 14px;
    margin-bottom: 30px;
}

/* ===== FORM ===== */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 30px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field.full {
    grid-column: span 2;
}

.field label {
    font-size: 11px;
    opacity: .65;
    margin-bottom: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.32);
    padding: 12px 4px;
    color: #fff;
    font-size: 14px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: #d4af37;
}

/* Button */
.submit-btn {
    margin-top: 48px;
    width: 100%;
    padding: 15px;
    border-radius: 34px;
    border: none;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: #111;
    font-weight: 700;
    letter-spacing: .08em;
    transition: all .25s ease;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(212,175,55,.35);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hajj-layout {
        grid-template-columns: 1fr;
    }

    .left-content {
        padding: 50px 40px;
    }

    .hajj-form-side {
        padding: 45px;
    }
}

@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: span 1;
    }

    .left-title {
        font-size: 34px;
    }

    .left-title span {
        font-size: 42px;
    }
}

/* ===== SELECT FIX ===== */
.field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: transparent;
    color: #fff;

    padding-right: 24px;
    cursor: pointer;
}

/* Dropdown options */
.field select option {
    background-color: #2e3138;
    color: #fff;
    padding: 10px;
}

.field select option:checked {
    background-color: #d4af37;
    color: #111;
}

.field select option:hover {
    background-color: rgba(212,175,55,.25);
}

/* Arrow */
.field {
    position: relative;
}

.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' 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 4px center;
    background-size: 16px;
}

/* ===== FORM ERRORS ===== */
.form-errors {
    background: rgba(220, 38, 38, 0.15);
    border-left: 4px solid #dc2626;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.form-errors ul {
    margin: 0;
    padding-left: 18px;
}

.form-errors li {
    font-size: 13px;
    color: #fecaca;
    line-height: 1.6;
}
/* ===== SUCCESS PAGE ===== */
.success-wrapper {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f5f7;
}

.success-card {
    background: #fff;
    padding: 60px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,.1);
    max-width: 480px;
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-card h2 {
    margin-bottom: 10px;
}

.success-card p {
    opacity: .7;
    line-height: 1.6;
    margin-bottom: 30px;
}

.success-btn {
    padding: 12px 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: #111;
    font-weight: 700;
    text-decoration: none;
}
