@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}

body {
  height: 100%;
  background: #09001d;
  overflow-x: hidden;
}

.main {
  height: 100vh;
  background: url(bg.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  transition: .5s ease;
  pointer-events: auto;
}

.main.active {
  filter: blur(15px);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 7%;
  background: transparent;
  display: flex;
  align-items: center;
  z-index: 100;
  transition: .5s ease;
}

.logo {
  font-size: 1.7rem;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  margin-right: auto;
  transition: 0.5s ease;
}

.logo:hover {
  transform: scale(1.1);
}

span {
  color: #dd25a9;
}

.navbar a {
  position: relative;
  font-size: 1vw;
  color: #fff;
  font-weight: 500;
  margin-right: 3.5rem;
  transition: 0.5s ease;
}

.navbar a::after {
  content: "";
  position: absolute;
  background: #fff;
  width: 100%;
  height: 0.1rem;
  left: 0;
  bottom: -1px;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.5s ease;
}

.navbar a:hover {
  color: #dd25a9;
}

.navbar a:hover::after {
  background: #dd25a9;
  transform-origin: bottom left;
  transform: scaleX(1);
}

.navbar a.active {
  color: #dd25a9;
  font-weight: bold;
}

.navbar a.active::after {
  background: #dd25a9;
  transform: scaleX(1);
  transition: transform 0.5s ease;
}


.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: #09001d;
  /* or your desired color */
}

/* Content Containers Styling */
.home {
  position: relative;
  left: -50%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about {
  height: 100vh;
  /* Takes up the full height of the viewport */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about h2 {
  text-align: center;
  font-size: 4rem;

}

.about p {
  margin: 0 10rem;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.container2 {
  display: flex;
  height: 100vh;
  width: 200%;
}

.main-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
  line-height: 5rem;
}

#title-container {
  background-color: rgba(0, 0, 0, 0.2);
  border: .2rem solid #dd25a9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 4rem #dd25a9;
  text-align: center;
}

h1,
h2 {
  color: #fff;
  font-size: 50px;
  font-weight: 700;
}

p {
  color: #fff;
}

button {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 800;
  background-color: #dd25a9;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  margin: 10px 0;
  border: .1rem solid #fff;
  transition: background-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
  /* Ensure this line is correct */
}

button:hover {
  background: transparent;
}

.popup-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.9);
  width: 500px;
  background: #ddd;
  border-radius: 6px;
  padding: 10px 25px;
  opacity: 0;
  pointer-events: none;
  transition: .5s ease;
}

.popup-info.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.popup-info h2 {
  font-size: 50px;
  color: #dd25a9;
  border-bottom: 1px solid #dd25a9;
}

.popup-info .info {
  display: inline-block;
  font-size: 16px;
  color: #333;
  font-weight: 500;
  margin: 4px 0;
}

.popup-info .btn-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #dd25a9;
  margin-top: 10px;
  padding: 15px 0 7px;
}

.popup-info .btn-group .info-btn {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 800;
  background-color: #dd25a9;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 6px;
  margin: 10px 0;
  border: .1rem solid #fff;
  transition: background-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
  /* Ensure this line is correct */
}

.popup-info .btn-group .info-btn:nth-child(1) {
  background: transparent;
  color: #dd25a9;
  border: 2px solid #dd25a9;
}

.popup-info .btn-group .info-btn:nth-child(1):hover {
  background: #dd25a9;
  color: #fff;
}

.popup-info .btn-group .info-btn:nth-child(2):hover {
  background: #950170;
  color: #fff;
}

.quiz-section {
  position: relative;
  /*left: 0;*/
  left: -50%;
  width: 100%;
  background: #09001d;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  transition: .8s ease-in-out;
  transition-delay: .25s;
}

.quiz-section.active {
  left: 0;
}

.quiz-section .quiz-box {
  position: relative;
  width: 500px;
  background: transparent;
  border: 2px solid #dd25a9;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  padding: 20px 30px;
  opacity: 0;
  pointer-events: none;
  transition: .3s ease;
  transition-delay: 0s;
  transform: scale(.9);
}

.quiz-section .quiz-box.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  transition: 1s ease;
  transition-delay: 1s;
}

.quiz-section .quiz-box h1 {
  font-size: 32px;
  text-align: center;
  background: linear-gradient(45deg, transparent, #dd25a9, transparent);
}

.quiz-box .quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 2px solid #dd25a9;
}

.quiz-header span {
  font-size: 18px;
  font-weight: 600;
}

.quiz-header .header-score {
  background: #dd25a9;
  border-radius: 3px;
  color: #fff;
  padding: 7px;
}

.quiz-box .question-text {
  font-size: 24px;
  font-weight: 600;
}

.option-list .option {
  width: 95%;
  padding: 12px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  font-size: 17px;
  margin: 15px 0;
  cursor: pointer;
  transition: .3s ease;
}

.option-list .option.correct {
  background: #09001d;
  border-color: #00a63d;
}

.option-list .option.incorrect {
  background: #09001d;
  border-color: #a60045;
}

.option-list .option:hover {
  background: rgba(255, 255, 255, .1);
  border: 2px solid rgba(255, 255, 255, .1);
}

.option-list .option.correct span {
  color: #00bb45;
}

.option-list .option.incorrect span {
  color: #a60045;
}

.option-list .option span {
  color: #fff;
}

.option-list .option.disabled {
  pointer-events: none;
}

.quiz-box .quiz-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid #dd25a9;
  margin-top: 25px;
}

.quiz-footer .question-total {
  font-size: 26px;
  font-weight: 600;
  color: #fff;
}

.quiz-footer .next-btn {
  background: #5d615e;
  color: #505050;
  border-color: transparent;
  pointer-events: none;
}

.quiz-footer .next-btn.active {
  pointer-events: auto;
  background: #dd25a9;
  border-color: #fff;
  color: #fff;
}

.quiz-footer .next-btn.active:hover {
  background: #c40c80;
  border-color: #dd25a9;
}

.quiz-section .result-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)scale(.9);
  width: 500px;
  background: transparent;
  border: 2px solid #dd25a9;
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: .5s ease;
}

.quiz-section .result-box.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.result-box .percentage-container {
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0 40px;
}

.percentage-container .circular-progress {
  position: relative;
  width: 250px;
  height: 250px;
  background: conic-gradient(#dd25a9 3.6deg, rgba(255, 255, 255, .1) 0deg);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.percentage-container .circular-progress::before {
  content: '';
  position: absolute;
  width: 210px;
  height: 210px;
  background: #09001d;
  border-radius: 50%;
}

.circular-progress .progress-value {
  position: relative;
  font-size: 45px;
  font-weight: 600;
  color: #fff;
}

.percentage-container .score-text {
  font-size: 26px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.buttons button {
  margin: 0 4.4px;
}

.buttons button:nth-child(2) {
  background: transparent;
  color: #dd25a9;
}

.buttons button:nth-child(2):hover {
  background: #dd25a9;
  color: #fff;
}

/* Footer Styling */
footer {
  background: linear-gradient(45deg, #f06, #3cf);;
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

footer .text p {
  font-size: 1.6rem;
  color: #fff;
  text-align: center;
}

footer i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .5rem;
  background: #000;
  color: #fff;
  border-radius: 5px;
  font-size: 2rem;
  transition: .4s ease;
  border: 1.3px solid transparent;
  outline: 2px solid transparent;
}

footer i:hover {
  outline: 2px solid #fff;
  box-shadow: 0 0 2rem #09001d;
}
:root {
  --main-color: #dd25a9;
  --text-color: #fff;
  --bg-color: #09001d;
}

.contact {
  padding: 5rem 0;
  background-color: #09001d;
}

.contact .container {
  width: 100%;
  max-width: 1100px;
  margin: auto;
  text-align: center;
  color: #fff;
}

.contact h2 {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: #fff;
}

.contact p {
  font-size: 1.5rem;
  margin-bottom: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form form {
  width: 100%;
  max-width: 600px;
}

.input-box {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: .6rem auto;
}

.input-box input,
.input-box textarea {
  width: 100%;
  padding: 20px;
  margin: 5px 0;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 5px;
  color: #fff;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.input-box label {
  position: absolute;
  top: 35%;
  left: 15px;
  transform: translateY(-50%);
  color: #fff;
  font-size: 12px;
  pointer-events: none;
  transition: 0.3s;
  opacity: 1;
  background: #09001d;
}

input:focus,
textarea:focus {
  border: 2px solid #dd25a9;
}

input:focus~label,
textarea:focus~label,
input:valid~label,
textarea:valid~label {
  top: 0;
  font-size: 13px;
  padding: 0 10px;
  opacity: 1;
  color: #fff;
}

.contact-form button {
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background: #dd25a9
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #950170;
}

/* Scrollbar */

::-webkit-scrollbar {
	width: 7px;
}

::-webkit-scrollbar-thumb {
	background-color: #dd25a9;
}

::-webkit-scrollbar-track {
	background-color: #000;
}