/* Omotač stranice */
.registration-wrapper {
    width: 100%;
    overflow: hidden;
    background-color: #000;
    color: #fff;
}
/* Sekcija 1 */
.home-section-1 {
    position: relative;
    height: 100dvh;
}
.home-section-1-logo img {
    position: relative;
    width: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    margin-top: 100px;
    z-index: 2;
}
.home-section-1-text {
    width: 85%;
    top: 50%;
    /* bottom: 150px; */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.home-section-1-text h1 {
    color: #fff!important;
    font-size: 32px;
    line-height: 1;
    margin-bottom: 15px;
}
.home-section-1-text p {
    color: #fff!important;
    font-size: 16px;
    line-height: 1;
    margin-top: 25px;
}
.home-section-1 .desktop-image {
    display: none;
}
.mobile-image {
    display: block;
    position: relative;
    top: -120px;
    width: 100%;
    object-fit: contain;
}
.home-section-1-arrows {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    left: 50%;
    transform: translateX(-59%);
    bottom: 2%;
}
.home-section-1-arrows .arrow-big {
    margin-top: -20px;
}

.home-section-1-arrows .arrow {
  animation: arrow-bounce 2s infinite;
  opacity: 0.7;
}

.home-section-1-arrows .arrow:nth-child(2) {
  animation-delay: 1s; /* stagger the second arrow */
}

@keyframes arrow-bounce {
  0%   { transform: translateY(0); opacity: 0.7; }
  50%  { transform: translateY(16px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.7; }
}

/* Sekcija 2 */
.home-section-2 {
    margin-top: 50px;
}
.home-section-2-text {
    margin: 0 auto;
    color: #fff;
    padding: 50px 0px;
    padding-top: 0;
    /* margin-top: -50px; */
    width: 85%;
}
.home-section-2-text ol {
    padding-left: 1rem;
}
.home-section-2-text h3 {
    margin-top: 30px;
    margin-bottom: 30px;
    color: var(--white);
}
.home-section-2-text  ul li{
    list-style-type: disc;
    color: #fff;
}
.home-section-2-text ul li::marker {
    color: #00C1DE;
}

/* Sekcija 3 */
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    pointer-events: none;
}
/* WebKit (Chrome, Safari, Edge) */
input[type="date"].is-empty::-webkit-datetime-edit {
    color: #c5c5c5; /* svetlija boja za "placeholder" */
    font-style: italic; /* italic stil za "placeholder" */
}

input[type="date"] {
    color: #000; /* crna za pravi tekst */
    font-style: normal; /* normalan stil teksta */
}
/* Firefox */
input[type="date"]::-moz-placeholder {
    color: #c5c5c5;
    opacity: 1;
}
/* Fallback za stare browser-e ako koriste pravi placeholder */
input[type="date"]::placeholder {
    color: #c5c5c5;
    opacity: 1;
}
.form-control {
    outline: none !important;
    height: 35px !important;
    line-height: 35px !important;
    border-radius: 7px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border: none !important;
    background: #fff;
}
input::placeholder,
textarea::placeholder {
    color: #c5c5c5 !important;
    font-style: italic;
}
input[type="date"]::placeholder {
    color: #c5c5c5;
    font-style: italic;
}
select:required:invalid {
    color: #c5c5c5;
    font-style: italic;
    font-size: 14px;
}
option[value=""][disabled] {
    display: none;
}
option {
    font-size: 14px;
    color: var(--black);
    font-style: normal;
}
.home-section-3 {
    position: relative;
    margin: 0 auto;
    background: #00C1DE;
    border-radius: 27px;
    padding: 20px 0px;
    width: 85%;
}
.home-section-3-text {
    width: 90%;
    margin: 0 auto;
    padding: 0px 0px;
}
.home-section-3-text h2 {
    margin-top: 0;
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 24px;
    width: 50%;
}
.home-section-3-text p {
    font-size: 14px;
    margin-top: 15px;
    color: #000;
}
.home-section-3-text p em {
    margin-top: -5px;
    font-size: 14px;
    display: flex;
    color: #fff;
}
.custom-wide-form {
    width: 100% !important;
    padding: 0px !important;
    font-size: 15px !important;
}
.home-section-3-form {
    width: 90%;
    margin: 0 auto;
    padding: 0px 0px;
}
.text-label-small {
    cursor: pointer;
    font-size: 12px;
}
.justify-content-between {
    align-items: center;
}
.form-fields {
    display: grid;
    grid-column-gap: 0;
    grid-row-gap: 10px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(auto-fill,auto);
    width: 100%;
}
.visually-hidden-file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}
.input-container-date {
    position: relative;
    width: 100%;
}
.input-container-date::after {
    content: "";
    background-color: #fff;
    background-image: url('../assets/img/registration/date-icon.svg');
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: center;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.custom-file-wrapper {
    width: 100%;
    height: 40px;
}
.custom-file-wrapper .form-control {
    height: 100%;
    background-color: #fff;
    border-radius: 10px;
    padding-left: 8px;
    padding-right: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.upload-file-btn {
    background-color: var(--primary-color);
    color: white;
    font-size: 14px;
    height: 30px;
    padding: 0px 10px;
    display: flex;
    align-items: center;
    border-radius: 7px;
    cursor: pointer;
    white-space: nowrap;
}
.upload-file-icon {
    background-image: url("../assets/img/registration/file.svg");
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}
.choice {
    width: fit-content;
    margin: 0 auto;
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border: 1px solid #ccc;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-right: 10px;
    vertical-align: middle;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
    flex-grow: 0;
}
.custom-checkbox:hover {
    border-color: #666;
}
.custom-checkbox:checked {
    border-color: transparent;
    background-color: var(--white);
}
.custom-checkbox:checked::after {
    content: "";
    background: url("../assets/img/registration/checked.svg") no-repeat center center;
    background-size: 22px 22px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.form-check-label a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}
.submit-button {
    margin: 0 auto;
    width: 100%;
    height: 60px;
    padding: 0 !important;
    font-size: 24px !important;
    color: var(--primary-color) !important;
    cursor: pointer;
    transition: ease-in-out 0.3s;
    background-color: var(--white);
    border: none;
    border-radius: 7px;
    font-weight: 700 !important;
    outline: none;
    line-height: 60px;
    text-transform: uppercase;
}
.g-recaptcha {
    display: inline-block;
}

#serial-popup {
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-wrap: wrap;
    background: #fff;
    z-index: 2;
    border-radius: 10px;
    padding: 20px;
    width: 320px;
    box-shadow: 0px 4px 4px 0px #00000040;
    
}
#serial-popup.active {
    display: flex; /* Show when active */
}
#serial-popup img {
    width: 100%;
}
#serial-popup span {
    font-size: 14px;
    margin-top: 20px;
    color: var(--black);
}
#close-popup {
    outline: none;
    background: #00C1DE;
    color: #fff;
    border-radius: 50px;
    width: 30px;
    height: 30px;
    position: absolute;
    top: -10px;
    right: -10px;
    box-shadow: 0px 4px 4px 0px #00000040;
    border: 1px solid #fff;
    cursor: pointer;
}
/* Opcionalno: hover efekat */
.submit-button:hover {
    background-color: var(--black);
    color: #fff !important;
}
/* === RESPONSIVE BREAKPOINTS === */
/* XS - default: <576px — ne treba poseban media query */
/* SM - ≥576px */
@media (min-width: 576px) {

}
/* MD - ≥768px */
@media (min-width: 768px) {
    .home-section-1-logo img {
        width: 380px;
    }
    .submit-button {
        width: 325px;
    }
    .home-section-1 {
        height: 100vh;
    }
    .home-section-1-text h1 {
        font-size: 64px;
    }
    .mobile-image {
        display: block;
        position: relative;
        top: -230px;
        width: 100%;
        object-fit: contain;
    }
    .home-section-1-text {
        top: 60%;
    }
}
/* LG - ≥992px */
@media (min-width: 992px) {
    .home-section-1-text {
        position: relative;
        top: 0;
    }
    .home-section-1 .desktop-image{
        display: block;
        position: absolute;
        top: 0;
        width: auto;
        height: 100%;
        right: -5%;
    }
    .mobile-image{
        display: none;
    }
    .home-section-3-text h2 {
        margin-bottom: 25px;
        line-height: 48px;
        font-size: 42px;
    }
    .custom-wide-form {
        width: 90% !important;
    }
    .home-section-3-text p {
        font-size: 20px;
        margin-top: 25px;
    }
    .home-section-1-text p {
        font-size: 24px;
    }
}
/* XL - ≥1200px */
@media (min-width: 1200px) {
    .home-section-1-text {
        left: 5%;
        transform: none;
    }
    .home-section-2-text {
        width: 75%;
    }
}
/* XXL - ≥1400px */
@media (min-width: 1400px) {
    .home-section-1-text {
        left: auto;
        width: 75%;
        margin: 0 auto;
        position: relative;
        z-index: 1;
        top: 15%;
    }
    .home-section-3 {
        width: 75%;
    }
}
@media (min-width: 1920px) {
    .custom-wide-form {
        width: 1320px !important;
    }
}