:root {
  --bg-color: #1e1e1e;
  --text-color: #e0e0e0;
  --button-color: #2d2d2d;
  --button-hover: #3a3a3a;
}

.dark-theme {
  --bg-color: black;
  --text-color: white;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
}

.title-wrapper {
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title {
  position: relative;
  font-size: 5px;
  white-space: nowrap;
}

.wawy-text {
  position: relative;
  display: inline-block;
  letter-spacing: clamp(2px, 2vw, 10px);
  animation: waveAnim 1s infinite;
  animation-delay: calc(0.1s * var(--i));
  text-shadow: 2px 2px #0000;
}

@keyframes waveAnim {
  0%,
  40%,
  100% {
    transform: translateY(0);
  }

  20% {
    transform: translateY(-70px);
  }
}

.container {
  width: 100%;
  height: 700px;
  padding: 1em;
  display: flex;
  gap: 1em;
  margin: auto;
}

.col-left,
.col-right {
  flex: 1;
  border-radius: 2em;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.row {
  flex: 1;
  border-radius: 2em;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}

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

.promo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2em;
}

.row-text-block {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
}

.sub-text {
  font-size: 14px;
  font-weight: normal;
  margin-top: 5px;
}

.row3 {
  display: flex;
  gap: 1em;
}

.row-col {
  flex: 1;
  border-radius: 2em;
  position: relative;
  overflow: hidden;
}

.video {
  width: 100%;
  height: 100%;
  border-radius: 2em;
}

.logos {
  overflow: hidden;
  white-space: nowrap;
  max-width: 800px;
  margin: auto;
  margin-bottom: 25px;
}

.logos-slide {
  display: inline-block;
  animation: 50s slide infinite linear;
}

.logos-slide img {
  width: 150px;
  height: 200px;
  border-radius: 8px;
  margin: 0 20px;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.text-container {
  margin: 0 auto;
  margin-bottom: 25px;
  max-width: 800px;
  padding: 2em;
  border-radius: 15px;
}

.subtext {
  margin-top: 10px;
}

.buttons {
  margin-top: 25px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--button-color);
  color: var(--text-color);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 8px;
  text-transform: uppercase;
  text-decoration: none;
  margin: 5px;
  transition: all 0.2s ease-in-out;
}

.button:hover {
  background-color: var(--button-hover);
}

/* Bundle styles */
.bundle {
  border-radius: 12px;
  padding: 15px;
  margin-top: 20px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.bundle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.9);
}

.bundle img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.bundle .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s;
}

.bundle:hover .overlay {
  opacity: 1;
}

.bundle-price {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: var(--button-color);
  color: var(--text-color);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid black;
  border-radius: 8px;
  text-transform: uppercase;
  text-decoration: none;
  margin: 5px;
  transition: all 0.2s ease-in-out;
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.modal-content {
  background-color: #2c2f33;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  margin: 10% auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid #5865f2;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
  width: 100%;
  padding: 8px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #40444b;
  color: #fff;
}

.modal-content button {
  width: 100%;
  padding: 10px;
  background-color: #5865f2;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.modal-content button:hover {
  background-color: #4751c7;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.slider-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-gap: 10px;
}

.card {
  width: 100%;
  height: 200px;
  border-radius: 15px;
  transition: transform 250ms;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.card:hover {
  transform: translateY(-10px);
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  overflow: none;
}

.popup-content {
  max-width: 80%;
  margin: 100px auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
}

@media (min-width: 600px) {
  .popup-content {
    max-width: 60%;
    margin: 50px auto;
    padding: 15px;
  }
}

.card-popup {
  background-color: var(--bg-color);
  display: flex;
  text-align: left;
}

.card-popup img {
  max-width: 40%;
  height: auto;
  margin-right: 20px;
  border-radius: 8px;
  padding: 10px;
}

.card-popup .text-content {
  padding: 25px;
  max-width: 60%;
}

.card-image {
  max-width: 100%;
  height: auto;
  margin: 10px 0;
}

@media (min-width: 768px) {
  .container {
    width: 1000px;
  }

  .title {
    font-size: 50px;
  }
}
