
/* ======================================================
   VOLSOL SOLUTIONS — CONTACT US SECTION
   File: public/assets/css/contact-section.css
====================================================== */

.volsol-contact-section {
    --contact-navy: #071326;
    --contact-blue: #4778F7;
    --contact-blue-dark: #2459E8;
    --contact-blue-light: #6B91FF;
    --contact-text: #111B30;
    --contact-muted: #566176;
    --contact-bg: #F4F7FD;
    --contact-white: #FFFFFF;
    --contact-border: #DCE3F0;

    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 90px 0;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 85% 10%,
            rgba(71, 120, 247, 0.09),
            transparent 32%
        ),
        linear-gradient(135deg, #F8FAFF 0%, #F1F5FD 100%);
    color: var(--contact-text);
    font-family: inherit;
}

/* Background details */

.volsol-contact-bg-lines {
    position: absolute;
    z-index: -1;
    top: -120px;
    left: -150px;
    width: 450px;
    height: 600px;
    opacity: 0.55;
    pointer-events: none;
    background: repeating-radial-gradient(
        ellipse at left center,
        transparent 0,
        transparent 11px,
        rgba(71, 120, 247, 0.12) 12px,
        transparent 13px
    );
    mask-image: linear-gradient(
        to right,
        #000,
        rgba(0, 0, 0, 0.7),
        transparent
    );
}

.volsol-contact-bg-glow {
    position: absolute;
    z-index: -1;
    top: 20%;
    right: 10%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(71, 120, 247, 0.08);
    filter: blur(100px);
    pointer-events: none;
}

.volsol-contact-bg-wave {
    position: absolute;
    z-index: -1;
    right: -10%;
    bottom: -220px;
    width: 75%;
    height: 330px;
    border: 1px solid rgba(71, 120, 247, 0.12);
    border-radius: 50%;
    transform: rotate(-9deg);
    box-shadow:
        0 -12px 0 -11px rgba(71, 120, 247, 0.12),
        0 -25px 0 -24px rgba(71, 120, 247, 0.10),
        0 -40px 0 -39px rgba(71, 120, 247, 0.08);
    pointer-events: none;
}

/* Main container */

.volsol-contact-container {
    width: min(1440px, calc(100% - 80px));
    margin: 0 auto;
}

.volsol-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: stretch;
    gap: 56px;
}

/* Eyebrow */

.volsol-contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    min-height: 36px;
    padding: 7px 16px;
    border: 1px solid rgba(71, 120, 247, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--contact-navy);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 1.3px;
    line-height: 1.4;
}

.volsol-contact-eyebrow-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--contact-blue);
    box-shadow: 0 0 0 4px rgba(71, 120, 247, 0.11);
}

/* Left contact information */

.volsol-contact-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 12px 0 8px;
}

.volsol-contact-info-title {
    max-width: 620px;
    margin: 24px 0 18px;
    color: var(--contact-navy);
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 750;
    line-height: 1.16;
    letter-spacing: -1.7px;
}

.volsol-contact-info-title span {
    color: var(--contact-blue);
}

.volsol-contact-info-description {
    max-width: 620px;
    margin: 0 0 32px;
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.85;
}

/* Contact detail rows */

.volsol-contact-detail {
    display: flex;
    align-items: center;
    gap: 17px;
    width: 100%;
    margin-bottom: 25px;
}

.volsol-contact-detail-icon,
.volsol-contact-hours-icon {
    display: flex;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 17px;
    background: linear-gradient(
        145deg,
        var(--contact-blue),
        var(--contact-blue-dark)
    );
    color: #FFFFFF;
    box-shadow: 0 9px 22px rgba(71, 120, 247, 0.17);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.volsol-contact-detail-icon svg,
.volsol-contact-hours-icon svg {
    width: 25px;
    height: 25px;
}

.volsol-contact-detail:hover .volsol-contact-detail-icon {
    transform: translateY(-3px);
    box-shadow: 0 13px 26px rgba(71, 120, 247, 0.25);
}

.volsol-contact-detail-content {
    min-width: 0;
}

.volsol-contact-detail-content h3 {
    margin: 0 0 5px;
    color: var(--contact-navy);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.4;
}

.volsol-contact-detail-content p,
.volsol-contact-detail-content a {
    display: inline-block;
    margin: 0;
    color: var(--contact-muted);
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.volsol-contact-detail-content a {
    color: var(--contact-navy);
    text-decoration: none;
    transition: color 0.2s ease;
}

.volsol-contact-detail-content a:hover {
    color: var(--contact-blue);
}

/* Working hours */

.volsol-contact-hours {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    width: 100%;
    margin-top: 12px;
    padding-top: 25px;
    border-top: 1px solid rgba(7, 19, 38, 0.11);
}

.volsol-contact-hours-icon {
    flex-basis: 56px;
    background: #E5EDFF;
    color: var(--contact-blue-dark);
    box-shadow: none;
}

.volsol-contact-hours-content {
    flex: 1;
    min-width: 0;
}

.volsol-contact-hours-content h3 {
    margin: 0 0 14px;
    color: var(--contact-navy);
    font-size: 20px;
    font-weight: 750;
}

.volsol-contact-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(7, 19, 38, 0.09);
    color: var(--contact-muted);
    font-size: 13px;
    line-height: 1.5;
}

.volsol-contact-hours-row:last-child {
    border-bottom: 0;
}

.volsol-contact-hours-row strong {
    color: var(--contact-navy);
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

/* Social links */

.volsol-contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.volsol-contact-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(71, 120, 247, 0.13);
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--contact-navy);
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(7, 19, 38, 0.04);
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.volsol-contact-socials a svg {
    width: 19px;
    height: 19px;
}

.volsol-contact-socials a:hover {
    transform: translateY(-3px);
    background: var(--contact-blue);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(71, 120, 247, 0.22);
}

/* Right form card */

.volsol-contact-form-card {
    position: relative;
    min-width: 0;
    padding: 43px 42px 38px;
    overflow: hidden;
    border: 1px solid rgba(71, 120, 247, 0.2);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow:
        0 22px 65px rgba(22, 59, 143, 0.07),
        0 3px 12px rgba(7, 19, 38, 0.025);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.volsol-contact-form-card::before {
    position: absolute;
    top: -130px;
    right: -120px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(71, 120, 247, 0.12),
        transparent 70%
    );
    content: "";
    pointer-events: none;
}

.volsol-contact-form-decoration {
    position: absolute;
    top: 28px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border: 1px solid rgba(71, 120, 247, 0.16);
    border-radius: 24px;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.96),
        #E8F0FF
    );
    box-shadow: 0 12px 30px rgba(71, 120, 247, 0.13);
    transform: rotate(5deg);
}

.volsol-contact-ai-chip {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 40px;
    border-radius: 11px;
    background: linear-gradient(
        145deg,
        #6B91FF,
        #2459E8
    );
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 7px 15px rgba(36, 89, 232, 0.3);
}

.volsol-contact-ai-chip::before,
.volsol-contact-ai-chip::after {
    position: absolute;
    left: 50%;
    width: 1px;
    height: 7px;
    background: #4778F7;
    content: "";
}

.volsol-contact-ai-chip::before {
    top: -7px;
}

.volsol-contact-ai-chip::after {
    bottom: -7px;
}

.volsol-contact-ai-chip i {
    position: absolute;
    top: 50%;
    left: -7px;
    width: 7px;
    height: 1px;
    background: #4778F7;
    box-shadow: 55px 0 #4778F7;
}

.volsol-contact-form-heading {
    position: relative;
    z-index: 1;
}

.volsol-contact-form-heading h2 {
    max-width: 700px;
    margin: 19px 75px 13px 0;
    color: var(--contact-navy);
    font-size: clamp(31px, 3vw, 44px);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -1.7px;
}

.volsol-contact-form-heading h2 span {
    color: var(--contact-blue);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-style: italic;
}

.volsol-contact-form-heading p {
    max-width: 580px;
    margin: 0 0 26px;
    color: var(--contact-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Form grid */

.volsol-contact-form {
    position: relative;
    z-index: 1;
}

.volsol-contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 20px;
}

.volsol-contact-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.volsol-contact-field-full {
    grid-column: 1 / -1;
}

.volsol-contact-field label {
    margin: 0 0 8px;
    color: var(--contact-navy);
    font-size: 13px;
    font-weight: 650;
}

.volsol-contact-field input,
.volsol-contact-field select,
.volsol-contact-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    border: 1px solid #D8DFEA;
    border-radius: 11px;
    outline: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--contact-navy);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(7, 19, 38, 0.015);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.volsol-contact-field input,
.volsol-contact-field select {
    height: 53px;
    padding: 0 17px;
}

.volsol-contact-field select {
    cursor: pointer;
}

.volsol-contact-field textarea {
    min-height: 125px;
    padding: 15px 17px;
    resize: vertical;
}

.volsol-contact-field input::placeholder,
.volsol-contact-field textarea::placeholder {
    color: #8993A5;
    opacity: 1;
}

.volsol-contact-field input:focus,
.volsol-contact-field select:focus,
.volsol-contact-field textarea:focus {
    border-color: var(--contact-blue);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(71, 120, 247, 0.11);
}

.volsol-contact-error {
    margin-top: 6px;
    color: #C62828;
    font-size: 12px;
    line-height: 1.4;
}

/* Form footer and submit button */

.volsol-contact-form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 25px;
}

.volsol-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    min-height: 55px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(
        110deg,
        var(--contact-blue-dark),
        var(--contact-blue)
    );
    color: #FFFFFF;
    font-family: inherit;
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(71, 120, 247, 0.2);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.volsol-contact-submit svg {
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
}

.volsol-contact-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 13px 27px rgba(71, 120, 247, 0.28);
}

.volsol-contact-submit:hover svg {
    transform: translate(3px, -2px);
}

.volsol-contact-submit:focus-visible {
    outline: 3px solid rgba(71, 120, 247, 0.3);
    outline-offset: 4px;
}

.volsol-contact-privacy {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #778196;
    font-size: 12px;
    line-height: 1.5;
}

.volsol-contact-privacy svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: var(--contact-blue);
}

/* Tablet */

@media (max-width: 1100px) {
    .volsol-contact-section {
        padding: 72px 0;
    }

    .volsol-contact-container {
        width: calc(100% - 48px);
    }

    .volsol-contact-layout {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 32px;
    }

    .volsol-contact-form-card {
        padding: 34px 28px;
    }

    .volsol-contact-form-decoration {
        top: 24px;
        right: 23px;
        width: 58px;
        height: 58px;
        border-radius: 18px;
    }

    .volsol-contact-ai-chip {
        width: 38px;
        height: 32px;
        font-size: 13px;
    }

    .volsol-contact-form-heading h2 {
        margin-right: 48px;
        font-size: clamp(29px, 3.3vw, 37px);
    }

    .volsol-contact-info-title {
        font-size: clamp(30px, 3.2vw, 38px);
    }

    .volsol-contact-hours-row {
        flex-wrap: wrap;
    }
}

/* Mobile and small tablets */

@media (max-width: 767px) {
    .volsol-contact-section {
        padding: 54px 0;
    }

    .volsol-contact-container {
        width: calc(100% - 36px);
    }

    .volsol-contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .volsol-contact-info {
        padding: 0;
    }

    .volsol-contact-info-title {
        max-width: 560px;
        margin-top: 20px;
        font-size: clamp(31px, 7vw, 39px);
        letter-spacing: -1.1px;
    }

    .volsol-contact-info-description {
        margin-bottom: 27px;
        font-size: 15px;
        line-height: 1.8;
    }

    .volsol-contact-detail {
        gap: 14px;
        margin-bottom: 21px;
    }

    .volsol-contact-detail-icon,
    .volsol-contact-hours-icon {
        flex-basis: 49px;
        width: 49px;
        height: 49px;
        border-radius: 14px;
    }

    .volsol-contact-detail-icon svg,
    .volsol-contact-hours-icon svg {
        width: 22px;
        height: 22px;
    }

    .volsol-contact-detail-content h3 {
        font-size: 16px;
    }

    .volsol-contact-detail-content p,
    .volsol-contact-detail-content a {
        font-size: 14px;
    }

    .volsol-contact-hours {
        gap: 13px;
        margin-top: 7px;
        padding-top: 22px;
    }

    .volsol-contact-hours-content h3 {
        font-size: 18px;
    }

    .volsol-contact-hours-row,
    .volsol-contact-hours-row strong {
        font-size: 12px;
    }

    .volsol-contact-form-card {
        padding: 30px 23px;
        border-radius: 23px;
    }

    .volsol-contact-form-decoration {
        top: 22px;
        right: 20px;
        width: 49px;
        height: 49px;
        border-radius: 15px;
    }

    .volsol-contact-ai-chip {
        width: 33px;
        height: 28px;
        border-radius: 8px;
        font-size: 11px;
    }

    .volsol-contact-form-heading h2 {
        max-width: 100%;
        margin: 18px 0 12px;
        font-size: clamp(29px, 6.5vw, 36px);
        letter-spacing: -1.2px;
    }

    .volsol-contact-form-heading p {
        font-size: 14px;
    }

    .volsol-contact-form-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .volsol-contact-field-full {
        grid-column: auto;
    }

    .volsol-contact-field input,
    .volsol-contact-field select {
        height: 51px;
    }

    .volsol-contact-field textarea {
        min-height: 120px;
    }

    .volsol-contact-form-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .volsol-contact-submit {
        width: 100%;
        justify-content: space-between;
    }

    .volsol-contact-bg-glow {
        right: -170px;
    }
}

/* Very small screens */

@media (max-width: 380px) {
    .volsol-contact-container {
        width: calc(100% - 28px);
    }

    .volsol-contact-form-card {
        padding: 25px 17px;
    }

    .volsol-contact-form-heading h2 {
        font-size: 28px;
    }

    .volsol-contact-eyebrow {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .volsol-contact-hours-row {
        flex-direction: column;
        gap: 4px;
    }

    .volsol-contact-hours-row strong {
        text-align: left;
    }
}

/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
    .volsol-contact-section *,
    .volsol-contact-section *::before,
    .volsol-contact-section *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
