/* Variables */
:root {
    --primary-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --text-main: #333;
    --text-muted: rgba(0, 0, 0, 0.6);
    --bg-white: #ffffff;
    --bg-dark: #333;
    --bg-hero: #dfdfdf;
    --max-width: 1140px;
}

/* 1. Global Styles */
html, body {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0 0 100px 0; /* Space for footer */
    font-family: var(--primary-font);
    font-weight: 350;
    font-size: 18px;
    line-height: 1.5;
    background-color: var(--bg-white);
    color: var(--text-main);
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* 2. Typography */
h1, h2, h3, h4, h5 {
    color: #000;
    margin: 0;
    padding: 0;
    font-weight: 700;
}

h1 { font-size: 4em; }
h2 { color: var(--text-main); margin-bottom: 20px; }

/* 3. Layout Containers */
.container {
    max-width: var(--max-width);
    margin: 20px auto;
    padding: 0 15px;
}

/* 4. Navigation & Header */
.navbar-nav {
    justify-content: center;
}

.navbar-nav .nav-item .nav-link {
    color: #fff;
    padding: 10px 15px;
}

/* 5. Hero Section */
.hero {
    width: 100%;
    padding: 80px 0 80px;
    background: var(--bg-hero);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

.hero-kicker {
    font-size: 35px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
    margin-bottom: 10px;
}

.hero-title {
    font-size: 44px;
    line-height: 1.15;
    margin: 0 0 12px;
    color: #111;
}

.hero-subtitle {
    font-size: 35px;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 80ch;
    color: rgba(0, 0, 0, 0.70);
}

.hero-meta {
    margin-top: 18px;
    font-size: 30px;
    color: #9e0682;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* 6. Profile Sections (Speakers/Organizers) */
.speaker, .organizer {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.speaker img, .organizer img {
    border-radius: 50%;
    margin-right: 20px;
    max-width: 150px;
    height: auto;
    flex-shrink: 0;
}

.sponsor img {
    margin-right: 20px;
    /* max-width: 150px; */
    height: 150px;
    flex-shrink: 0;
}

.speaker-info, .organizer-info {
    max-width: calc(100% - 170px);
}

.speaker-info h3, .organizer-info h3 { margin: 0 0 5px 0; }
.speaker-info p, .organizer-info p { margin: 5px 0; }

/* 7. Footer & Buttons */
footer {
    background: var(--bg-dark);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

#goToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    background-color: #555;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
    transition: background 0.3s;
}

#goToTopBtn:hover {
    background-color: var(--bg-dark);
}

/* 8. Responsive Media Queries */
@media (max-width: 767px) {
    /* Hero Adjustments */
    .hero { padding: 44px 0 34px; }
    .hero-inner { padding: 0 18px; }
    .hero-title { font-size: 34px; }
    .hero-subtitle { font-size: 18px; }
    .hero-meta { font-size: 16px; }

    /* Profile Adjustments */
    .speaker, .organizer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .speaker img, .organizer img {
        margin: 0 0 10px 0;
    }

    .speaker-info, .organizer-info {
        max-width: 100%;
    }
}


/* ===== Hero contact line ===== */
.hero-contact{
  margin-top: 50px;
  font-size: 25px;
  color: rgba(0,0,0,0.6);
}

.hero-contact a{
  color: #3182bd;
  text-decoration: none;
}

.hero-contact a:hover{
  text-decoration: underline;
}


/* ===== Section spacing ===== */
section {
  padding: 48px 0;   /* space inside the section */
}

/* light gray divider between sections */
section + section {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ===== Blockquote / Callout (DBM-like) ===== */
blockquote.callout{
  margin: 24px auto;
  padding: 18px 20px;

  background: #f8f9fa;                /* matches your header gray */
  border: 1px solid rgba(0,0,0,0.08);
  border-left: 6px solid #c026d3;     /* magenta accent */

  border-radius: 14px;
}

blockquote.callout p{
  margin: 0;
  color: rgba(0,0,0,0.72);
  font-size: 18px;
  line-height: 1.6;
}

/* optional: a subtle quote mark */
blockquote.callout::before{
  content: "“";
  display: block;
  font-size: 34px;
  line-height: 1;
  color: rgba(192, 38, 211, 0.35);
  margin-bottom: 6px;
}


/* Particles background in hero */
.hero--particles {
  position: relative;
  overflow: hidden;
}

#particles-js {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* keep hero content above particles */
.hero--particles .hero-inner {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  overflow: hidden;
}

#particles-js {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

/* ===== Force particles to be a background layer ===== */
header.hero {
  position: relative !important;
  overflow: hidden !important;
}

header.hero > #particles-js {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;

  z-index: 0 !important;
  pointer-events: none !important;
}

header.hero > .hero-inner {
  position: relative !important;
  z-index: 1 !important;
}
