               :root{
            /* Color Palette - Premium Blue Theme */
            --blue-1:#0b5c8a; /* Primary Dark Blue */
            --blue-2:#1376a6; /* Primary Medium Blue */
            --accent:#0f9bd6; /* Accent Light Blue */
            --bg:#f4f8fc; /* Background - slightly warmer */
            --card:#ffffff; /* Card Background */
            --muted:#6b7890; /* Muted Text */
            --text-color:#07203a;
            --gradient-primary: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%);
            --shadow-sm: 0 2px 8px rgba(7, 32, 58, 0.06);
            --shadow-md: 0 8px 30px rgba(7, 32, 58, 0.1);
            --shadow-lg: 0 20px 50px rgba(7, 32, 58, 0.15);
            --section-gap: 80px;
        }
       #toTop {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 998;
  background: #365d96;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  box-sizing: border-box;
}


       /* Splash Screen */
        .splash-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.25s ease-out, visibility 0.25s ease-out;
        }
        .splash-screen.hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }
        .splash-screen img {
            max-width: 280px;
            max-height: 120px;
            filter: brightness(0) invert(1);
        }
        .splash-screen .Conference-ar,
        .splash-screen .Conference-en {
            height: auto;
        }

        /* Language-specific logos */
        html[dir="rtl"] .Conference-en {
            display: none !important;
        }
        html[dir="rtl"] .Conference-ar {
            display: block;
        }
        html[dir="ltr"] .Conference-ar {
            display: none !important;
        }
        html[dir="ltr"] .Conference-en {
            display: block;
        }
        /* Language-specific files */
        html[dir="rtl"] .paper-en {
            display: none !important;
        }
        html[dir="rtl"] .paper-ar {
            display: block;
        }
        html[dir="ltr"] .paper-ar {
            display: none !important;
        }
        html[dir="ltr"] .paper-en {
            display: block;
        }






        .Conference-ar, .Conference-en {
            height: 45px;
            object-fit: contain;
        }


        /* Global Styles */
        html, body {
            height: 100%;
            margin: 0;
            font-family: 'Cairo', sans-serif;
            background: var(--bg);
            color: var(--text-color);
            line-height: 1.6;
            scroll-behavior: smooth;
            overflow-x: hidden;
        }
        a {
            color: var(--blue-2);
            text-decoration: none;
            transition: color 0.3s;
        }
        a:hover {
            color: var(--accent);
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .container h2{
            margin: 50px auto;
        }
        section {
            padding: 80px 0;
            margin-bottom: 20px;
        }
        section:last-of-type {
            margin-bottom: 0;
        }
        /* Lightweight CSS scroll animations */
        .gs-reveal {
            animation: fadeInUp 0.5s ease-out both;
        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        /* Stagger animations for cards within sections */
        .gs-reveal .card:nth-child(1) { animation-delay: 0.05s; }
        .gs-reveal .card:nth-child(2) { animation-delay: 0.1s; }
        .gs-reveal .card:nth-child(3) { animation-delay: 0.15s; }
        .gs-reveal .card:nth-child(4) { animation-delay: 0.2s; }
        .gs-reveal .card:nth-child(5) { animation-delay: 0.25s; }
        .gs-reveal .card:nth-child(6) { animation-delay: 0.3s; }

        /* Sponsors Banner */
        .sponsors-banner {
            background: var(--gradient-primary);
            padding: 30px 0 25px;
            position: relative;
            overflow: hidden;
        }
        .sponsors-title {
            text-align: center;
            color: #fff;
            font-size: 22px;
            font-weight: 700;
            margin: 0 0 20px;
            letter-spacing: 0.5px;
            opacity: 0.95;
        }
        .sponsors-track {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 50px;
            max-width: 900px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .sponsor-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            opacity: 0.4;
            transform: scale(0.9);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
        }
        .sponsor-item.active {
            opacity: 1;
            transform: scale(1);
        }
        .sponsor-item img {
            height: 50px;
            width: auto;
            max-width: 120px;
            object-fit: contain;
            filter: brightness(0) invert(1);
            transition: all 0.4s ease;
        }
        .sponsor-item.active img {
            height: 60px;
            max-width: 140px;
        }
        .sponsor-progress {
            position: absolute;
            bottom: -12px;
            left: 0;
            width: 0;
            height: 3px;
            background: #fff;
            border-radius: 3px;
            transition: width 0s linear;
        }
        .sponsor-item.active .sponsor-progress {
            animation: sponsorTimer 3s linear forwards;
        }
        @keyframes sponsorTimer {
            0% { width: 0; }
            100% { width: 100%; }
        }
        .sponsor-name {
            text-align: center;
            color: #fff;
            font-size: 18px;
            font-weight: 700;
            margin-top: 20px;
            min-height: 28px;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.4s ease;
        }
        .sponsor-name.visible {
            opacity: 1;
            transform: translateY(0);
        }
        @media (max-width: 768px) {
            .sponsors-track {
                gap: 25px;
            }
            .sponsor-item img {
                height: 35px;
                max-width: 80px;
            }
            .sponsor-item.active img {
                height: 45px;
                max-width: 100px;
            }
            .sponsor-name {
                font-size: 15px;
            }
        }

        h1, h2, h3, h4 {
            font-weight: 700;
            line-height: 1.2;
            margin-top: 0;
        }
        h2 {
            font-size: 36px;
            text-align: center;
            margin-bottom: 50px;
            color: var(--blue-1);
            position: relative;
            letter-spacing: -0.5px;
        }
        h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: var(--gradient-primary);
            margin: 12px auto 0;
            border-radius: 4px;
        }
        .section-subtitle {
            text-align: center;
            color: var(--muted);
            font-size: 18px;
            max-width: 600px;
            margin: -30px auto 50px;
            line-height: 1.7;
        }
        .card {
            background: var(--card);
            padding: 32px;
            border-radius: 20px;
            box-shadow: var(--shadow-md);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(7, 32, 58, 0.04);
        }
        .card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }
        .btn {
            padding: 14px 32px;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            font-weight: 700;
            font-size: 15px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-align: center;
            display: inline-block;
            letter-spacing: 0.3px;
        }
        .btn-primary {
            background: var(--gradient-primary);
            color: #fff;
            box-shadow: 0 4px 15px rgba(11, 92, 138, 0.3);
        }
        .btn-outline {
            background: transparent;
            border: 2px solid var(--blue-2);
            color: var(--blue-2);
        }
        @media (hover: hover) {
            .btn-primary:hover {
                transform: translateY(-2px);
                box-shadow: 0 8px 25px rgba(11, 92, 138, 0.4);
            }
            .btn-outline:hover {
                background: var(--blue-2);
                color: #fff;
                transform: translateY(-2px);
            }
        }
        .grid-3 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
        }
        .grid-2 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 30px;
        }
        .text-muted {
            color: var(--muted);
            font-size: 15px;
        }

        /* Header */
        header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: var(--card);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }
        header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 20px;
        }
        .brand {
            display: flex;
            gap: 12px;
            align-items: center;
            cursor: pointer;
        }
        .brand img {
            height: 55px;
            border-radius: 8px;
            object-fit: contain;
        }
        .brand img.Conference-ar,
        .brand img.Conference-en {
            height: 45px;
        }
        .brand {
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }
        .brand .logos {
            display: flex;
            gap: 12px;
            align-items: center;
        }
        .brand .meta {
            display: block;
            margin: 0;
            color: var(--muted);
            font-size: 13px;
            font-weight: 600;
            line-height: 1.4;
            text-align: center;
            width: 100%;
        }
        .titles {
            line-height: 1.2;
        }
        .titles h1 {
            font-size: 18px;
            margin: 0;
            font-weight: 800;
        }
        .titles p {
            margin: 0;
            color: var(--muted);
            font-size: 12px;
        }
        nav {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        nav a {
            padding: 8px 14px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            color: var(--text-color);
            white-space: nowrap;
            font-size: 14px;
        }
        nav a:hover {
            background: var(--bg);
        }
        nav .btn {
            padding: 10px 20px;
            font-size: 13px;
            white-space: nowrap;
        }

        /* Language Toggle Button */
        .lang-toggle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 44px;
            height: 36px;
            padding: 0 14px;
            background: var(--gradient-primary);
            color: #fff;
            border: none;
            border-radius: 10px;
            font-weight: 700;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 8px rgba(11, 92, 138, 0.25);
            letter-spacing: 0.5px;
        }
        .lang-toggle:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(11, 92, 138, 0.35);
        }
        .lang-toggle:active {
            transform: translateY(0);
        }

        /* Mobile Menu Toggle */
        .menu-toggle {
            display: none;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 8px;
            z-index: 200;
        }
        .menu-toggle span {
            display: block;
            width: 24px;
            height: 3px;
            background: var(--blue-1);
            border-radius: 2px;
            margin: 5px 0;
            transition: all 0.3s ease;
        }
        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }
        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }
        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        /* Full-screen Mobile Sidebar */
        .mobile-sidebar {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%);
            z-index: 150;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 20px;
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        html[dir="ltr"] .mobile-sidebar {
            right: auto;
            left: 0;
            transform: translateX(-100%);
        }
        .mobile-sidebar.open {
            transform: translateX(0) !important;
        }
        .mobile-sidebar a {
            color: #fff;
            font-size: 22px;
            font-weight: 700;
            padding: 12px 30px;
            border-radius: 10px;
            transition: background 0.3s;
        }
        .mobile-sidebar a:hover {
            background: rgba(255,255,255,0.15);
        }
        .mobile-sidebar .btn-primary {
            background: #fff;
            color: var(--blue-1);
            margin-top: 20px;
        }
        .mobile-sidebar .sidebar-lang {
            margin-top: 30px;
            padding: 12px 28px;
            border: 2px solid rgba(255,255,255,0.6);
            color: #fff;
            background: rgba(255,255,255,0.1);
            font-weight: 700;
            border-radius: 12px;
            cursor: pointer;
            font-size: 16px;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            backdrop-filter: blur(4px);
        }
        .mobile-sidebar .sidebar-lang:hover {
            background: rgba(255,255,255,0.2);
            border-color: #fff;
            transform: scale(1.05);
        }
        .sidebar-close {
            position: absolute;
            top: 20px;
            left: 20px;
            right: auto;
            width: 44px;
            height: 44px;
            background: rgba(255,255,255,0.1);
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 12px;
            color: #fff;
            font-size: 28px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            backdrop-filter: blur(4px);
        }
        .sidebar-close:hover {
            background: rgba(255,255,255,0.2);
            border-color: #fff;
            transform: scale(1.1);
        }
        html[dir="ltr"] .sidebar-close {
            left: auto;
            right: 20px;
        }

        /* Modal Styles */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 15px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        .modal.show {
            opacity: 1;
            visibility: visible;
        }
        .modal-content {
            background: var(--card);
            border-radius: 16px;
            max-width: 800px;
            width: 100%;
            max-height: 95vh;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }
        .modal.show .modal-content {
            transform: scale(1);
        }
        .modal-header {
            padding: 20px 24px;
            border-bottom: 1px solid rgba(7, 32, 58, 0.08);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(135deg, rgba(15,155,214,0.05) 0%, rgba(11,92,138,0.05) 100%);
            flex-shrink: 0;
        }
        .modal-header h2 {
            margin: 0;
            color: var(--blue-1);
            font-size: 20px;
            line-height: 1.3;
        }
        .modal-close {
            background: none;
            border: none;
            font-size: 28px;
            color: var(--muted);
            cursor: pointer;
            line-height: 1;
            padding: 0;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }
        .modal-close:hover {
            background: rgba(7, 32, 58, 0.05);
            color: var(--blue-1);
        }
        .modal-body {
            padding: 20px 24px;
            max-height: calc(95vh - 80px);
            overflow-y: auto;
            overflow-x: hidden;
        }
        .terms-content {
            line-height: 1.8;
        }
        .terms-section h3 {
            color: var(--blue-1);
            margin-bottom: 20px;
            font-size: 20px;
        }
        .terms-section ol {
            padding-right: 20px;
            margin: 0;
        }
        html[dir="ltr"] .terms-section ol {
            padding-right: 0;
            padding-left: 20px;
        }
        .terms-section li {
            margin-bottom: 12px;
            color: var(--text);
        }
        .terms-section li:last-child {
            margin-bottom: 0;
        }

        /* Mobile Modal Styles */
        @media (max-width: 768px) {
            .modal {
                padding: 0;
                align-items: center;
                justify-content: center;
            }
            .modal-content {
                width: calc(100% - 20px);
                max-width: calc(100% - 20px);
                max-height: 90vh;
                border-radius: 16px;
                margin: 10px;
                transform: scale(0.9);
                transition: transform 0.3s ease;
            }
            .modal.show .modal-content {
                transform: scale(1);
            }
            .modal-header {
                padding: 16px 20px;
            }
            .modal-header h2 {
                font-size: 18px;
            }
            .modal-close {
                width: 32px;
                height: 32px;
                font-size: 24px;
            }
            .modal-body {
                padding: 16px 20px;
                max-height: calc(90vh - 70px);
            }
            .terms-section h3 {
                font-size: 18px;
                margin-bottom: 16px;
            }
            .terms-section ol {
                padding-right: 15px;
            }
            html[dir="ltr"] .terms-section ol {
                padding-right: 0;
                padding-left: 15px;
            }
            .terms-section li {
                margin-bottom: 10px;
                font-size: 14px;
                line-height: 1.6;
            }
        }

        #lang-toggle {
            padding: 6px 10px;
            border: 2px solid var(--accent);
            color: var(--accent);
            background: transparent;
            font-weight: 700;
            margin-inline-start: 15px;
            cursor: pointer;
        }

        /* Hero Section */
        #hero {
            background: linear-gradient(135deg, rgba(11,92,138,0.97) 0%, rgba(19,118,166,0.95) 50%, rgba(15,155,214,0.9) 100%);
            color: #fff;
            padding: 120px 0 100px;
            text-align: center;
            margin-bottom: 0;
            position: relative;
            overflow: hidden;
        }
        #hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 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");
            pointer-events: none;
        }
        #hero .container {
            position: relative;
            z-index: 1;
        }
        #hero h1 {
            font-size: 52px;
            margin-bottom: 16px;
            font-weight: 800;
            letter-spacing: -1px;
            text-shadow: 0 2px 20px rgba(0,0,0,0.2);
        }
        #hero p.subtitle {
            font-size: 20px;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 0;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
        }
        #hero .buttons {
            display: flex;
            justify-content: center;
            gap: 16px;
            margin-top: 40px;
        }
        #hero .btn-primary {
            background: #fff;
            color: var(--blue-1);
            box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        }
        #hero .btn-primary:hover {
            background: #f0f7ff;
            box-shadow: 0 8px 30px rgba(0,0,0,0.25);
        }
        #hero .btn-outline {
            border-color: rgba(255, 255, 255, 0.5);
            color: #fff;
            backdrop-filter: blur(10px);
        }
        #hero .btn-outline:hover {
            background: #fff;
            color: var(--blue-1);
            border-color: #fff;
        }

        /* Countdown */
        .countdown {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 50px;
        }
        .cd-item {
            background: rgba(255, 255, 255, 0.12);
            padding: 20px 28px;
            border-radius: 16px;
            min-width: 100px;
            text-align: center;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }
        .cd-item:hover {
            background: rgba(255, 255, 255, 0.18);
            transform: translateY(-2px);
        }
        .cd-item strong {
            display: block;
            font-size: 36px;
            font-weight: 800;
            line-height: 1;
        }
        .cd-item span {
            font-size: 14px;
            opacity: 0.85;
            margin-top: 8px;
            display: block;
            font-weight: 500;
        }

        /* Patronage Section */
        #patronage {
            margin-top: 60px;
        }
        #patronage .patrons {
            text-align: center;
            padding: 20px 0;
            border-bottom: 2px solid var(--blue-1);
            margin-bottom: 30px;
        }
        #patronage h3 {
            color: var(--blue-1);
            margin-bottom: 20px;
            font-size: 26px;
            position: relative;
            display: inline-block;
        }
        #patronage h3::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 3px;
            background: var(--accent);
            border-radius: 2px;
        }
        .person-list {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 40px;
            margin-top: 30px;
        }
        .person {
            flex-basis: 280px;
            text-align: center;
            border-right: 2px solid var(--accent);
            padding-inline-end: 30px;
            transition: all 0.3s ease;
        }
        .person:last-child {
            border-right: none;
            padding-inline-end: 0;
        }
        html[dir="ltr"] .person {
            border-right: none;
            border-left: 2px solid var(--accent);
            padding-inline-end: 0;
            padding-inline-start: 30px;
        }
        html[dir="ltr"] .person:last-child {
            border-left: none;
            padding-inline-start: 0;
        }
        .person p {
            margin: 6px 0;
            line-height: 1.5;
        }
        .person .role {
            font-weight: 700;
            color: var(--blue-2);
            font-size: 15px;
            margin-bottom: 8px;
        }

        /* Themes */
        .theme-item {
            display: flex;
            align-items: flex-start;
            gap: 18px;
            padding: 24px;
            border-left: 4px solid var(--accent);
            border-radius: 16px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: var(--card);
        }
        html[dir="rtl"] .theme-item {
            border-left: none;
            border-right: 4px solid var(--accent);
        }
        .theme-item:hover {
            border-color: var(--blue-1);
            transform: translateX(-4px);
        }
        html[dir="rtl"] .theme-item:hover {
            transform: translateX(4px);
        }
        .theme-item h4 {
            margin-bottom: 0;
            font-size: 17px;
            color: var(--blue-1);
            line-height: 1.5;
        }
        .theme-item .icon {
            color: var(--blue-1);
            font-size: 28px;
            line-height: 1;
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(15,155,214,0.1) 0%, rgba(11,92,138,0.1) 100%);
            border-radius: 12px;
        }

        /* Panels/Speakers */
        #panels .panel-card {
            margin-bottom: 30px;
            padding-bottom: 30px;
            border-bottom: 1px solid rgba(7, 32, 58, 0.08);
        }
        #panels .panel-card:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        #panels h3 {
            color: var(--blue-1);
            font-size: 20px;
            margin-bottom: 8px;
            font-weight: 700;
        }
        .speakers-list {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 16px;
        }
        .speaker-tag {
            background: linear-gradient(135deg, rgba(15,155,214,0.08) 0%, rgba(11,92,138,0.08) 100%);
            padding: 10px 16px;
            border-radius: 10px;
            font-size: 14px;
            color: var(--blue-1);
            font-weight: 600;
            border: 1px solid rgba(15,155,214,0.15);
            transition: all 0.3s ease;
        }
        .speaker-tag:hover {
            background: linear-gradient(135deg, rgba(15,155,214,0.15) 0%, rgba(11,92,138,0.15) 100%);
            transform: translateY(-2px);
        }

        /* Fees Table */
        .table-wrapper {
            overflow-x: auto;
            border-radius: 16px;
            box-shadow: var(--shadow-sm);
        }
        #fees table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 24px;
            text-align: center;
            min-width: 600px;
        }
        #fees th, #fees td {
            padding: 18px 16px;
            border-bottom: 1px solid rgba(7, 32, 58, 0.06);
            transition: background-color 0.3s;
        }
        #fees th {
            background: var(--gradient-primary);
            color: #fff;
            font-weight: 700;
            font-size: 15px;
        }
        #fees th:first-child {
            border-radius: 12px 0 0 0;
        }
        #fees th:last-child {
            border-radius: 0 12px 0 0;
        }
        html[dir="rtl"] #fees th:first-child {
            border-radius: 0 12px 0 0;
        }
        html[dir="rtl"] #fees th:last-child {
            border-radius: 12px 0 0 0;
        }
        #fees tbody tr {
            transition: all 0.3s ease;
        }
        #fees tbody tr:hover {
            background: rgba(15,155,214,0.05);
        }
        #fees tr:nth-child(even) {
            background: rgba(247, 251, 255, 0.7);
        }
        #fees td:first-child {
            text-align: start;
            font-weight: 600;
            color: var(--blue-1);
        }
        #fees tbody tr:last-child td:first-child {
            border-radius: 0 0 0 12px;
        }
        #fees tbody tr:last-child td:last-child {
            border-radius: 0 0 12px 0;
        }
        html[dir="rtl"] #fees tbody tr:last-child td:first-child {
            border-radius: 0 0 12px 0;
        }
        html[dir="rtl"] #fees tbody tr:last-child td:last-child {
            border-radius: 0 0 0 12px;
        }

        /* Registration Form */
        #register-form {
            position: relative;
        }
        #register-form::before {
            content: '';
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }
        #register-form .form-group {
            margin-bottom: 20px;
        }
        #register-form input[type="text"], 
        #register-form input[type="email"], 
        #register-form select,
        #register-form input[type="file"] {
            width: 100%;
            padding: 14px 16px;
            border-radius: 12px;
            border: 2px solid rgba(7, 32, 58, 0.08);
            font-size: 15px;
            box-sizing: border-box;
            background: var(--bg);
            font-family: 'Cairo', sans-serif;
            transition: all 0.3s ease;
        }
        #register-form input:focus,
        #register-form select:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 4px rgba(15,155,214,0.1);
        }
        #register-form label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--blue-1);
            font-size: 14px;
        }

        /* Footer */
        footer {
            background: var(--gradient-primary);
            color: rgba(255, 255, 255, 0.9);
            padding: 50px 0 40px;
            text-align: center;
            font-size: 15px;
            margin-top: 60px;
        }
        footer p {
            margin: 8px 0;
        }
        footer a {
            color: #fff;
            font-weight: 600;
            transition: opacity 0.3s;
        }
        footer a:hover {
            opacity: 0.8;
        }

        /* Responsive adjustments */
        @media (max-width: 900px) {
            .menu-toggle {
                display: block;
            }
            header nav {
                display: none;
            }
            header .container {
                padding: 12px 16px;
            }
            .brand {
                flex-direction: column;
                align-items: center;
            }
            .brand .logos {
                flex-wrap: wrap;
                justify-content: center;
            }
            .brand .meta {
                margin-top: 8px;
                font-size: 11px;
            }
            .titles h1 {
                font-size: 14px;
            }
            .titles p {
                font-size: 11px;
            }
            .brand img {
                height: 48px;
            }
            #hero {
                padding: 80px 0 70px;
            }
            #hero h1 {
                font-size: 32px;
                letter-spacing: -0.5px;
            }
            #hero p.subtitle {
                font-size: 16px;
            }
            #hero .buttons {
                flex-direction: column;
                align-items: center;
                gap: 12px;
            }
            .countdown {
                flex-wrap: wrap;
                gap: 12px;
                justify-content: center;
            }
            .cd-item {
                min-width: 80px;
                padding: 16px 20px;
            }
            .cd-item strong {
                font-size: 28px;
            }
            section {
                padding: 50px 0;
                margin-bottom: 10px;
            }
            h2 {
                font-size: 26px;
                margin-bottom: 35px;
            }
            .grid-3, .grid-2 {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .card {
                padding: 24px;
                width: 100%;
                box-sizing: border-box; /* Prevent overflow */
            }
            /* Force all cards to be same width on mobile */
            .grid-3 .card,
            .grid-2 .card {
                grid-column: span 1 !important;
                max-width: 100% !important;
                box-sizing: border-box; /* Prevent overflow */
            }
            /* Center register section specifically */
            #register {
                overflow-x: hidden; /* Prevent horizontal overflow */
            }
            #register .container {
                padding-left: 16px;
                padding-right: 16px;
                max-width: 100%;
                box-sizing: border-box;
            }
            #register .grid-3 {
                max-width: 100%;
                margin: 0 auto;
                box-sizing: border-box;
            }
            #register .card {
                box-sizing: border-box;
                overflow-x: hidden; /* Prevent card overflow */
            }
            #register .table-wrapper {
                margin: 0 -16px; /* Compensate for container padding */
                padding: 0 16px; /* Add padding back for visual balance */
            }
            .person {
                border-right: none !important;
                border-left: none !important;
                padding: 15px 0;
                width: 100%;
                border-bottom: 1px solid rgba(7, 32, 58, 0.08);
            }
            .person:last-child {
                border-bottom: none;
            }
            .person-list {
                gap: 0;
            }
            footer {
                padding: 40px 0 30px;
                margin-top: 40px;
            }
        }

        @media (max-width: 600px) {
            .container {
                padding: 0 16px;
            }
            .brand .meta {
                font-size: 10px;
                margin-top: 6px;
            }
            .brand img {
                height: 40px;
            }
            .brand img.Conference-ar,
            .brand img.Conference-en {
                height: 35px;
            }
            #hero {
                padding: 70px 0 60px;
            }
            #hero h1 {
                font-size: 26px;
            }
            #hero p.subtitle {
                font-size: 14px;
            }
            .btn {
                padding: 12px 24px;
                font-size: 14px;
            }
            .card {
                padding: 20px;
                border-radius: 16px;
            }
            h2 {
                font-size: 22px;
                margin-bottom: 30px;
            }
            .cd-item {
                min-width: 70px;
                padding: 14px 16px;
            }
            .cd-item strong {
                font-size: 24px;
            }
            .theme-item {
                padding: 16px;
            }
            .theme-item h4 {
                font-size: 15px;
            }
            .theme-item .icon {
                width: 38px;
                height: 38px;
                font-size: 22px;
            }
            .speaker-tag {
                font-size: 13px;
                padding: 8px 12px;
            }
            #panels .panel-card {
                margin-bottom: 24px;
                padding-bottom: 24px;
            }
            #register-form::before {
                display: none;
            }
            footer {
                font-size: 14px;
            }
        }

/* Status Modal Styles */
.status-content {
    text-align: center;
    padding: 40px !important;
    max-width: 400px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.status-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: none;
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.status-icon.success {
    color: #28a745;
    display: block;
}

.status-icon.error {
    color: #dc3545;
    display: block;
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

#statusTitle {
    margin: 10px 0;
    color: var(--text-color);
    font-size: 20px;
}

#statusMessage {
    color: var(--muted);
    margin-bottom: 25px;
    line-height: 1.5;
}
