/* =========================
   CONTACT HERO WRAPPER
========================= */

.contact-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.92) 0%,
            rgba(4, 10, 20, 0.4) 45%,
            rgba(4, 10, 20, 0.1) 100%
        ),
        url("../images/scada_workstation_card2.png") center / cover no-repeat;
}

/* Subtle top fade so header blends in */
.contact-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
========================= */

.contact-wrapper {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0 60px;

    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* =========================
   LEFT – CONTACT INFO
========================= */

.contact-info {
    flex: 1 1 380px;
    min-width: 280px;
}

.contact-info h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #ffffff;
}

.contact-subtitle {
    font-size: 16px;
    line-height: 1.65;
    color: #b8cce0;
    margin-bottom: 48px;
}

/* Detail list */
.contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* Icon circle */
.contact-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    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;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
}

/* Text block */
.contact-details li div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-details li strong {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-details li span {
    font-size: 15px;
    color: #b8cce0;
    line-height: 1.5;
}

/* =========================
   RIGHT – FORM CARD
========================= */

.contact-form-card {
    flex: 1 1 420px;
    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: 20px;
}

/* 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);
}

/* Send button */
.btn-send {
    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:hover {
    background: #0077e6;
    transform: translateY(-1px);
}

.btn-send:active {
    transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
    .contact-hero {
        padding-top: 110px;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 40px 0 60px;
    }

    .contact-info h1 {
        font-size: 36px;
    }

    .contact-form-card {
        padding: 28px 20px 24px;
    }
}

@media (max-width: 500px) {
    .contact-info h1 {
        font-size: 28px;
    }
}
/* =========================
   MOBILE – CONTACT BACKGROUND
========================= */

@media (max-width: 900px) {
    .contact-hero {
        background:
            linear-gradient(
                to bottom,
                rgba(4, 10, 20, 0.75) 0%,
                rgba(4, 10, 20, 0.60) 50%,
                rgba(4, 10, 20, 0.80) 100%
            ),
            url("../images/scada_workstation_card2.png") center top / cover repeat-y;
    }
}