/* Wyłączenie natywnego smooth scrolla, aby jQuery działało natychmiast i bez opóźnień */
html {
  scroll-behavior: auto !important;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u_w4BMUTPHjxsI9w2_FQft1dw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u_w4BMUTPHjxsI9w2_Gwft.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u8w4BMUTPHjxsAUi-qJCY.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u8w4BMUTPHjxsAXC-q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u9w4BMUTPHh7USSwaPGR_p.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u9w4BMUTPHh7USSwiPGQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6uyw4BMUTPHjxAwXjeu.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6uyw4BMUTPHjx4wXg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u9w4BMUTPHh6UVSwaPGR_p.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u9w4BMUTPHh6UVSwiPGQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u9w4BMUTPHh50XSwaPGR_p.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v25/S6u9w4BMUTPHh50XSwiPGQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================
   GLOBAL VARIABLES & TYPOGRAPHY
   ========================================= */
:root {
  --navy-bg: #091326;
  --navy-lighter: #0f203c;
  --amber-blue: #3281e2;
  --amber-blue-hover: #1e5bb0;
  --text-dark: #333333;
  --text-gray: #666666;
  --bg-light: #f4f5f7;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Kuloodporna blokada scrollowania pod overlayem dla iOS Safari */
body.overflow-hidden {
  overflow: hidden !important;
  /* USUNIĘTO touch-action: none; - to ono psuło scrollowanie wewnątrz overlay'a na iOS! */
}

a { text-decoration: none; outline: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--navy-bg);
}

/* =========================================
   NAVIGATION (Static & Sticky Clone)
   ========================================= */
.amber-navbar {
  padding: 10px 0;
  width: 100%;
  z-index: 2000;
  transition: background-color 0.3s ease;
}

#navbar-static {
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
}

#navbar-sticky {
  background-color: #ffffff;
}

.sticky-navbar {
  position: fixed;
  top: -100px;
  left: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  /* Dodano przejście dla background-color i box-shadow, by powrót headera z przezroczystości był gładki */
  transition: transform 0.85s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.4s ease, box-shadow 0.4s ease;
}

.sticky-navbar.slide-down {
  transform: translateY(100px);
}

.amber-logo {
  transition: opacity 0.4s ease;
}

.amber-logo img {
  height: 60px; /* Zmniejszone logo desktop */
  width: auto;
  max-width: 100%;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  transition: height 0.3s ease;
}

.amber-nav-link {
  font-size: 15px;
  font-weight: 700;
  margin-left: 25px;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#navbar-static .amber-nav-link { color: #ffffff; }
#navbar-static .amber-nav-link:hover { color: var(--amber-blue); }

#navbar-sticky .amber-nav-link { color: var(--navy-bg); }
#navbar-sticky .amber-nav-link:hover { color: var(--amber-blue); }

/* Wymuszenie koloru na niebieski przy aktywnej sekcji (ScrollSpy) */
.amber-nav-link.active {
  color: var(--amber-blue) !important;
}

/* FANCY MOBILE HAMBURGER */
/* FANCY MOBILE HAMBURGER */
.hamburger-menu {
  /* --- DODANE LINIJCE: RESET PRZYCISKU --- */
  background: transparent !important; /* Usuwa szare tło */
  border: none !important;            /* Usuwa ramkę */
  padding: 0;                         /* Usuwa wewnętrzne odstępy */
  outline: none;                      /* Usuwa obrys po kliknięciu */
  /* --------------------------------------- */

  width: 35px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 2001;
  display: none;
}

/* --- DODANE: Brak niebieskiej/czarnej ramki na telefonach po kliknięciu --- */
.hamburger-menu:focus,
.hamburger-menu:active {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.hamburger-menu .bar {
  position: absolute;
  height: 3px;
  width: 100%;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* Reszta Twojego kodu zostaje bez zmian, bo jest świetna! */
#navbar-static .hamburger-menu .bar { background: #ffffff; }
#navbar-sticky .hamburger-menu .bar { background: var(--navy-bg); }

.hamburger-menu .bar:nth-child(1) { top: 0; }
.hamburger-menu .bar:nth-child(2) { top: 10px; width: 80%; right: 0; }
.hamburger-menu .bar:nth-child(3) { top: 20px; }

#navbar-static .hamburger-menu.active .bar { background: #ffffff !important; }
#navbar-sticky .hamburger-menu.active .bar { background: var(--navy-bg) !important; }

.hamburger-menu.active .bar:nth-child(1) { top: 10px; transform: rotate(45deg); width: 100%; }
.hamburger-menu.active .bar:nth-child(2) { opacity: 0; transform: translateX(20px); }
.hamburger-menu.active .bar:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* Różny kolor aktywnego krzyżyka (X) w zależności od headera */
#navbar-static .hamburger-menu.active .bar { background: #ffffff !important; }
#navbar-sticky .hamburger-menu.active .bar { background: var(--navy-bg) !important; }

.hamburger-menu.active .bar:nth-child(1) { top: 10px; transform: rotate(45deg); width: 100%; }
.hamburger-menu.active .bar:nth-child(2) { opacity: 0; transform: translateX(20px); }
.hamburger-menu.active .bar:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* =========================================
   LANGUAGE SWITCHER (Flagi)
   ========================================= */
.lang-switcher {
  display: flex;
  gap: 12px;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 20px;
}
#navbar-sticky .lang-switcher {
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}
.mobile-lang-switcher {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}
.lang-flag {
  display: flex;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.lang-flag img {
  border-radius: 3px;
  max-width: 20px;
  height: auto;
  /* box-shadow: 0 2px 4px rgba(0,0,0,0.3); */
}
.lang-flag.active {
  opacity: 1;
  pointer-events: none;
}
.lang-flag:not(.active):hover {
  opacity: 1;
}

/* Efekt Blur / Glassmorphism w menu mobilnym */
.fullscreen-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  /* USUNIĘTO height: 100dvh; aby naprawić bug ucinania przy rotacji viewportu */
  background: rgba(9, 19, 38, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1999;

  /* Rozwiązanie problemu braku scrolla */
  display: flex;
  flex-direction: column;
  align-items: center;       /* Wyśrodkowanie osi X */
  overflow-y: auto;          /* Włącza pionowy skrol */
  -webkit-overflow-scrolling: touch;

  /* Zmiana animacji na zsuwanie od samej góry */
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s ease, visibility 0.5s ease;
}

.fullscreen-overlay.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-list {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 30px;
  width: 100%;
  /* ZMIANA: Usuwamy wyśrodkowanie w pionie i wypychamy puste miejsce tylko na dół */
  margin: 0 0 auto 0;
  /* ZMIANA: Zmniejszono górny padding z 120px na 80px, aby zacząć wyżej,
     ale zostawić miejsce na krzyżyk zamykający menu */
  padding: 80px 20px 80px 20px;
}
.mobile-nav-link {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s ease;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--amber-blue) !important;
}

/* =========================================
   FIX: MOBILE NAV IGNOROWANIE HEADERA I ZSUWANIE
   ========================================= */
body.mobile-menu-active #navbar-sticky {
  background-color: transparent !important;
  box-shadow: none !important;
}
body.mobile-menu-active .amber-logo {
  opacity: 0 !important;
  pointer-events: none;
}
body.mobile-menu-active #navbar-sticky .hamburger-menu .bar {
  background: #ffffff !important;
}

/* =========================================
   HERO SECTION (PREMIUM TECH REWORK - NO MOVEMENT)
   ========================================= */
.hero-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  /* Nowoczesny, głęboki gradient asymetryczny nadający kinowy efekt */
  background:
    linear-gradient(to right, rgba(9, 19, 38, 0.95) 0%, rgba(9, 19, 38, 0.6) 60%, rgba(9, 19, 38, 0.2) 100%),
    url('../img/techconf.jpeg') center/cover no-repeat;
  padding-top: 120px;
  padding-bottom: 60px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Technologiczny, subtelny grid w tle (CSS only) */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

/* Niebieski, rozmyty glow (Ambient light) */
.hero-section::after {
  content: '';
  position: absolute;
  top: 20%; left: -10%; width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(50, 129, 226, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2; /* Treść nad gridem i glowem */
}

/* Pill z datą */
.hero-badge {
  display: inline-block;
  background: rgba(50, 129, 226, 0.15);
  border: 1px solid rgba(50, 129, 226, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: #a0c4ff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  backdrop-filter: blur(5px);
}

/* Text Gradient dla H1 */
.hero-section h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ffffff 30%, #a0c4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0px 10px 30px rgba(0,0,0,0.5);
}

.hero-h3 {
  color: var(--amber-blue);
  text-transform: uppercase;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.hero-motto {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 400;
  max-width: 550px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

/* Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 40px;
}

.btn-blue-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--amber-blue);
  color: #fff;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  text-transform: uppercase;
  border-radius: 33px;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(50, 129, 226, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
@media (hover: hover) {
  .btn-blue-solid:hover {
    background-color: #4a94ed;
    color: #fff;
    box-shadow: 0 12px 30px rgba(50, 129, 226, 0.7);
  }
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 33px;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  font-size: 14px;
}
@media (hover: hover) {
  .btn-outline-white:hover {
    background: #fff;
    color: var(--navy-bg);
    border-color: #fff;
  }
}

/* Glassmorphism Countdown */
.countdown-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}
.countdown-box {
  background: rgba(255, 255, 255, 0.05);
  /* backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); */
  color: #fff;
  padding: 15px 20px;
  min-width: 90px;
  flex: 1 1 0;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  border-radius: 12px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
@media (hover: hover) {
  .countdown-box:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(50, 129, 226, 0.6);
  }
}
.countdown-box span.num {
  display: block;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 10px rgba(50, 129, 226, 0.3);
}
.countdown-box span.label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a0c4ff;
  margin-top: 8px;
  display: block;
  font-weight: 700;
}

/* =========================================
   SPEAKERS SECTION (EDITORIAL & MODERN REWORK)
   ========================================= */
.speakers-section {
  padding: 120px 0;
  background-color: #f1f3f6;
  position: relative;
}

.section-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 100px;
  position: relative;
  z-index: 2;
}
.section-header p {
  font-size: 14px;
  font-weight: 800;
  color: var(--amber-blue);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0 0 10px 0;
}
.section-header h2 {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 900;
  color: var(--navy-bg);
  margin: 0;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '.';
  color: var(--amber-blue);
}

.speaker-row {
  margin-bottom: 120px;
  align-items: center;
  position: relative;
}
.speaker-row:last-child {
  margin-bottom: 0;
}

/* Dopasowane wymiary do konkretnych grafik: 310x350px */
.speaker-img-wrapper {
  width: 310px;
  height: 350px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Statyczna asymetryczna ramka */
.speaker-img-wrapper::before {
  content: '';
  position: absolute;
  top: 15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--amber-blue);
  border-radius: 12px;
  z-index: -1;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.speaker-row.flex-md-row-reverse .speaker-img-wrapper::before {
  left: 15px; /* Odbicie lustrzane dla co drugiego prelegenta */
}
.speaker-row:hover .speaker-img-wrapper::before {
  border-color: #4a94ed;
  box-shadow: 0 0 20px rgba(50, 129, 226, 0.2);
}

.speaker-img-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--navy-lighter);
  box-shadow: 0 20px 40px rgba(9, 19, 38, 0.15);
  position: relative;
}
.speaker-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(30%) contrast(110%);
  transition: filter 0.5s ease; /* Tylko zmiana koloru, bez scale */
}
.speaker-row:hover .speaker-img-inner img {
  filter: grayscale(0%) contrast(100%);
}

/* Speaker Content & Outline Number */
.speaker-content {
  position: relative;
  padding: 30px 20px;
  z-index: 2;
}
/* Gigantyczny numer jako techniczny outline (tylko kontur) */
.speaker-number {
  position: absolute;
  top: -80px;
  left: -20px;
  font-size: 180px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(9, 19, 38, 0.05);
  z-index: -1;
  user-select: none;
  transition: -webkit-text-stroke 0.4s ease; /* Zmiana koloru linii, bez translate */
}
.speaker-row.flex-md-row-reverse .speaker-number {
  left: auto;
  right: -20px;
}
.speaker-row:hover .speaker-number {
  -webkit-text-stroke: 2px rgba(50, 129, 226, 0.15);
}

.speaker-name {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 900;
  margin-bottom: 5px;
  color: var(--navy-bg);
}
.speaker-title {
  font-size: 16px;
  color: var(--amber-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(50, 129, 226, 0.3);
}
.speaker-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 35px;
}

/* Nowy wygląd przycisku LinkedIn - NO MOVEMENT */
.btn-linkedin {
  background-color: #fff;
  color: #0077b5;
  padding: 12px 28px;
  border-radius: 33px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-linkedin i {
  font-size: 16px;
}
@media (hover: hover) {
  .btn-linkedin:hover {
    background-color: #0077b5;
    color: #fff;
    border-color: #0077b5;
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.3);
  }
}

/* =========================================
   RESPONSIVE ADJUSTMENTS DLA NOWYCH SEKCJ
   ========================================= */
@media (max-width: 991px) {
  .hero-section { padding-top: 150px; }
  .speaker-number { font-size: 120px; top: -50px; }
}

@media (max-width: 767px) {
  .hero-section::after { width: 80vw; height: 80vw; left: 10%; top: 10%; } /* Glow wyżej na mobile */
  .countdown-box { min-width: calc(50% - 8px); } /* 2x2 grid dla odliczania na małych ekranach */

  .speaker-row { margin-bottom: 90px; }

  /* Dostosowanie ramki do ekranu mobilnego przy zachowaniu proporcji */
  .speaker-img-wrapper { max-width: 100%; height: auto; aspect-ratio: 310/350; margin-bottom: 20px; }

  /* Na mobile przesunięcie ramki nie zmienia się przy co drugim elemencie */
  .speaker-img-wrapper::before { top: 10px; left: 10px !important; }

  .speaker-content { padding: 10px 0; }
  .speaker-number { font-size: 100px; top: -30px; left: 0; right: auto !important; opacity: 0.5;}
  .speaker-title { border-bottom: none; border-left: 3px solid var(--amber-blue); padding-left: 15px; padding-bottom: 0;}
}
/* =========================================
   TOPICS SECTION (FANCY GRID)
   ========================================= */
.topics-section {
  background-color: var(--navy-bg);
  background-image: radial-gradient(circle at right top, rgba(50, 129, 226, 0.1) 0%, transparent 50%);
  color: #fff;
  padding: 100px 0;
}
.topics-section h2 { color: #fff; font-size: clamp(32px, 4vw, 42px); margin-bottom: 60px; }
.topics-date { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: #ccc; text-transform: uppercase; }

.topic-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px 25px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.topic-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: var(--amber-blue);
  transition: all 0.3s ease;
  z-index: -1;
}
@media (hover: hover) {
  .topic-card:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.15);
  }
  .topic-card:hover::before {
    width: 100%;
    opacity: 0.05;
  }
}
.topic-icon {
  font-size: 28px;
  color: var(--amber-blue);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(50, 129, 226, 0.5));
}
.topic-card h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

/* =========================================
   VENUE & ORGANISER (Split Layout)
   ========================================= */
.split-section .row { margin: 0; }
.split-section .col-md-6 { padding: 0; }

.split-img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}
.split-content {
  padding: 100px 80px;
  background-color: var(--bg-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-content h2 { font-size: 42px; color: var(--amber-blue); margin-bottom: 30px; }
.split-content p { font-size: 16px; line-height: 1.8; color: var(--text-gray); margin-bottom: 20px; }

/* =========================================
   FOOTER & REGISTRATION CTA (PREMIUM LIGHT UI)
   ========================================= */
.footer-section {
  background-color: var(--bg-light); /* Jasne tło, idealne odcięcie od ciemnej Tematyki */
  position: relative;
  padding: 100px 0 40px 0;
  overflow: hidden;
  z-index: 1;
}

/* Subtelny, ciemniejszy grid w tle jasnego footera */
.footer-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
}

/* Jasny, rozmyty niebieski blask na dole strony */
.footer-ambient-glow {
  position: absolute;
  bottom: -20%; right: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(50, 129, 226, 0.08) 0%, transparent 60%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

/* Nagłówki i Teksty (Dostosowane do jasnego tła) */
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--amber-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: rgba(50, 129, 226, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(50, 129, 226, 0.2);
}

.pulse-dot {
  width: 8px; height: 8px;
  background-color: var(--amber-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--amber-blue);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(50, 129, 226, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(50, 129, 226, 0); }
  100% { box-shadow: 0 0 0 0 rgba(50, 129, 226, 0); }
}

.footer-title {
  color: var(--navy-bg); /* Ciemny napis na jasnym tle */
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 15px;
}

.footer-subtitle {
  color: var(--text-gray);
  font-size: 14px;
  letter-spacing: 4px;
  font-weight: 700;
}

/* Karty Informacyjne (Czyste UI z delikatnym cieniem) */
.footer-info-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 30px 25px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
  .footer-info-card:hover {
    border-color: rgba(50, 129, 226, 0.4);
    box-shadow: 0 15px 40px rgba(50, 129, 226, 0.1);
  }
}

.footer-info-card .icon-wrapper {
  background: rgba(50, 129, 226, 0.1);
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(50, 129, 226, 0.2);
}

.footer-info-card .icon-wrapper i {
  font-size: 20px;
  color: var(--amber-blue);
}

.footer-info-card h3 {
  color: var(--navy-bg);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-info-card p {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.highlight-text {
  color: var(--amber-blue);
  font-weight: 700;
}

/* Moduł Rejestracji (CTA Box) - ZOSTAWIONY CIEMNY DLA ULTRA KONTRASTU */
.registration-cta-box {
  background: linear-gradient(145deg, rgba(15, 32, 60, 1) 0%, rgba(9, 19, 38, 1) 100%);
  border: 1px solid rgba(50, 129, 226, 0.3);
  border-radius: 24px;
  padding: 50px 40px;
  box-shadow: 0 25px 60px rgba(9, 19, 38, 0.25), inset 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.cta-glow-overlay {
  position: absolute;
  top: -50%; left: -10%;
  width: 50%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(50,129,226,0.15) 0%, transparent 70%);
  transform: rotate(-45deg);
  pointer-events: none;
}

.cta-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--amber-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.registration-cta-box h3 {
  color: #ffffff;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 900;
  margin-bottom: 20px;
}

.registration-cta-box p {
  color: #a0aabf;
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
  max-width: 600px;
}

.registration-cta-box strong {
  color: #ffffff;
}

.btn-lg-glow {
  padding: 18px 36px;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(50, 129, 226, 0.3);
}

/* Dolna listwa (Ciemne teksty i linki na jasnym tle) */
.footer-bottom-border {
  border-top: 1px solid rgba(0,0,0,0.1);
}

.copyright-text {
  color: var(--text-gray);
  font-size: 14px;
}

.back-to-foundation-link {
  color: var(--navy-bg);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.back-to-foundation-link i {
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .back-to-foundation-link:hover {
    color: var(--amber-blue);
  }

  .back-to-foundation-link:hover i {
    transform: translateX(-5px);
  }
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 991px) {
  .hamburger-menu { display: block; }

  /* Minimalne zmniejszenie logo na mobile, by menu nie było przerośnięte, a logo nadal ostre */
  .amber-logo img { height: 50px; }

  .speaker-content { padding: 40px 15px; }
  .speaker-number { right: 10px; }
  .split-content { padding: 60px 30px; }
  .split-img { min-height: 300px; }
}
@media (max-width: 767px) {
  /* Zmiana na "column" przywraca naturalną kolejność DOM (Zdjęcie -> Tekst) */
  .speaker-row { flex-direction: column !important; margin-bottom: 60px; }

  /* Skoro zdjęcie jest teraz nad tekstem, dajemy margines dolny zamiast górnego */
  .speaker-img-wrapper { margin-bottom: 30px; margin-top: 0; }

  .speaker-content { text-align: left !important; }
  .registration-cta-box { padding: 30px 20px; }
  .registration-cta-box h3 { font-size: 28px; }

  /* Nowe zasady dla Mobile Footera */
  .footer-info-card { flex-direction: column; text-align: center; align-items: center; padding: 25px 15px; }
  .footer-info-card .icon-wrapper { margin-bottom: 5px; }

  /* Ciasniejsze ułożenie przycisków na telefonie */
  .hero-buttons { margin-top: 20px; }
  .hero-buttons a { width: 100%; text-align: center; }
}

/* =========================================
   FAQ SECTION (PREMIUM LINEAR GRADIENT & ANIMATIONS)
   ========================================= */
.faq-section {
  padding: 120px 0;
  /* Nowoczesny, trzystopniowy kątowy gradient (Biel -> Chłodna szarość -> Jasny niebieski) */
  background: linear-gradient(135deg, #ffffff 0%, #f4f6f9 50%, #e0eaf5 100%);
  position: relative;
  z-index: 1;
}

/* Technologiczny, półprzezroczysty wzór z kropek (Dot-Matrix) w tle */
.faq-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(50, 129, 226, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: -1;
}

.faq-section .section-header p {
  justify-content: center;
}

/* =========================================
   AMBER ACCORDION (Soft-UI & CSS Animation)
   ========================================= */
.amber-accordion .accordion-item {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 16px !important;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(9, 19, 38, 0.03);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}

.amber-accordion .accordion-item:hover {
  box-shadow: 0 15px 35px rgba(50, 129, 226, 0.08);
  border-color: rgba(50, 129, 226, 0.2);
}

.amber-accordion .accordion-button {
  background-color: transparent;
  color: var(--navy-bg);
  font-weight: 700;
  font-size: 17px;
  padding: 24px 30px;
  padding-right: 60px; /* Przestrzeń na customową ikonę */
  box-shadow: none !important;
  transition: color 0.3s ease;
  position: relative;
}

.amber-accordion .accordion-button:not(.collapsed) {
  color: var(--amber-blue);
  background-color: transparent;
}

/* --- CUSTOMOWA ANIMACJA IKONY (PLUS -> MINUS) --- */

/* Usuwamy brzydką, domyślną strzałkę z Bootstrapa */
.amber-accordion .accordion-button::after {
  background-image: none !important;
  content: none !important;
}

/* 1. LINIA POZIOMA (Zawsze widoczna) */
.amber-accordion .accordion-button::before {
  content: '';
  position: absolute;
  right: 30px;
  top: 50%;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  background-color: var(--navy-bg);
  border-radius: 2px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

/* 2. LINIA PIONOWA (Używamy na nią domyślnego diva ::after, ale nadpisujemy go w CSS) */
.amber-accordion .accordion-item .accordion-button::after {
  content: '' !important;
  display: block !important;
  position: absolute;
  right: 36px; /* Wypozycjonowane idealnie na środku linii poziomej */
  top: 50%;
  width: 2px;
  height: 14px;
  margin-top: -7px;
  background-color: var(--navy-bg);
  border-radius: 2px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, background-color 0.3s ease;
}

/* --- EFEKT PRZY OTWARCIU ZAKŁADKI --- */

/* Zmiana koloru linii na niebieski */
.amber-accordion .accordion-button:not(.collapsed)::before,
.amber-accordion .accordion-item .accordion-button:not(.collapsed)::after {
  background-color: var(--amber-blue);
}

/* Linia pozioma robi pełny, elegancki obrót (180deg) */
.amber-accordion .accordion-button:not(.collapsed)::before {
  transform: rotate(180deg);
}

/* Linia pionowa obraca się i zapada w siebie (skurcza się do 0), co zostawia czystego Minusa */
.amber-accordion .accordion-item .accordion-button:not(.collapsed)::after {
  transform: rotate(90deg) scaleY(0);
  opacity: 0;
}

/* --- KONTENT AKORDEONU --- */
.amber-accordion .accordion-body {
  padding: 0 30px 24px 30px;
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 16px;
}

/* --- RESPONSYWNOŚĆ FAQ --- */
@media (max-width: 767px) {
  .amber-accordion .accordion-button {
    padding: 20px;
    padding-right: 50px;
    font-size: 15px;
  }

  /* Centrowanie ikony CSS dla mniejszego paddingu mobile */
  .amber-accordion .accordion-button::before { right: 20px; }
  .amber-accordion .accordion-item .accordion-button::after { right: 26px; }

  .amber-accordion .accordion-body {
    padding: 0 20px 20px 20px;
    font-size: 15px;
  }
}

/* Cookie Consent overrides */
#cc-main{
    --cc-font-family: 'Lato', sans-serif;
    --cc-btn-primary-bg:#30363c;
    --cc-btn-primary-border-color:#30363c;
    --cc-btn-border-radius:33px;
    --cc-toggle-on-bg:#30363c
}
/* #cc-main,#cc-main .pm{
    --cc-modal-transition-duration:0!important
} */
#cc-main .cm{
    background:rgba(255,255,255,.7)!important;
    -webkit-backdrop-filter:blur(8px)!important;
    backdrop-filter:blur(8px)!important;
    --cc-modal-transition-duration:0.7s!important
}
button[data-cc=show-preferencesModal]:focus,button[data-cc=show-preferencesModal]:hover{
    background-color:transparent!important;
    border-color:#f8f9fa!important;
    color:#fff!important;
    outline:0!important;
    box-shadow:none!important
}
