@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-color: #6a38c2;
  --primary-color-dark: #6132b4;
  --text-dark: #262626;
  --text-light: #737373;
  --extra-light: rgb(229, 229, 229);
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
  padding-top: 1rem;
}

.section__header {
  margin-top: 4rem;
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-left: 0;
}

.section__header span {
  color: black;
}

.section__description {
  max-width: 600px;
  margin-inline: auto;
  color: var(--text-light);
  line-height: 1.75rem;
  margin-left: 0;
}

.header__btn {
  font-family: "Poppins";
  padding: 1rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: #3682e6;
  box-shadow: 0 8px 18px #3682e69d;
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
}

.header__btn:hover {
  box-shadow: 0 12px 30px #3682e69d;
  transform: translateY(-3px);
  
}

.btn:hover {
  background-color: var(--primary-color-dark);
  box-shadow: 2px 2px 10px rgba(106, 56, 194, 0.5);
}

.header__btn::after {
  box-shadow: 0 8px 18px #3682e69d;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.logo {
  font-size: 3em;
  font-weight: 700;
  color: black;
  position: relative;
  left: 0;
}

.logo span {
  color: black;
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
  
}

html,
body {
  scroll-behavior: smooth;
  background: #ffffff
}

body {
  font-family: "Poppins", sans-serif;
}

nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  z-index: 9;
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #d2e9ef;
  /* margin-right: 400px; */
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: #d2e9ef;
  transition: 0.5s;
  z-index: -1;
  transform: translateY(-100%);
  padding-bottom: 5%;
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links a {
  font-weight: 500;
  color: var(--text-dark);
  /* font-size: 1.2rem;  */
}

.nav__links a:hover {
  color: var(--primary-color);
}

#sign_up_btn{
  padding-right:10px;
}

/* Styling for the line next to the Sign Up button */
#sign_up_btn {
  display: flex;
  align-items: center;
  position: relative;
  /* padding-left: 35px; Add space between the line and the text */
}

@media (width > 768px) {

  /* Styling for the line next to the Sign Up button */
  #sign_up_btn {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px; /* Add space between the line and the text */
  }


  nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 3%;
  }

  .nav__header {
    padding: 0;
    background-color: transparent;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    padding: 10px;
    flex-direction: row;
    background-color: transparent;
    transform: none;
  }

  ul {
    border: 2px solid #000;
    border-radius: 10px;
  }

  #sign_up_btn::before {
    content: '';
    display: block;
    width: 2px; /* Adjust thickness */
    height: 60%; /* Adjust height of the line */
    background-color: #000000; /* Adjust color */
    position: absolute;
    left: 0;
    top: 20%; /* Adjust to control vertical position */
  }
}

@media (width > 1060){
    .nav__links a {
        font-size: 1rem;
    }
    .logo {
        font-size: 1rem;
    }

}

.header__container {
  position: relative;
  isolation: isolate;

}

.header__container h2 {
  max-width: fit-content;
  margin-inline: auto;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fa6021;
  background-color: #fff8f5;
  border-radius: 5rem;
}

.header__container h2 img {
  max-width: 25px;
}

.header__container h1 {
  margin-bottom: 1rem;
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  line-height: 5.5rem;
}

.header__container h1 span {
  color: #3682e6;
  text-shadow: 0 0 25px #3682e69d;
}

.header__container p {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-inline: auto;
  color: var(--text-light);
  line-height: 2rem;
  text-align: center;
}

.header__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.header__container > img {
  position: absolute;
  max-width: 40px;
  border-radius: 100%;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: -1;
}

/* Position each image */
.header__container > img:nth-child(1) {
  max-width: 200px;
  height: 200px;
  top: 25%;
  left: 10%;
  transform: translate(-50%, -50%);
}

.header__container > img:nth-child(2) {
  max-width: 150px;
  height: 150px;
  top: 70%;
  left: -1rem;
  transform: translateY(-50%);
}

.header__container > img:nth-child(3) {
  max-width: 165px;
  height: 165px;
  top: 85%;
  left: 23%;
  transform: translate(-50%, -50%);
}

.header__container > img:nth-child(4) {
  max-width: 165px;
  height: 165px;
  top: 20%;
  right: 0;
  transform: translate(-50%, -50%);
}

.header__container > img:nth-child(5) {
  max-width: 200px;
  height: 200px;
  top: 60%;
  left: 90%;
  transform: translateY(-50%);
}

.header__container > img:nth-child(6) {
  max-width: 165px;
  height: 165px;
  top: 80%;
  right: 6%;
  transform: translate(-50%, -50%);
}

.header__container > img:nth-child(7) {
  max-width: 190px;
  height: 190px;
  top: 120%;
  right: 13%;
  transform: translate(-50%, -50%);
}

.header__container > img:nth-child(8) {
  max-width: 170px;
  height: 170px;
  top: 143%;
  right: -3%;
  transform: translate(-50%, -50%);
}

@media only screen and (max-width: 768px) {
  .section__container {
    padding-top: 100px;
  }
  
  .header__container img {
    display: none;
  }
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Diagnose Page */
/* ===== Diagnose Page Specific Styles ===== */
.diagnose-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 120px;
  gap: 30px;
  background-color: #f9fafc;
}

/* Left + Right box styling */
.diagnose-container .input-box,
.diagnose-container .output-box {
  flex: 1 1 45%;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background-color: #ffffff;
  min-height: 300px;
}

/* Input box heading */
.diagnose-container .input-box h2,
.diagnose-container .output-box h2 {
  margin-bottom: 15px;
  color: #333;
  font-size: 1.5rem;
}

/* Textarea inside diagnose section only */
.diagnose-container textarea {
  width: 100%;
  resize: none;
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ddd;
  outline: none;
  min-height: 180px;
  font-family: inherit;
}

/* Buttons under textarea */
.diagnose-container .button-group {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

/* Individual buttons */
.diagnose-container .button-group button {
  background-color: #3682e6;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.3s ease;
}

.diagnose-container .button-group button:hover {
  background-color: #2b6ec2;
}

/* Output box text */
.diagnose-container #outputText {
  font-size: 16px;
  color: #444;
  white-space: pre-wrap;
}

/* Make it responsive */
@media (max-width: 900px) {
  .diagnose-container {
    flex-direction: column;
  }

  .diagnose-container .input-box,
  .diagnose-container .output-box {
    width: 100%;
  }
}
