body {
      margin: 0;
      color-scheme: light;
      font-family: 'Inter', sans-serif;
      background: #fff;
      color: #ffffffe5;
      overflow-x: hidden;
    }

    /* ==== Десктоп (стария ти дизайн) ==== */
    .navbar {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 40px;
      background: rgba(3, 3, 3, 0.46);
      backdrop-filter: blur(9px);
      border-bottom-left-radius: 20px;
      border-bottom-right-radius: 20px;
      box-sizing: border-box;
      z-index: 10;
    }

    .navbar-left {
      display: flex;
      align-items: center;
      gap: 40px;
    }

    .logo {
      width: 98px;
      height: 63px;
    }

    .messages {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  font-weight: 200;
}

.messages img {
  width: 60px;
  height: 53px;
}


    .navbar-center {
  display: flex;
  font-size: 21px;
  font-weight: 500;
}

.navbar-center a {
  padding: 0 20px;
  color: #fff;               
  text-decoration: none;     
  display: flex;
  align-items: center;
  position: relative;        /* за анимацията на линията */
  transition: color 0.3s ease; /* плавна смяна на цвета */
}

/* вертикална линия между елементите */
.navbar-center a:not(:first-child) {
  border-left: 2px solid rgba(255, 255, 255, 0.5);
}

/* подчертаваща линия при hover */
.navbar-center a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;            /* малко под текста */
  width: 0;
  height: 2px;
  background-color: #43A4C7; /* акцентен цвят */
  transition: width 0.3s ease;
}

/* hover ефект */
.navbar-center a:hover {
  color: #43A4C7; /* смяна на текста при hover */
}

.navbar-center a:hover::after {
  width: 100%;       /* линията се разширява до края на текста */
}



    .navbar-right {
      text-align: right;
    }

    .navbar-right h1 {
      font-size: 23px;
      font-weight: 700;
      margin: 0;
      margin-right: 6%;
    }

    .navbar-right hr {
      border: none;
      height: 2px;
      background: #ffffffa8;
      margin: 4px 0;
    }

    .navbar-right span {
      font-size: 16px;
      font-weight: 700;
      opacity: 0.55;
    }

    .hero {
      position: relative;
      width: 100%;
      height: 380px;
      background: url('Image/serena-repice-lentini-hawN8XnaJuY-unsplash.jpg') center/cover no-repeat;
      background-position: 80% 55%;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to right, rgba(0, 0, 0, 0.90), rgba(0, 0, 0, 0));
    }

    .hero-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.2;
  z-index: 1;

  opacity: 0;                 /* скрито в началото */
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.3s;        /* изчаква 1 секунда */
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


    .hero-text span.full { color: #fff; }
    .hero-text span.fade { color: rgba(255, 255, 255, 0.6); }

    .buttons {
      display: flex;
      justify-content: space-between;
      padding: 20px;
    }

    .button {
      position: relative;
      width: 450px;
      height: 302px;
      overflow: hidden;
      clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
    }

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

    .button::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.20);
    }

    .button span {
      position: absolute;
      bottom: 15px;
      left: 20px;
      font-size: 24px;
      font-weight: 700;
      z-index: 2;
      color: #fff;
    }
    .signup-btn {
  margin-left: 20px;
  padding: 8px 18px;
  background: #43A4C7;
  color: #fff !important;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.signup-btn:hover {
  background: #1b6f8c;
  transform: translateY(-2px);
}

    /* ==== Мобилни елементи (по подразбиране скрити) ==== */
    .hero-logo, .mobile-info { display: none; }
.signup-btn-mobile {
    display: none;
    margin-top: 12px;
    padding: 4px 10px;
    background: #43A4C7;
    color: #fff;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s 
ease;
}

    .signup-btn-mobile:hover {
      background: #1b6f8c;
      transform: translateY(-2px);
    }
/* ===== Sponsor strip (footer) ===== */
.sponsor-strip{
  background:#fff;
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,.06);
}

/* контейнерът скрива излишното и добавя меки маски по краищата */
.marquee{
  position: relative;
  overflow: hidden;
  /* маска за да "избледняват" логата при влизане/излизане */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.marquee__track{
  display: inline-flex;
  align-items: center;
  gap: 48px;                 /* разстояние между логата */
  min-width: max-content;    /* не чупи ред */
  will-change: transform;
  animation: marquee-scroll 24s linear infinite;
}

.marquee:hover .marquee__track{
  animation-play-state: paused;       /* пауза при hover */
}

@keyframes marquee-scroll{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* местим точно половината, защото имаме 2 еднакви списъка */
}

.marquee__item{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.marquee__item img{
  height: 60px;              /* контролирай височината на лентата */
  width: auto;
  display: block;
  opacity: .95;
  transition: opacity .2s ease, transform .2s ease;
}

.marquee__item img:hover{
  opacity: 1;
  transform: scale(1.04);
}

/* по-ниска лента на мобилни */
@media (max-width: 600px){
  .marquee__track{ gap: 28px; }
  .marquee__item img{ height: 44px; }
}

/* уважаваме потребители с намалени анимации */
@media (prefers-reduced-motion: reduce){
  .marquee__track{
    animation: none;
    transform: translateX(0);
  }
}
.marquee__item a{
  display: flex;
  align-items: center;
}

.marquee__item a:focus-visible{
  outline: 2px solid #1b6f8c;
  outline-offset: 4px;
  border-radius: 6px;
}
/* ===== Заглавие над лентата със спонсори ===== */
.sponsor-title{
  margin: 0 auto 10px;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #0b2755;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.2;
  width: fit-content;
  position: relative;
}

/* декоративна линия под заглавието */
.sponsor-title::after{
  content:"";
  display: block;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1b6f8c, #43A4C7, #1b6f8c);
  width: 64%;
  margin: 8px auto 0;
  opacity: .9;
}

/* малко повече въздух във footer-a, защото вече има заглавие */
.sponsor-strip{
  background:#fff;
  padding: 12px 0 10px; /* ↑ беше 10px 0; добавяме място за заглавието */
  border-top: 1px solid rgba(0,0,0,.06);
}

/* мобилна корекция */
@media (max-width: 600px){
  .sponsor-title{ margin-bottom: 8px; }
  .sponsor-title::after{ height:3px; width: 72%; }
}
/* ===== Карти с детайли за спонсори ===== */
.sponsor-cards{
  background: #f7fbfd;
  padding: 28px 16px 40px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.sponsor-cards__title::after{
  content:"";
  display:block;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1b6f8c, #43A4C7, #1b6f8c);
  width: 60%;
  margin: 8px auto 0;
  opacity:.9;
}

.sponsor-cards__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 34px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 980px){
  .sponsor-cards__grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .sponsor-cards__grid{ grid-template-columns: 1fr; }
}
/* Карта с градиентна „рамка“ без mask() */
.s-card{
  position: relative;
  /* двоен фон: 1) бял пълнеж (padding-box), 2) градиент за рамка (border-box) */
  background:
    linear-gradient(#ffffff, #f5fbfe) padding-box,
    linear-gradient(135deg, #1b6f8c, #43A4C7 35%, #75d0ec 70%, #1b6f8c) border-box;
  border: 2px solid transparent;    /* показва border-box слоя */
  border-radius: 20px;
  padding: 18px 18px 16px;

  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;

  box-shadow: 0 10px 28px rgba(8,37,66,.12), inset 0 1px 0 rgba(255,255,255,.7);
  transform-origin: 50% 80%;
  will-change: transform, opacity, filter;

  /* състояние преди да стане видима (за анимацията) */
  opacity: 0;
  transform: translateY(26px) scale(.98);
  filter: blur(4px);
}

/* Мека светлина отдолу (оставяме си я) */
.s-card::after{
  content:"";
  position:absolute; left:10%; right:10%; bottom:-10px; height:22px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(67,164,199,.35), transparent);
  filter: blur(6px);
  z-index:-1;
}

/* Hover динамика на десктоп */
@media (hover:hover){
  .s-card:hover{
    transform: translateY(-2px) rotateX(1.2deg) rotateY(-1.2deg);
    box-shadow: 0 16px 36px rgba(8,37,66,.18);
  }
  .s-card:hover .s-card__logo{ transform: translateY(-2px) scale(1.04); }
}

/* Останалото от дизайна ти */
.s-card__logo{
  height: 115px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 2px auto 0;
  transition: transform .35s ease;
}

.s-card__name{
  margin: 8px 0 0;
  text-align: center;
  font-weight: 900;
  letter-spacing: .02em;
  font-size: clamp(17px, 1.8vw, 20px);
  color: #0b2755;
}

.s-card__desc{
  margin: 0;
  color: #0b2755cc;
  font-size: 15px;
  line-height: 1.5;
  text-wrap: balance;
}

.s-card__cta{
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg,#43A4C7,#1b6f8c);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(27,111,140,.28);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.s-card__cta:hover{ transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 10px 20px rgba(27,111,140,.32); }
.s-card__cta:focus-visible{ outline: 2px solid #1b6f8c; outline-offset: 2px; }
.s-card__cta svg{ flex: 0 0 auto; }

/* Анимация при поява (остава същата) */
.s-card.is-visible{ animation: card-in .75s cubic-bezier(.21,1.02,.35,1) forwards; }
@keyframes card-in{
  0%   { opacity:0; transform: translateY(26px) scale(.98) rotateX(6deg); filter: blur(4px); }
  60%  { opacity:1; transform: translateY(-4px) scale(1.01) rotateX(0deg); filter: blur(0px); }
  100% { opacity:1; transform: translateY(0) scale(1) rotateX(0deg); filter: blur(0); }
}

/* Stagger по позиции */
.sponsor-cards__grid > .s-card:nth-child(1){ animation-delay: .05s; }
.sponsor-cards__grid > .s-card:nth-child(2){ animation-delay: .12s; }
.sponsor-cards__grid > .s-card:nth-child(3){ animation-delay: .19s; }
.sponsor-cards__grid > .s-card:nth-child(4){ animation-delay: .26s; }
.sponsor-cards__grid > .s-card:nth-child(5){ animation-delay: .33s; }
.sponsor-cards__grid > .s-card:nth-child(6){ animation-delay: .40s; }

@media (prefers-reduced-motion: reduce){
  .s-card{ opacity:1; transform:none; filter:none; }
  .s-card.is-visible{ animation:none; }
}





    @media (max-width: 450px) {
      .signup-btn-mobile {
        display: inline-block;
      }
    }


@media (min-width: 451px) {
  .button {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }

  .button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
}
@media (max-width: 450px) {
  
  html, body {
    overflow-x: hidden;
  }
  
  .navbar { 
    display: none; /* desktop менюто се маха */
  }

  .hero {
    width: 100%;
    max-width: 100%;
    height: 255px; /* ти си определяш височината */
    background: url('Image/serena-repice-lentini-hawN8XnaJuY-unsplash.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 10px; /* по-малък padding, за да няма хоризонтален скрол */
    box-sizing: border-box;
    background-position: 80% 60%;
  }

  .hero::after { 
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.90), rgba(0,0,0,0));
    z-index: 1;
  }
    .hero-text {
        position: relative;
        font-size: 22px;
        font-weight: 800;
        line-height: 1.4;
        max-width: 100%;
        z-index: 2;
        color: #fff;
        margin-top: 14%;
        margin-left: -8%;
    }
    .hero-text span.fade {
    color: rgb(255 255 255 / 74%);
}



  .hero-logo {
    display: block;
    position: relative; /* вече не е absolute */
    width: 80px;
    height: auto;
    z-index: 2;
    margin-top: 10px;
  }

      .mobile-info {
        display: block;
        background: #fff;
        border-radius: 40% 40% 0 0;
        margin-top: -18%;
        text-align: center;
        color: #000;
        box-sizing: border-box;
        max-width: 168%;
        position: relative;
        z-index: 3;
    }

.mobile-info::before {
  position: absolute;
  top: -60px;           /* колко навлиза в hero */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 120px;
  background: #fff;
  border-radius: 50% / 100%; /* елипсовидна форма */
  z-index: -1;          /* да слезе зад съдържанието на mobile-info */
}

  .mobile-info h1 {
        font-size: 22px;
        font-weight: 700;
        margin: 0;
        COLOR: #0b2755;
    }

  .mobile-info .messages {
    margin-top: 10px;
    font-size: 14px;
    color: #3333334f;
  }

.button {
  width: 60%;         /* ширината на всеки бутон */
  height: 65px;       /* височината */
  clip-path: none;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  
}

/* нечетните (1, 3) - вляво */
.button:nth-child(odd) {
  align-self: flex-start;
}

/* четните (2, 4) - вдясно */
.button:nth-child(even) {
  align-self: flex-end;
}

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

.button::after {
  content: "";
  position: absolute;
  inset: 0;
}

   .button span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
    text-align: center;
    white-space: nowrap; /* предотвратява пренасяне на текста на следващ ред */
}
.buttons {
    position: relative; /* нужно за pseudo-element */
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0px 0px 40px 0px;
    box-sizing: border-box;
    align-items: self-end;
    margin: -4%;
    margin-top: 10%;
  }

  /* Псевдо-елемент за фон зад бутоните */
      .buttons::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 290%;
        height: 100%;
        background: url(Image/daniel-sinoca-AANCLsb0sU0-unsplash.jpg) bottom / cover no-repeat;
        z-index: -1;
    }
.buttons .button {
    opacity: 0;
    transform: translateX(-100px); /* ще се появят отляво */
    transition: transform 0.5s ease, opacity 0.5s ease;
  }

  /* клас, който ще добавим с JS при зареждане */
  .buttons .button.show {
    opacity: 1;
    transform: translateX(0);
  }

  /* може да сложиш stagger за последователно появяване */
  .buttons .button:nth-child(1) { transition-delay: 0.2s; }
  .buttons .button:nth-child(2) { transition-delay: 0.4s; }
  .buttons .button:nth-child(3) { transition-delay: 0.6s; }
  .buttons .button:nth-child(4) { transition-delay: 0.8s; }

}
@media (max-width: 415px) {

  .hero-text {
        font-size: 22px;
    }
    .hero-logo {
        width: 67px;
    }
}
