@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  height: 150vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background-image: url('../images/form_bg.jpg');
}

.container {
  max-width: 43.75rem;
  width: 100%;
  background-color: #fff;
  padding: 1.5625rem 1.875rem;
  border-radius: 0.3125rem;
  box-shadow: 0 0.3125rem 0.625rem rgba(0, 0, 0, 0.15);
}

.container .title {
  font-size: 2rem;
  font-weight: 500;
  position: relative;
  margin-bottom: 0.625rem;
}

.container .title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0.1875rem;
  width: 1.875rem;
  border-radius: 0.3125rem;
  background: linear-gradient(135deg, #6ddf6d, #2ecc71);
}

.content form .user-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0.625rem 0 0.75rem 0;
}

form .user-details .input-box {
  margin-bottom: 0.9375rem;
  width: calc(100% / 2 - 1.25rem);
}
table {
  margin-top: 0.3125rem;
}

a {
  color: #0077cc;
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: #6c757d;
}

form .input-box span.details {
  display: block;
  font-weight: 500;
  margin-bottom: 0.3125rem;
}

.user-details .input-box input {
  height: 2.8125rem;
  width: 100%;
  outline: none;
  font-size: 1rem;
  border-radius: 0.3125rem;
  padding-left: 0.9375rem;
  border: 0.0625rem solid #ccc;
  border-bottom-width: 0.125rem;
  transition: all 0.3s ease;
}

.user-details .input-box input:focus,
.user-details .input-box input:valid {
  border-color: #2ecc71;
}

form .package-details .package-title {
  font-size: 1.5rem;
  font-weight: 500;
}

form .category {
  display: flex;
  width: 80%;
  margin: 0.875rem 0;
  justify-content: space-between;
}

form .category label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

form .category label .dot {
  height: 1.125rem;
  width: 1.125rem;
  border-radius: 50%;
  margin-right: 0.625rem;
  background: #d9d9d9;
  border: 0.3125rem solid transparent;
  transition: all 0.3s ease;
}

#basic:checked~.category label .one,
#gold:checked~.category label .two,
#diamond:checked~.category label .three {
  background: #9b59b6;
  border-color: #d9d9d9;
}

form input[type="radio"] {
  display: none;
}

form .button {
  height: 2.8125rem;
  margin: 2.1875rem 0;
}

form .button input {
  height: 100%;
  width: 100%;
  border-radius: 0.3125rem;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.0625rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #6ddf6d, #2ecc71);
}

form .button input:hover {
  background: linear-gradient(-135deg, #6ddf6d, #2ecc71);
}
.video-section {
  margin: 1.875rem 0;
  padding: 1.25rem 0;
  border-top: 0.0625rem solid #eaeaea;
  border-bottom: 0.0625rem solid #eaeaea;
}

.video-section h2 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 0.9375rem;
  position: relative;
  padding-bottom: 0.625rem;
}

.video-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0.1875rem;
  width: 3.125rem;
  background: linear-gradient(135deg, #6ddf6d, #2ecc71);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-description {
  background-color: #f8f9fa;
  padding: 0.9375rem;
  border-radius: 0.5rem;
  margin-top: 0.9375rem;
}

.video-description details {
  border: 0.0625rem solid #ccc;
  padding: 0.625rem;
  border-radius: 0.3125rem;
  background-color: #f9f9f9;
  overflow: hidden;
  max-width: 100%;
}


.video-description details:hover {
  border-color: #2ecc71;
}

.video-description summary {
  cursor: pointer;
  font-weight: bold;
  padding: 0.3125rem;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.video-description summary::-webkit-details-marker {
  color: #2ecc71;
}

.video-description p {
  margin-top: 0.625rem;
  color: #34495e;
  line-height: 1.6;
  padding: 0 0.625rem;
}

.input-box textarea {
  width: 100%;
  height: 9.375rem;
  border: 0.0625rem solid #ccc;
  border-radius: 0.3125rem;
  padding-left: 0.3125rem;
  font-size: 1rem;
  resize: none;
  box-sizing: border-box;
}

.input-box label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


@media(max-width: 36.5rem) {
  .container {
    max-width: 100%;
  }

  form .user-details .input-box {
    margin-bottom: 0.9375rem;
    width: 100%;
  }

  form .category {
    width: 100%;
  }

  .content form .user-details {
    max-height: 18.75rem;
    overflow-y: scroll;
  }

  .user-details::-webkit-scrollbar {
    width: 0.3125rem;
  }
}

@media(max-width: 28.6875rem) {
  .container .content .category {
    flex-direction: column;
  }
}

@media (max-width: 48rem) {
  .video-section {
    margin: 1.5625rem 0;
    padding: 0.9375rem 0;
  }
  
  .video-section h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 30rem) {
  .video-section {
    margin: 1.25rem 0;
  }
  
  .video-section h2 {
    font-size: 1.2rem;
  }
  
  .video-description {
    padding: 0.625rem;
  }
}

.container {
  padding: 1.875rem;
}

.title {
  margin-bottom: 1.25rem;
}

.button {
  margin-top: 1.5625rem;
}

input[type="text"],
input[type="email"],
textarea {
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  box-shadow: 0 0 0 0.1875rem rgba(155, 89, 182, 0.2);
}

input[type="text"],
input[type="email"],
textarea,
.video-container,
.video-description details {
  border-radius: 0.375rem;
}