
/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Playfair+Display:wght@400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: url('bgWeb.jpg') no-repeat center center fixed;
    background-size: cover;
}

@media (max-width: 768px) {
    body {
        background: url('bgMobile.jpg') no-repeat center center fixed;
        background-size: cover;
    }
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.form-container {
    width: 65%;
    max-width: 800px;
    background: #F5F8EB;
    padding: 20px;
    margin: 50px auto;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

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

.logo {
    max-width: 150px;
    margin-bottom: 15px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #000;
    margin-top: -20px;
}

h2 {
    font-size: 24px;
    color: #000;
    margin-top: -5px;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.step {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    background: grey;
    color: white;
    cursor: default;
    transition: background 0.3s;
}

.step.active {
    background: #66CCCE;
}

.step.completed {
    background: #95C120;
    cursor: pointer;
}

.step.completed:hover {
    opacity: 0.8;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: auto;
}

label {
    display: block;
}

input:not([type="checkbox"]),
select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.date-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-group input {
    flex: 1;
}

.form-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.form-group-extra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-left: 20%;
}

.form-group label {
    flex: 1;
    text-align: right;
    font-weight: bold;
}

.form-group input, 
.form-group select {
    flex: 2;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-group label {
        text-align: left;
        width: 100%;
    }

    .form-group input, 
    .form-group select {
        width: 100%;
    }
}

button {
    padding: 10px 16px;
    font-size: 16px;
    border: none;
    border-radius: 20px;
    background-color: #95C120;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

#next-btn {
    width: 150px;
}

button:hover {
    background-color: #7ea518;
}

.buttonHolder {
    text-align: right;
}

.checkboxes {
    text-align: left;
    margin-top: -30px;
}

.leftQuestion {
    font-weight: bold;
    text-align: left;
}


.checkbox-group {
    position: relative;
    margin-bottom: 10px;
    text-align: left;
}

.checkbox-group label {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 8px; /* Adjust spacing between checkbox and text */
}

.checkbox-group input[type="checkbox"] {
    margin-right: 5px;
    vertical-align: middle;
    display: inline-block;
}


.arrow {
    transition: transform 0.3s ease-in-out;
    font-size: 16px; /* Adjust size as needed */
    color: black; /* Change color if needed */
}

.checkbox-group input[type="checkbox"]:checked + label .arrow {
    transform: rotate(90deg);
}


/*.arrow {
    margin-left: auto;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.arrow::after {
    content: '\203A';
    display: inline-block;
    font-size: 1.2em;
    line-height: 1;
}

.checkbox-group input:checked + label .arrow {
    transform: rotate(90deg);
}*/

.sub-options, .sub-sub-options {
    display: none;
    margin-left: 20px;
}

.checkbox-group input:checked ~ .sub-options,
.checkbox-group input:checked ~ .sub-sub-options {
    display: block;
}


.sub-options label, .sub-sub-options label {
    display: block;
    line-height: 20px; /* Match the height of the checkbox */
    vertical-align: middle; /* Align vertically in the middle */
    padding-left: 25px; /* Space between checkbox and label */
    font-size: 16px; /* Optional: adjust for desired text size */
}

#catered-options, #self-catered-options, #self-facilitation-options, #catered-facilitation-options, #extra-info, #ThankYouScreen {
    display: none;
}

.extraTopSpace {
    margin-top: 15px;
}

.smallerText {
    font-size: 0.8em;
    font-weight: normal;
}

/* Style the custom checkbox */
input[type="checkbox"] {
  appearance: none; /* Remove the default checkbox style */
  -webkit-appearance: none; /* For Safari */
  width: 20px; /* Size of the checkbox */
  height: 20px; /* Size of the checkbox */
  border-radius: 5px; /* Rounded corners */
  position: relative;
  display: inline-block;
  cursor: pointer;
  border: 2px solid #000; /* Optional, to make the border more visible */
  transition: all 0.3s ease;
}

/* When the checkbox is checked */
input[type="checkbox"]:checked {
  background-color: #7A9F1F; /* Change background color when checked */
  border-color: #000; /* Change border color when checked */
}

/* Optional: Add a checkmark or icon inside the checkbox when checked */
input[type="checkbox"]:checked::after {
  content: "\f005"; /* Unicode for 'fa-star' */
  font-weight: 900; /* Make sure it's the solid version of the icon */
  /*content: "\f058"; /* Unicode for 'fa-circle-check' */
  font-family: "Font Awesome 6 Free"; /* Font Awesome icon font */
  font-size: 14px;
  color: white; /* Color of the checkmark */
  /*content: '🌟️';
  font-size: 18px; */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

