:root {
    --ck-primary: #1e266d;
    --ck-primary-dark: #151b4a;
    --ck-primary-soft: rgba(30, 38, 109, 0.12);
    --ck-accent: #ffb703;
    --ck-accent-soft: rgba(255, 183, 3, 0.12);
    --ck-bg: #050717;
    --ck-soft-bg: #f6f7fb;
    --ck-radius-xl: 24px;
    --ck-radius-lg: 18px;
    --ck-radius-md: 12px;
}

/* Reset-ish */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
    color: #1c1c1c;
    padding-top: 72px; /* space for fixed navbar */
}

body.rtl {
    font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-wrapper {
    min-height: 100vh;
}

/* NAVBAR */

.ck-nav {
     
    
}

.ck-nav .navbar-brand {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.ck-nav .navbar-brand:hover {
    color: #ffffff;
}

.ck-logo {
    height: 45px;
    width: auto;
}

.navbar-nav .nav-link {
    color: #1e266d;
    font-size: 0.92rem;
    margin-inline: 6px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #222;
}

/* CSS */
.button-85 {
  padding: 0.6em 2em;
  border: none;
  outline: none;
    border-radius: 999px;
  cursor: pointer;
  position: relative;
  z-index: 0;
  
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-85:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-button-85 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 999px;
}

@keyframes glowing-button-85 {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.button-85:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #fff;
  left: 0;
  top: 0; border-radius: 999px;
}

.label-box { 
    color: #1e266d;
}

/* Lang toggle buttons */
.btn-lang {
    border-radius: 999px !important;
    padding-inline: 14px !important;
    font-size: 0.8rem !important;
    border: 1px solid 1px solid  var(--ck-primary) !important;
    color: ar(--ck-primary) !important;
    background: transparent !important;
}

.btn-lang.active {
    background: var(--ck-primary) !important;
    color: #fff;
}

/* HERO */

.hero-section {
    position: relative;
    padding: 5rem 0 4.5rem;
    background: radial-gradient(circle at top left, #26308b 0, #050717 50%, #02030a 100%);
    color: #ffffff;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1400&q=70");
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 0%, rgba(255, 183, 3, 0.25), transparent 55%),
                radial-gradient(circle at 90% 100%, rgba(56, 189, 248, 0.3), transparent 55%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.ck-badge {
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-title {
    font-size: clamp(2.1rem, 2.8vw + 1.1rem, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
}

.hero-highlight {
    color: var(--ck-accent);
}

.hero-subtitle {
    max-width: 580px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.86);
}

/* Countdown */

.countdown-wrapper {
    max-width: 480px;
}

.countdown-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
}

.countdown {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.time-box {
    flex: 1 1 70px;
    min-width: 70px;
    padding: 10px 8px;
    background: rgba(3, 7, 26, 0.85);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
}

.time {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
}

.time-box .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.65);
}

/* Hero buttons */

.btn-cta-primary {
    background: linear-gradient(120deg, var(--ck-accent), #ffd166);
    color: #151515;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.btn-cta-primary:hover {
    filter: brightness(1.05);
    color: #111111;
}

.hero-meta {
    margin-top: 1.2rem;
    font-size: 0.85rem;
}

.hero-meta-number {
    font-size: 1.1rem;
    font-weight: 600;
}

.hero-meta-label {
    color: rgba(255, 255, 255, 0.76);
}

/* Hero card */

.hero-card {
    background: rgba(5, 7, 23, 0.9);
    border-radius: var(--ck-radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.hero-card-body {
    padding: 1.5rem 1.6rem 1.4rem;
}

.hero-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.hero-card-text {
    font-size: 0.9rem;
    color: rgba(241, 245, 249, 0.86);
}

.hero-card-list {
    margin: 0.8rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.88rem;
    color: rgba(226, 232, 240, 0.92);
}

.hero-card-list li + li {
    margin-top: 0.25rem;
}

/* Floating badges */

.floating-badge {
    position: absolute;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.7);
    backdrop-filter: blur(16px);
}

.fb-1 {
    top: 18%;
    left: 5%;
}

.fb-2 {
    top: 70%;
    right: 4%;
}

.fb-3 {
    bottom: 10%;
    left: 35%;
}

/* Sections */

.section-padding {
    padding: 4.5rem 0;
}

.bg-soft {
    background: var(--ck-soft-bg);
}

.bg-gradient-bottom {
    background: linear-gradient(135deg, var(--ck-primary-dark), #020617);
}

/* Section header */

.section-header {
    text-align: left;
}

.section-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--ck-primary-dark);
}

.section-subtitle {
    margin-top: 0.4rem;
    max-width: 640px;
    font-size: 0.96rem;
    color: #6b7280;
}

/* Contests */

.contest-card {
    background: #ffffff;
    border-radius: var(--ck-radius-lg);
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
    display: flex;
    flex-direction: column;
}

.contest-thumb {
    height: 170px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f9fafb;
}

.contest-body {
    padding: 1.3rem 1.3rem 1.2rem;
}

.contest-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.contest-text {
    font-size: 0.9rem;
    color: #4b5563;
}

.contest-meta-list {
    margin: 0.7rem 0 0.4rem;
    padding-left: 1.1rem;
    font-size: 0.86rem;
    color: #6b7280;
}

.contest-meta-list li + li {
    margin-top: 0.15rem;
}

.btn-contest {
    background: var(--ck-primary);
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.9rem;
    border: none;
}

.btn-contest:hover {
    background: #111827;
    color: #ffffff;
}

/* Tag badges */

.bg-primary-soft {
    background: var(--ck-primary-soft);
}

/* Steps */

.step-card {
    background: #ffffff;
    border-radius: var(--ck-radius-lg);
    padding: 1.4rem 1.4rem 1.3rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.step-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ck-primary);
    margin-bottom: 0.3rem;
}

.step-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.step-text {
    font-size: 0.9rem;
    color: #4b5563;
}

/* Features */

.feature-card {
    background: #ffffff;
    border-radius: var(--ck-radius-lg);
    padding: 1.4rem 1.4rem 1.3rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--ck-primary-dark);
}

.feature-text {
    font-size: 0.9rem;
    color: #4b5563;
}

/* FAQ */

.accordion-item {
    border-radius: var(--ck-radius-md) !important;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.35) !important;
    margin-bottom: 0.6rem;
}

.accordion-button {
    font-size: 0.95rem;
}

.accordion-button:not(.collapsed) {
    background: var(--ck-primary-soft);
    color: var(--ck-primary-dark);
}

/* Contact section */

.bg-gradient-bottom .section-title {
    color: #ffffff;
}

.bg-gradient-bottom .section-subtitle {
    color: rgba(229, 231, 235, 0.8);
}

/* Footer */

.ck-footer {
    padding: 1.3rem 0;
    background: #020617;
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.8rem;
}

/* Lang Sections */

.lang-section {
    display: none;
}

.lang-section.active {
    display: block;
}

/* RTL tuning */

body.rtl .section-header {
    text-align: right;
}

body.rtl .section-subtitle {
    margin-left: 0;
    margin-right: 0;
}

body.rtl .contest-meta-list,
body.rtl .hero-card-list {
    padding-right: 1.1rem;
    padding-left: 0;
}

/* Responsive */

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 4rem;
        padding-bottom: 3.5rem;
    }

    .hero-card-img {
        height: 190px;
    }

    .floating-badge {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-meta {
        gap: 1.2rem;
    }

    .section-padding {
        padding: 3.5rem 0;
    }

    .contest-thumb {
        height: 150px;
    }
}
.lang-section {
    display: none !important;
}

.lang-section.active {
    display: block !important;
}

.video-bg {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 16px;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fixed-top { 
    background: #fff;
}



 .badge.bg-primary-soft {
    float: right;
}

 .rtl .badge.bg-primary-soft {
    float: left;
}


.form-label {
    display: block !important;
    width: 100% !important;
    margin-bottom: 6px;
}

.iti {
    width: 100% !important;
}

.iti--allow-dropdown input {
    width: 100% !important;
}

 #phoneAr {
    direction: rtl !important;
    text-align: right !important;
}

#phoneEn {
    direction: ltr !important;
    text-align: left !important;
}