
.parallax-section {
    background: url('/static/mockups/mu_personis.webp') no-repeat center center fixed !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    padding: 100px !important;
    border-radius: 48px !important;
    height: 756px !important;
    box-sizing: border-box !important;
    margin: 0 32px !important;
    margin-bottom: 128px !important;
}

@media (min-width: 1920px) {
    .parallax-section {
        max-width: 1856px; 
        margin: 0 auto !important;
    }
}


.order-panel {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 80px 20px;
    position: relative;
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
}


.order-container {
    margin: auto;
}





.first-rectangle {
    width: 694px;
    height: 274px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    transform: translate3d(0, 0, 0);
    border: 2px solid white;
    border-radius: 32px;
    padding: 32px 64px 36px 64px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.first-rectangle h2 {
    font-size: 56px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: black;
    margin: 0 0 15px 0;
    line-height: 1.23;
}

.first-rectangle p {
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: black;
    margin: 0;
}

.whatsapp-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: black;
}

.whatsapp-info img {
    width: 22px;
    height: 22px;
}

@media (max-width: 768px) {
    .whatsapp-info img {
        display: none;
    }
}


.gap-64 {
    height: 64px;
}


.second-rectangle {
    width: 1450px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    transform: translate3d(0, 0, 0);
    border: 2px solid rgb(146, 146, 146);
    border-radius: 24px;
    padding: 36px 64px;
    box-sizing: border-box;
    color: white;
    display: flex;
    flex-direction: row;
}

.form-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
}


.form-row {
    flex-wrap: nowrap;
    gap: 16px;
    display: flex;
    flex-direction: row;
    width: 100%;
}

@media (min-width: 1400px) {
    .form-row {
        justify-content: space-between;
    }
}


.flex-row-1 {
    flex: 0 0 57%; /* Take 60% of the parent container's width */
}

.flex-row-2 {
    flex: 0 0 41%;
    gap: 24px;
}








.input-container {
    display: flex;
    flex-direction: column;
}

.input-container label {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 13px;
    text-wrap: nowrap;
}

.input-container input, .input-container select {
    padding: 12px 24px;
    border-radius: 24px;
    background-color: rgb(255, 255, 255);
    border: none;
    color: #333333;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
}

.input-container input[type="range"] {
    width: 100%;
    box-sizing: border-box;
}

.input-container input[type="date"] {
    width: 150px;
}

.range-dots {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
}

.topic-input {
    width: 400px;
}







.slide-range-input {
    width: 200px;
}

#slide-range {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: white;
    border-radius: 3px;
    outline: none;
    margin-bottom: 2px;
    position: relative;
    padding: 0;
    margin-top: 24px;
    cursor: pointer;
}


#slide-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
}

#slide-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
}


.range-dots {
    display: flex;
    justify-content: flex-end;
}



.range-dots span {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: white;
    font-weight: 500;
}

.more-info {
    position: relative;
    display: inline-block;
    transform: translateY(1px);
}

.more-info-icon, .more-info-icon-2{
    width: 16px;
    height: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.more-info-icon:hover, .more-info-icon-2:hover {
    transform: scale(1.1);
}

.slide-range-label{
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tooltip, .tooltip-2 {
    display: none;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 292px;
    background-color: #ffffff;
    color: #333;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    z-index: 10;
}

.tooltip.visible, .tooltip-2.visible {
    display: block;
}

.tooltip p, .tooltip-2 p {
    margin: 0;
    padding: 5px 0;
    text-wrap: wrap;
}

.tooltip p strong, .tooltip-2 p strong {
    font-size: 16px;
    font-weight: 600;
    color: #007BFF; 
}

.tooltip-note {
    font-weight: 400;
}

.tooltip-minutes-slides {
    line-height: 1.8;
}

.tooltip hr, .tooltip-2 hr {
    margin: 10px 0;
    border: none;
    border-top: 1px solid #ddd;
}








button.order-btn {
    background: transparent;
    border: 2px solid white;
    padding: 12px 32px;
    border-radius: 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
    height: 51px;
    width: 150px;
    margin: auto 0;
    line-height: 1;
    margin-top: 40px;
}

button.order-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}



@media (max-width: 1640px) {
    /* Parallax Section */
    .parallax-section {
        padding: 80px;
        margin: 0 24px;
        margin-bottom: 100px;
        border-radius: 40px;
        height: 680px;
    }

    /* Order Panel */
    .order-panel {
        padding: 60px 20px;
    }

    /* First Rectangle */
    .first-rectangle {
        width: 600px;
        height: 240px;
        padding: 30px 50px;
        border-radius: 28px;
    }

    .first-rectangle h2 {
        font-size: 48px;
    }

    .first-rectangle p {
        font-size: 18px;
    }

    .gap-64 {
        height: 50px;
    }

    /* Second Rectangle */
    .second-rectangle {
        width: 1200px;
        padding: 32px 50px;
        border-radius: 20px;
        gap: 40px;
    }

    /* Form Container */
    .form-container {
        gap: 20px;
    }

    /* Input Container */
    .input-container label {
        font-size: 18px;
    }

    .input-container input,
    .input-container select {
        padding: 10px 20px;
        font-size: 18px;
    }

    .topic-input {
        width: 350px;
    }

    .slide-range-input {
        width: 180px;
    }

    /* Range Slider */
    #slide-range {
        height: 3px;
    }

    #slide-range::-webkit-slider-thumb,
    #slide-range::-moz-range-thumb {
        width: 16px;
        height: 16px;
    }

    /* Range Dots */
    .range-dots span {
        font-size: 18px;
    }

    /* More Info */
    .more-info-icon,
    .more-info-icon-2 {
        width: 14px;
        height: 14px;
    }

    /* Tooltip */
    .tooltip,
    .tooltip-2 {
        width: 260px;
        padding: 24px;
        font-size: 13px;
    }

    .tooltip p strong,
    .tooltip-2 p strong {
        font-size: 15px;
    }

    /* Order Button */
    button.order-btn {
        padding: 10px 24px;
        font-size: 18px;
        border-radius: 20px;
        width: 140px;
        margin-top: 30px;
    }
}



























/* Styles for numbers in dropdown options */
.option-number {
    color: #999;
    font-weight: 400;
    margin-right: 8px;
}

/* Custom Dropdown Styling */
.custom-dropdown {
    position: relative;
    width: 100%;
    max-width: 400px;
    font-family: 'Poppins', sans-serif;
}

.dropdown-selected {
    padding: 12px 24px;
    border-radius: 24px;
    background-color: #ffffff;
    color: #6e6e6e;
    font-size: 19px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    width: 285px;
    text-wrap: nowrap;
    overflow: hidden;


}

/* Arrow icon as a pseudo-element */
.dropdown-selected::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 17px;
    height: 17px;
    background-image: url('/static/images/hi5prezentuje/dropdown.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
    transition: transform 0.3s ease; /* Add smooth transition for rotation */
}

.dropdown-selected.open::after {
    transform: translateY(-50%) rotate(180deg); /* Rotate arrow only */
}

.dropdown-selected:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Dropdown Options Styling */
.dropdown-options {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px); 
    left: 0%;
    width: 350px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0px -2px 45px rgba(0, 0, 0, 0.3);
    max-height: 448px;
    overflow-y: auto;
    z-index: 10;
    padding: 8px 0;
}

.dropdown-options.show {
    display: block;
}

.dropdown-option {
    padding: 12px 24px;
    font-size: 20px;
    color: #333333;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dropdown-option:hover {
    background-color: #f0f0f0;
}

.input-container label {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 13px;
    white-space: nowrap;
}










/* Custom Topic Dropdown Styling */
.topic-dropdown {
    position: relative;
    width: 100%;
    max-width: 420px;
    font-family: 'Poppins', sans-serif;
}

.topic-dropdown .dropdown-selected {
    padding: 12px 24px;
    border-radius: 24px;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
    color: #6e6e6e;
    font-size: 19px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    text-wrap: nowrap;
    overflow: hidden;
    width: 100%;
}

.topic-dropdown .dropdown-selected::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 17px;
    height: 17px;
    background-image: url('/static/images/hi5prezentuje/dropdown.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.topic-dropdown .dropdown-selected.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.topic-dropdown .dropdown-selected:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Dropdown Textarea Styling */
.dropdown-textarea {
    position: absolute;
    bottom: calc(66%);
    left: 0;
    width: 780px;
    height: 444px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0px -2px 45px rgba(0, 0, 0, 0.3);
    padding: 20px;
    z-index: 10;
    display: none;
    flex-direction: row;
    gap: 20px;
}

.dropdown-textarea.show {
    display: flex;
}

/* Textarea Content */
.textarea-content {
    width: 65%;
    display: flex;
    flex-direction: column;
}

.instruction-text p {
    font-size: 20px;
    color: #444;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.dropdown-textarea textarea {
    width: 100%;
    height: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #bcbcbc;
    font-size: 18px;
    line-height: 1.44;
    color: #2d4784;
    resize: vertical;
    font-family: 'Lato', sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
    overflow-y: auto;
    resize: none;
}

.dropdown-textarea textarea::placeholder {
    color: #888; /* Higher contrast placeholder */
}

.dropdown-textarea textarea:focus {
    border-color: #888;
}

.char-counter {
    text-align: right;
    font-size: 0.875rem;
    color: #333; /* Default color */
    margin-top: 5px;
}

.char-counter.limit-orange {
    color: #bd9210;
}

.char-counter.limit-red {
    color: red;
}


/* Attachment Section */
.attachment-section {
    width: 35%;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: #333;
}

.attachment-header {
    font-weight: bold;
}

.attachment-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    height: 55px;
}

.add-attachment {
    width: 35px;
    height: 35px;
    font-size: 24px;
    color: #ffffff;
    background-color: #007bff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2px;
    padding-right: 1px;
    margin-bottom: 3px;
}

.attachment-list {
    height: 190px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #444;
}

.attachment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #444;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 10px;
    width: 100%;
}

.attachment-item span {
    margin-right: 8px;
    max-width: 13ch;
    text-wrap: nowrap;
    overflow: hidden;
}

.remove-attachment {
    background: none;
    border: none;
    color: #ff0000;
    font-weight: bold;
    cursor: pointer;
}

.attachment-info {
    font-size: 18px;
    color: #555;
    margin-top: 10px;
    line-height: 1.3;
}

.error-message {
    font-size: 16px;
    margin-top: 5px;
    display: none;
}



/* Wrapper for the Date Input */
.custom-date-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 140px;
}

/* Custom Date Input Styling */
.custom-date-input {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    height: 53px;
    padding: 12px 24px;
    font-size: 19px;
    color: #6e6e6e;
    border: none;
    border-radius: 24px;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    outline: none;
}

.custom-date-input:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Adding date icon with ::after on the wrapper */
.custom-date-wrapper::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 21px;
    height: 21px;
    background-image: url('/static/images/hi5prezentuje/date-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-53%);
    transition: transform 0.3s ease;
    pointer-events: none;
}

/* Styling for the altInput generated by Flatpickr */
.flatpickr-alt-input {
    font-family: 'Poppins', sans-serif !important;
    font-size: 19px !important;
    padding: 12px 24px !important;
    color: #6e6e6e !important;
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 24px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    height: 53px !important;
    width: 100% !important;
}

.flatpickr-day.nextMonthDay {
    color: rgba(45, 45, 45, 0.49) !important;
}


.flatpickr-alt-input:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
}


.flatpickr-calendar {
    top: 315px !important;
    padding: 20px !important;
    width: 346px !important;
}


.flatpickr-day {
    font-size: 18px;
}






@media (max-width: 1400px) {
    .order-container {
        width: 80%;
    }

    .order-container {
        width: 100%;
    }

    .second-rectangle {
        width: 100%; /* Adjust for smaller screens */
        padding: 24px;
    }

    .form-container {
        display: flex;
        flex-direction: column;
      }

    .form-row {
        flex-wrap: wrap;
        gap: 16px;
        display: flex;
        flex-direction: row;
    }

    .topic-dropdown {
        max-width: 290px;
      }


    button.order-btn {
        max-width: 100%;
    }
}





@media (max-width: 768px) {
   

    /* Range Slider */
    .slide-range-input, #slide-range {
        width: 100%;
    }

    #slide-range::-webkit-slider-thumb, #slide-range::-moz-range-thumb {
        width: 15px;
        height: 15px;
    }

    .range-dots span {
        font-size: 16px;
    }


    .range-dots {
        justify-content: flex-start;
    }

    /* Tooltip */
    .tooltip {
        width: 90%;
        padding: 20px;
        font-size: 13px;
        left: 5%;
        bottom: 20px;
    }

    .tooltip p {
        padding: 3px 0;
    }

    /* Button Adjustments */
    button.order-btn {
        font-size: 16px;
        padding: 10px 20px;
        width: 100%;
    }

    /* Dropdown */
    .dropdown-selected, .dropdown-options, .topic-dropdown .dropdown-selected {
        width: 100%;
        padding-left: 14px;
    }

    .dropdown-options {
        left: 50%; 
        transform: translateX(-50%); 
        width: 300px;
        height: 308px;
        max-height: 308px;
        max-width: 300px;
    }
    .dropdown-option {
        padding: 12px 6px;
        text-wrap: nowrap;
    }

    /* Textarea in Dropdown */
    .dropdown-textarea {
        width: 100%;
        height: auto;
    }

    .textarea-content p {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .dropdown-textarea textarea {
        font-size: 16px;
        padding: 10px 12px;
    }

    /* Attachments Section */
    .attachment-controls {
        margin-bottom: 12px;
    }

    .attachment-list {
        height: auto;
        padding: 8px;
    }

    .attachment-item {
        font-size: 14px;
    }

    /* Date Picker */
    .custom-date-input, .flatpickr-alt-input {
        font-size: 16px;
        padding: 10px 18px;
    }

    .custom-date-wrapper::after, .dropdown-selected::after {
        right: 12px;
        width: 16px;
        height: 16px;
    }

    /* General Text Adjustments */
    .instruction-text p, .tooltip p, .attachment-info, .review-count, .rating-large, .rating-text, .testimonial-text {
        font-size: 14px;
        line-height: 1.4;
    }

    /* Reducing large font sizes */
    .rating-large {
        font-size: 36px;
    }

    .rating-text {
        font-size: 28px;
    }
    
    /* Other Components */
    .review-column, .first-review-column {
        width: 100%;
        padding: 0;
        text-align: center;
    }
}



@media (max-width: 768px) {
    /* General Section Spacing */
    .input-container, .attachment-section, .custom-dropdown, .topic-dropdown {
        width: 100%;
        max-width: 100%;
    }

    /* Topic Dropdown */
    .topic-dropdown {
        max-width: 100%;
    }


    .topic-dropdown .dropdown-selected::after {
        width: 16px;
        height: 16px;
        right: 12px;
    }

    /* Dropdown Textarea */
    .dropdown-textarea {
        left: 50%; 
        transform: translateX(-50%); 
        width: 330px;
        height: 440px;
        margin-top: 20px;
        flex-direction: column;
        padding: 22px;
    }

    .textarea-content {
        width: 100%;
    }

    .instruction-text p {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .dropdown-textarea textarea {
        font-size: 16px;
        padding: 10px;
        border-radius: 8px;
        height: 140px;
    }

    /* Attachment Section */
    .attachment-section {
        width: 100%;
        margin-bottom: 2px;
    }

    .attachment-header {
        font-size: 18px;
        margin-right: 20px;
    }

    .attachment-controls {
        justify-content: center;
        margin-bottom: 12px;
        height: 22px;
    }

    .add-attachment {
        width: 30px;
        height: 30px;
        font-size: 20px;
        margin-bottom: 0;
    }

    .attachment-list {
        height: auto;
        padding: 8px;
        font-size: 14px;
        height: 90px;
    }

    .attachment-item {
        font-size: 14px;
        padding: 8px;
    }

    /* Text Adjustments */
    .instruction-text p, .attachment-info, .error-message {
        font-size: 14px;
        line-height: 1.4;
    }

    /* General Button Adjustments */
    button.order-btn {
        font-size: 16px;
        padding: 10px;
        width: 100%;
        margin-top: 16px;
    }
}











/* Mobile Styles */
@media (max-width: 1000px) {
    /* Parallax Section */
    .parallax-section {
        background-attachment: scroll !important; /* Disable fixed background for better mobile performance */
        padding: 40px 20px !important;
        border-radius: 24px !important;
        height: auto !important;
        margin: 0 16px !important;
        margin-bottom: 64px !important;
    }


    /* Order Panel */
    .order-panel {
        padding: 40px 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Order Container */
    .order-container {
        width: 100%;
        margin: 0 auto;
        max-width: 400px;
    }

    /* First Rectangle */
    .first-rectangle {
        width: 100%;
        height: auto;
        padding: 24px 20px;
        border-radius: 24px;
    }

    .first-rectangle h2 {
        font-size: 32px;
    }

    .first-rectangle p {
        font-size: 16px;
    }

    /* Second Rectangle */
    .second-rectangle {
        width: 100%;
        padding: 20px;
        border-radius: 16px;
        flex-direction: column;
        gap: 20px;
    }

    .form-container {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    /* Input Container */
    .input-container label {
        font-size: 16px;
    }

    .input-container input, .input-container select {
        padding: 10px 14px;
        font-size: 18px;
    }

    /* Range Dots */
    .range-dots span {
        font-size: 16px;
    }

    /* Slide Range Input */
    .slide-range-input {
        width: 100%;
    }

    /* Tooltip */
    .tooltip {
        width: 100%;
        padding: 16px;
        font-size: 14px;
    }

    /* Order Button */
    button.order-btn {
        padding: 10px 20px;
        font-size: 18px;
        width: 100%;
        margin-top: 20px;
    }
}





@media (max-width: 768px) {
    /* Tooltip Mobile Styles */
    .tooltip {
        padding: 20px;
        font-size: 14px;
        width: 235px;
        margin-bottom: 10px;
        bottom: 20px;  
    }

    .tooltip p {
        padding: 3px 0;
        font-size: 14px;
    }

    .tooltip p strong {
        font-size: 15px;
    }

    .tooltip hr {
        margin: 8px 0;
    }

    .tooltip.visible {
        display: block;
    }
}


























.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
