/* font etc */
@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400..900&display=swap');

@font-face {
    font-family: 'Linotype Didot';
    src: url('../fonts/DidotLTStd-BoldItalic/DidotLTStd-BoldItalic.ttf') format('truetype');

    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Avenir-light';
    src: url('../fonts/AvenirLight.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

.maven-pro-bold {
    font-family: "Maven Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

body,
input,
select,
option,
textarea {
    font-family: 'Avenir-light', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif !important;
}

::selection {
    background-color: #febe02;
    /* Background color when text is highlighted */
    color: white;
    /* Text color when highlighted */
}

/* For Firefox */
::-moz-selection {
    background-color: #febe02;
    /* Background color for Firefox */
    color: white;
    /* Text color for Firefox */
}

select,
input {
    background-color: rgba(255, 255, 255, 0.438);

}

input[type="text"],
input[type="date"],
textarea {
    font-family: 'Avenir-light', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif !important;
    transition: border 0.3s, box-shadow 0.3s;
    /* Transition for smooth effect */
}

input::placeholder,
textarea::placeholder {
    font-family: 'Avenir-light', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif !important;
    color: #999;
    opacity: 1;
    font-style: italic;
}

h1,
h2 {
    font-family: 'Linotype Didot', 'Linotype-Didot-Std-Bold-Italic', serif;
    margin-bottom: 20px;

}

h1 {
    font-weight: 900;
    font-size: 1.8em;
    text-align: center;
}

h2 {
    font-family: "Maven Pro", Helvetica, Arial, sans-serif;
    color: #febe02;
    font-size: 1.4em !important;
    text-align: center;
    margin-top: 20px;
}

h3 {
    font-family: "Maven Pro", Helvetica, Arial, sans-serif;
    font-size: 1rem;
}

p {
    text-align: justify;
}

ol {
    padding-left: 18px;
}

li {
    padding-left: 5px;
}

li::marker {
    font-weight: bold;
    margin-right: 10px;
}






/* General form styling */

.gredient-white,
h2 {
    background: rgba(43, 43, 43, 0.518);
    background: -moz-linear-gradient(135deg, rgb(255 255 255 / 9%) 0%, rgb(255 255 255 / 5%) 62%, rgb(255 255 255 / 13%) 100%);
    background: -webkit-linear-gradient(135deg, rgb(255 255 255 / 9%) 0%, rgb(255 255 255 / 5%) 62%, rgb(255 255 255 / 13%) 100%);
    background: -o-linear-gradient(135deg, rgb(255 255 255 / 9%) 0%, rgb(255 255 255 / 5%) 62%, rgb(255 255 255 / 13%) 100%);
    background: -ms-linear-gradient(135deg, rgb(255 255 255 / 9%) 0%, rgb(255 255 255 / 5%) 62%, rgb(255 255 255 / 13%) 100%);
    background: linear-gradient(135deg, rgb(255 255 255 / 9%) 0%, rgb(255 255 255 / 5%) 62%, rgb(255 255 255 / 13%) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff', GradientType=1);
}


.form-container {
    margin-top: 7em !important;
    width: 70vw;
    margin: 0 auto;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.7s ease-in-out;
    color: rgba(255, 255, 255, 0.759);
}


h1,
h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: bold;
    padding: 5%;
}

label {
    font-weight: bold;
    display: block;
}

input:not([type="radio"]),
select,
input {
    width: 100%;
    padding: 12px;
    margin: 8px 0 20px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus {
    border-color: #febe02;
}

button {
    background-color: #febe02;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #fe8802;
}

.radiodiv {
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    gap: 5px;
    flex-direction: column;
    width: 30%;
}

.d-flex {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.d-flex label {
    margin-top: 0;
}

#progressBar {
    width: 100%;
    background-color: #f3f3f3;
    margin-bottom: 30px;
    height: 20px;
    border-radius: 10px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

#progress {
    width: 0;
    height: 100%;
    background-color: #febe02;
    border-radius: 10px;
    transition: width 0.4s ease;
}

.form-section {
    display: none;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.fade-in {
    opacity: 1 !important;
}

#error,
#formMessage {
    color: rgb(255, 2, 2);
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
}

.label-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.popup {
    display: none;
    position: absolute;
    background: rgba(231, 239, 255, 0.59);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px;
    width: 200px;
    font-size: small;
    color: black;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.helper-btn {
    cursor: pointer;
    background-color: transparent !important;
    font-weight: bolder;
    color: white;
    border: none;
    padding: 0 !important;
    height: 12px;
}


.helper-question-mark {
    height: 12px;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Additionals */
#full_name {
    text-transform: capitalize;
}

.buttons {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.prev-btn {
    background-color: #545454;
    color: white;
}

.danger-zone {
    display: none;
}

.danger-zone button {
    background-color: red;
    color: white;
}

.declaration {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;

}

.declaration input[type="checkbox"] {
    width: unset;
    margin: unset;
    padding: unset;
}

.declaration label {
    margin-top: 0;
}

.contact-us {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(12px);
    border-radius: 12px;
}

.whatsapp-button {
    color: white;
    background-color: rgb(7, 135, 7);
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.5s ease;
}

.whatsapp-button:hover {
    background-color: rgb(87, 136, 13);
    padding: 8px 12px;
    cursor: pointer;
}

.spacer-section {
    height: 6em;
}

@media(max-width: 600px) {
    body {
        font-size: small;
    }

    button {
        padding: 12px 10px;
    }

    label {
        margin-top: 0;
    }

    .popup {
        width: 80px;
        font-size: smaller;
    }

    .buttons {
        flex-wrap: wrap;
        row-gap: 20px;
        column-gap: 10px;
        margin-top: 20px;
    }

    .form-container {
        padding: 20px;
        width: 80vw;
    }
}

/* Custom Searchable Dropdown Styles - Premium UI */
.custom-dropdown-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.custom-dropdown-container input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.custom-dropdown-container input:focus {
    border-color: #d4af37;
    /* Gold focus */
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.dropdown-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-110%);
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.custom-dropdown-container input:focus+.dropdown-icon {
    transform: translateY(-50%) rotate(180deg);
    color: #d4af37;
}

.dropdown-list {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    padding: 5px 0;
    margin: 0;
    list-style: none;
}

.dropdown-list.show {
    display: block;
    animation: fadeInDropdown 0.2s ease-out forwards;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-list li {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #ccc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
    text-align: left;
}

.dropdown-list li:last-child {
    border-bottom: none;
}

.dropdown-list li:hover {
    background-color: rgba(212, 175, 55, 0.1);
    /* Gold tint */
    color: #d4af37;
    padding-left: 20px;
    /* Slide effect */
}

/* Scrollbar for Dropdown */
.dropdown-list::-webkit-scrollbar {
    width: 8px;
}

.dropdown-list::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.dropdown-list::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}

@media(max-width: 600px) {
    .custom-dropdown-container {
        width: 100%;
    }
}