* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Gilroy", sans-serif;
}

body {
  line-height: 1.6;
  background-color: #ffffff;
  color: #333;
}

.container {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
}

.slider-heading {
  position: relative;
  color: white;
  text-shadow: 0 0 5px rgba(84, 0, 115, 0.8), 0 0 10px rgba(84, 0, 115, 0.6),
    0 0 15px rgba(84, 0, 115, 0.4);
}

.portfolio-color-grey {
  background-color: #f4edfa;
}

.portfolio-color-white {
  background-color: #ffffff;
}

.section-color-purple {
  background-color: #1a0730;
}

.section-color-gradient {
  background: linear-gradient(to bottom, #1a0730, #55258b);
}

.gradient-purple {
  background: linear-gradient(to right, #3d136c, #8e4ed3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1,
h2 {
  text-align: center;
  font-size: 380%;
  padding-bottom: 20px;
  font-weight: 1000;
}

h3 {
  text-align: center;
  font-size: 190%;
  padding-top: 20px;
  font-weight: 1000;
}

section {
  padding: 80px 0;
}

.section-contact {
  padding: 150px 0;
}

.styled-section {
  height: 20%;
  position: relative;
}

.curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
}

nav {
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  width: 80px;
  position: relative;
  margin-bottom: -105px;
  filter: drop-shadow(0 0 1px rgba(84, 0, 115, 0.8)) drop-shadow(0 0 5px rgba(84, 0, 115, 0.6)) drop-shadow(0 0 7px rgba(84, 0, 115, 0.4));
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  transition: background 0.3s;
  border-radius: 8px;
}

nav ul li a:hover {
  background: #bb85ff;
  border-radius: 8px;
  color: #1a0730 !important;
  font-weight: 1000 !important;
}

header {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.header-video-frame {
  border-radius: inherit;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.header-text {
  position: absolute;
  font-size: 75%;
  top: 45%;
  left: 40%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  padding: 35px;
  width: 40%;
}

#home .btn {
  display: inline-block;
  padding: 15px 20px;
  background: #55258b;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
}

#home .offer-form-group input {
  width: 320px;
  font-size: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

#services .services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

#services .service {
  background: #f6f0ff;
  padding: 20px;
  border-radius: 15px;
}

.service img {
  width: 50px;
  height: auto;
}

.extra-bold {
  font-weight: 1000;
  font-size: 120%;
}

.portfolio-container {
  background-color: white;
  padding: 50px 0;
  text-align: center;
}

.portfolio-container h2,
.portfolio-container p {
  color: #333;
}

.portfolio-box {
  padding: 50px 20px;
  border-radius: 35px;
  position: relative;
  margin: 0 auto;
  max-width: 80%;
}

.portfolio-grid-wrapper {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 1200;
  padding-left: 16%;
  padding-right: 16%;
}

.portfolio-grid {
  display: flex;
  justify-content: space-around;
  gap: 15px;
  flex-wrap: wrap;
  border-radius: 35px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding: 0 50px;
  background-color: transparent;
}

.portfolio-item {
  width: 220px;
  overflow: visible;
  border-radius: 35px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item video {
  width: 100%;
  height: 270px;
  border-radius: inherit;
  object-fit: cover;
}

.portfolio-item:hover {
  transform: translateY(-30px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.portfolio-item:hover video {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.video-frame {
  width: 220px;
  height: 275px;
  border-radius: inherit;
  object-fit: cover;
}

.playable-item {
  width: 220px;
  height: 280px;
  overflow: hidden;
  border-radius: 35px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.playable-item img {
  width: 100%;
  height: 76%;
  object-fit: cover;
  border-radius: inherit;
}

.experience-btn {
  display: inline-block;
  padding: 10px 10px;
  background-color: #55258b;
  color: #fff;
  text-align: center;
  border-radius: 25px;
  position: absolute;
  bottom: 13px;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
  font-weight: bold;
  width: 95%;
}

.experience-btn:hover {
  color: white;
  background: #bb85ff;
  border-radius: 8px;
  color: #1a0730 !important;
  font-weight: 1000 !important;
  border-radius: 25px;
}

.clients-container {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.clients-box {
  background-color: #ffffff;
  width: 80%;
  margin: 0 auto;
  height: 80%;
  border-radius: 35px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding-top: 20px;
  padding-bottom: 20px;
  overflow: hidden;
}

.client-logos {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  position: relative;
  gap: 70px;
}

.logo-slide {
  min-width: 150px;
  margin: 0 10px;
}

.client-logos img {
  width: 100%;
  height: auto;
}

.about-description {
  padding: 20px;
  text-align: center;
  color: #1a0730;
}

#about .team-members {
  display: flex;
  justify-content: center;
  gap: 70px;
  flex-wrap: wrap;
}

.team-members .member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 10px;
  object-fit: cover;
  object-position: top;
}

#contact .btn {
  display: inline-block;
  padding: 15px 20px;
  background: #55258b;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}

.contact-link-description {
  text-align: center;

  padding-bottom: 4%;
}

.contact-description {
  padding: 20px;
  text-align: center;
  color: #aaaaaa;
}

.link {
  text-decoration: underline;
  color: inherit;
  color: #55258b;
  font-weight: 1000;
  font-size: 120%;
}

.link:hover {
  color: blue;
}

footer {
  background: #1a0730;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

form {
  margin-top: 20px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"] {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 250px;
}

button.btn {
  padding: 12px 20px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

button.btn:hover {
  background-color: #555 !important;
  color: white;
  background: #bb85ff !important;
  border-radius: 8px;
  color: #1a0730 !important;
  font-weight: 1000 !important;
  border-radius: 45px;
}

@media (max-width: 768px) {
  .header-text {
    transform: translate(-80%, -50%);
    width: 50%;
  }

  .form-row {
    flex-direction: column;
    align-items: stretch;
    padding: 0px;
  }

  .form-group input,
  .form-group button {
    width: 100%;
  }

  .offer-form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .offer-form-group {
    width: 100%;
  }

  #services .service {
    grid-template-columns: 1fr;
  }

  h1,
  h2 {
    font-size: 280%;
  }

  h3 {
    font-size: 140%;
  }

  .extra-bold {
    font-size: 100%;
  }

  p {
    font-size: 90%;
  }

  nav ul {
    gap: 0px;
  }

  .portfolio-item {
    width: 180px;
  }

  .video-frame {
    width: 180px;
    height: 225px;
  }

  .playable-item {
    width: 180px;
    height: 280px;
  }

  .service img {
    width: 30px;
    height: auto;
  }
}

@media (max-width: 480px) {
  nav .container {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  nav .logo {
    width: 58px !important;
    margin-bottom: 0 !important;
  }

  h1,
  h2,
  h3 {
    font-size: 220% !important;
  }

  .header-text {
    transform: translate(-50%, -50%) !important;
    width: 100% !important;
    left: 50% !important;
    top: 50% !important;
    padding: 16px 18px !important;
    font-size: 70% !important;
  }

  header {
    height: 62vh !important;
  }

  #home .offer-form-group input {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  h1,
  h2 {
    font-size: 30px !important;
    padding-bottom: 0px !important;
  }

  h3 {
    font-size: 110% !important;
    padding-top: 0px !important;
  }

  .extra-bold {
    font-size: 90% !important;
  }

  p {
    font-size: 80% !important;
    text-align: center !important;
  }

  nav ul {
    gap: 6px !important;
    font-size: 12px !important;
    width: 100% !important;
    justify-content: center !important;
    padding: 4px !important;
    flex-wrap: wrap !important;
  }

  .portfolio-item {
    width: 100% !important;
    max-width: 220px !important;
    margin: 0 auto !important;
  }

  .video-frame {
    width: 100% !important;
    height: 260px !important;
  }

  .playable-item {
    width: 100% !important;
    max-width: 220px !important;
    height: 280px !important;
  }

  .portfolio-box {
    max-width: 100% !important;
    padding: 30px 12px !important;
  }

  .portfolio-grid-wrapper {
    padding-left: 4% !important;
    padding-right: 4% !important;
  }

  .portfolio-grid {
    padding: 0 10px !important;
  }

  .clients-box {
    width: 95% !important;
  }

  .section-contact {
    padding: 110px 0 !important;
  }

  .curve {
    height: 60px !important;
  }

  .service img {
    width: 30px !important;
    height: auto !important;
    margin: 0 auto;
    display: table;
    margin-bottom: 20px;
  }

  #services .services {
    grid-template-columns: repeat(1, 1fr);
    gap: 13px;
  }

  section#services h2.gradient-purple {
    margin-bottom: 20px;
  }

  #services .services .service:nth-child(3) {
    display: none;
  }

  section#portfolio {
    padding: 0px 0px !important;
  }

  section#portfolio .portfolio-container {
    padding-top: 0px !important;
  }

  .portfolio-box h2.gradient-purple {
    margin-bottom: 20px !important;
  }

  .portfolio-color-grey {
    padding: 20px 0px !important;
  }
}