/* ============================================
   9th ZARQA INTERNATIONAL MEDICAL CONFERENCE
   Premium Conference Website - RTL Arabic
   Designed to rival world-class medical events
   ============================================ */

:root {
    /* Brand palette - Medical premium */
    --c-navy-900: #062746;
    --c-navy-800: #0b3d6b;
    --c-navy-700: #0f4d85;
    --c-navy-600: #1565a3;
    --c-blue-500: #0ea5e9;
    --c-blue-400: #38bdf8;
    --c-blue-100: #e0f2fe;
    --c-teal-500: #14b8a6;
    --c-teal-400: #2dd4bf;
    --c-gold-500: #d97706;
    --c-gold-400: #f59e0b;
    --c-gold-300: #fbbf24;
    --c-cream: #fbf7ee;
    --c-paper: #ffffff;

    /* Text */
    --t-1: #0b1f33;
    --t-2: #3c5266;
    --t-3: #64768a;
    --t-inv: #ffffff;

    /* Surfaces */
    --bg-soft: #f5f9fc;
    --bg-mute: #eef3f8;
    --bg-card: #ffffff;

    /* Border & shadow */
    --border: #d9e3ec;
    --shadow-sm: 0 1px 3px rgba(11, 61, 107, .08), 0 1px 2px rgba(11, 61, 107, .04);
    --shadow-md: 0 8px 24px rgba(11, 61, 107, .08), 0 2px 6px rgba(11, 61, 107, .05);
    --shadow-lg: 0 24px 60px rgba(11, 61, 107, .15), 0 8px 18px rgba(11, 61, 107, .08);
    --shadow-glow: 0 0 60px rgba(56, 189, 248, .35);

    /* Gradients */
    --grad-hero: linear-gradient(135deg, #062746 0%, #0b3d6b 45%, #0f4d85 100%);
    --grad-gold: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
    --grad-teal: linear-gradient(135deg, #0ea5e9 0%, #14b8a6 100%);
    --grad-blue: linear-gradient(135deg, #1565a3 0%, #0ea5e9 100%);

    /* Typography */
    --font-ar: 'Tajawal', 'Almarai', 'Cairo', sans-serif;
    --font-ar-display: 'Cairo', 'Tajawal', sans-serif;

    /* Radius & spacing */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-ar);
    color: var(--t-1);
    background: var(--bg-soft);
    margin: 0;
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-ar-display);
    font-weight: 800;
    color: var(--c-navy-900);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

a { color: var(--c-navy-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-blue-500); }

.conf-body { background: var(--bg-soft); }

/* ===== TOP BAR ===== */
.conf-topbar {
    background: var(--c-navy-900);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.86rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.conf-topbar .topbar-meta,
.conf-topbar .topbar-actions {
    display: flex; align-items: center; gap: 8px;
}
.conf-topbar a { color: rgba(255,255,255,0.85); }
.conf-topbar a:hover { color: var(--c-gold-300); }
.topbar-sep { opacity: 0.4; }
.topbar-date i, .topbar-place i, .topbar-phone i, .topbar-mail i {
    color: var(--c-gold-300); margin-left: 4px;
}

/* ===== NAVBAR ===== */
.conf-navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
    padding: 0.9rem 0;
    transition: all .3s ease;
    border-bottom: 1px solid var(--border);
}
.conf-navbar.scrolled {
    padding: 0.55rem 0;
    box-shadow: var(--shadow-md);
}
.conf-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.brand-emblem { display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-line-1 {
    font-family: var(--font-ar-display);
    font-weight: 800;
    color: var(--c-navy-900);
    font-size: 1.05rem;
}
.brand-line-2 {
    font-size: 0.7rem;
    color: var(--c-navy-600);
    letter-spacing: 0.05em;
    font-weight: 600;
    text-transform: uppercase;
}
.conf-nav .nav-link {
    color: var(--t-1);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1rem !important;
    border-radius: 10px;
    transition: all .2s ease;
    position: relative;
}
.conf-nav .nav-link:hover,
.conf-nav .nav-link.active {
    color: var(--c-blue-500);
    background: var(--c-blue-100);
}
.nav-cta { display: flex; gap: 8px; }
.btn-cta-soft, .btn-cta-solid {
    font-family: var(--font-ar-display);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.55rem 1.1rem;
    border-radius: 12px;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
}
.btn-cta-soft {
    background: var(--c-blue-100);
    color: var(--c-navy-700);
}
.btn-cta-soft:hover {
    background: var(--c-blue-400);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-cta-solid {
    background: var(--grad-gold);
    color: #fff;
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}
.btn-cta-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.45);
    color: #fff;
}

/* ===== HERO ===== */
.conf-hero {
    position: relative;
    background: var(--grad-hero);
    color: #fff;
    overflow: hidden;
    padding: 6rem 0 7rem;
}
.conf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.25), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(20, 184, 166, 0.18), transparent 45%);
    pointer-events: none;
}
.conf-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0l30 30-30 30L0 30 30 0z' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}
.conf-hero .container { position: relative; z-index: 2; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--c-gold-300);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
    backdrop-filter: blur(8px);
}
.hero-eyebrow i { color: var(--c-gold-400); }
.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero-title .accent {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 640px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
    margin-bottom: 2.5rem;
}
.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
}
.hero-meta-item i {
    color: var(--c-gold-300);
    font-size: 1.1rem;
}
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.btn-hero-primary, .btn-hero-secondary {
    font-family: var(--font-ar-display);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all .3s ease;
    border: none;
}
.btn-hero-primary {
    background: var(--grad-gold);
    color: #fff;
    box-shadow: 0 12px 32px rgba(217, 119, 6, 0.4);
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(217, 119, 6, 0.55);
    color: #fff;
}
.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}
.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    transform: translateY(-3px);
}

/* Hero visual badge (right side) */
.hero-badge-card {
    position: relative;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}
.hero-badge-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.6), rgba(14, 165, 233, 0.2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.hero-badge-eyebrow {
    color: var(--c-gold-300);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.hero-badge-title {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}
.hero-badge-meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.hero-badge-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-badge-stat .num {
    color: var(--c-gold-300);
    font-size: 1.8rem;
    font-weight: 900;
    font-family: var(--font-ar-display);
}
.hero-badge-stat .lbl {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
}

/* ===== COUNTDOWN ===== */
.conf-countdown {
    background: var(--c-paper);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    margin-top: -3.5rem;
    position: relative;
    z-index: 5;
    border: 1px solid var(--border);
}
.countdown-label {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-navy-700);
    margin-bottom: 1.5rem;
}
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 760px;
    margin: 0 auto;
}
.countdown-cell {
    text-align: center;
    background: linear-gradient(135deg, var(--c-navy-900), var(--c-navy-700));
    color: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem 0.5rem 1rem;
    position: relative;
    overflow: hidden;
}
.countdown-cell::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100%; height: 3px;
    background: var(--grad-gold);
}
.countdown-num {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    font-family: var(--font-ar-display);
    line-height: 1;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.countdown-lbl {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 6px;
    font-weight: 600;
}

/* ===== SECTION ===== */
.conf-section {
    padding: 6rem 0;
    position: relative;
}
.conf-section-soft { background: var(--bg-soft); }
.conf-section-paper { background: var(--c-paper); }
.conf-section-navy {
    background: var(--grad-hero);
    color: #fff;
}
.conf-section-navy h1,
.conf-section-navy h2,
.conf-section-navy h3 { color: #fff; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-blue-100);
    color: var(--c-navy-700);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}
.section-eyebrow.gold {
    background: rgba(217, 119, 6, 0.12);
    color: var(--c-gold-500);
}
.section-eyebrow.teal {
    background: rgba(20, 184, 166, 0.12);
    color: var(--c-teal-500);
}
.section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--t-2);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.85;
}
.section-divider {
    width: 80px;
    height: 4px;
    background: var(--grad-gold);
    border-radius: 2px;
    margin: 1.2rem auto 0;
}
.section-divider.start { margin-right: 0; margin-left: 0; }

/* ===== STATS CARDS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.stat-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 4px; height: 100%;
    background: var(--grad-teal);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .3s ease;
}
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-blue-400);
}
.stat-card:hover::before { transform: scaleY(1); }
.stat-card-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-blue-100), var(--c-blue-400));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--c-navy-700);
    font-size: 1.4rem;
}
.stat-card-num {
    font-family: var(--font-ar-display);
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--c-navy-800);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-card-lbl {
    color: var(--t-2);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== PARTNERS / ORGANIZERS ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.partner-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.partner-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-blue);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 0;
}
.partner-card > * { position: relative; z-index: 1; }
.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-blue-400);
}
.partner-icon {
    width: 64px; height: 64px;
    border-radius: var(--radius-md);
    background: var(--grad-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}
.partner-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--c-navy-900);
    margin-bottom: 0.4rem;
}
.partner-name-en {
    font-size: 0.82rem;
    color: var(--c-navy-600);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.partner-role {
    color: var(--t-2);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== ACCREDITATION ===== */
.accred-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.accred-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
}
.accred-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100%; height: 5px;
    background: var(--grad-gold);
}
.accred-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.accred-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px; height: 70px;
    border-radius: 50%;
    background: var(--c-cream);
    color: var(--c-gold-500);
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    border: 2px solid var(--c-gold-300);
}
.accred-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--c-navy-900);
    margin-bottom: 0.3rem;
}
.accred-name-en {
    font-size: 0.85rem;
    color: var(--c-navy-600);
    margin-bottom: 1rem;
    font-weight: 600;
}
.accred-desc {
    color: var(--t-2);
    line-height: 1.75;
}

/* ===== TIMELINE ===== */
.timeline-wrapper {
    position: relative;
    margin-top: 3rem;
    padding: 2rem 0;
}
.timeline-line {
    position: absolute;
    top: 0; bottom: 0;
    right: 50%;
    width: 3px;
    background: var(--grad-blue);
    transform: translateX(50%);
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    width: 50%;
    padding: 1.5rem 2.5rem;
    margin-bottom: 1rem;
}
.timeline-item.right { margin-right: 50%; padding-left: 2.5rem; padding-right: 0; text-align: left; }
.timeline-item.left { margin-right: 0; margin-left: 50%; padding-right: 2.5rem; padding-left: 0; text-align: right; }
.timeline-dot {
    position: absolute;
    top: 2rem;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--c-paper);
    border: 4px solid var(--c-blue-500);
    box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.12);
    z-index: 2;
}
.timeline-item.right .timeline-dot { left: -11px; }
.timeline-item.left .timeline-dot { right: -11px; }
.timeline-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all .3s ease;
}
.timeline-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.timeline-date {
    display: inline-block;
    background: var(--c-blue-100);
    color: var(--c-navy-700);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}
.timeline-title { font-size: 1.15rem; font-weight: 800; color: var(--c-navy-900); margin-bottom: 0.4rem; }
.timeline-desc { color: var(--t-2); font-size: 0.92rem; line-height: 1.7; margin: 0; }
@media (max-width: 768px) {
    .timeline-line { right: 22px; transform: none; }
    .timeline-item, .timeline-item.right, .timeline-item.left {
        width: 100%; margin: 0; padding: 1rem 1rem 1rem 3.5rem; text-align: right;
    }
    .timeline-item.right .timeline-dot,
    .timeline-item.left .timeline-dot { left: 12px !important; right: auto !important; }
}

/* ===== PACKAGES (Sponsorship) ===== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}
.package-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
    display: flex;
    flex-direction: column;
}
.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.package-card.featured {
    border: 2px solid var(--c-gold-400);
    box-shadow: 0 12px 40px rgba(217, 119, 6, 0.15);
    transform: scale(1.03);
}
.package-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 24px 60px rgba(217, 119, 6, 0.25);
}
.package-ribbon {
    position: absolute;
    top: 22px; left: -32px;
    background: var(--grad-gold);
    color: #fff;
    padding: 4px 38px;
    font-size: 0.78rem;
    font-weight: 700;
    transform: rotate(-45deg);
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    letter-spacing: 0.03em;
}
.package-zone {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}
.package-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--c-navy-900);
    margin-bottom: 0.3rem;
}
.package-title-en {
    font-size: 0.85rem;
    color: var(--c-navy-600);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}
.package-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 1.5rem;
}
.package-price .amount {
    font-family: var(--font-ar-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--c-navy-800);
    line-height: 1;
}
.package-price .currency {
    font-size: 1rem;
    color: var(--t-2);
    font-weight: 600;
}
.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex: 1;
}
.package-features li {
    padding: 0.5rem 0;
    color: var(--t-2);
    font-size: 0.93rem;
    line-height: 1.6;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.package-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--c-teal-500);
    flex-shrink: 0;
    margin-top: 5px;
}
.package-btn {
    display: block;
    text-align: center;
    padding: 0.9rem;
    border-radius: 12px;
    font-weight: 700;
    font-family: var(--font-ar-display);
    transition: all .25s ease;
    border: none;
}
.package-btn.primary {
    background: var(--grad-gold);
    color: #fff;
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.3);
}
.package-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(217, 119, 6, 0.45); color: #fff; }
.package-btn.secondary {
    background: var(--c-blue-100);
    color: var(--c-navy-700);
}
.package-btn.secondary:hover { background: var(--c-blue-500); color: #fff; }

/* ===== BENEFITS ===== */
.benefit-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all .3s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--c-blue-100), var(--c-teal-400));
    color: var(--c-navy-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}
.benefit-title { font-size: 1.2rem; font-weight: 800; color: var(--c-navy-900); margin-bottom: 1rem; }
.benefit-list { list-style: none; padding: 0; margin: 0; }
.benefit-list li {
    padding: 0.5rem 0;
    color: var(--t-2);
    font-size: 0.95rem;
    line-height: 1.7;
    display: flex;
    gap: 10px;
}
.benefit-list li::before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--c-gold-500);
    flex-shrink: 0;
    margin-top: 5px;
}

/* ===== CliQ PAYMENT CARD ===== */
.cliq-card {
    background: linear-gradient(135deg, #062746, #0b3d6b);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}
.cliq-card::before {
    content: '';
    position: absolute;
    top: -50px; left: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.25), transparent 70%);
    pointer-events: none;
}
.cliq-card .cliq-eyebrow {
    color: var(--c-gold-300);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.cliq-card .cliq-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #fff;
}
.cliq-card .cliq-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.cliq-handle-display {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px dashed rgba(251, 191, 36, 0.6);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.cliq-handle-display .handle-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--c-gold-300);
    font-family: var(--font-ar-display);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cliq-handle-display .handle-text i { color: var(--c-gold-400); }
.cliq-steps {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    counter-reset: step;
}
.cliq-steps li {
    counter-increment: step;
    padding: 0.5rem 0 0.5rem 3rem;
    position: relative;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    line-height: 1.7;
}
.cliq-steps li::before {
    content: counter(step);
    position: absolute;
    right: 0; top: 0.4rem;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--grad-gold);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-family: var(--font-ar-display);
}

/* ===== FORMS ===== */
.conf-form {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.form-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--c-navy-900);
    margin-bottom: 1.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--c-blue-100);
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-section-title .step-num {
    width: 30px; height: 30px;
    background: var(--grad-gold);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-family: var(--font-ar-display);
    font-weight: 800;
}
.form-label {
    font-weight: 700;
    color: var(--c-navy-800);
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
}
.form-label .req { color: var(--c-gold-500); margin-right: 4px; }
.form-control, .form-select {
    border-radius: 10px;
    border: 1.5px solid var(--border);
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    background: var(--bg-soft);
    transition: all .2s ease;
    font-family: var(--font-ar);
}
.form-control:focus, .form-select:focus {
    border-color: var(--c-blue-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}
.form-check-input:checked { background-color: var(--c-blue-500); border-color: var(--c-blue-500); }
.btn-submit {
    background: var(--grad-gold);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 14px;
    font-weight: 800;
    font-family: var(--font-ar-display);
    font-size: 1.05rem;
    box-shadow: 0 10px 28px rgba(217, 119, 6, 0.35);
    transition: all .25s ease;
}
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(217, 119, 6, 0.5);
    color: #fff;
}

/* ===== ALERT ===== */
.alert-validation {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    color: #92400e;
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
}
.alert-validation ul { margin: 0; padding-right: 1.2rem; }

/* ===== SUCCESS PAGE ===== */
.success-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 3.5rem 2.5rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border);
    max-width: 720px;
    margin: 0 auto;
}
.success-icon {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 36px rgba(16, 185, 129, 0.3);
    animation: pulse-success 2s ease-in-out infinite;
}
@keyframes pulse-success {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.success-title { font-size: 2rem; font-weight: 900; color: var(--c-navy-900); margin-bottom: 0.8rem; }
.success-desc { color: var(--t-2); font-size: 1.05rem; line-height: 1.8; margin-bottom: 2rem; }
.success-code-box {
    background: linear-gradient(135deg, var(--c-navy-900), var(--c-navy-700));
    color: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 0 auto 2rem;
    max-width: 460px;
}
.success-code-label { color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; margin-bottom: 6px; }
.success-code {
    font-family: var(--font-ar-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--c-gold-300);
    letter-spacing: 0.05em;
}

/* ===== FOOTER ===== */
.conf-footer {
    background: var(--c-navy-900);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}
.footer-pattern {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-gold);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1rem;
}
.footer-emblem { display: inline-flex; }
.footer-title { color: #fff; font-size: 1.1rem; font-weight: 800; }
.footer-sub { color: var(--c-blue-400); font-size: 0.78rem; letter-spacing: 0.04em; }
.footer-desc { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-organizers .footer-org {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-organizers .footer-org i { color: var(--c-teal-400); font-size: 0.7rem; }

.footer-heading {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 0.4rem 0; }
.footer-links a { color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; transition: all .2s ease; }
.footer-links a:hover { color: var(--c-gold-300); padding-right: 6px; }

.footer-contact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
}
.footer-contact-title { color: var(--c-blue-400); font-size: 0.78rem; font-weight: 700; margin-bottom: 4px; }
.footer-contact-name { color: #fff; font-weight: 700; margin-bottom: 6px; font-size: 0.95rem; }
.footer-contact-line {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    display: block;
    padding: 2px 0;
}
.footer-contact-line:hover { color: var(--c-gold-300); }
.footer-contact-line i { margin-left: 6px; color: var(--c-gold-300); }

.footer-cliq-card {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.18), rgba(11, 61, 107, 0.5));
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-md);
    padding: 1.2rem;
}
.cliq-label { color: rgba(255, 255, 255, 0.7); font-size: 0.82rem; margin-bottom: 8px; }
.cliq-handle {
    color: var(--c-gold-300);
    font-size: 1.3rem;
    font-weight: 900;
    font-family: var(--font-ar-display);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-cliq-copy {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    width: 100%;
    transition: all .2s ease;
}
.btn-cliq-copy:hover { background: var(--c-gold-500); color: #fff; border-color: var(--c-gold-500); }
.cliq-note {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}
.footer-social {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.footer-social-link {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
    font-size: 0.95rem;
}
.footer-social-link:hover {
    transform: translateY(-3px);
    color: #fff;
}
.footer-social-link.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}
.footer-social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    border-color: #dc2743;
    box-shadow: 0 6px 16px rgba(220, 39, 67, 0.4);
}
.footer-social-link.academy:hover {
    background: var(--c-gold-500);
    border-color: var(--c-gold-500);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.4);
}

/* Floating WhatsApp button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s ease-in-out infinite;
}
.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.7);
}
@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ===== Floating button ===== */
.floating-register-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: var(--grad-gold);
    color: #fff;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-family: var(--font-ar-display);
    box-shadow: 0 12px 32px rgba(217, 119, 6, 0.45);
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .3s ease;
    text-decoration: none;
}
.floating-register-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 18px 40px rgba(217, 119, 6, 0.6);
    color: #fff;
}

/* ===== Page header (subpages) ===== */
.page-header {
    background: var(--grad-hero);
    color: #fff;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.18), transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(251, 191, 36, 0.1), transparent 50%);
    pointer-events: none;
}
.page-header .container { position: relative; z-index: 2; }
.page-header-eyebrow {
    color: var(--c-gold-300);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.page-header-title {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 0.8rem;
}
.page-header-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 720px;
}
.breadcrumb-mini {
    background: transparent;
    padding: 0;
    margin: 0 0 1rem;
}
.breadcrumb-mini a { color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; }
.breadcrumb-mini a:hover { color: var(--c-gold-300); }
.breadcrumb-mini .sep { color: rgba(255, 255, 255, 0.4); margin: 0 6px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .nav-cta { margin-top: 1rem; }
    .conf-nav .nav-link { padding: 0.7rem 0.8rem !important; }
    .hero-badge-card { margin-top: 2rem; }
}
@media (max-width: 767.98px) {
    .conf-hero { padding: 4rem 0 5rem; }
    .conf-countdown { padding: 1.5rem; margin-top: -2.5rem; }
    .countdown-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
    .conf-form { padding: 1.8rem 1.4rem; }
    .success-card { padding: 2rem 1.5rem; }
    .floating-register-btn span { display: none; }
    .floating-register-btn { padding: 16px; }
}

/* ============================================
   ENHANCED MOBILE RESPONSIVE OVERRIDES
   Professional mobile-first improvements
   ============================================ */

/* ===== Tablet (≤991px) ===== */
@media (max-width: 991.98px) {
    .conf-topbar {
        font-size: 0.78rem;
    }
    .topbar-meta,
    .topbar-actions {
        font-size: 0.78rem;
    }
    .conf-brand .brand-text .brand-line-1 {
        font-size: 0.92rem;
    }
    .conf-brand .brand-text .brand-line-2 {
        font-size: 0.7rem;
    }
    .brand-emblem svg {
        width: 40px;
        height: 40px;
    }
    .conf-hero {
        padding: 3rem 0 4rem;
    }
    .hero-title {
        font-size: clamp(1.7rem, 5vw, 2.4rem);
        line-height: 1.25;
    }
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.75;
    }
    .hero-meta {
        gap: 0.6rem;
        flex-wrap: wrap;
    }
    .hero-meta-item {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    .hero-cta-group {
        flex-direction: column;
        gap: 0.7rem;
    }
        .hero-cta-group .btn-hero-primary,
        .hero-cta-group .btn-hero-secondary {
            width: 100%;
            justify-content: center;
            padding: 12px 18px;
            font-size: 0.95rem;
        }
    .hero-badge-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
    }
    .hero-badge-stat .num {
        font-size: 1.5rem;
    }
    .hero-badge-stat .lbl {
        font-size: 0.72rem;
    }
    .conf-section {
        padding: 3rem 0;
    }
    .section-title {
        font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    }
    .section-subtitle {
        font-size: 0.92rem;
        line-height: 1.7;
    }
    .partners-grid,
    .accred-grid,
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .package-card {
        padding: 1.4rem;
    }
    .stat-card {
        padding: 1.2rem;
    }
    .stat-card-num {
        font-size: 1.8rem;
    }
    .cliq-card {
        padding: 1.5rem;
    }
    .cliq-handle-display {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    .cliq-handle-display .handle-text {
        font-size: 1.1rem;
        text-align: center;
        padding: 10px;
    }
    .btn-cliq-copy {
        width: 100%;
        justify-content: center;
    }
    .nav-cta {
        flex-direction: column;
        gap: 0.4rem;
        width: 100%;
        margin-top: 1rem;
    }
    .nav-cta .btn {
        width: 100%;
        justify-content: center;
    }
    .conf-nav {
        flex-direction: column;
        gap: 0;
    }
    .conf-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .conf-nav .nav-link {
        padding: 0.85rem 0.5rem !important;
        font-size: 0.95rem;
    }
    .conf-footer .row > div {
        margin-bottom: 1.5rem;
    }
    .footer-contact-card {
        padding: 0.85rem;
    }
}

/* ===== Mobile Large (≤767px) ===== */
@media (max-width: 767.98px) {
    body {
        font-size: 0.95rem;
    }
    .container {
        padding-right: 1rem;
        padding-left: 1rem;
    }
    .conf-topbar {
        padding: 0.4rem 0;
    }
    .topbar-meta,
    .topbar-actions {
        font-size: 0.72rem;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .topbar-meta {
        flex-direction: column;
        gap: 4px;
    }
    .topbar-sep {
        display: none;
    }
    .conf-navbar {
        padding: 0.5rem 0;
    }
    .navbar-toggler {
        padding: 6px 10px;
        font-size: 1rem;
        border-color: var(--c-blue-500);
    }
    .conf-brand .brand-text .brand-line-1 {
        font-size: 0.85rem;
    }
    .conf-brand .brand-text .brand-line-2 {
        font-size: 0.65rem;
    }
    .brand-emblem svg {
        width: 36px;
        height: 36px;
    }
    .conf-hero {
        padding: 2.5rem 0 4rem;
        text-align: center;
    }
    .hero-eyebrow {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    .hero-title {
        font-size: clamp(1.55rem, 6vw, 2rem);
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    .hero-meta {
        justify-content: center;
        gap: 0.5rem;
    }
    .hero-meta-item {
        font-size: 0.74rem;
        padding: 5px 9px;
    }
    .hero-cta-group {
        flex-direction: column;
        gap: 0.6rem;
    }
    .hero-badge-card {
        padding: 1.5rem;
    }
    .hero-badge-eyebrow {
        font-size: 0.7rem;
    }
    .hero-badge-title {
        font-size: 1.1rem;
    }
    .hero-badge-meta {
        font-size: 0.85rem;
    }
    .hero-badge-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .hero-badge-stat {
        padding: 0.75rem 0.4rem;
    }
    .hero-badge-stat .num {
        font-size: 1.35rem;
    }
    .hero-badge-stat .lbl {
        font-size: 0.68rem;
    }
    .conf-countdown {
        padding: 1.2rem;
        margin-top: -2rem;
    }
    .countdown-label {
        font-size: 0.85rem;
        margin-bottom: 0.85rem;
    }
    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .countdown-cell .num {
        font-size: 1.7rem;
    }
    .countdown-cell .lbl {
        font-size: 0.7rem;
    }
    .conf-section {
        padding: 2.5rem 0;
    }
    .section-eyebrow {
        font-size: 0.75rem;
    }
    .section-title {
        font-size: clamp(1.3rem, 4.5vw, 1.6rem);
    }
    .section-subtitle {
        font-size: 0.88rem;
    }
    .section-divider {
        margin: 1rem auto;
    }
    .stat-card {
        padding: 1rem;
    }
    .stat-card-icon {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }
    .stat-card-num {
        font-size: 1.55rem;
    }
    .stat-card-lbl {
        font-size: 0.78rem;
    }
    .partner-card,
    .accred-card {
        padding: 1.4rem;
    }
    .partner-icon,
    .accred-badge {
        font-size: 1.8rem;
    }
    .partner-name,
    .accred-name {
        font-size: 1.05rem;
    }
    .package-card {
        padding: 1.2rem;
    }
    .package-title {
        font-size: 1.15rem;
    }
    .package-price .amount {
        font-size: 2rem;
    }
    .package-price .currency {
        font-size: 0.85rem;
    }
    .package-features li {
        font-size: 0.88rem;
        padding: 6px 0;
    }
    .package-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    .cliq-card {
        padding: 1.2rem;
    }
    .cliq-eyebrow,
    .cliq-title {
        font-size: 0.85rem;
    }
    .cliq-sub {
        font-size: 0.82rem;
    }
    .cliq-steps li {
        font-size: 0.85rem;
        padding: 6px 0;
    }
    .conf-form {
        padding: 1.4rem 1.1rem;
    }
    .conf-form .form-label {
        font-size: 0.88rem;
        margin-bottom: 4px;
    }
    .conf-form .form-control,
    .conf-form .form-select {
        font-size: 16px; /* لمنع التكبير التلقائي في iOS */
        padding: 10px 12px;
    }
    .conf-form .btn-submit {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    .page-header {
        padding: 3rem 0 2.5rem;
    }
    .page-header-eyebrow {
        font-size: 0.78rem;
    }
    .page-header-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .page-header-sub {
        font-size: 0.92rem;
    }
    .success-card {
        padding: 1.5rem 1.2rem;
    }
    .floating-register-btn {
        padding: 14px;
        bottom: 16px;
        left: 16px;
        font-size: 0;
    }
        .floating-register-btn i {
            font-size: 1.1rem;
        }
    .floating-whatsapp-btn {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
        font-size: 1.3rem;
    }
    /* جداول قابلة للتمرير أفقياً على الموبايل */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }
    /* تحسين قائمة الموبايل */
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
        padding-bottom: 1rem;
        background: #fff;
        border-radius: 12px;
        margin-top: 0.5rem;
        box-shadow: 0 10px 30px rgba(11, 61, 107, 0.15);
        padding: 0.5rem;
    }
    /* تحسين الفوتر على الموبايل */
    .conf-footer {
        padding: 2.5rem 0 1.5rem;
    }
    .footer-brand {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.75rem;
    }
    .footer-organizers {
        text-align: center;
    }
    .footer-links {
        list-style: none;
        padding: 0;
    }
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding-top: 1.5rem;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-admin-link {
        display: inline-block;
        margin-right: 6px;
    }
}

/* ===== Mobile Small (≤575px) ===== */
@media (max-width: 575.98px) {
    body {
        font-size: 0.9rem;
    }
    .container {
        padding-right: 0.85rem;
        padding-left: 0.85rem;
    }
    .topbar-meta {
        font-size: 0.7rem;
    }
    .topbar-actions {
        font-size: 0.7rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 8px;
    }
    .topbar-actions .topbar-phone,
    .topbar-actions .topbar-mail {
        font-size: 0.7rem;
    }
    .conf-brand .brand-text .brand-line-1 {
        font-size: 0.78rem;
    }
    .conf-brand .brand-text .brand-line-2 {
        font-size: 0.6rem;
    }
    .brand-emblem svg {
        width: 32px;
        height: 32px;
    }
    .navbar-toggler {
        padding: 4px 8px;
    }
    .conf-hero {
        padding: 2rem 0 3rem;
    }
    .hero-eyebrow {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    .hero-title {
        font-size: clamp(1.4rem, 7vw, 1.7rem);
        margin-bottom: 0.75rem;
    }
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.65;
    }
    .hero-meta {
        flex-direction: column;
        gap: 0.4rem;
        align-items: center;
    }
    .hero-meta-item {
        font-size: 0.72rem;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .hero-cta-group .btn-hero-primary,
    .hero-cta-group .btn-hero-secondary {
        font-size: 0.88rem;
        padding: 11px 14px;
    }
    .hero-badge-card {
        padding: 1.25rem 1rem;
    }
    .hero-badge-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .hero-badge-stat {
        padding: 0.6rem 0.3rem;
    }
    .hero-badge-stat .num {
        font-size: 1.2rem;
    }
    .hero-badge-stat .lbl {
        font-size: 0.62rem;
    }
    .conf-countdown {
        padding: 1rem 0.85rem;
        margin-top: -1.5rem;
    }
    .countdown-label {
        font-size: 0.78rem;
    }
    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .countdown-cell {
        padding: 0.7rem 0.4rem;
    }
    .countdown-cell .num {
        font-size: 1.4rem;
    }
    .countdown-cell .lbl {
        font-size: 0.65rem;
    }
    .conf-section {
        padding: 2rem 0;
    }
    .section-title {
        font-size: 1.25rem;
    }
    .section-subtitle {
        font-size: 0.85rem;
    }
    .section-eyebrow {
        font-size: 0.72rem;
    }
    .partners-grid,
    .accred-grid,
    .packages-grid {
        gap: 0.85rem;
    }
    .partner-card,
    .accred-card {
        padding: 1.2rem;
        text-align: center;
    }
    .partner-icon,
    .accred-badge {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    .partner-name,
    .accred-name {
        font-size: 1rem;
    }
    .partner-name-en,
    .accred-name-en {
        font-size: 0.78rem;
    }
    .package-card {
        padding: 1.1rem;
    }
    .package-title {
        font-size: 1.05rem;
    }
    .package-price .amount {
        font-size: 1.8rem;
    }
    .package-price .currency {
        font-size: 0.8rem;
    }
    .package-features li {
        font-size: 0.82rem;
        padding: 5px 0;
    }
    .package-btn {
        padding: 9px 14px;
        font-size: 0.85rem;
    }
    .package-ribbon {
        font-size: 0.7rem;
        padding: 4px 12px;
    }
    .stat-card {
        padding: 0.85rem;
    }
    .stat-card-icon {
        font-size: 1.2rem;
    }
    .stat-card-num {
        font-size: 1.3rem;
    }
    .stat-card-lbl {
        font-size: 0.72rem;
    }
    .cliq-card {
        padding: 1rem;
    }
    .cliq-handle-display .handle-text {
        font-size: 1rem;
    }
    .cliq-steps {
        padding-right: 1.2rem;
    }
    .cliq-steps li {
        font-size: 0.8rem;
        padding: 5px 0;
    }
    .conf-form {
        padding: 1.2rem 0.85rem;
    }
    .conf-form .form-label {
        font-size: 0.85rem;
    }
    .conf-form .form-control,
    .conf-form .form-select {
        font-size: 16px;
        padding: 9px 11px;
    }
    .conf-form .btn-submit {
        padding: 11px 18px;
        font-size: 0.9rem;
    }
    .page-header {
        padding: 2.5rem 0 2rem;
    }
    .page-header-title {
        font-size: 1.45rem;
    }
    .page-header-sub {
        font-size: 0.85rem;
    }
    .success-card {
        padding: 1.25rem 1rem;
    }
    .floating-register-btn {
        bottom: 12px;
        left: 12px;
        padding: 12px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        justify-content: center;
    }
    .floating-whatsapp-btn {
        bottom: 12px;
        right: 12px;
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
    }
}

/* ===== Extra small (≤380px) ===== */
@media (max-width: 380px) {
    .conf-brand .brand-text {
        display: none;
    }
    .brand-emblem svg {
        width: 36px;
        height: 36px;
    }
    .hero-title {
        font-size: 1.3rem;
    }
    .hero-badge-stats {
        grid-template-columns: 1fr;
    }
    .countdown-grid {
        grid-template-columns: 1fr;
    }
    .countdown-cell .num {
        font-size: 1.2rem;
    }
}

/* ===== Touch device optimizations ===== */
@media (hover: none) and (pointer: coarse) {
    .nav-link:hover,
    .package-card:hover,
    .partner-card:hover,
    .accred-card:hover,
    .stat-card:hover {
        transform: none;
    }
    .floating-register-btn:hover,
    .floating-whatsapp-btn:hover {
        transform: none;
    }
    /* أهداف لمس أكبر للأجهزة اللمسية */
    .btn,
    .nav-link,
    .package-btn,
    .btn-cliq-copy,
    .btn-hero-primary,
    .btn-hero-secondary {
        min-height: 44px;
    }
    .conf-form .form-control,
    .conf-form .form-select {
        min-height: 44px;
    }
}

/* ============================================
   V2.1 — CRITICAL MOBILE FIXES
   Solves Bootstrap row gutter overflow on small screens,
   ensures proper container width, fixes topbar/navbar scaling
   ============================================ */

/* Make sure html doesn't allow horizontal scroll */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Fix Bootstrap .row gutter overflow on small screens.
   g-5/g-4 add -1.5rem/-1rem negative margin which can push
   content past the viewport on narrow phones. */
@media (max-width: 767.98px) {
    .row.g-5,
    .row.g-4,
    .row.g-3,
    .row.g-2 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
        margin-right: -0.375rem;
        margin-left: -0.375rem;
    }
    .row.g-5 > *,
    .row.g-4 > *,
    .row.g-3 > *,
    .row.g-2 > * {
        padding-right: 0.375rem;
        padding-left: 0.375rem;
    }
}

@media (max-width: 380px) {
    .row.g-5,
    .row.g-4,
    .row.g-3,
    .row.g-2 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
        margin-right: -0.25rem;
        margin-left: -0.25rem;
    }
    .row.g-5 > *,
    .row.g-4 > *,
    .row.g-3 > *,
    .row.g-2 > * {
        padding-right: 0.25rem;
        padding-left: 0.25rem;
    }
}

/* Force the container to never exceed viewport width */
.container,
.container-fluid {
    max-width: 100% !important;
    padding-right: 1rem;
    padding-left: 1rem;
}

@media (max-width: 575.98px) {
    .container,
    .container-fluid {
        padding-right: 0.85rem;
        padding-left: 0.85rem;
    }
}

/* ===== Topbar: stack vertically on small phones ===== */
@media (max-width: 575.98px) {
    .conf-topbar .topbar-meta {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 8px;
        width: 100%;
        font-size: 0.7rem;
    }
    .conf-topbar .topbar-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 8px;
        width: 100%;
        font-size: 0.7rem;
    }
    .conf-topbar .d-flex {
        flex-direction: column;
        gap: 4px !important;
    }
}

/* ===== Navbar brand: hide secondary text on very small screens ===== */
@media (max-width: 480px) {
    .conf-brand .brand-text .brand-line-2 {
        display: none;
    }
    .conf-brand .brand-text .brand-line-1 {
        font-size: 0.78rem;
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 360px) {
    .conf-brand .brand-text .brand-line-1 {
        font-size: 0.72rem;
        max-width: 170px;
    }
    .brand-emblem svg {
        width: 30px;
        height: 30px;
    }
}

/* ===== Hero: ensure title doesn't overflow ===== */
.hero-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.4rem, 8vw, 1.8rem);
        line-height: 1.3;
    }
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.7;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .hero-eyebrow {
        font-size: 0.72rem;
        padding: 5px 10px;
        flex-wrap: wrap;
        word-break: break-word;
    }
}

/* ===== Forms: prevent iOS auto-zoom on input focus (16px font) ===== */
.conf-form .form-control,
.conf-form .form-select,
.conf-form input[type="text"],
.conf-form input[type="email"],
.conf-form input[type="tel"],
.conf-form input[type="date"],
.conf-form textarea,
.conf-form select {
    font-size: 16px !important;
}

/* ===== Floating buttons: ensure they don't overlap content ===== */
@media (max-width: 575.98px) {
    .floating-register-btn {
        bottom: 12px !important;
        left: 12px !important;
        width: 50px !important;
        height: 50px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0 !important;
    }
    .floating-register-btn i {
        font-size: 1.1rem !important;
    }
    .floating-whatsapp-btn {
        bottom: 12px !important;
        right: 12px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 1.3rem !important;
    }
    /* Add bottom padding to body so floating buttons don't cover content */
    body {
        padding-bottom: 70px;
    }
}

/* ===== CliQ card: prevent overflow of handle text ===== */
.cliq-handle-display {
    word-break: break-all;
    overflow-wrap: break-word;
}

.cliq-handle {
    word-break: break-all;
    overflow-wrap: break-word;
}

/* ===== Tables: always scrollable on mobile ===== */
@media (max-width: 767.98px) {
    .table-responsive {
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
    }
}

/* ===== Long Arabic words: prevent breaking layout ===== */
.hero-title,
.hero-subtitle,
.section-title,
.section-subtitle,
.package-title,
.benefit-title,
.partner-name,
.accred-name,
.cliq-handle-display .handle-text,
.footer-title,
.footer-contact-name,
.footer-contact-title,
.admin-card-title,
.admin-stat-lbl,
.page-header-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===== Footer: prevent overflow of long URLs/emails ===== */
.footer-contact-line {
    word-break: break-all;
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 100%;
}

/* ===== Print optimization for the public site ===== */
@media print {
    .conf-topbar,
    .conf-navbar,
    .floating-register-btn,
    .floating-whatsapp-btn,
    .nav-cta {
        display: none !important;
    }
    .conf-hero {
        padding: 1rem 0;
        color: #000;
        background: #fff !important;
    }
    .conf-section {
        padding: 1rem 0;
    }
    body {
        background: #fff;
    }
}

/* ===== Footer admin link ===== */
.footer-admin-link {
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
    margin-right: 8px;
    padding: 2px 8px;
    border-radius: 6px;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
    .footer-admin-link:hover {
        color: var(--c-gold-300);
        background: rgba(255,255,255,0.08);
    }


/* ============================================
   V3 — WORKSHOPS MULTI-SELECT PANEL
   ============================================ */
.workshops-panel {
    background: linear-gradient(135deg, #f8fbff 0%, #eef5fb 100%);
    border: 1.5px solid var(--c-blue-200, #bae0fd);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 14px rgba(11, 61, 107, 0.05);
    animation: workshopsFadeIn 0.3s ease-out;
}

@keyframes workshopsFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.workshops-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(11, 61, 107, 0.15);
}

.workshops-panel-head i {
    font-size: 1.4rem;
    color: var(--c-navy-700, #0369a1);
    background: #fff;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(11, 61, 107, 0.08);
}

.workshops-panel-title {
    font-family: var(--font-ar-display);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--c-navy-900, #0b3d6b);
    line-height: 1.3;
}

.workshops-panel-hint {
    font-size: 0.82rem;
    color: var(--t-2, #64748b);
    margin-top: 2px;
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.7rem;
}

.workshop-option {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    cursor: pointer;
    transition: all .2s ease;
    user-select: none;
}

.workshop-option:hover {
    border-color: var(--c-blue-400, #38bdf8);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.12);
    transform: translateY(-1px);
}

.workshop-option.selected {
    border-color: var(--c-blue-500, #0ea5e9);
    background: linear-gradient(135deg, #eff8ff 0%, #e0f2fe 100%);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.18);
}

.workshop-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.workshop-checkbox-mark {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 2px solid #cbd5e1;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
    transition: all .2s ease;
    background: #fff;
}

.workshop-checkbox-mark i {
    opacity: 0;
    transition: opacity .15s ease;
}

.workshop-option.selected .workshop-checkbox-mark {
    background: var(--grad-blue, linear-gradient(135deg, #0ea5e9, #0369a1));
    border-color: var(--c-blue-500, #0ea5e9);
}

.workshop-option.selected .workshop-checkbox-mark i {
    opacity: 1;
}

.workshop-label-text {
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--c-navy-800, #1e3a5f);
    line-height: 1.5;
}

.workshop-option.selected .workshop-label-text {
    color: var(--c-navy-900, #0b3d6b);
}

/* Mobile-friendly workshops panel */
@media (max-width: 767.98px) {
    .workshops-panel {
        padding: 1rem;
    }
    .workshops-panel-head {
        gap: 10px;
        margin-bottom: 1rem;
        padding-bottom: 0.85rem;
    }
    .workshops-panel-head i {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    .workshops-panel-title {
        font-size: 0.95rem;
    }
    .workshops-panel-hint {
        font-size: 0.76rem;
    }
    .workshops-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    .workshop-option {
        padding: 0.85rem 0.9rem;
        min-height: 44px;
    }
    .workshop-label-text {
        font-size: 0.88rem;
    }
    .workshop-checkbox-mark {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 380px) {
    .workshops-panel {
        padding: 0.85rem;
    }
    .workshop-option {
        padding: 0.75rem 0.8rem;
    }
    .workshop-label-text {
        font-size: 0.82rem;
    }
}
