:root {
    --primary: #0b6b4a;
    --primary-dark: #084d36;
    --primary-light: #e6f5ef;
    --accent: #d4a017;
    --accent-soft: #f7e9b8;
    --danger: #c0392b;
    --success: #1e9c55;
    --text: #1a2e28;
    --muted: #5a6f68;
    --bg: #f0f5f2;
    --card-shadow: 0 20px 60px rgba(11, 107, 74, 0.14);
    --radius: 20px;
}

* {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ========== HERO ========== */
.hero-header {
    background: linear-gradient(145deg, #0b6b4a 0%, #086b45 40%, #053d28 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0 2.5rem;
}

/* Decorative circles */
.hero-header::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,160,23,0.18) 0%, transparent 70%);
    top: -120px;
    left: -80px;
    pointer-events: none;
}

.hero-header::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    bottom: -100px;
    right: -40px;
    pointer-events: none;
}

/* Pattern overlay */
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
}

.logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.logo-box-img {
    padding: 8px 12px;
    background: #ffffff;
}

.official-logo {
    display: block;
    max-height: 72px;
    width: auto;
    object-fit: contain;
}

.nfsa-img {
    max-height: 78px;
}

.afraf-img {
    max-height: 70px;
}

.event-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 0 3px 12px rgba(0,0,0,0.25);
    background: linear-gradient(90deg, #fff 0%, #f7e9b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.event-subtitle {
    font-size: 0.98rem;
    opacity: 0.88;
    font-weight: 400;
    letter-spacing: 0.6px;
}

.event-date {
    font-size: 0.95rem;
    background: rgba(255,255,255,0.14);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-top: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
}

.event-date i {
    color: var(--accent);
}

/* ========== INVITE BANNER ========== */
.invite-banner {
    background: linear-gradient(90deg, var(--accent-soft), #fff8e6);
    border-bottom: 3px solid var(--accent);
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
    color: #6b4e00;
    font-size: 0.95rem;
}

.invite-banner i {
    color: var(--accent);
}

/* ========== FORM CARD ========== */
.form-card {
    border-radius: 28px;
    overflow: hidden;
    background: white;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(11,107,74,0.06);
}

.form-heading {
    font-weight: 800;
    font-size: 1.7rem;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.form-sub {
    color: var(--muted);
    font-size: 0.98rem;
}

.form-label {
    color: var(--text);
    margin-bottom: 7px;
    font-size: 0.92rem;
}

.form-control, .form-select {
    border-radius: 14px;
    border: 1.5px solid #dce8e3;
    padding: 13px 16px;
    transition: all 0.25s ease;
    font-size: 1rem;
    background: #fafcfb;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(11, 107, 74, 0.13);
    background: white;
}

.form-control-lg {
    min-height: 54px;
}

/* Input with icon */
.input-icon-wrap {
    position: relative;
}

.input-icon-wrap .form-control {
    padding-right: 44px;
}

.input-icon-wrap .input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    opacity: 0.55;
    font-size: 1.1rem;
    pointer-events: none;
}

/* Choice buttons */
.choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.choice-btn {
    flex: 1;
    min-width: 150px;
    padding: 16px 20px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.02rem;
    border-width: 2px;
    transition: all 0.28s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-check:checked + .btn-outline-success {
    background: linear-gradient(135deg, #1e9c55, #27ae60);
    border-color: #1e9c55;
    color: white;
    box-shadow: 0 8px 22px rgba(30, 156, 85, 0.35);
    transform: scale(1.02);
}

.btn-check:checked + .btn-outline-danger {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    border-color: #c0392b;
    color: white;
    box-shadow: 0 8px 22px rgba(192, 57, 43, 0.35);
    transform: scale(1.02);
}

.btn-outline-success {
    color: var(--success);
    border-color: #a8d5b5;
    background: #f4fbf7;
}

.btn-outline-success:hover {
    background: #e8f8ef;
    color: var(--success);
    border-color: var(--success);
}

.btn-outline-danger {
    color: var(--danger);
    border-color: #e8b4ae;
    background: #fdf6f5;
}

.btn-outline-danger:hover {
    background: #fdecea;
    color: var(--danger);
    border-color: var(--danger);
}

/* Submit */
.submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 16px;
    padding: 17px;
    font-weight: 800;
    font-size: 1.18rem;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 28px rgba(11, 107, 74, 0.32);
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(11, 107, 74, 0.42);
}

.submit-btn:hover::after {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(0);
}

/* Info box */
.info-box {
    background: linear-gradient(135deg, var(--primary-light), #f0faf5);
    border-radius: 18px;
    padding: 18px 24px;
    border: 1px solid rgba(11, 107, 74, 0.12);
    color: var(--primary-dark);
}

/* Footer */
.footer {
    margin-top: auto;
    background: linear-gradient(90deg, #053d28, #0b6b4a);
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    padding: 1.2rem 0;
}

/* Success page */
.success-card {
    border-radius: 28px;
    text-align: center;
    padding: 3.2rem 2rem;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1e9c55, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.6rem;
    color: white;
    font-size: 2.8rem;
    box-shadow: 0 12px 32px rgba(30,156,85,0.4);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Section divider */
.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 4px;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.02rem;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(11,107,74,0.2), transparent);
}

/* Responsive */
@media (max-width: 767.98px) {
    .event-title {
        font-size: 1.7rem;
    }
    .logo-box {
        padding: 6px 10px;
    }
    .official-logo {
        max-height: 56px;
    }
    .nfsa-img {
        max-height: 60px;
    }
    .afraf-img {
        max-height: 54px;
    }
    .choice-btn {
        min-width: 100%;
    }
    .hero-header {
        padding-bottom: 1.5rem;
    }
}
