/* ============================================================
   ALGERIA JOB SUMMIT 2026 — PREMIUM UI ENHANCEMENTS
   ============================================================ */

/* --- Google Font Upgrade --- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&display=swap');

/* ── GLOBAL TOKEN OVERRIDES ───────────────────────────────── */
:root {
  --ajs-blue:      #00244b;
  --ajs-blue-2:    #007bff;
  --ajs-bluewhite: #fefefe;
  --ajs-gold:      #b98952;
  --ajs-gold-2:    #d8b07a;
  --ajs-soft:      #f5efe6;
  --ajs-border:    rgba(31, 58, 86, 0.14);
  --ajs-shadow:    0 24px 64px -12px rgba(31, 58, 86, 0.2);
  --ajs-glow:      0 0 40px rgba(196, 104, 59, 0.2);
  --ajs-radius:    20px;
  --ajs-ease:      cubic-bezier(0.165, 0.84, 0.44, 1);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Sora', 'Inter', system-ui, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── SCROLL BAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--ajs-blue); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--ajs-blue-2); }

/* ── SCROLL-IN REVEAL (BG IMAGES) ────────────────────────── */
[data-bg] { background-size: cover; background-position: center; opacity: 0; transition: opacity 0.7s ease; }
[data-bg].bg-loaded { opacity: 1; }

/* ── LOADING SCREEN OVERRIDE ─────────────────────────────── */
.loading-screen {
  background: #ffffff !important;
  z-index: 9999;
}

/* ── GLOBAL PAGE REVEAL ───────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ajs-ease), transform 0.9s var(--ajs-ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── SECTION TYPOGRAPHY ───────────────────────────────────── */
.section-tag-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: linear-gradient(135deg, rgba(30,58,138,0.08), rgba(45,85,200,0.06));
  border: 1px solid var(--ajs-border);
  border-radius: 999px;
  color: var(--ajs-blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.section-tag-modern::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ajs-blue);
  display: inline-block;
}

.text-gradient {
  background: linear-gradient(135deg, var(--ajs-blue) 0%, #7c5f42 58%, var(--ajs-gold-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HERO MODERN OVERRIDES ────────────────────────────────── */
.hero-modern {
  background: #fff;
  padding: 160px 0 120px;
  min-height: 100vh;
  position: relative;
}

.hero-bg-accent {
  background: radial-gradient(ellipse at top right, rgba(30, 58, 138, 0.06) 0%, transparent 65%) !important;
}
.hero-bg-accent-2 {
  background: radial-gradient(ellipse at bottom left, rgba(245, 158, 11, 0.06) 0%, transparent 65%) !important;
}

/* Animated grid pattern */
.hero-mesh {
  background-image:
    linear-gradient(to right, rgba(30,58,138,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30,58,138,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-eyebrow {
  border: 1px solid rgba(30,58,138,0.18) !important;
  background: rgba(30,58,138,0.06) !important;
  animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30,58,138,0); }
  50% { box-shadow: 0 0 0 6px rgba(30,58,138,0.06); }
}

.viva-date-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ajs-blue);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: -3px !important;
  color: #0f172a !important;
}

.hero-subtitle {
  font-size: 1.15rem !important;
  color: #475569 !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
}

/* CTA Buttons */
.btn-premium {
  padding: 16px 36px !important;
  background: linear-gradient(135deg, var(--ajs-blue) 0%, var(--ajs-blue-2) 100%) !important;
  border-radius: 14px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
  box-shadow: 0 12px 32px -8px rgba(30,58,138,0.4), inset 0 1px 0 rgba(255,255,255,0.15) !important;
  transition: all 0.35s var(--ajs-ease) !important;
  position: relative;
  overflow: hidden;
}
.btn-premium::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.5s ease;
}
.btn-premium:hover::before { left: 100%; }
.btn-premium:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 20px 48px -8px rgba(30,58,138,0.5) !important;
}

.btn-secondary-outline {
  border: 2px solid #e2e8f0 !important;
  border-radius: 14px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  transition: all 0.3s var(--ajs-ease) !important;
}
.btn-secondary-outline:hover {
  background: var(--ajs-soft) !important;
  border-color: var(--ajs-blue) !important;
  color: var(--ajs-blue) !important;
  transform: translateY(-4px) !important;
}

/* Hero Video Frame */
.visual-frame {
  border-radius: 28px !important;
  box-shadow: var(--ajs-shadow), 0 0 0 1px var(--ajs-border) !important;
  background: linear-gradient(135deg, #0f172a, #1e3a8a) !important;
  transition: transform 0.8s var(--ajs-ease) !important;
}

.visual-floating-card {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(24px) saturate(200%) !important;
  border: 1px solid rgba(255,255,255,0.6) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 48px rgba(0,0,0,0.12) !important;
}

.stat-val { color: var(--ajs-blue) !important; }
.stat-lbl { color: #64748b !important; }

/* ── GRID SECTION CARDS ───────────────────────────────────── */
.modern-grid-section { background: transparent !important; }

.grid-card {
  border-radius: 24px !important;
  border: 1px solid #e8edf5 !important;
  transition: all 0.4s var(--ajs-ease) !important;
  position: relative;
  overflow: hidden;
}
.grid-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(30,58,138,0.03), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.grid-card:hover::before { opacity: 1; }
.grid-card:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 40px 80px -20px rgba(30,58,138,0.15) !important;
  border-color: rgba(30,58,138,0.2) !important;
}

.card-icon-modern {
  width: 60px !important; height: 60px !important;
  background: linear-gradient(135deg, rgba(30,58,138,0.08), rgba(45,85,200,0.05)) !important;
  border-radius: 16px !important;
  transition: all 0.4s var(--ajs-ease) !important;
}
.grid-card:hover .card-icon-modern {
  background: linear-gradient(135deg, var(--ajs-blue), var(--ajs-blue-2)) !important;
  color: #fff !important;
  transform: rotateY(180deg) scale(1.1) !important;
}

/* ── COUNTDOWN SECTION — Brand white + professional blue ── */
.countdown-section {
  background: transparent !important;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  padding: 120px 0 !important;
}
.countdown-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(ellipse 90% 70% at 12% 18%, rgba(237, 149, 43, 0.03) 0%, transparent 55%),
    radial-gradient(ellipse 75% 60% at 88% 12%, rgba(59, 130, 246, 0.03) 0%, transparent 52%);
}

.countdown-wrapper {
  position: relative;
  z-index: 2;
}

.countdown-title span {
  background: linear-gradient(105deg, #1e293b 0%, #334155 40%, #ed952b 70%, #ff6b00 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  text-shadow: none !important;
}

.countdown-title::after {
  background: linear-gradient(90deg, transparent, #ed952b, #ff6b00, transparent) !important;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.1) !important;
  height: 3px !important;
  width: 120px !important;
}

.countdown-divider {
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(33, 64, 154, 0.1) 20%, 
    rgba(237, 149, 43, 0.2) 50%, 
    rgba(33, 64, 154, 0.1) 80%, 
    transparent 100%
  ) !important;
  height: 1px !important;
  opacity: 1 !important;
  margin: 3.5rem auto 1.5rem !important;
}

.countdown-date-label span {
  color: #475569 !important;
  letter-spacing: 0.15em !important;
  font-weight: 700 !important;
}

.cd-label {
  color: #64748b !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cd-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05) !important;
  border-radius: 20px !important;
  transition: all 0.4s var(--ajs-ease) !important;
}
.cd-card:hover {
  background: #ffffff !important;
  border-color: rgba(237, 149, 43, 0.5) !important;
  box-shadow: 0 20px 40px -10px rgba(237, 149, 43, 0.15) !important;
  transform: translateY(-8px) !important;
}

.cd-card__glow {
  background: linear-gradient(90deg, #3b82f6, #fbbf24) !important;
  opacity: 0.1 !important;
}

.cd-digit {
  background: linear-gradient(135deg, #1e3a8a 0%, #ed952b 50%, #ff6b00 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 800 !important;
}

[data-unit="seconds"] .cd-digit {
  background: linear-gradient(135deg, #ed952b 0%, #ff6b00 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.cd-card__ring--1 {
  border-color: rgba(33, 64, 154, 0.1) !important;
}
.cd-card__ring--2 {
  border-color: rgba(237, 149, 43, 0.1) !important;
}

/* Countdown CTAs — Light Theme Updates */
.countdown-actions .cd-btn-visitor {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
}
.countdown-actions .cd-btn-visitor span { color: #1e293b !important; }

.countdown-actions .cd-btn-visitor:hover {
  background: #e2e8f0 !important;
  border-color: #ed952b !important;
  transform: translateY(-4px) !important;
}

.countdown-section .countdown-particles {
  opacity: 0.05 !important;
}

/* Pulse each second — works with gradient title */
.countdown-title.pulse-glow span {
  animation: ajsCountdownTitlePulse 0.55s ease-out !important;
}
@keyframes ajsCountdownTitlePulse {
  0%, 100% {
    filter: drop-shadow(0 2px 15px rgba(237, 149, 43, 0.35)) drop-shadow(0 4px 25px rgba(33, 64, 154, 0.2));
  }
  50% {
    filter: drop-shadow(0 4px 30px rgba(237, 149, 43, 0.6)) drop-shadow(0 6px 40px rgba(51, 102, 204, 0.4));
  }
}

/* ── ABOUT SECTION ────────────────────────────────────────── */
.about-modern-section { background: transparent !important; }

.about-img-main {
  border-radius: 36px !important;
  box-shadow: var(--ajs-shadow) !important;
  transition: transform 0.6s var(--ajs-ease) !important;
}
.about-img-main:hover { transform: scale(1.02) !important; }

.about-img-sub {
  border-radius: 26px !important;
  border: 6px solid #fff !important;
  box-shadow: 0 20px 48px rgba(0,0,0,0.12) !important;
  transition: transform 0.5s var(--ajs-ease) !important;
}
.about-img-sub:hover { transform: scale(1.04) rotateZ(-1deg) !important; }

.about-experience-badge {
  background: linear-gradient(135deg, var(--ajs-blue) 0%, #4f46e5 100%) !important;
  box-shadow: 0 20px 40px rgba(30,58,138,0.4) !important;
  border-radius: 20px !important;
  animation: floatBadge 5s ease-in-out infinite !important;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.feat-item {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.3s var(--ajs-ease);
}
.feat-item:hover {
  background: var(--ajs-soft);
  border-color: var(--ajs-border);
  transform: translateX(6px);
}
.feat-icon {
  background: linear-gradient(135deg, rgba(30,58,138,0.08), rgba(45,85,200,0.05)) !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
}
.feat-item:hover .feat-icon {
  background: linear-gradient(135deg, var(--ajs-blue), #4f46e5) !important;
  color: #fff !important;
}

/* ── PROGRAMME SECTION ────────────────────────────────────── */
.programme-section {
  background: transparent !important;
}

.schedule-tabs-wrapper .nav-link {
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  transition: all 0.3s var(--ajs-ease) !important;
}
.schedule-tabs-wrapper .nav-link.active {
  background: linear-gradient(135deg, var(--ajs-blue), var(--ajs-blue-2)) !important;
  box-shadow: 0 8px 20px rgba(30,58,138,0.25) !important;
}

.tl-card {
  border-radius: 20px !important;
  border: 1px solid #f1f5f9 !important;
  transition: all 0.3s var(--ajs-ease) !important;
}
.tl-card:hover {
  border-color: rgba(30,58,138,0.2) !important;
  box-shadow: 0 20px 40px rgba(30,58,138,0.08) !important;
  transform: translateX(8px) !important;
}
.tl-dot {
  border-color: var(--ajs-blue) !important;
  box-shadow: 0 0 0 5px rgba(30,58,138,0.1), 0 0 12px rgba(30,58,138,0.3) !important;
}

/* ── SPONSORS / PARTNERS SECTION ──────────────────────────── */
.sponsors-section, .exposants-section {
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(30,58,138,0.10) 0%, transparent 60%),
    radial-gradient(700px 450px at 90% 80%, rgba(245,158,11,0.12) 0%, transparent 55%),
    transparent !important;
  position: relative;
  color: var(--ajs-blue) !important;
}

.sponsors-section .text-center[data-reveal] {
  background: linear-gradient(135deg, rgba(30,58,138,0.06), rgba(237, 149, 43, 0.04));
  padding: 55px 40px;
  border-radius: 35px;
  border: 1px solid rgba(30,58,138,0.12);
  box-shadow: 0 25px 70px rgba(30,58,138,0.06), inset 0 1px 1px rgba(255,255,255,0.6);
  margin-bottom: 65px !important;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(8px);
}

.section-title-sponsor span, .section-sub-sponsor span {
  color: #1a4da1 !important; /* Vibrant, premium blue */
  text-shadow: 0 2px 8px rgba(26, 77, 161, 0.08) !important;
}

.section-title-sponsor {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 900 !important;
  color: #1a4da1 !important;
  margin-bottom: 15px;
}

.section-sub-sponsor {
  color: #475569 !important;
  opacity: 0.9;
  font-weight: 500 !important;
}

.sponsors-section::before, .exposants-section::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(to right, rgba(30,58,138,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30,58,138,0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .35;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
  pointer-events:none;
}

.sponsors-section .container, .exposants-section .container { position: relative; z-index: 1; }

/* Partner/sponsor tiles */
.logo-grid, .logo-grid-expo{
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.sponsor-tile, .logo-tile{
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(30,58,138,0.10);
  border-radius: 18px;
  padding: 18px;
  min-height: 140px;
  height: auto;
  display:flex;
  align-items:center;
  justify-content:center;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(30,58,138,0.06);
  transition: transform .35s var(--ajs-ease), box-shadow .35s var(--ajs-ease), border-color .35s var(--ajs-ease);
  overflow: visible;
}

.sponsor-tile img, .logo-tile img{
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: filter .35s ease, opacity .35s ease, transform .35s var(--ajs-ease);
}

.sponsor-tile:hover, .logo-tile:hover{
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(30,58,138,0.22);
  box-shadow: 0 24px 60px rgba(30,58,138,0.12);
}

.sponsor-tile:hover img, .logo-tile:hover img{
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* Keep partner/exhibitor logos visible even with global lazy-image effects */
.logo-tile img,
.sponsor-tile img,
.sponsor-logo-box img{
  opacity: 1 !important;
}

.partner-logo-box, .exposant-logo {
  border-radius: 16px !important;
  transition: all 0.3s var(--ajs-ease) !important;
  border: 1px solid #e8edf5 !important;
}
.partner-logo-box:hover, .exposant-logo:hover {
  transform: translateY(-6px) scale(1.04) !important;
  box-shadow: 0 20px 40px rgba(30,58,138,0.1) !important;
  border-color: rgba(30,58,138,0.2) !important;
}

/* ── FAQ SECTION ──────────────────────────────────────────── */
.faq-section { background: transparent !important; }

.faq-item, .accordion-item {
  border-radius: 16px !important;
  border: 1px solid #e8edf5 !important;
  overflow: hidden;
  margin-bottom: 12px;
  transition: all 0.3s ease !important;
}
.faq-item:hover, .accordion-item:hover { border-color: rgba(30,58,138,0.2) !important; }

.accordion-button {
  font-weight: 700 !important;
  font-size: 16px !important;
  border-radius: 16px !important;
}
.accordion-button:not(.collapsed) {
  background: var(--ajs-soft) !important;
  color: var(--ajs-blue) !important;
  box-shadow: none !important;
}

/* FAQ Chatbar */
.faq-chatbar{
  margin-top: 22px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px;
  border-radius: 20px;
  background:
    radial-gradient(900px 500px at 10% 10%, rgba(31,58,86,0.12) 0%, transparent 60%),
    radial-gradient(700px 450px at 90% 80%, rgba(196,104,59,0.14) 0%, transparent 55%),
    linear-gradient(135deg, rgba(255,250,243,0.95), rgba(245,239,230,0.92));
  border: 1px solid rgba(31,58,86,0.12);
  box-shadow: 0 18px 50px rgba(31,58,86,0.10);
  backdrop-filter: blur(12px);
}
.faq-chatbar-left{ display:flex; align-items:center; gap: 14px; }
.faq-chatbar-badge{
  width: 44px; height: 44px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: var(--ajs-bluewhite);
  color: var(--ajs-blue);
  border: 1.5px solid rgba(31, 58, 86, 0.1);
  box-shadow: 0 12px 30px rgba(31, 58, 86, 0.1);
  flex-shrink:0;
}
.faq-chatbar-title{ font-weight: 800; color: var(--ajs-blue); }
.faq-chatbar-sub{ font-size: .92rem; color: #5f6670; }
.faq-chatbar-btn{
  border: 1.5px solid rgba(31, 58, 86, 0.1);
  border-radius: 16px;
  padding: 12px 20px;
  font-weight: 800;
  color: var(--ajs-blue);
  background: var(--ajs-bluewhite);
  box-shadow: 0 12px 35px rgba(31,58,86,0.12);
  transition: all .3s var(--ajs-ease);
  white-space: nowrap;
}
.faq-chatbar-btn:hover{
  background: #dbeaff;
  color: var(--ajs-blue);
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(31,58,86,0.18);
}
@media (max-width: 767px){
  .faq-chatbar{ flex-direction: column; align-items: stretch; text-align: left; }
  .faq-chatbar-btn{ width: 100%; justify-content: center; }
}

/* ── CONTACT SECTION ──────────────────────────────────────── */
.contact-section { background: transparent !important; }

.contact-info-card {
  border-radius: 24px !important;
  border: 1px solid var(--ajs-border) !important;
  background: linear-gradient(135deg, var(--ajs-blue) 0%, #1e3488 40%, #4f46e5 100%) !important;
}

.contact-form-card {
  border-radius: 24px !important;
  border: 1px solid #e8edf5 !important;
  box-shadow: 0 20px 60px rgba(30,58,138,0.06) !important;
}

.form-control, .form-select {
  border-radius: 12px !important;
  border: 1.5px solid #e2e8f0 !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
  background: #fafbfc !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--ajs-blue) !important;
  box-shadow: 0 0 0 4px rgba(30,58,138,0.1) !important;
  background: #fff !important;
}

/* ── NEWS SECTION ─────────────────────────────────────────── */
.news-section { background: transparent !important; }

.news-card {
  border-radius: 20px !important;
  border: 1px solid #e8edf5 !important;
  overflow: hidden;
  transition: all 0.4s var(--ajs-ease) !important;
}
.news-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 30px 60px rgba(30,58,138,0.12) !important;
  border-color: rgba(30,58,138,0.15) !important;
}
.news-card-img { overflow: hidden; }
.news-card-img img, .news-card-img [data-bg] {
  transition: transform 0.6s var(--ajs-ease) !important;
}
.news-card:hover .news-card-img img,
.news-card:hover .news-card-img [data-bg] {
  transform: scale(1.06) !important;
}

/* ── NAVIGATION (MENU) ENHANCEMENTS ───────────────────────── */
.ajs-navbar, .navbar-main, header nav {
  backdrop-filter: blur(20px) saturate(180%) !important;
  background: rgba(255,255,255,0.92) !important;
  border-bottom: 1px solid rgba(30,58,138,0.08) !important;
  transition: all 0.3s ease !important;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer, .site-footer {
  background: linear-gradient(90deg, #2563EB 0%, #1e50c8 60%, #1a3fa0 100%) !important;
}

/* ── SOCIAL ICON HOVER ────────────────────────────────────── */
.social-link, .social-icon {
  transition: all 0.3s var(--ajs-ease) !important;
}
.social-link:hover, .social-icon:hover {
  transform: translateY(-4px) scale(1.15) !important;
  filter: brightness(1.2) !important;
}

/* ── STAT NUMBERS ─────────────────────────────────────────── */
.stat-number, .counter-val {
  background: linear-gradient(135deg, var(--ajs-blue), #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BADGE PILL ───────────────────────────────────────────── */
.badge-pill-ajs {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px;
  background: rgba(30,58,138,0.08);
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  color: var(--ajs-blue);
  text-transform: uppercase; letter-spacing: 1.5px;
}

/* ── HOVER SHINE EFFECT ON CARDS ──────────────────────────── */
.shine-card { position: relative; overflow: hidden; }
.shine-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 50%; height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.shine-card:hover::after { left: 150%; }

/* ── SCROLL PROGRESS BAR ──────────────────────────────────── */
.scroll-progress {
  background: linear-gradient(90deg, var(--ajs-blue), #4f46e5, var(--ajs-gold)) !important;
  height: 3px !important;
  box-shadow: 0 0 10px rgba(30,58,138,0.5) !important;
}

/* ── AOS INTEGRATION ──────────────────────────────────────── */
[data-aos="fade-up"] { transition-duration: 0.9s !important; }
[data-aos="fade-right"] { transition-duration: 0.9s !important; }
[data-aos="fade-left"] { transition-duration: 0.9s !important; }

/* ── MOBILE RESPONSIVE ────────────────────────────────────── */
@media (max-width: 767px) {
  .hero-title { letter-spacing: -1.5px !important; }
  .btn-premium, .btn-secondary-outline { padding: 14px 24px !important; font-size: 15px !important; }
  .grid-card { padding: 28px !important; }
  .visual-floating-card { left: 10px !important; bottom: 20px !important; }
}

/* ── MICRO-ANIMATION: LINK UNDERLINE ──────────────────────── */
a.animated-link {
  position: relative;
  text-decoration: none;
  color: var(--ajs-blue);
}
a.animated-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0%; height: 2px;
  background: var(--ajs-blue);
  border-radius: 99px;
  transition: width 0.3s var(--ajs-ease);
}
a.animated-link:hover::after { width: 100%; }

/* ── CARD GLOW ON HOVER ───────────────────────────────────── */
.glow-hover {
  transition: box-shadow 0.3s ease !important;
}
.glow-hover:hover {
  box-shadow: 0 0 0 2px var(--ajs-blue-2), 0 24px 60px rgba(30,58,138,0.2) !important;
}

/* ── STATS COUNTER SECTION ────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg, var(--ajs-blue) 0%, #4f46e5 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 120%; height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 70%);
}
.stats-strip .stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stats-strip .stat-item:last-child { border-right: none; }
.stats-strip .stat-big {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
}
.stats-strip .stat-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
}

/* ── IMAGE LAZY LOAD FADE ─────────────────────────────────── */
img[loading="lazy"] { opacity: 0; transition: opacity 0.5s ease; }
img[loading="lazy"].loaded { opacity: 1; }

/* ── PREMIUM EXHIBITOR PACKS STYLES ──────────────────────── */
.packs-modern-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.packs-container {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding: 40px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
}

.packs-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.pack-card-premium {
  min-width: 320px;
  flex: 0 0 320px;
  background: #fff;
  border-radius: 32px;
  border: 1px solid #e2e8f0;
  padding: 48px;
  position: relative;
  transition: all 0.5s var(--ajs-ease);
  display: flex;
  flex-direction: column;
  z-index: 1;
  scroll-snap-align: center;
}

.pack-card-premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,58,138,0.02), rgba(30,58,138,0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.pack-card-premium:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow: 0 40px 80px -20px rgba(30,58,138,0.15);
  border-color: var(--ajs-blue);
}

.pack-card-premium:hover::after {
  opacity: 1;
}

.pack-header {
  text-align: center;
  margin-bottom: 32px;
}

.pack-icon-wrapper {
  width: 80px;
  height: 80px;
  background: var(--ajs-blue);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.65rem;
  color: #296de9; /* White Blue */
  transition: all 0.4s var(--ajs-ease);
}

.pack-icon-wrapper .fas,
.pack-icon-wrapper .far,
.pack-icon-wrapper .fal,
.pack-icon-wrapper .fab,
.pack-icon-wrapper .bi {
  font-size: 2rem;
  line-height: 1;
}

.pack-card-premium:hover .pack-icon-wrapper {
  background: var(--ajs-gold);
  color: #fff;
  transform: rotateY(180deg) scale(1.1);
}

.pack-card-premium:hover .pack-icon-wrapper .fas,
.pack-card-premium:hover .pack-icon-wrapper .far,
.pack-card-premium:hover .pack-icon-wrapper .fab,
.pack-card-premium:hover .pack-icon-wrapper .bi {
  color: #fff;
}

.pack-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.pack-surface {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.pack-price-box {
  text-align: center;
  margin-bottom: 40px;
  padding: 24px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
}

.pack-price-box--rtl {
  flex-direction: row-reverse;
}

.pack-amount {
  display: inline-block;
  font-size: 40px;
  font-weight: 900;
  color: var(--ajs-blue);
  letter-spacing: -2px;
  direction: ltr;
  unicode-bidi: isolate;
}

.pack-currency {
  font-size: 14px;
  font-weight: 700;
  color: #94a3b8;
  margin-left: 0;
  white-space: nowrap;
}

.pack-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  flex-grow: 1;
}

.pack-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.4;
}

.pack-feature-icon {
  width: 20px;
  height: 20px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 3px;
}

.pack-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: var(--ajs-blue);
  color: #fff !important;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 700;
  transition: all 0.3s var(--ajs-ease);
  border: none;
}
.pack-cta span,
.pack-cta i {
  color: #fff !important;
}

.pack-card-premium:hover .pack-cta {
  background: var(--ajs-gold);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(185, 137, 82, 0.2);
}

/* Featured / Recommended styling */
.pack-card-premium--popular {
  border-color: var(--ajs-blue);
  background: linear-gradient(180deg, #fff 0%, #f0f4ff 100%);
  transform: scale(1.05);
}

.pack-badge-popular {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--ajs-gold);
  color: #fff;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (min-width: 992px) {
  .packs-container {
    overflow-x: visible;
    flex-wrap: wrap;
    justify-content: center;
  }
  .pack-card-premium {
    min-width: 350px;
    flex: 0 0 calc(33.333% - 22px);
  }
}

/* ── RESPONSIVE PASS (all pages) ─────────────────────────── */
@media (max-width: 991px){
  .top-bar .container-xl,
  .main-nav .container-xl{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .top-bar-controls{
    gap: 8px !important;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .btn-badge{
    padding: 8px 12px !important;
    font-size: 12px !important;
  }
  .section-title,
  .display-5,
  .display-4{
    font-size: clamp(1.8rem, 6vw, 2.4rem) !important;
    line-height: 1.2 !important;
  }
  .hero-modern,
  .page-hero{
    padding-top: 130px !important;
    padding-bottom: 70px !important;
  }
  .packs-container{
    padding: 20px 8px !important;
    gap: 14px !important;
  }
  .pack-card-premium{
    min-width: 84vw !important;
    flex-basis: 84vw !important;
    padding: 26px !important;
    border-radius: 22px !important;
  }
  .faq-chatbar{
    border-radius: 16px !important;
    padding: 14px !important;
  }
}

@media (max-width: 767px){
  body{
    overflow-x: hidden;
  }
  .container,
  .container-fluid,
  .container-xl{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .hero-title{
    font-size: clamp(1.9rem, 8vw, 2.6rem) !important;
    letter-spacing: -1px !important;
  }
  .hero-subtitle,
  .section-subtitle,
  .section-description{
    font-size: .96rem !important;
    line-height: 1.7 !important;
  }
  .btn-premium, .btn-secondary-outline, .btn-cta{
    width: 100% !important;
    justify-content: center !important;
  }
  .logo-grid, .logo-grid-expo{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .sponsor-tile, .logo-tile{
    min-height: 112px !important;
    height: auto !important;
    border-radius: 14px !important;
    padding: 12px !important;
  }
  .sponsor-tile img, .logo-tile img{
    max-height: 76px !important;
  }
  .contact-form-card,
  .expo-form-card{
    border-radius: 16px !important;
    padding: 16px !important;
  }
  .stats-strip .stat-item{
    border-right: none !important;
  }
}
