.inq-header {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    padding: 5rem 1.5rem 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.inq-header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), .1) 0%, transparent 70%);
    pointer-events: none;
}

.inq-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.inq-title span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.inq-sub {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.inq-wrap {
    max-width: 1100px;
    margin: 80px auto 5rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap:1rem;
    align-items: start;
}

/* Contact Info Cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ccard {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 22px;
    padding: 1.6rem 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

.ccard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.ccard:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    border-color: rgba(var(--primary-rgb), 0.12);
}

.ccard:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.ccard-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(var(--primary-rgb), 0.06);
    color: var(--primary);
    transition: all 0.3s ease;
}

.ccard:hover .ccard-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.08);
}

.ccard-title {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: .25rem;
    font-size: 1.08rem;
}

.ccard-text {
    color: #64748b;
    font-size: .9rem;
    line-height: 1.55;
}

/* Form Container */
.inq-form-box {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 28px;
    padding: 2.75rem;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.inq-form-box:hover {
    box-shadow: 0 24px 60px rgba(var(--primary-rgb), 0.08);
}

.inq-form-box::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.inq-form-title {
    font-size: 1.55rem;
    color: var(--secondary);
    margin-bottom: 1.75rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.form-group.full {
    grid-column: 1/-1;
}

.form-label {
    font-size: .8rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: .02em;
}

.form-control {
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: .9rem 1.1rem;
    color: var(--secondary);
    font-size: .92rem;
    outline: none;
    transition: all .25s;
}

.form-control:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .12);
}

.form-control::placeholder {
    color: #94a3b8;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Styled Input Fields with left icon padding */
.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-field-icon {
    position: absolute;
    left: 18px;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.input-icon-wrapper .form-control {
    padding-left: 48px !important;
}

.input-icon-wrapper:focus-within .input-field-icon {
    color: var(--primary);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    border: none;
    border-radius: 12px;
    padding: 1.1rem;
    color: white;
    font-size: 1rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), .25);
    transition: all .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(var(--primary-rgb), .4);
}

.success-msg {
    background: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #ffffff;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}


@media(max-width:850px) {
    .inq-wrap {
        grid-template-columns: 1fr;
    }

    .inq-header {
        padding: 4rem 1.5rem 6rem;
    }
}

@media(max-width:500px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== CONTACT CARD ICON MODIFIERS ===== */
.ccard-icon-email {
    background: rgba(56, 189, 248, 0.1);
    color: #0ea5e9;
}

.ccard-icon-location {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

/* ===== ENHANCED RESPONSIVE ===== */
@media(max-width:640px) {
    .inq-form-box {
        padding: 1.75rem 1.25rem;
    }

    .inq-header {
        padding: 3.5rem 1.25rem 5rem;
    }

    .inq-wrap {
        margin:2rem auto 3rem;
    }
}