/**
 * Combined Extra Styles
 * Merged from: modal-form-pixel-perfect.css, footer-inline.css, services-hover-manual.css
 *
 * @package TIM_Agency
 * @since 1.4.0
 */

/* ===========================================
   MODAL FORM STYLES
   =========================================== */

/* Form container */
.modal_window .form_modal {
    grid-column-gap: 32px;
    grid-row-gap: 32px;
    flex-flow: column;
    flex: 1;
    justify-content: center;
    align-items: center;
    display: flex;
}

/* Title */
.modal_window .form_modal .clash_medium_32 {
    align-self: stretch;
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'Clash Display', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 130%;
    color: white;
    text-align: center;
}

/* Hero container - 2 columns */
.modal_window .form_modal .div_modal_hero {
    grid-column-gap: 48px;
    grid-row-gap: 48px;
    justify-content: center;
    align-self: stretch;
    align-items: center;
    display: flex;
}

/* Left column - inputs */
.modal_window .form_modal .div_modal {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    flex-flow: column;
    flex: 1;
    align-self: stretch;
    display: flex;
}

/* Right column - checkboxes */
.modal_window .form_modal .div_modal.right {
    grid-column-gap: 33px;
    grid-row-gap: 33px;
    flex-flow: column;
    flex: 1;
    align-self: stretch;
    display: flex;
}

/* Input fields */
.modal_window .form_modal .field_modal_window {
    color: var(--black);
    border-radius: 10px;
    height: 52px;
    margin-bottom: 0;
    font-family: 'Clash Display', sans-serif;
    font-size: 16px;
    font-weight: 100;
    line-height: 19.2px;
    border: none;
    padding: 15px 20px;
    background-color: white;
    width: 100%;
}

.modal_window .form_modal .field_modal_window::placeholder {
    color: var(--black);
    opacity: 0.6;
    font-weight: 100;
    font-family: 'Clash Display', sans-serif;
}

/* Checkbox column */
.modal_window .form_modal .col {
    grid-column-gap: 13px;
    grid-row-gap: 13px;
    flex-flow: column;
    flex: 1;
    display: flex;
    position: relative;
}

/* Checkbox label (question) */
.modal_window .form_modal .h4_clash_400_24.white {
    color: var(--white);
    flex: 0 auto;
    align-self: auto;
    line-height: 32px;
    text-decoration: none;
    font-family: 'Clash Display', sans-serif;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 0;
}

/* Checkboxes container - FLEX wrap */
.modal_window .form_modal .checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

.modal_window .form_modal .checkboxes.maxwidth-470 {
    max-width: 470px;
}

/* Individual checkbox (pill button) */
.modal_window .form_modal .hire-checkbox {
    background-color: transparent;
    border-radius: 30px;
    margin-bottom: 0;
    padding: 5px 15px;
    position: relative;
    border: 1px solid var(--violette);
    cursor: pointer;
    transition: all 0.3s;
}

.modal_window .form_modal .hire-checkbox:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hide default checkbox */
.modal_window .form_modal .hire-checkbox input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

/* Hide Webflow checkbox visual */
.modal_window .form_modal .w-checkbox-input--inputType-custom,
.modal_window .form_modal .checkbox {
    display: none !important;
}

/* Checkbox label text */
.modal_window .form_modal .checkbox-label {
    z-index: 2;
    color: var(--black);
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 100;
    line-height: 21.6px;
    transition: all 0.3s;
    position: relative;
    font-family: 'Clash Display', sans-serif;
}

/* Checked state */
.modal_window .form_modal .hire-checkbox:has(input[type="checkbox"]:checked) {
    background-color: #fff;
    border-color: #fff;
}

.modal_window .form_modal .hire-checkbox:has(input[type="checkbox"]:checked) .checkbox-label {
    color: var(--black);
}

/* Submit button */
.modal_window .form_modal .submit-button-3 {
    background-color: var(--black);
    border-radius: 30px;
    padding: 10px 100px;
    color: white;
    font-family: 'Clash Display', sans-serif;
    font-size: 18px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.modal_window .form_modal .submit-button-3:hover {
    background-color: #333;
}

/* ===========================================
   STEPS SECTION - Number Alignment Fix
   =========================================== */

.text_block_number {
    min-width: 50px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.top_steps_section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

/* ===========================================
   TESTIMONIALS - Align cards
   =========================================== */

.testim-card {
    display: flex;
    align-items: flex-start;
}

.right-text-test-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.testim-h4-h5 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 80px;
}

.testim-h4-h5 h4 {
    margin-bottom: 8px;
}

/* ===========================================
   SERVICE HOVER ICON
   =========================================== */

.service_name .service-hover-icon {
    display: none;
}

.service_name:hover .service-hover-icon {
    display: block;
}

.service_name:hover .img_service {
    display: none;
}

/* ===========================================
   PROJECTS SECTION - Force left alignment
   =========================================== */

.section_wrap_project {
    align-items: flex-start;
    justify-content: flex-start;
}

.section_wrap_project .w-layout-blockcontainer,
.section_wrap_project .container-1440 {
    align-items: flex-start;
    justify-content: flex-start;
}

.section_wrap_project .projects_all {
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
}

.pojects_title {
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.pojects_title .h2_clash_400_48 {
    margin: 0;
    padding: 0;
    text-align: left;
}

.pojects_title .project_h4_btn {
    margin-left: auto;
}

/* ===========================================
   SERVICES CARDS - Manual Hover Effect
   =========================================== */

/* Initial state - hide pink button */
.service_card_div .div_img {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover state - show pink button */
.service_card_div:hover .div_img {
    opacity: 0.7;
    transform: scale(1);
}

/* Change card background to black on hover */
.service_card_div:hover .card_h4_p {
    background-color: #000000;
    transition: background-color 0.3s ease;
}

/* Change text to white on hover */
.service_card_div:hover .h4_clash_400_24.service_card,
.service_card_div:hover .p_clash_400_16.service_card {
    color: #ffffff;
    transition: color 0.3s ease;
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 991px) {
    .modal_window .form_modal .div_modal_hero {
        grid-column-gap: 34px;
        grid-row-gap: 34px;
        flex-flow: column;
    }
}

/* ===========================================
   WEBFLOW OVERRIDES
   =========================================== */

/* Custom slider dots */
.w-slider-dot {
    width: 12px;
    height: 12px;
    background-color: #FF08E8;
}

.w-slider-dot.w-active {
    width: 18px;
    height: 18px;
    background-color: #FF08E8;
}

/* Language switcher icon */
.icon-locale {
    font-size: 20px;
}

/* Modal transitions */
.modal_wrapper {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.modal_wrapper.closing {
    opacity: 0;
}

.modal_window {
    transition: transform 0.5s ease;
    transform: translateY(0);
}

.modal_window.closing {
    transform: translateY(100vw);
}
