* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: url('formbg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 108px;
    justify-content: space-between;
    padding-top: 36px;
    padding-bottom: 36px;
}

.logo {
    width: 120px;
    height: 40px;
    background-image: url('logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #fff;
}

.cart-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cart-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.cart-icon:hover {
    opacity: 0.8;
}

/* Form Container */
.form-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 120px 20px 40px;
}

.form-card {
    box-shadow: 0 24px 32px 0 rgba(74, 26, 74, 0.12);
    border-radius: 24px;
    width: 929px;
    max-width: 100%;
    height: auto;
    min-height: 620px;
    position: relative;
    margin: 0 auto;
    gap: 54px;
    padding: 64px;
    display: flex;
    flex-direction: column;
    background-image: url('form.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10;
}

/* .form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #37143598;
    z-index: 0;
    
}
.form-card>* {
    position: relative;
    z-index: 1;
} */

/* Mobile Navigation Toggle */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 1023px) {
    .hamburger {
        display: none !important;
    }

    .nav-links {
        display: none !important;
    }
    
    nav {
        display: none !important;
    }
}

/* Clean Mobile Form Styles */
@media only screen and (max-width: 767px) {

    /* Reset any conflicting styles */
    body.mobile-form-visible {
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    .form-container.mobile-form-visible {
        padding: 0 19px !important;
        margin: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        background: transparent !important;
    }

    .mobile-form-card {
        width: 100% !important;
        max-width: 352px !important;
        height: 100vh !important;
        max-height: 648px !important;
        margin: 0 auto !important;
        padding: 24px !important;
        border-radius: 16px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .mobile-form-card .form-title {
        font-family: 'Poltawski Nowy', serif !important;
        font-size: 24px !important;
        font-weight: 600 !important;
        color: #F2DA91 !important;
        margin: 0 0 8px 0 !important;
    }

    .mobile-form-card .form-subtitle {
        font-family: 'Quicksand', sans-serif !important;
        font-size: 14px !important;
        color: #FFFFFF !important;
        margin: 0 0 24px 0 !important;
        opacity: 0.9 !important;
    }

    .mobile-form-card .form-fields {
        width: 100% !important;
        margin: 0 !important;
        flex: 1;
        overflow-y: auto;
        padding: 0 0 24px 0 !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .mobile-form-card .form-fields::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .mobile-form-card .row {
        flex-direction: column !important;
        gap: 16px !important;
        margin: 0 0 16px 0 !important;
    }

    .mobile-form-card .field-group {
        width: 100% !important;
        margin: 0 !important;
    }

    .mobile-form-card .radio-group {
        gap: 12px !important;
        margin: 0 0 16px 0 !important;
        padding: 0 0 16px 0 !important;
    }

    .mobile-form-card .button-group {
        display: flex !important;
        align-items: end;
        width: 100%;
        padding: 16px 0 0 8em !important;
        margin-top: auto !important;
        position: sticky !important;
        bottom: 24px !important;
    }

    .mobile-form-card .btn {
        flex: 1 !important;
        height: 52px !important;
        font-family: 'Quicksand', sans-serif !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 24px !important;
        border-radius: 12px !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.2s ease !important;
        cursor: pointer !important;
        border: 2px solid transparent !important;
    }

    .mobile-form-card .btn:active {
        transform: translateY(1px) !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    }

    .mobile-form-card .btn-secondary {
        background: transparent !important;
        color: #FFFFFF !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        backdrop-filter: blur(10px) !important;
    }

    .mobile-form-card .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.2) !important;
    }

    body {
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    .form-container {
        padding: 0 19px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        position: relative !important;
        background: transparent !important;
    }

    .form-card {
        width: 352px !important;
        height: 648px !important;
        padding: 24px !important;
        margin: 142px 0 0 0 !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 54px !important;
        border-radius: 16px !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: none !important;
        background-image: none !important;
        overflow: hidden !important;
    }

    .form-title {
        font-family: 'Poltawski Nowy', serif;
        font-size: 24px;
        font-weight: 600;
        line-height: 1.3;
        color: #F2DA91;
        margin: 0 0 8px 0;
    }

    .form-subtitle {
        font-family: 'Quicksand', sans-serif;
        font-size: 14px;
        line-height: 1.5;
        color: #FFFFFF;
        margin: 0 0 24px 0;
        opacity: 0.9;
    }

    .step-indicator {
        font-family: 'Quicksand', sans-serif;
        font-size: 12px;
        font-weight: 500;
        color: #FFFFFF;
        margin: 0 0 24px 0;
        opacity: 0.8;
    }

    .question-section {
        margin-bottom: 32px;
    }

    .question {
        font-family: 'Quicksand', sans-serif;
        font-size: 16px;
        font-weight: 500;
        color: #FFFFFF;
        margin: 0 0 24px 0;
        line-height: 1.5;
    }

    .radio-group {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin: 0;
    }

    .radio-option {
        display: flex;
        align-items: center;
        padding: 16px;
        /* background: rgba(255, 255, 255, 0.1); */
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .radio-option:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    .radio-custom {
        width: 20px;
        height: 20px;
        border: 2px solid #E4AEF2;
        background: transparent;
        border-radius: 50%;
        margin-right: 12px;
        position: relative;
        flex-shrink: 0;
    }

    .radio-option input[type="radio"]:checked+.radio-custom::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 12px;
        height: 12px;
        background: #E4AEF2;
        border-radius: 50%;
    }

    .radio-text {
        font-family: 'Quicksand', sans-serif;
        font-size: 14px;
        font-weight: 500;
        color: #FFFFFF;
    }

    .button-group {
        margin-top: auto;
        padding-top: 16px;
        position: static;
        bottom: auto;
        right: auto;
    }

    .btn {
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.2s ease;
        flex: 1;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .form-fields {
        margin-bottom: 0;
        width: 100%;
    }

    .form-fields .row {
        flex-direction: column;
        gap: 16px;
        margin: 0 0 16px 0;
    }

    .form-group {
        width: 100% !important;
        margin: 0;
    }

    .form-group input {
        width: 100%;
        padding: 16px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        color: #FFFFFF;
        font-size: 14px;
    }

    .form-group input::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }
}

/* Mobile Menu Toggle Button */
.mobile-hamburger {
    display: none; /* Hidden by default */
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 4px;
    padding: 8px;
}

.mobile-hamburger img {
    width: 24px;
    height: 24px;
}

/* Show hamburger menu only on mobile */
@media (max-width: 1023px) {
    .mobile-hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hide desktop nav on mobile */
    .nav-links {
        display: none !important;
    }
}

/* Desktop styles - hide hamburger */
@media (min-width: 1024px) {
    .mobile-hamburger {
        display: none !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
    
    /* Ensure desktop nav is visible */
    .nav-links {
        display: flex !important;
    }
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.form-step.active {
    display: block;
}

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

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

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

.text-left {
    text-align: left;
}

.align-center {
    margin-top: auto;
    margin-bottom: auto;
}

.form-title {
    font-family: 'Poltawski Nowy', serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #F2DA91;
    margin-bottom: 15px;
}

.form-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.step-indicator {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin-bottom: 30px;
    opacity: 0.8;
}

/* Form Fields */
.form-fields {
    display: block;
    margin-bottom: 50px;
}

.form-fields .row {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}

.form-fields .row .field-group {
    flex: 1 1 0;
    min-width: 0;
}

.form-fields .field-group {
    width: 100%;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-group label {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #E4AEF2;
    margin-bottom: 8px;
}

.field-group input {
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background-color: #371435;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.field-group input::placeholder {
    color: #371435;
    opacity: 1;
}

.field-group input:focus {
    outline: none;
    border-color: #ffffff;
    background: #371435;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.field-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Question Section */
.question-section {
    margin-bottom: 50px;
}

.question-section h3 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #E4AEF2;
    margin-bottom: 20px;
}

.question {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 30px;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #371435;
    background-color: #371435;
    margin-right: 15px;
    transition: all 0.2s ease;
}

.radio-option input[type="radio"]:checked+.radio-custom {
    background-color: #fff;
    border-color: #fff;
}

.radio-text {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

/* Button Group */
.button-group {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 40px;
    position: absolute;
    bottom: 64px;
    right: 64px;
    width: calc(100% - 128px);
}

.btn {
    padding: 12px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-align: center;
}

.btn-primary {
    color: #460257;
    border: none;
}

.btn-primary:hover {
    background-color: #371435;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-submit {
    background: #F2DA91;
    color: #371435;
    min-width: 120px; /* Set a minimum width to prevent text overflow */
    padding: 0 15px; /* Add horizontal padding */
    white-space: nowrap; /* Prevent text wrapping */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-submit:hover {
    background: #e0c378;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Mobile styles for submit button */
@media (max-width: 767px) {
    .btn-submit {
        width: auto !important; /* Override any fixed width */
        min-width: 140px; /* Slightly wider for mobile */
        padding: 0 20px; /* More padding on mobile */
    }
}

/* Thank You Content */
.thank-you-content {
    text-align: center;
    margin: 40px 0;
}

.thank-you-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 14px;
    }

    .form-container {
        padding: 100px 15px 20px;
    }

    .form-card {
        padding: 40px 30px;
        border-radius: 20px;
    }

    .form-title {
        font-size: 2rem;
    }

    .btn {
        width: 50%;
        justify-content: center;
    }

    .radio-group {
        gap: 15px;
    }

    .radio-option {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 15px;
    }

    .nav-link {
        font-size: 13px;
    }

    .form-card {
        padding: 30px 25px;
    }

    .form-title {
        font-size: 1.8rem;
    }

    .question {
        font-size: 16px;
    }

    .radio-text {
        font-size: 15px;
    }
}