@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&family=Syncopate:wght@400;700&display=swap");

:root {
  --primary-color: #f5b754;
  --primary-color-dark: #d6a04a;
  --text-dark: #15191d;
  --text-light: #737373;
  --extra-light: #e5e5e5;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "Syncopate", sans-serif;
}


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

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  font-size: 3.25rem;
  font-weight: 700;
  font-family: var(--header-font);
  color: var(--text-dark);
  letter-spacing: -5px;
  line-height: 4.25rem;
}

.btn {
  padding: 1rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--text-dark);
  border-radius: 10px;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  color: var(--text-dark);
  background-color: var(--primary-color);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

header {
  position: relative;
  background-image: url("assets/header-bg.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  z-index: 9;
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
}

.nav__logo a {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--header-font);
  color: var(--white);
  letter-spacing: -2px;
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--primary-color);
  transition: transform 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(100%);
}

.nav__links a {
  font-weight: 500;
  color: var(--white);
}

.nav__links a:hover {
  color: var(--text-dark);
}

.nav__btn {
  display: none;
}

.header__container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 5rem 1rem;
}

.header__container h1 {
  max-width: 750px;
  margin-inline: auto;
  margin-bottom: 2rem;
  font-size: 4.5rem;
  font-weight: 700;
  font-family: var(--header-font);
  color: var(--text-dark);
  letter-spacing: -5px;
  line-height: 5rem;
  text-align: center;
}

.header__container form {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 4rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  background-color: var(--white);
  box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.1);
}

.header__container .input__group {
  flex: 1 0 170px;
  display: grid;
  gap: 10px;
}

.header__container label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.header__container input {
  width: 100%;
  outline: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-light);
}

.header__container input::placeholder {
  color: var(--text-light);
}

.header__container .btn {
  padding: 15px 17px;
  font-size: 1.5rem;
}

.header__container img {
  max-width: 1050px;
  margin-inline: auto;
  filter: drop-shadow(5px 20px 20px rgba(0, 0, 0, 0.5));
}

.header__container::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 50%;
  background-color: var(--primary-color);
  transform: translateY(50%) skewY(-4deg);
  z-index: -1;
}

.scroll__down {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  font-size: 1.5rem;
  padding: 8px 5px;
  color: var(--text-dark);
  background-color: var(--primary-color);
  border-radius: 2rem;
  border: 8px solid var(--white);
}

.range__container .section__header {
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 4rem;
  text-align: center;
}

.range__grid {
  display: grid;
  gap: 1rem;
}

.range__card {
  position: relative;
  isolation: isolate;
  max-width: 600px;
  margin-inline: auto;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.range__card img {
  transition: 0.3s;
}

.range__card:hover img {
  transform: scale(1.1);
}

.range__details {
  position: absolute;
  inset: 0;
  padding: 2rem;
  background-image: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.75)
  );
}

.range__details h4 {
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--white);
}

.range__details a {
  display: inline-block;
  padding: 0px 6px;
  font-size: 1.5rem;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 100%;
}

.range__details a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.location__container {
  display: grid;
  gap: 2rem 0;
  overflow: hidden;
}

.location__image img {
  max-width: 500px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.location__content .section__header {
  margin-bottom: 2rem;
}

.location__content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.select__container {
  padding-top: 5rem;
  margin-bottom: 5rem;
  background-image: url("assets/select-bg.png");
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

.select__container .section__header {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 4rem;
  text-align: center;
}

.swiper {
  width: 100%;
}

.swiper-slide {
  max-width: 900px;
}

.select__card img {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0px 20px 20px rgba(0, 0, 0, 0.5));
}

.select__info {
  max-width: 600px;
  margin-inline: auto;
  display: none;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
}

.select__card.show__info .select__info {
  display: flex;
}

.select__info__card {
  text-align: center;
}

.select__info__card > span {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 5px 15px;
  font-size: 2.5rem;
  color: var(--text-dark);
  background-color: var(--white);
  border-radius: 100%;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.select__info__card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.select__info__card h4 span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.select__form {
  max-width: 750px;
  margin-inline: auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  background-color: var(--white);
  transform: translateY(50%);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.select__price {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--header-font);
  font-weight: 600;
  color: var(--text-light);
}

.select__price span {
  font-size: 3rem;
  line-height: 3rem;
  color: var(--text-dark);
}

.select__price span:not(#select-price) {
  font-weight: 400;
}

.select__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.select__btns .btn {
  min-width: 135px;
}

.select__btns .btn:nth-child(2) {
  color: var(--white);
  background-color: var(--primary-color);
}

.story__container .section__header {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 4rem;
  text-align: center;
}

.story__grid {
  display: grid;
  gap: 4rem 1rem;
}

.story__date {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--text-light);
}

.story__date span {
  padding-right: 10px;
  font-size: 3rem;
  font-weight: 500;
  line-height: 2.5rem;
  border-right: 2px solid var(--text-light);
}

.story__date div p {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--text-light);
}

.story__card h4 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-family: var(--header-font);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 2rem;
  color: var(--text-dark);
}

.story__card p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.banner__container {
  padding-block: 5rem;
  overflow: hidden;
}

.banner__wrapper {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 8rem;

  animation: scroll 45s linear infinite;
}

.banner__wrapper img {
  height: 110px;
}

@keyframes scroll {
  to {
    transform: translateX(calc(-50% - 4rem));
  }
}

.download {
  position: relative;
  isolation: isolate;
  padding-inline: 1rem;
  overflow: hidden;
}

.download::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(50% - 5rem);
  background-color: var(--text-dark);
  z-index: -1;
}

.download__container {
  padding: 0 1rem;
  display: grid;
  background-color: var(--primary-color);
  border-radius: 1rem;
}

.download__content {
  padding-block: 5rem;
}

.download__content .section__header {
  margin-bottom: 2rem;
  text-align: center;
}

.download__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.download__links img {
  max-width: 150px;
}

.download__image {
  display: none;
}

.news {
  background-color: var(--text-dark);
  padding: 2rem 0;
}

.news__container {
  padding-bottom: 0;
  display: grid;
  gap: 2rem;
  padding: 2rem;
}

.news__container .section__header {
  font-size: 2.5rem;
  line-height: 3.25rem;
  letter-spacing: -2px;
  color: var(--white);
  text-align: center;
  margin-bottom: 1.5rem;
}

.news__container form {
  width: 100%;
  max-width: 450px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.news__container input {
  width: 100%;
  outline: none;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  color: black; /* Changed text color to black */
  background-color: transparent;
  border-bottom: 2px solid var(--text-light);
}

/* Style the input placeholder text */
.news__container input::placeholder {
  color: var(--text-light);
  opacity: 0.8;
}

.news__container .btn {
  padding: 0.75rem 1.25rem;
  font-size: 1.25rem;
  background-color: var(--primary-color);
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.news__container .btn i {
  display: inline-block;
}

footer {
  background-color: var(--text-dark);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
  border-bottom: 1px solid var(--text-light);
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-family: var(--header-font);
  color: var(--white);
}

.footer__links {
  display: grid;
  gap: 1rem;
}

.footer__links a {
  color: var(--text-light);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__socials a {
  padding: 8px 12px;
  font-size: 1.25rem;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  border-radius: 100%;
}

.footer__socials a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}


@media (width > 540px) {
  .story__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width > 768px) {
  nav {
    position: static;
    padding: 2rem 1rem 0;
    max-width: var(--max-width);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .nav__header {
    flex: 1;
    padding: 0;
    background-color: transparent;
  }

  .nav__logo a {
    color: var(--text-dark);
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    padding: 0;
    width: fit-content;
    flex-direction: row;
    background-color: transparent;
    transform: none;
  }

  .nav__links a {
    color: var(--text-dark);
  }

  .nav__links a:hover {
    color: var(--primary-color);
  }

  .nav__btn {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
  }

  .nav__btn .btn {
    color: var(--text-dark);
    background-color: var(--primary-color);
  }

  .range__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .location__image {
    grid-area: 1/2/2/3;
  }

  .select__form {
    justify-content: space-between;
  }

  .story__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .download__container {
    margin-top: 10rem;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .download__content {
    max-width: 500px;
    margin-left: auto;
  }

  .download__content .section__header {
    text-align: left;
  }

  .download__links {
    justify-content: flex-start;
  }

  .download__image {
    display: flex;
    position: relative;
    isolation: isolate;
    height: 100%;
  }

  .download__image img {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 400px;
  }

  .news__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .news__container .section__header {
    text-align: left;
  }

  .news__container form {
    margin-inline-end: unset;
  }

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (width > 1024px) {
  .range__grid {
    gap: 1.5rem;
  }

  .range__details {
    padding: 4rem;
  }

  .story__grid {
    padding: 1.5rem;
  }
}


.center{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  background: white;
  border-radius: 10px;
  box-shadow: 10px 10px 15px rgba(0,0,0,0.05);
}
.center h1{
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid silver;
}
.center form{
  padding: 0 40px;
  box-sizing: border-box;
}
form .txt_field{
  position: relative;
  border-bottom: 2px solid #adadad;
  margin: 30px 0;
}
.txt_field input{
  width: 100%;
  padding: 0 5px;
  height: 40px;
  font-size: 16px;
  border: none;
  background: none;
  outline: none;
}
.txt_field label{
  position: absolute;
  top: 50%;
  left: 5px;
  color: #adadad;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
  transition: .5s;
}
.txt_field span::before{
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #2691d9;
  transition: .5s;
}
.txt_field input:focus ~ label,
.txt_field input:valid ~ label{
  top: -5px;
  color: #2691d9;
}
.txt_field input:focus ~ span::before,
.txt_field input:valid ~ span::before{
  width: 100%;
}
.pass{
  margin: -5px 0 20px 5px;
  color: #a6a6a6;
  cursor: pointer;
}
.pass:hover{
  text-decoration: underline;
}
input[type="submit"]{
  width: 100%;
  height: 50px;
  border: 1px solid;
  background: #2691d9;
  border-radius: 25px;
  font-size: 18px;
  color: #e9f4fb;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}
input[type="submit"]:hover{
  border-color: #2691d9;
  transition: .5s;
}
.signup_link{
  margin: 30px 0;
  text-align: center;
  font-size: 16px;
  color: #666666;
}
.signup_link a{
  color: #2691d9;
  text-decoration: none;
}
.signup_link a:hover{
  text-decoration: underline;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.account-img {
  height: 125px;
  width: 125px;
  margin-right: 20px;
  margin-bottom: 16px;
}

.account-heading {
  font-size: 2.5rem;
}

.form-with-validation{
  margin-top: 100px;
}

#chat-log {
  width: 100%;
  height: 300px;
  border: 1px solid #ccc;
  overflow-y: scroll;
  padding: 10px;
  margin-bottom: 10px;
}
#chat-message-input {
  width: 80%;
  padding: 10px;
}
#chat-message-submit {
  padding: 10px 20px;
}

.messages {
  list-style: none;
  padding: 10px;
  margin: 10px 0;
}

.message-success {
  padding: 10px;
  background-color: #d4edda;
  border-radius: 5px;
  color: #155724;
  font-weight: bold;
}

.message-error {
  padding: 10px;
  background-color: #f8d7da;
  border-radius: 5px;
  color: #721c24;
  font-weight: bold;
}

.message-info {
  padding: 10px;
  background-color: #d1ecf1;
  border-radius: 5px;
  color: #0c5460;
}
.alert {
  padding: 10px;
  margin-bottom: 10px;
  border-left: 4px solid;
  background-color: #f0f0f0;
}
.alert-success {
  border-color: green;
}
.alert-error {
  border-color: red;
}
.alert-info {
  border-color: gray;
}


.flash-message-container {
  max-width: 600px;
  margin: 20px auto;
  padding: 0 10px;
}

.flash-message {
  padding: 12px 18px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Django message tags */
.flash-message.success {
  background-color: #d4edda;
  color: #155724;
}

.flash-message.error {
  background-color: #f8d7da;
  color: #721c24;
}

.flash-message.warning {
  background-color: #fff3cd;
  color: #856404;
}

.flash-message.info {
  background-color: #cce5ff;
  color: #004085;
}
.chat-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  padding: 10px;
  border-radius: 5px;
  max-width: 60%;
}

.message.host {
  align-self: flex-end;
  background-color: #d4f7f6;
}

.message.user {
  align-self: flex-start;
  background-color: #f1f1f1;
}
.chat-box {
  height: 400px;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 15px;
}

.message {
  max-width: 70%;
  margin: 8px 0;
  padding: 10px;
  border-radius: 15px;
  clear: both;
}

.host {
  background-color: #d1e7dd;
  float: left;
  text-align: left;
}

.user {
  background-color: #cfe2ff;
  float: right;
  text-align: right;
}

.chat-form {
  display: flex;
  gap: 10px;
}

.chat-form input {
  flex: 1;
}
#chat-box {
  max-height: 500px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #f9f9f9;
}

.message {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 10px;
  max-width: 70%;
}

.host {
  background-color: #dcf8c6;
  margin-left: auto;
  text-align: right;
}

.user {
  background-color: #ffffff;
  margin-right: auto;
  text-align: left;
}

/* Highlight effect */
.highlight {
  background-color: #fff3cd !important;
  animation: fadeOutHighlight 3s ease forwards;
}

@keyframes fadeOutHighlight {
  0% { background-color: #fff3cd; }
  100% { background-color: inherit; }
}


/* become host section */

.become__boss__container {
  background-color: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

.boss__header {
  color: #333;
  margin-bottom: 20px;
  font-size: 2.5em;
  font-weight: bold;
}

.boss__subheader {
  color: #555;
  margin-bottom: 30px;
}

.boss__action {
  margin-bottom: 30px;
}

.btn-boss {
  background-color: #ff6f00; /* A vibrant, action-oriented color */
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
}

.btn-boss:hover {
  background-color: #e65e00;
}

.btn-boss-secondary {
  background-color: #007bff; /* A trustworthy, professional color */
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1em;
}

.btn-boss-secondary:hover {
  background-color: #0056b3;
}

.boss__benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.benefit__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 150px;
}

.benefit__item i {
  font-size: 2em;
  color: #00b894; /* A positive, growth-oriented color */
  margin-bottom: 10px;
}

.benefit__item p {
  color: #333;
  font-weight: bold;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animated {
  opacity: 1;
  transform: translateY(0);
}


/* another host */
:root {
  --primary-color: #f5b754;
  --primary-color-dark: #d6a04a;
  --text-dark: #15191d;
  --text-light: #737373;
  --extra-light: #e5e5e5;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "Syncopate", sans-serif;
}

.become__boss__masterpiece {
  background-color: var(--extra-light);
  padding: 40px 20px;
}

.become__boss__content-masterpiece {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px; /* Increased gap for better separation */
  padding: 20px;
  flex-direction: column; /* Stack items by default */
  align-items: stretch; /* Allow items to take full width */
}

.boss__visual.image-slider-container {
  flex: 1 0 400px; /* Allow image to take more space on wider screens */
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 400px; /* Maintain fixed height - adjust as needed */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  order: 1; /* Default order: image first */
}

.image-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.image-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the entire container, may crop */
  border-radius: inherit;
}

.image-slide.active {
  opacity: 1;
}

.boss__text-wrapper {
  flex: 1 0 400px; /* Allow text to take more space */
  display: flex;
  flex-direction: column; /* Stack text elements vertically */
  gap: 20px; /* Space between text blocks */
  order: 2; /* Default order: text second */
  justify-content: space-between; /* Distribute vertical space */
}

.boss__text {
  flex: 1 0 300px; /* Allow text to take at least 300px width */
}

.boss__header-masterpiece {
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 1.8em;
  font-weight: 700;
  line-height: 1.2;
  font-family: var(--header-font);
}

.boss__subheader-masterpiece {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.boss__call-to-action-masterpiece {
  margin-bottom: 20px;
}

.btn-boss-masterpiece {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease-in-out;
  font-size: 0.8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: inline-block;
  margin-right: 10px;
}

.btn-boss-masterpiece:hover {
  background-color: var(--primary-color-dark);
  transform: scale(1.02);
}

.boss__incentive {
  margin-top: 0.5em;
  font-size: 0.7rem;
  color: var(--text-light);
  display: block;
}

.boss__benefits-masterpiece {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 15px;
  margin-bottom: 20px;
}

.benefit__item-masterpiece {
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.benefit__item-masterpiece i {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 5px;
  display: block;
}

.benefit__item-masterpiece h3 {
  color: var(--text-dark);
  font-weight: bold;
  margin-bottom: 2px;
  font-size: 0.75rem;
}

.benefit__item-masterpiece p {
  color: var(--text-light);
  line-height: 1.4;
  font-size: 0.7rem;
}

.boss__final-push {
  text-align: left; /* Align to the left under the image on wider screens */
  font-size: 1.1em;
  font-weight: bold;
  color: var(--text-dark);
  margin-top: 20px;
  order: 3; /* Place below the main text in the wrapper */
}

.boss__action-final-masterpiece {
  text-align: left; /* Align to the left under the image on wider screens */
  order: 4; /* Place below the final push text */
}

.btn-boss-secondary-masterpiece {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease-in-out;
  font-size: 0.7rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-boss-secondary-masterpiece:hover {
  background-color: #000;
  transform: scale(1.02);
}

/* Media Query for Half-Screen/Narrow Views */
@media (max-width: 900px) {
  .become__boss__content-masterpiece {
    flex-direction: row; /* Image and text side-by-side on wider screens */
    align-items: flex-start; /* Align items to the top */
  }

  .boss__visual.image-slider-container {
    flex: 1 0 400px; /* Take up space */
    order: 1;
    margin-right: 40px;
    margin-bottom: 0;
  }

  .boss__text-wrapper {
    flex: 1 0 400px; /* Take up space */
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .boss__final-push {
    order: 3; /* Appear below the text wrapper */
    text-align: left;
    margin-top: 20px;
    width: 100%; /* Take full width */
  }

  .boss__action-final-masterpiece {
    order: 4; /* Appear below the final push */
    text-align: left;
    width: 100%; /* Take full width */
  }
}

/* Smaller Screen Adjustments */
@media (max-width: 540px) {
  .boss__visual.image-slider-container {
      width: 95%;
      height: 200px;
  }

  .boss__header-masterpiece {
      font-size: 1.6em;
  }

  .boss__subheader-masterpiece {
      font-size: 0.85rem;
  }
}

.messages {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.messages li {
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 0.5rem;
}

.messages .success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.messages .error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}


/* about page nav bar */
/* static/css/about.css */
:root {
  --primary-color: #f5b754;
  --primary-color-dark: #d6a04a;
  --accent-color: #2c3e50;
  --text-dark: #333;
  --text-light: #666;
  --extra-light: #f9f9f9;
  --white: #ffffff;
  --box-shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --border-radius: 0.5rem;
  --transition: all 0.3s ease-in-out;
  --line-height: 1.7;
  --header-font-weight: 700;
  --body-font-weight: 400;
}

body {
  font-family: sans-serif;
  font-weight: var(--body-font-weight);
  color: var(--text-dark);
  line-height: var(--line-height);
  background-color: var(--white);
}

h1, h2, h3 {
  font-weight: var(--header-font-weight);
  color: var(--accent-color);
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-color-dark);
}

.button {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: var(--header-font-weight);
  transition: background-color var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.button.primary:hover {
  background-color: var(--primary-color-dark);
  transform: scale(1.03);
}

.button.secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.button.large {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.2rem;
}

.section__container {
  padding: var(--spacing-xl) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section__subtitle {
  color: var(--text-light);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* About Hero Section */
.about-hero {
  background-color: var(--extra-light);
  padding: var(--spacing-xl) var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-hero__content {
  flex: 1;
  padding-right: var(--spacing-lg);
  text-align: left;
}

.about-hero__content .hero__title {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: var(--spacing-sm);
}

.about-hero__content .hero__subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: var(--spacing-lg);
}

.about-hero__content .hero__cta-group {
  display: flex;
  gap: var(--spacing-sm);
}

.about-hero__image {
  flex: 1;
  max-width: 50%;
}

.about-hero__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-light);
}

/* Vision Section */
.about-vision {
  text-align: center;
}

.vision__points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.vision__point {
  padding: var(--spacing-lg);
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-light);
}

.vision__point i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  display: block;
}

.vision__point h3 {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: var(--spacing-xs);
}

.vision__point p {
  color: var(--text-light);
  line-height: 1.6;
}

/* How It Works Section */
.about-how-it-works {
  background-color: var(--extra-light);
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.how-it-works__step {
  padding: var(--spacing-lg);
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-light);
  text-align: center;
}

.how-it-works__step .step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.how-it-works__step h3 {
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-bottom: var(--spacing-xs);
}

.how-it-works__step p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Benefits Section */
.about-benefits {
  text-align: center;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.benefit__group {
  padding: var(--spacing-lg);
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-light);
  text-align: left;
}

.benefit__group h3 {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: var(--spacing-sm);
}

.benefit__group ul {
  list-style: none;
  padding: 0;
}

.benefit__group li {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: var(--spacing-xs);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.benefit__group li i {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-right: var(--spacing-xs);
}

/* Team Section */
.about-team {
  background-color: var(--extra-light);
  text-align: center;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.team__member {
  padding: var(--spacing-lg);
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-light);
  text-align: center;
}

.team__member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--spacing-sm);
}

.team__member h3 {
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-bottom: var(--spacing-xs);
}

.team__member .member__title {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.team__member .member__bio {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Call to Action Section */
.about-cta {
  text-align: center;
}

.cta__buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

/* Media Queries */
@media (max-width: 768px) {
  .about-hero {
      flex-direction: column;
      text-align: center;
  }

  .about-hero__content {
      padding-right: 0;
      margin-bottom: var(--spacing-lg);
  }

  .about-hero__image {
      max-width: 80%;
  }

  .benefits__grid {
      grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .about-hero__content {
      padding-right: var(--spacing-md);
  }

  .benefits__grid {
      grid-template-columns: repeat(2, 1fr);
  }
}


