/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline: 1px solid red; */
}

/* Custom Font */
@font-face {
  font-family: 'bluescreen'; /* Name you will use in CSS */
  src: url('../fonts/bluescreen.ttf') format('ttf'),
       url('../fonts/bluescreen.woff2') format('woff2');
  font-weight: normal; /* or bold if this file is bold */
  font-style: normal;  /* or italic if this file is italic */
  font-display: swap;  /* ensures text is visible while font loads */
}

@font-face {
  font-family: 'avenir'; /* Name you will use in CSS */
  src: url('../fonts/avenir.woff2') format('woff2');
  font-weight: normal; /* or bold if this file is bold */
  font-style: normal;  /* or italic if this file is italic */
  font-display: swap;  /* ensures text is visible while font loads */
}

html, body{
    overflow-x: hidden;
}

body{
  font-family: 'avenir', sans-serif;
  width: 100%;
}

.content-left, .list-item-content{
    font-family: 'avenir', sans-serif;
    font-size: 1.3rem;
    color: #715a60;
    font-weight: 600;
}


/* SECTION */
.section {
  width: 100vw; /* full width of viewport */
  min-height: 100vh; /* optional, at least full screen height */
  background: url('../images/background.webp') no-repeat center center; /* frame image */
  background-size: cover; /* cover the entire section */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4vh 5vw;
  position: relative;
  gap: 8vh;
}

/* HEADER */
.header {
  margin-bottom: 4vh;
}

.logo {
  width: 300px;
  display: block;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 20px;
}

/* DECORATIVE IMAGES */
.decor-left {
  position: absolute;
  top: 8%;
  left: 0;
  width: 600px;
  z-index: 0;
}

.decor-right {
  position: absolute;
  top: 6%;
  right: 6%;
  width: 200px;
  z-index: 10;
}

/* CONTAINER */
.container {
  width: 75%;
  background-color: #f5f1e8;
  display: flex;
  flex-direction: column;
  padding: 4vh 0;
  position: relative;
  z-index: 1;
}

/* POLAROID */
.polaroid-wrapper {
  width: 100%;
  /* margin-left: -5%; */
  margin-top: -10%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.polaroid {
  width: 80%;
  display: block;
  border-radius: 8px;
}

/* CONTENT ROWS */
.content-row {
  display: flex;
  align-items: center;
  width: 100%;
  margin-left: -5%;
  z-index: 2;
  position: relative;
}

.content-row-alt {
  display: flex;
  align-items: center;
  width: 100%;
  /* margin-left: -5%; */
  z-index: 2;
  position: relative;
}




.left {
  flex: 1;
  justify-content: start;
}

.left img {
  width: 100%;
  max-width: 515px;
}

.left h2 {
      font-family: 'bluescreen', sans-serif;
  text-align: right;
  font-size: 5rem !important;
  color: #62141f;
}

.right {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 1;
  padding-right: 7rem;
}
.right-second {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 1;
  /* padding-right: 7rem; */
}

/* =================================
   JOIN YOUTH COLLECTIVE SECTION
================================= */

.join-section {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
  margin-top: 5rem;
}

/* LEFT SIDE */
.join-title {
  flex: 0.9;
}

.join-title h2 {
  font-family: 'bluescreen', sans-serif;
  font-size: 6rem;
  color: #62141f;
  text-align: right;
  line-height: 1.1;
}

/* RIGHT SIDE */
.join-description {
  flex: 1.1;
  display: flex;
  flex-direction: column;

  justify-content: center;   /* vertical center */
  align-items: flex-start;   /* align content to left */

  text-align: left;          /* force left text */
  padding-left: 4rem;        /* spacing from divider */
}

.join-description p {
  font-family: 'avenir', sans-serif;
  font-size: 1.7rem;
  color: #715a60;
  font-weight: 600;
  text-align: left;
  line-height: 1.6;
}


.para {
  text-align: center;
}

.para-2{
    font-size: 1.5rem;
    color: #715a60;
    font-weight: 600;
}

.right h2 {
  font-family: 'bluescreen', sans-serif;
  font-size: 6rem;
  color: #62141f;
  margin-bottom: 20px;
}

.right p {
  font-size: 2rem;
  font-weight: 600;
  color: #715a60;
  /* margin-bottom: 3rem; */
  line-height: 1.6;
  width: 90%;
}

.lines{
    margin-top: 6rem;
}

/* LINES BOTTOM */
.lines-bottom {
  margin-top: 5rem;
  margin-bottom: 5rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.lines-bottom img {
  max-width: 350px;
  height: auto;
}

/* WHO IS IT FOR / HOW TO JOIN */
.content-row-section {
  margin-top: 5rem;
}

.content-row-section-2{
    margin-top: 2rem;
}

.content-row-section, .content-row-section-2 {
  display: flex;
  gap: 4rem;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 0 5rem;
}

.content-left,
.content-right,
.content-right-image {
  flex: 1;
  min-width: 250px;
}

.content-left h2,
.content-right h2 {
    font-family: 'avenir', sans-serif;
    font-weight: 600;
    color: #62141f;
  font-size: 2rem !important;
  margin-bottom: 1rem;
}

.content-left ul,
.content-right ul {
  padding-left: 1.5rem;
  margin: 0;
  list-style-type: disc;
}

.content-left ul li,
.content-right ul li {
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.content-right-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5%;
}

.apply-wrapper {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-bottom: -10%;
}

.apply {
  width: 100%;
  display: block;
  border-radius: 8px;
  margin-top: 5rem;
}

/* Bottom Decorative Images */
.decor-bottom-left {
  position: absolute;
  top: 30%;       /* position at the bottom */
  left: 0%;
  width: 400px;    /* adjust size */
  z-index: 10;
}

.decor-bottom-right {
  position: absolute;
  top: 40%;
  right: 0;
  width: 400px;    /* adjust size */
  z-index: 10;
}

/* Responsive */
@media (max-width: 992px) {


  .decor-bottom-right {
  position: absolute;
  top: 30%;
  right: 0;
  width: 120px;    /* adjust size */
  z-index: 10;
}

  .decor-bottom-left {
  position: absolute;
  top: 23%;       /* position at the bottom */
  left: 0%;
  width: 120px;    /* adjust size */
  z-index: 10;
}
  .decor-bottom-left {
    left: 0px;
  }

  .decor-bottom-right {
    right: 0px;
  }
}


/* RESPONSIVE */
@media (max-width: 992px) {

.logo {
  width: 180px;
  display: block;
  margin: 0 auto;
  margin-top: 40px;
}

.container {
    width: 80%;
    background-color: #f5f1e8;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 4vh 0;
    position: relative;
    z-index: 1;
}

  .content-row, .content-row-alt {
    flex-direction: column;
    width: 100%;
    margin:auto;
    /* padding: 0 2vw; */
  }

  .left{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .polaroid {
    width: 100%;
    display: block;
    border-radius: 8px;
}
  .polaroid img{
    z-index: 100;
}

.right h2 {
    font-size: 3rem;
}

.right p{
    font-size: 1rem;
    width: 66%;
}


.lines {
    margin-top: 2rem;
    width: 40%;
}

.join-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 85%;
    z-index: 2;
    margin-top: 2rem;
}

.join-title h2 {
    font-family: 'bluescreen', sans-serif;
    font-size: 3rem;
    color: #62141f;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 20px;
}

.join-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0px;
}


.join-description p{
    font-size: 1rem;
    text-align: center;
}


.lines-bottom img{
    width: 40%;
}

.lines-bottom{
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.content-left h2,
.content-right h2 {
    font-family: 'avenir', sans-serif;
    font-weight: 600;
    color: #62141f;
  font-size: 1.5rem !important;
  margin-bottom: 1rem;
}


.content-left, .list-item-content{
    font-family: 'avenir', sans-serif;
    font-size: 1rem;
    color: #715a60;
    font-weight: 600;
}

ul,li{
    padding-left: 0px !important;
    font-size: 14px;
}

.content-row-section {
    margin-top: 2rem;
}

ul {
    margin-left: 20px !important;
}

.apply
{
    margin-top: 0rem;
    margin-bottom: -2rem;
}

.content-right-image {
    display: none;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

.faq-question{
    color: #715a60;
}

  .right, .right-second {
    margin-top: 20px;
    padding-left: 0 !important;
    padding-right: 0;
    text-align: center;
  }

  .left img {
    max-width: 75%;
  }

  .polaroid-wrapper {
    width: 120%;
    /* margin-left: -10%; */
    /* margin-top: -40px; */
  }

  .decor-right {
    width: 60px;
    top: 4%;
  }

  .decor-left {
    left: 0px;
    top: 3.5%;
    width: 150px;
  }

  .decor-right {
    right: 10px;
    z-index: 10;
  }

  .content-row-section, .content-row-section-2 {
    flex-direction: column;
    gap: 2rem;
    padding: 0 2rem;
  }

  .content-left,
  .content-right,
  .content-right-image {
    min-width: 100%;
  }

  .content-left ul,
  .content-right ul {
    padding-left: 1.2rem;
  }

  .apply-wrapper {
    width: 80%;
  }
}
/* ================================
   APPLICATION FORM
================================ */

.form-wrapper {
  width: 65%;
  margin: 4rem auto 0;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Each row */
.form-row {
  display: flex;
  gap: 2rem;
}

/* Force BOTH columns to be EXACT 50% */
.form-row > * {
  flex: 0 0 calc(50% - 1rem);
}

.submit-row {
    text-align: center;
}

/* =================================
   BASE INPUT STYLE
================================= */

.apply-form input[type="text"],
.apply-form input[type="number"],
.apply-form input[type="email"],
.apply-form input[type="url"],
.apply-form input[type="tel"] {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-family: 'avenir', sans-serif;
  font-size: 1rem;
  border: 1px solid #243130;
  border-radius: 25px;
  background: #ffffff;
  outline: none;
  box-shadow: 3px 5px 0px rgba(0, 0, 0, 1);
  transition: all 0.2s ease;
}

.apply-form input:focus {
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.22);
}

/* =================================
   PHONE FIELD FIX (CRITICAL PART)
================================= */

/* Make wrapper behave like other inputs */
.form-row .iti {
  width: 100%;
}

/* Make phone input fully fill wrapper */
.form-row .iti input {
  width: 100% !important;
  height: 52px !important;
  padding-left: 65px !important;
  border: 1px solid #243130 !important;
  border-radius: 25px !important;
  box-shadow: 3px 5px 0px rgba(0, 0, 0, 1) !important;
  font-family: 'avenir', sans-serif;
}

/* Flag alignment */
.iti__flag-container {
  left: 18px;
}

/* =================================
   CUSTOM FILE
================================= */

.custom-file {
  width: 100%;
}

.custom-file input[type="file"] {
  display: none;
}

.custom-file label {
  display: block;
  width: 100%;
  height: 52px;
  line-height: 52px;
  text-align: center;
  font-family: 'avenir', sans-serif;
  border: 1px solid #243130;
  border-radius: 25px;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 3px 5px 0px rgba(0, 0, 0, 1);
}

/* =================================
   SUBMIT BUTTON
================================= */

.submit-row {
  justify-content: center;
}

.apply-form button {
  height: 52px;
  padding: 0 40px;
  border-radius: 25px;
  color: #000000;
  border: 1px solid #243130;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 3px 5px 0px rgba(0, 0, 0, 1);
}

/* =================================
   RESPONSIVE
================================= */

@media (max-width: 992px) {
  .form-wrapper {
    width: 90%;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row > * {
    flex: 100%;
  }
}

/* ================================
   FAQ SECTION
================================ */
.faq-section {
  width: 65%;
  margin: 4rem auto;
}

.faq-heading {
  font-family: 'avenir', sans-serif;
  font-size: 28px;
  margin-bottom: 40px;
  text-align: center; /* Center the heading only */
}

/* FAQ Item */
.faq-item {
  margin-bottom: 25px;
}

/* Question */
.faq-question {
  width: 100%;
  padding: 18px 25px;
  border: 1px solid #243130;
  border-radius: 25px;
  background: #ffffff;
  font-family: 'avenir', sans-serif;
  font-size: 16px;
  cursor: pointer;
  text-align: left;

  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item.active .faq-question {
  border-radius: 25px 25px 0 0;
  border-bottom: none;
}

/* Answer */
.faq-answer {
  background: #ffffff;
  border: 1px solid #243130;
  border-top: none;
  border-radius: 0 0 25px 25px;
  overflow: hidden;
  height: 0;
  transition: height 0.35s ease;
  padding: 0 25px;
}

.faq-answer p {
  margin: 0;
  padding: 20px 0;
  font-family: 'avenir', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

ul,li{
    padding-left: 30px;
    font-size: 14px;
}

/* Icon inside question */
.faq-icon {
  font-weight: bold;
  font-size: 20px;
}

/* Mobile */
@media (max-width: 992px) {
  .faq-section {
    width: 90%;
  }
}




/* Error Box */
.file-error {
  margin-top: 10px;
  padding: 10px 15px;
  border-radius: 15px;
  background: #ffe6e6;
  color: #b30000;
  font-size: 14px;
  font-weight: 600;
  display: none;
  text-align: center;
  border: 1px solid #ffb3b3;
}

/* Error state for file button */
.custom-file.error label {
  border: 1px solid #b30000;
  box-shadow: 3px 5px 0px #b30000;
}

/* Shake animation */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.custom-file.shake label {
  animation: shake 0.3s ease;
}



