/* ==========================================================================
   CONTACT US PAGE STYLES - payroll.sg
   Scoped specifically for /contact without affecting Homepage
   ========================================================================== */

.pg-contact-wrapper {
    background-color: #080c14;
    color: #f8fafc;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    padding-bottom: 80px;
}

/* Hero Section */
.pg-contact-hero {
    position: relative;
    padding-top: calc(var(--header-height, 72px) + 24px);
    padding-bottom: 0;
    min-height: 360px;
    overflow: hidden;
    background-color: #080c14;
}

.pg-contact-hero-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    position: relative;
    min-height: 320px;
}

.pg-contact-hero-content {
    position: relative;
    z-index: 2;
    flex: 1 1 48%;
    max-width: 540px;
    padding-bottom: 28px;
    align-self: center;
}

.pg-contact-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.pg-contact-hero-sub {
    font-size: 17px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 0;
}

.pg-contact-hero-graphic,
.pg-contact-hero-image-box,
.pg-hero-graphic,
.pg-hero-image-box {
    position: relative;
    flex: 1 1 52%;
    max-width: 660px;
    height: 320px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 1;
    pointer-events: auto;
}

.pg-contact-hero-img,
.pg-hero-img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: cover;
    object-position: right bottom;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 18%, rgba(0,0,0,0.85) 45%, #000 70%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 18%, rgba(0,0,0,0.85) 45%, #000 70%);
}

.pg-contact-hero-bg {
    display: none;
}

/* 2-Column Contact Container */
.pg-contact-container {
    background: #0d131f;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 44px 40px;
    max-width: 960px;
    margin: 30px auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 3;
}

/* Left: Get in touch */
.pg-contact-info-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.pg-contact-info-sub {
    font-size: 14.5px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 32px;
}

.pg-contact-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pg-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pg-contact-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #111827;
    border: 1px solid #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00DF89;
    font-size: 16px;
    flex-shrink: 0;
}

.pg-contact-item-label {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 2px;
    font-weight: 500;
}

.pg-contact-item-val {
    font-size: 16px;
    color: #f1f5f9;
    font-weight: 600;
    text-decoration: none;
}

.pg-contact-item-val:hover {
    color: #00DF89;
}

/* Right: Form */
.pg-contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pg-form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.pg-form-control {
    width: 100%;
    background: #111827;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 12px 14px;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.pg-form-control:focus {
    border-color: #00DF89;
}

.pg-form-control::placeholder {
    color: #475569;
}

.pg-contact-submit-btn {
    width: 100%;
    padding: 13px 20px;
    background: #ffffff;
    color: #080c14;
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 6px;
}

.pg-contact-submit-btn:hover {
    background: #00DF89;
    color: #080c14;
    box-shadow: 0 4px 15px rgba(0, 223, 137, 0.4);
}

/* Responsive */
@media (max-width: 991px) {
    .pg-contact-hero {
        min-height: auto;
        padding-bottom: 30px;
    }
    .pg-contact-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        gap: 20px;
    }
    .pg-contact-hero-graphic,
    .pg-contact-hero-image-box,
    .pg-hero-graphic,
    .pg-hero-image-box {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: 260px;
        justify-content: center;
    }
    .pg-contact-hero-img,
    .pg-hero-img {
        max-height: 260px;
        object-position: center;
        -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
    }
}

@media (max-width: 768px) {
    .pg-contact-container {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 28px 20px;
    }
    .pg-contact-hero-title {
        font-size: 32px;
    }
}
