/* =========================
   CONSULTATION HERO WRAPPER
========================= */

.consult-hero {
    position: relative;
    padding-top: 90px;
    padding-bottom: 80px;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    background:
        linear-gradient(
            to right,
            rgba(4, 10, 20, 0.82) 0%,
            rgba(4, 10, 20, 0.50) 50%,
            rgba(4, 10, 20, 0.25) 100%
        ),
        url("../images/plc_cabinet_card1.png") center / cover no-repeat;
}

/* Background moved to .consult-hero directly */

/* Top fade for header blend */
.consult-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(
        to bottom,
        rgba(10, 15, 25, 0.95),
        rgba(10, 15, 25, 0.5),
        transparent
    );
    pointer-events: none;
    z-index: 1;
}

/* =========================
   INNER LAYOUT
========================= */

.consult-wrapper {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0 80px;

    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* =========================
   LEFT – FEATURES
========================= */

.consult-features {
    flex: 1 1 360px;
    min-width: 260px;
}

.consult-features h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #ffffff;
}

.consult-subtitle {
    font-size: 16px;
    line-height: 1.65;
    color: #b8cce0;
    margin-bottom: 48px;
}

/* Feature list */
.consult-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.consult-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

/* Icon circle */
.consult-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(11, 143, 255, 0.45);
    background: rgba(11, 143, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b8fff;
    margin-top: 2px;
}

.consult-icon svg {
    width: 20px;
    height: 20px;
}

/* Text block */
.consult-list li div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.consult-list li strong {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.consult-list li span {
    font-size: 14px;
    color: #b8cce0;
    line-height: 1.55;
}

/* =========================
   RIGHT – FORM CARD
========================= */

.consult-form-card {
    flex: 1 1 480px;
    min-width: 300px;
    background: rgba(8, 16, 32, 0.72);
    border: 1px solid rgba(11, 143, 255, 0.18);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 36px 32px 32px;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Two-column row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Form groups */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #d0dff0;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(11, 143, 255, 0.22);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    color: #e8f0fb;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(180, 200, 220, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0b8fff;
    background: rgba(11, 143, 255, 0.07);
}

/* =========================
   SELECT DROPDOWN
========================= */

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(11, 143, 255, 0.22);
    border-radius: 6px;
    padding: 10px 40px 10px 14px;
    font-size: 14px;
    color: #e8f0fb;
    font-family: inherit;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.select-wrapper select:focus {
    border-color: #0b8fff;
    background: rgba(11, 143, 255, 0.07);
}

/* Placeholder option color */
.select-wrapper select option[value=""] {
    color: rgba(180, 200, 220, 0.4);
}

.select-wrapper select option {
    background: #0d1b2e;
    color: #e8f0fb;
}

/* Custom arrow */
.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #0b8fff;
    display: flex;
    align-items: center;
}

.select-arrow svg {
    width: 16px;
    height: 16px;
}

/* =========================
   SEND BUTTON
========================= */

.btn-send-consult {
    width: 100%;
    padding: 13px 0;
    background: #0b8fff;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.15s;
    margin-top: 4px;
    font-family: inherit;
}

.btn-send-consult:hover {
    background: #0077e6;
    transform: translateY(-1px);
}

.btn-send-consult:active {
    transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
    .consult-subtitle br{
        display: none;
    }
    .consult-hero {
        padding-top: 110px;
    }

    .consult-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 40px 0 60px;
    }

    .consult-features h1 {
        font-size: 36px;
    }

    .consult-form-card {
        padding: 28px 20px 24px;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .consult-features h1 {
        font-size: 28px;
    }
}
/* =========================
   MOBILE EXTRA (CONSULTATION)
========================= */

@media (max-width:900px){

    .consult-hero {
        min-height: unset;
        padding-bottom: 60px;
        background:
            linear-gradient(
                to bottom,
                rgba(4, 10, 20, 0.75) 0%,
                rgba(4, 10, 20, 0.50) 50%,
                rgba(4, 10, 20, 0.75) 100%
            ),
            url("../images/plc_cabinet_card1.png") center top / cover repeat-y;
    }

    /* Manji blur — vidi se i slika */
    .consult-wrapper {
        background: rgba(4, 10, 20, 0.30);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        border-radius: 12px;
        padding: 32px 20px 40px;
        width: 95%;
    }
}