:root {
  --bg: #ffffff;
  --text: #000000;
  --muted: #666;
  --primary: #8357BF;
  --secondary: #f0f3f8;
  --radius: 12px;
  --container: 1200px;
  --shadow: 0 8px 24px rgba(0,0,0,.06);
}

* { 
  box-sizing: border-box; 
}

html, body { 
  margin: 0; 
  padding: 0; 
}

body {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 300;
}

.container { 
  width: min(100%, var(--container)); 
  margin: 0 auto; 
  padding: 0 20px; 
}
h2{
  font-weight: 300;
  font-size: clamp(22px, 5vw, 28px);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

/* Button Block */
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  padding: 10px 31px;
  border-radius: 50px;
  text-decoration: none; 
  font-weight: 300; 
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

}

.btn--more{
  padding: 10px 55px;
}

.btn:hover { 
  transform: translateY(-1px); 
}

.btn:active { 
  transform: translateY(1px); 
}

.btn--primary { 
  background: var(--primary); 
  color: #fff; 

}

.btn--primary:hover { 
  background: #6d4a9e; 
  box-shadow: 0 6px 16px rgba(131, 87, 191, 0.4);
}

.btn--secondary { 
  background: var(--secondary); 
  color: #000; 
  border: 1px solid #ddd;
}

.btn--secondary:hover { 
  background: #e8ebf0; 
  border-color: var(--primary);
}

/* Header Block */
.header { 
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  background: transparent; 
  z-index: 100;
  padding: 50px 0;
  transition: all 0.3s ease;
}


.header--scrolled {
  position: fixed;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(238, 238, 238, 0.5);
  padding: 16px 0;
}

.header__inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 24px; 
}

.header__nav-list { 
  display: flex; 
  gap: 20px; 
  list-style: none; 
  margin: 0; 
  padding: 0; 
}

.header__btn{
  padding: 4px 17px;
  font-size: 15px;
}

.btn--group{
  display: flex;
  gap: 20px;
}
.header__btn-telegram{
  width: 33px;
  height: 33px;
  padding: 4px;
}

.header__nav-link { 
  color: black;
  text-decoration: none; 
  font-weight: 300; 
  transition: all 0.2s ease;
  padding: 8px 12px;
  border-radius: 6px;
}

.header__nav-link:hover { 
  color: var(--primary); 
  background: rgba(255, 255, 255, 0.1);
}

.header--scrolled .header__nav-link {
  color: var(--text);
}

.header--scrolled .header__nav-link:hover {
  color: var(--primary);
  background: rgba(131, 87, 191, 0.1);
}

.header__mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__mobile-toggle-line {
  width: 100%;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
}

.header--scrolled .header__mobile-toggle-line {
  background: var(--text);
}

.header__mobile-toggle--active .header__mobile-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.header__mobile-toggle--active .header__mobile-toggle-line:nth-child(2) {
  opacity: 0;
}

.header__mobile-toggle--active .header__mobile-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.header__mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

.header__mobile-menu--active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.header__mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 20px 0;
}

.header__mobile-nav-item {
  margin: 0;
}

.header__mobile-nav-link {
  display: block;
  padding: 16px 20px;
  color: var(--text);
  text-decoration: none;
  font-weight: 300;
  transition: background 0.2s ease;
}

.header__mobile-nav-link:hover {
  background: rgba(131, 87, 191, 0.1);
  color: var(--primary);
}

.header__mobile-btn {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  justify-content: center;
}
section{
  overflow: hidden;
}
/* Hero Block */
.hero { 
  position: relative; 
  overflow: hidden; 
  min-height: 100vh;
  display: flex;
}

.hero__bg { 
  position: absolute;
  z-index: -1;
  right: 0;
  width: 100%;
  height: 100%;
}

.hero__bg img {
  width: 100%; 
  height: 100%; 
  object-fit: cover;
}

.header__logo{
  width: 50%;
  flex: 0 0 50%;
  text-decoration: none;
  color: var(--text);
  font-weight: 300;

    display: flex;
  align-items: center;

}
.header__logo img{
  width: 137px;
  flex: 0 0 137px;
  height: auto;
}

.header__logo h1{
  font-weight: 300;
  text-align: left;
}

.hero__content { 
  position: relative; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
  padding: 120px 20px 50px;
  z-index: 1;
}

.hero__title { 
  font-size: clamp(32px, 5vw, 36px);
  font-weight: 300; 
  margin: 0 0 16px; 
  line-height: 1.2;
  color: black;

}

.hero__subtitle{
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero__conference-title {
  font-size: clamp(18px, 2.5vw, 20px);
  font-weight: 300;
  color: black;
  display: flex;
  flex-direction: column;
}
.hero__conference-title .date {
  font-weight: 600;
}
.hero__conference-title .timezone {
  font-size: 12px;
}

.hero__cta .btn{
  padding: 5px 45px;
}

.hero__media { 
  position: relative;
  z-index: 1;
}

.hero__media img { 
  width: 100%; 
  height: auto; 
  border-radius: var(--radius); 
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
/* Theme conference registration block*/
.conference__registration{
  padding: 40px 0;

}
.conference__registration__content{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.conference__registration__title{
  margin-bottom: 5px;
}
.conference__registration__subtitle{
  margin-bottom: 25px;
  margin-top: 0;
  font-size: 12px;
  font-weight: 300;
}
/* Theme Block */
.theme {
  padding: 118px 0 140px;
  text-align: center;
  position: relative;
  background-color: #E5EAF0;
}

.theme__content{
  width: 590px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
  text-align: left;
}

.theme__title {
  font-size: 20px;
  font-weight: 300;
  color: black;
  margin: 0 0 16px;
  letter-spacing: 1px;
}

.theme__subtitle {
  font-size: clamp(32px, 5vw, 55px);
  font-weight: 300;
  margin: 0 0 30px;
  line-height: 1.2;
  display: flex;
  flex-direction: column;

}
.theme__subtitle span{
  font-size: clamp(18px, 5vw, 36px);
}

.theme__content p {
  font-size: 18px;
}

/* Topics Block */
.topics { 
  padding: 60px 0;
  background: #fff;
  text-align: left;
}

.topics__title { 
  font-weight: 300; 
  font-size: 40px; 
  margin: 0 0 30px;
}

.topics__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topics__item {
  position: relative;
  padding-left: 20px;
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 1.5;
}

.topics__item::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-size: 20px;
  line-height: 1.2;
}

/* Audience Block */
.audience { 
  padding: 80px 0;
  position: relative;
}

.audience__inner{
  width: 50%;
  padding-right: 40px;
}

.audience__bg {
  position: absolute;
  z-index: -1;
}

.audience__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audience__title { 
  font-weight: 300; 
  font-size: 40px; 
  margin: 0 0 24px; 
}

.audience__list { 
  display: grid; 
  gap: 16px; 
  padding: 0; 
  margin: 0; 
  list-style: none; 
  max-width: 800px;
}

.audience__item { 
  padding-left: 20px;
  position: relative; 
  font-size: 18px;
  line-height: 1.5;
}

.audience__item::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-size: 20px;
  line-height: 1.2;
}

/* Subscribe Block */
.subscribe{
  padding: 60px 0;

}
.subscribe__content{
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.subscribe__subtitle{
  text-align: right;
}
/* Speakers Block */
.speakers {
  padding: 0 0 80px;
}

.speakers__title {
  font-weight: 300;
  font-size: 40px;
  margin: 0 0 16px;
  text-align: center;
}

.speakers__intro {
  text-align: center;
  margin: 0 auto 60px;
  font-size: 18px;
}

.speakers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 0 40px;
}

.speaker {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.speaker__photo {
  position: relative;
  height: 100%;
}

.speaker__photo img {
  width: 100%;
  height: 100%;
  transition: filter 0.3s ease;
  object-fit: cover;
}

.speaker__info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.speaker__name {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 300;
}

.speaker__title {
  margin: 0;
}

.speaker:hover .speaker__photo img {
  filter: blur(5px);
}

.speaker:hover .speaker__info {
  opacity: 1;
}

.speakers__cta {
  text-align: center;
}

/* Program Block */
.program { 
  padding: 20px 0 80px;
  position: relative;
}
.program::before, .program::after {
  content: "";
  display: block;
  position: absolute;

}

.program::before {
  background: url("./assets/images/program-bg-right.png") no-repeat top right;
  top: -50px;
  right: 0;
  width: 50%;
  height: 800px;
  background-size: contain;
}
.program::after {
  background: url("./assets/images/program-bg-left.png") no-repeat top left;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 1000px;
  background-size: contain;
  z-index: -1;
}

.program__title { 
  font-weight: 300; 
  font-size: 40px; 
  margin: 0 0 32px; 
  text-align: center; 
}

/* Tabs Block */
.tabs {
  z-index: 1;
  position: relative;
}
.tabs--bottom {
  margin-top: 32px;
}

.tabs__list { 
  display: flex; 
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.tabs--bottom .tabs__list {
  border-bottom: none;
}

.tabs__tab { 
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 300;
  transition: all 0.2s
  ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  background: none;
  color: black;
  border: 1px solid var(--primary);
}


.tabs__tab[aria-selected="true"] { 
  background: var(--primary); 
  color: #fff;
  font-weight: 300;
  border-color: var(--primary);
}

.tabs__panel {
  padding-top: 32px;
}

.tabs__panel--active {
  display: block;
}

.program__list { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 16px; 
}

.program__item {
  border-top: 1px solid #8357BF;
  padding: 35px 120px 25px 70px;
  transition: all 0.2s ease;
  display: flex;
  gap: 90px;
  align-items: flex-start;
}

.program__speaker{
  flex: 0 0 170px;
  display: flex;
  gap: 20px;
}
.program__speaker img{
  flex-grow: 1;
  object-fit: contain;
  width: 50%;
  height: auto;
  border-radius: 50%;
}


.program__meta { 
  display: flex; 
  gap: 12px; 
  align-items: baseline; 
  color: var(--muted); 
  margin-bottom: 8px; 
}

.program__time { 
  color: var(--primary); 
  font-weight: 400; 
  font-size: 15px;
}

.program__type { 
  font-size: 15px;
  padding: 2px 8px;
  border-radius: 4px;
}

.program__item-title {
  margin: 0 0 8px;
  font-weight: 300;
  font-size: 29px;
  line-height: 1.3;
}

.program__speaker--name {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
}

.program__description {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}


.program__toggle {
  display: none;
}


/* Recordings Block */
.recordings {
  position: relative;
  padding: 60px 0;
  background: #F7F7F6;
  overflow: hidden;
}

.recordings__bg {
  position: absolute;
  bottom: 0;
  right: -150px;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.recordings__bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.recordings__inner {
  position: relative;
  z-index: 1;
  max-width: 40%;
}

.recordings__title {
  font-size: 40px;
  margin-bottom: 15px;
  line-height: 1;
}
.recordings__content{
  padding-right: 50px;
}
.recordings__btn{
  margin-top: 40px;
}
/* Registration Block */
.registration {
  padding: 120px 0;
}

.registration__content {
  margin: 0 auto;
  text-align: center;
}

.registration__title {
  font-weight: 300;
  font-size: 40px;
  margin: 0 0 60px;

}

/* Form Block */
.form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

.form__group {
  text-align: left;
}
.form__group--wrapper{
  display: flex;
  gap: 20px;
  width:890px;
  margin-bottom: 45px;
}
.form__group--wrapper .form__group{
  flex: 0 0 33.33%;
}
.form__group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form__input {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--primary);
  border-radius: 50px;
  font-size: 18px;
  font-weight: 300;
  transition: border-color 0.2s ease;
  font-family: inherit;
}

.form__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(131, 87, 191, 0.1);
}
.form__group{
  margin-top: 40px;
}
.form__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form__label {
  position: relative;
  padding-left: 20px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.4;
  user-select: none;
}

.form__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  background-color: #fff;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.form__checkbox:checked + .form__label::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
}

.form__label:hover::before {
  border-color: var(--primary);
}


.form__label {
  font-size: 12px;
  line-height: 1.4;
}
/* Recordings Block */
.section {
  position: relative;
  padding: 60px 0;
  background: #F7F7F6;
  overflow: hidden;
}

.section__bg {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section__inner {
  position: relative;
  z-index: 1;
  max-width: 60%;
}

.section__title {
  font-size: 40px;
  margin-bottom: 15px;
}
.section__content{
  padding-right: 50px;
}
.section__btn{
  margin-top: 40px;
}

.section--organizer{
  background: #F0F3F8;
}



/* Conference 2024 Block */
.conference-2024 {
  padding: 60px 0;
  background: #fff;
}

.conference-2024__content {
  display: flex;
  gap: 55px;
  align-items: center;
}
.conference-2024__info{

}
.conference-2024__title {
  font-weight: 300;
  font-size: 30px;
  margin: 0 0 22px;
}

.conference-2024__media {
  flex: 0 0 340px;
}
.conference-2024__media img {
  width: 100%;
  height: auto;
}

.conference-2024__description {
  margin: 0 0 22px;
  line-height: 1.6;
}

/* Organizer Block */
.organizer { 
  padding: 80px 0; 
  position: relative;
}

.organizer__bg {
  position: absolute;
  z-index: -1;
  opacity: 0.1;
}

.organizer__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.organizer__content {
  position: relative;
  z-index: 1;
}

.organizer__title { 
  font-weight: 300; 
  font-size: 40px; 
  margin: 0 0 8px; 
}

.organizer__subtitle {
  font-weight: 300;
  font-size: 24px;
  margin: 0 0 16px;
  color: var(--primary);
}

.organizer__description {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
}

/* Support Block */
.support { 
  position: relative; 
  padding: 100px 0; 
  overflow: hidden; 
}

.support__bg { 
  position: absolute;
  z-index: -1; 
  opacity: 0.15;
}

.support__bg img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

.support__content {
  position: relative;
  z-index: 1;
}

.support__title { 
  font-weight: 300; 
  font-size: 40px; 
  margin: 0 0 16px; 
}

.support__description {
  margin: 0 0 16px;
  line-height: 1.6;
  font-size: 18px;
}

/* Gallery Block */
.gallery {
  padding: 80px 0 160px;
  position: relative;
  }
.gallery .section__bg{
  width: 50%;
}
.gallery .section__bg img{
  object-fit: contain;
  object-position: bottom;
}

.gallery__title {
  font-weight: 300;
  font-size: 40px;
  margin: 0 0 32px;
  text-align: center;
}

.gallery__grid{
  overflow: hidden;
}
.gallery__grid:not(.swiper-initialized) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery__item {
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery__item:hover {
  transform: translateY(-4px);
}

.gallery__item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery .swiper-button-group{
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 40px;
}
.gallery .swiper-button-prev,
.gallery .swiper-button-next {
  position: relative;
  bottom: auto;
  left: auto;
  top: auto;
  cursor: pointer;
  z-index: 10;
  color: transparent;
  margin: 0;
}

.gallery .swiper-button-prev{
  transform: rotate(180deg) ;
}




/* Popup Block */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.popup--active {
  display: flex;
}

.popup__overlay {
  position: absolute;
  background: rgba(131, 87, 191, 0.6);
  backdrop-filter: blur(5px);
  inset: 0;
}

.popup__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.popup__close {
  position: absolute;
  top: 0;
  right: -70px;
  z-index: 10;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  background: transparent;
}


.popup__navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}

.popup__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  pointer-events: auto;
  background: transparent;
}
.popup__nav--next{
  right: -70px;
}
.popup__nav--prev{
  left: -70px;
}

.popup__image-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup__image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.popup__counter {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
}

/* Footer Block */
.footer {
  padding: 25px 0 50px;
  background: #fff; 
}

.footer__inner--wrapper {
  display: flex;
  gap: 32px; 
  align-items: flex-end;
  position: relative;

}

.footer__content{
  display: flex;
  justify-content: space-between;
  flex-grow: 1;

  margin-bottom: 16px;
}

.footer__links { 
  display: flex; 
  gap: 24px; 
  flex-wrap: wrap;
}

.footer__link {
  color: var(--text);
  text-decoration: none; 
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--primary);
}
.footer__text{
  margin-top: 25px;
}
.footer__copyright { 
  color: var(--text);
  margin: 0 0 0;
  font-size: 9px;
}

.footer__legal {
  color: var(--text);
  font-size: 9px;
  line-height: 1.4;
  margin: 0;
}

.footer__social-link {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer__social-link:hover {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .theme__content{
    width: 100%;
  }
  .conference-2024__content {
    flex-direction: column;
  }
  .program__item{
    flex-direction: column;
    padding:25px 0;
    gap: 10px;
  }

}

@media (max-width: 992px) {
  h2{
    font-size: 30px;
  }
  .btn {
    width: 100%;
    max-width: 100%;
  }

  body{
    font-size: 14px;
  }

  .header__logo{
    flex-direction: column;
    width: 100%;
    align-items: flex-start;

  }

  .header__logo h1{
    font-size: 35px;
    padding: 0 20px ;
  }


  .header {
    padding: 16px 0;
  }
  .header__inner { 
    gap: 12px; 
  }
  .header__nav { 
    display: none; 
  }
  .header__btn {
    order: 2;
  }
  .header__btn-telegram {
    width: 33px;
    flex:0 0 33px
  }
  .header__mobile-toggle {
    display: flex;
  }
  .hero {
    min-height: 100vh;
    background: #F0F3F8;
  }
  .hero__bg{
    width: 100%;
    z-index: 0;
    right: 0;
    top: 40%;
    height: auto;
  }

  .hero__bg img{
    width: 100%;
  }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 100px 0 60px;
  }
  .hero__title, .topics__title, .program__title, .records__title, .support__title, .speakers__title, .audience__title, .gallery__title { 
    font-size: 30px;
  }
  .hero__subtitle{
    justify-content: center;
  }
  .conference__registration {
    padding: 30px 0 40px;
  }
  .conference__registration__title{
    text-align: center;
    font-size: 23px;
  }
  .theme{
    background: #F0F3F8;
    padding: 40px 0 160px;
  }
  .theme__content p{
    font-size: 14px;
  }
  .topics{
    padding: 40px 0;
  }
  .topics__item{
    font-size: 14px;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__links {
    justify-content: center;
    flex-direction: column;
    text-align: right;
    gap: 10px;
    margin-bottom: 30px;
  }
  .hero__cta {
    flex-direction: column;
    align-items: center;
  }
  .audience{
    padding: 40px 0 230px;
    background: #F0F3F8;
  }
  .audience__bg{
    height: 200px;
    bottom: 0;
    z-index: 0;
    right: 0;

  }
  .audience__inner{
    width: 100%;
    padding: 0;
  }
  .audience__item{
    font-size: 14px;
  }
  .subscribe{
    padding: 30px 0;
  }
  .subscribe__content{
    flex-direction: column;
  }
  .subscribe__subtitle{
    text-align: center;
  }
  .speakers__intro{
    font-size: 14px;
  }
  .speakers{
    padding: 30px 0 60px;
  }

  .speakers__grid {
    grid-template-columns: 1fr;
  }

  .speaker__info {
    opacity: 1;
    background: transparent;
    justify-content: flex-end;
    padding: 10px;
    align-items: flex-start;
  }

  .speaker:hover .speaker__photo img{
    filter: none;
  }

  .speaker__name {
    font-size: 24px;
    color: white;
    margin: 0;
    position: relative;
    width: 100%;
    text-align: left;
  }

  .speaker__name::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
  }

  .speaker.active .speaker__name::after {
    transform: translateY(-50%) rotate(180deg); /* Rotate arrow when active */
  }


  .speaker__title {
    display: none;
  }

  .speaker.active .speaker__photo img {
    filter: blur(5px);
  }

  .speaker.active .speaker__info {
    background: rgba(0, 0, 0, 0.7);
    opacity: 1;
    gap: 20px;
  }

  .speaker.active .speaker__title {
    display: block;
    font-size: 16px;
    text-align: left;
  }

  .speaker:hover .speaker__info {
    opacity: 1;
  }

  .tabs__list{
    gap: 10px;
  }
  .program__item-title{
    font-size: 20px;
    text-align: center;
    margin-bottom: 24px;
  }
  .program__type{
    font-size: 14px;
  }
  .program::after{
    display: none;
  }
  .program::before{
    display: none;
  }

  .program__description {
    display: none;
  }

  .program__description[aria-hidden="false"] {
    display: block;
  }

  .program__toggle {
    display: block;
    background: transparent;
    color: var(--primary);
    border: none;
    font-size: 12px;
    text-decoration: underline;
    padding: 0;
    margin-top: 24px;
  }

  .program__speaker{
    margin: 0 auto;
  }
  .recordings{
    padding: 40px 0 160px;
  }
  .recordings__title{
    font-size: 30px;
  }
  .recordings__bg{
    height: 155px;
    right: -25px;
  }
  .recordings__inner{
    max-width: 100%;
  }

  .recordings__content {
  padding-right: 0;
}

  .registration{
    padding: 60px 0;
  }

  .form__input{
    height: 47px;
  }
  .form .btn{
    height: 47px;
    margin-bottom: 24px;
  }

  .form__group--wrapper{
    flex-direction: column;
    width: 100%;
    margin-bottom: 30px;
  }

  .registration__title{
    font-size: 24px;
    margin-bottom: 30px;
  }

  .form__group--wrapper .form__group{
    flex: 0 0 100%;
  }
  .form__group {
    margin-top: 0;
  }

  .conference-2024__media {
    flex: 0 0 230px;
  }

  .conference-2024__content{
    gap: 30px;
  }

  .section{
    padding: 40px 0 140px;
  }

  .section__bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, rgba(240,243,248,1), rgba(240,243,248,0));
    pointer-events: none;
  }

  .section--support{
    background: #F0F3F8;
  }

  .section__bg{
    height: 155px;
  }

  .section__inner{
    max-width: 100%;
  }
  .section__content{
    padding: 0;
  }

  .gallery{
    padding: 40px 0 125px;
  }

  .gallery .section__bg::after{
    display: none;
  }
  .gallery .section__bg img{
    object-fit: cover;
  }
  .gallery__item img{
    height: 114px;
  }
  .gallery .section__bg {
    width: 100%;
  }
  .footer__logo{
    position: absolute;
    left: 0;
    top: 0;
  }

  .footer__inner--wrapper, .footer__content{
    flex-direction: column;
    width: 100%;
  }
  .btn--group{
    justify-content: center;
  }

  /* Mobile popup adjustments */
  .popup__content {
    max-width: 95vw;
    max-height: 95vh;
  }
  
  .popup__image-container {
    min-height: 300px;
  }
  
  .popup__nav {
    width: 40px;
    height: 40px;
  }
  
  .popup__navigation {
    padding: 0 8px;
  }
}