.contactForm .form-group-custom {
    margin-bottom: 1.5rem;
    position: relative;
    animation: vilabFieldFadeIn 0.5s ease forwards;
    opacity: 0;
}

@keyframes vilabFieldFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.contactForm .form-group-custom:nth-child(1) { animation-delay: 0.1s; }
.contactForm .form-group-custom:nth-child(2) { animation-delay: 0.2s; }
.contactForm .form-group-custom:nth-child(3) { animation-delay: 0.3s; }
.contactForm .form-group-custom:nth-child(4) { animation-delay: 0.4s; }

.contactForm .form-control-premium {
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1.3rem;
    color: #2d3748;
    background-color: #ffffff;
    border: 1.5px solid #cbd5e0;
    border-radius: 14px;
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.contactForm .form-control-premium:focus,
.contactForm .form-control-premium.has-value,
.contactForm .custom-dropdown-trigger.focused,
.contactForm .custom-dropdown-trigger.has-value {
    border-color: var(--primary-clr);
    outline: none;
    transform: translateY(-2px);
}

.contactForm .form-group-custom > label,
.contactForm .custom-dropdown-container > label {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 0.75rem;
    font-size: 1.3rem;
    font-weight: 500;
    color: #4a5568;
    background-color: transparent;
    pointer-events: none;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contactForm input.form-control-premium:focus ~ label,
.contactForm input.form-control-premium:not(:placeholder-shown) ~ label,
.contactForm textarea.form-control-premium:focus ~ label,
.contactForm textarea.form-control-premium:not(:placeholder-shown) ~ label,
.contactForm .custom-dropdown-trigger.focused ~ label,
.contactForm .custom-dropdown-trigger.has-value ~ label {
    top: 0;
    left: 1.25rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-clr);
    background-color: #ffffff;
}

/* Custom Dropdown Styles (matched from course_details_new) */
.contactForm .custom-dropdown-container {
    position: relative;
    width: 100%;
    z-index: 10;
}

.contactForm .custom-dropdown-container.active {
    z-index: 1000;
}

.contactForm .form-group-custom.dropdown-active {
    z-index: 1000 !important;
}

.contactForm .custom-dropdown-trigger {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 1.75rem !important;
    min-height: 46px;
    position: relative;
}

.contactForm .custom-dropdown-trigger .selected-option-text {
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

.contactForm .custom-dropdown-trigger.focused .selected-option-text,
.contactForm .custom-dropdown-trigger.has-value .selected-option-text {
    opacity: 1;
}

.contactForm .dropdown-arrow {
    transition: transform 0.3s ease;
    color: #718096;
    font-size: 1.1rem;
}

.contactForm .custom-dropdown-container.active .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary-clr);
}

.contactForm .custom-dropdown-list {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 100;
    padding: 0.75rem;
    margin: 0;
    list-style: none;
    border: 1px solid rgba(var(--primary-clr-rgb), 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contactForm .custom-dropdown-container.active .custom-dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.contactForm .custom-dropdown-list li {
    padding: 1.25rem 1.75rem;
    font-size: 1.4rem;
    color: #4a5568;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contactForm .custom-dropdown-list li:hover,
.contactForm .custom-dropdown-list li.selected {
    background: #ffe3e3;
    color: var(--primary-clr);
    padding-left: 2.25rem;
}
