/* =============================================
   HOME PAGE – IABSCON 2027
   ============================================= */

/* HERO SECTION */
.home-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #071428 0%, #0B1F3A 45%, #0E2D4F 70%, #0A3355 100%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,122,158,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,122,158,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(27,122,158,0.18) 0%, transparent 70%);
  right: -15%;
  top: -10%;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,151,58,0.10) 0%, transparent 70%);
  left: -10%;
  bottom: -10%;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(42,157,197,0.15) 0%, transparent 70%);
  right: 25%;
  bottom: 15%;
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
  padding: 5rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,151,58,0.15);
  border: 1px solid rgba(200,151,58,0.3);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
}
.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}
.hero-meta-item i { color: var(--gold); font-size: 0.9rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero right panel */
.hero-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(12px);
}
.hero-panel-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.countdown-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.cd-unit {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 1rem 0.5rem;
  text-align: center;
}
.cd-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.cd-lbl {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-top: 0.3rem;
}

.key-dates-list { list-style: none; margin-bottom: 1.75rem; }
.key-dates-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-sans);
  font-size: 0.82rem;
}
.key-dates-list li:last-child { border-bottom: none; }
.key-dates-list .date-label { color: rgba(255,255,255,0.55); }
.key-dates-list .date-val { color: var(--gold); font-weight: 600; }
.key-dates-list .date-val.urgent { color: #FC8181; }

@media (max-width: 900px) {
  .hero-content-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .hero-panel { display: none; }
  .home-hero { min-height: auto; }
}

/* STATS BAR */
.stats-bar {
  background: var(--navy);
  padding: 2.5rem 0;
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-bar-item {
  text-align: center;
  padding: 1rem 2rem;
  position: relative;
}
.stats-bar-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
@media (max-width: 600px) {
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-item:nth-child(2)::after { display: none; }
}

/* THEME SECTIONS – now supports 2/3/4 columns via .grid-2/3/4 + Elementor control */
.themes-grid { display: grid; gap: 1.5rem; }
.themes-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
.themes-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.themes-grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
.themes-grid:not(.grid-2):not(.grid-3):not(.grid-4) { grid-template-columns: repeat(3, 1fr); } /* fallback for legacy markup */
@media (max-width: 1024px) { .themes-grid.grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .themes-grid.grid-2, .themes-grid.grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .themes-grid.grid-2, .themes-grid.grid-3, .themes-grid.grid-4 { grid-template-columns: 1fr; } }

/* Header description (WYSIWYG) – supports <ul> lists */
.section-desc { max-width: 680px; margin: 0 auto; color: var(--text-muted); }
.section-desc ul { text-align: left; display: inline-block; margin: 0.75rem auto 0; padding-left: 1.25rem; }
.section-desc li { font-size: 0.92rem; line-height: 1.6; margin-bottom: 0.25rem; }

/* Theme card bullet list */
.theme-list { margin: 0.85rem 0 0; padding-left: 1.25rem; font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }
.theme-list li { margin-bottom: 0.3rem; }
.theme-list li:last-child { margin-bottom: 0; }
.theme-list--plain { list-style: none; padding-left: 0; }
.theme-list--checks { list-style: none; padding-left: 0; }
.theme-list--checks li { position: relative; padding-left: 1.4rem; }
.theme-list--checks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700; }

.theme-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.theme-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.theme-card:hover::before { transform: scaleX(1); }
.theme-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.theme-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--teal-pale), var(--gold-pale));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.theme-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.theme-card p { font-size: 0.88rem; margin: 0; color: var(--text-muted); }

/* SPEAKERS PREVIEW */
.speakers-preview {
  background: var(--off-white);
}
.speakers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .speakers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .speakers-grid { grid-template-columns: 1fr; } }

/* CALL FOR ABSTRACTS BANNER */
.cfa-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #0E3564 50%, #1A4A72 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  color: var(--white);
}
.cfa-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border: 40px solid rgba(200,151,58,0.06);
  border-radius: 50%;
}
.cfa-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border: 30px solid rgba(27,122,158,0.08);
  border-radius: 50%;
}
.cfa-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}
@media (max-width: 768px) {
  .cfa-inner { grid-template-columns: 1fr; text-align: center; }
}
.cfa-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cfa-banner p { color: rgba(255,255,255,0.75); max-width: 580px; margin: 0; }
.cfa-deadline {
  background: rgba(200,151,58,0.15);
  border: 1px solid rgba(200,151,58,0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 220px;
}
.cfa-deadline .label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 0.5rem;
}
.cfa-deadline .date-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 0.25rem;
}
.cfa-deadline .sub {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 1rem;
}

/* VENUE SECTION */
.venue-section {
  background: var(--off-white);
}
.venue-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) { .venue-inner { grid-template-columns: 1fr; } }
.venue-map-placeholder {
  background: linear-gradient(135deg, var(--navy-mid), var(--teal));
  border-radius: var(--radius-xl);
  height: 320px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  gap: 1rem;
}
.venue-map-placeholder i { font-size: 2.5rem; color: rgba(255,255,255,0.4); }
.venue-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
}

/* SPONSORS */
.sponsor-tier {
  margin-bottom: 3rem;
  text-align: center;
}
.sponsor-tier-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sponsor-tier-label::before, .sponsor-tier-label::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}
.sponsor-placeholder {
  background: var(--off-white);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  min-width: 160px;
  text-align: center;
}
.sponsor-logo-img {
  max-height: 48px;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter .3s, opacity .3s;
}
.sponsor-logo-img:hover {
  filter: grayscale(0);
  opacity: 1;
}
/* ================= MORE STYLING — Conference Polish ================= */
.section-header .eyebrow::after { content: ''; display: block; width: 40px; height: 2px; background: var(--gold); margin: 0.65rem auto 0; border-radius: 2px; }
.section-header h2 { position: relative; }
.stats-bar { position: relative; overflow: hidden; }
.stats-bar::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(27,122,158,0.12), transparent 60%); pointer-events: none; }
.stats-bar-item { transition: background 0.2s; border-radius: var(--radius-md); }
.stats-bar-item:hover { background: rgba(255,255,255,0.04); }
.stats-bar-item:hover .stat-number { transform: scale(1.05); transition: transform 0.2s; }
.cfa-banner { border-top: 1px solid rgba(200,151,58,0.15); border-bottom: 1px solid rgba(200,151,58,0.15); }
.cfa-banner .btn { box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.cfa-banner .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.22); }
.venue-image { transition: transform 0.4s ease, box-shadow 0.3s; }
.venue-image:hover { transform: scale(1.015); box-shadow: var(--shadow-lg); }
.sponsor-placeholder { transition: all 0.25s; }
.sponsor-placeholder:hover { border-color: var(--gold); background: var(--white); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.home-hero .hero-badge { backdrop-filter: blur(8px); }
.theme-card, .speaker-card, .workshop-card, .pricing-card { will-change: transform; }
/* subtle page fade */
@keyframes iabsFadeIn { from { opacity: 0; } to { opacity: 1; } }
.home-hero, .stats-bar, .section { animation: iabsFadeIn 0.6s ease both; }
