/* HotelPilot24 Contact Us Stylesheet */

.hp-contact-wrap {
    --hp-navy: #071527;
    --hp-ink: #070b12;
    --hp-muted: #5f6b7a;
    --hp-line: #d7dde7;
    --hp-soft: #f4f7fb;
    --hp-yellow: #f7c600;
    --hp-blue: #2362df;
    --hp-error: #ef4444;
    --hp-success: #10b981;
    font-family: 'Inter', sans-serif;
    color: var(--hp-ink);
    background: #ffffff;
    overflow-x: hidden;
    width: 100%;
}

.hp-contact-wrap * {
    box-sizing: border-box;
}

.hp-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 26px;
    width: 100%;
}

/* ---------------------------------------------------------------------------
 * HERO BANNER
 * --------------------------------------------------------------------------- */
.hp-contact-hero {
    padding: 78px 0 68px;
    background: var(--hp-navy);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    text-align: center;
}

.hp-contact-tag {
    display: block;
    margin-bottom: 15px;
    color: var(--hp-yellow);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hp-contact-title {
    margin: 0 0 20px;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 54px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.hp-contact-title span {
    color: var(--hp-yellow);
}

.hp-contact-subtitle {
    max-width: 620px;
    margin: 0 auto;
    color: #c6d1df;
    font-size: 16px;
    line-height: 1.6;
}

/* ---------------------------------------------------------------------------
 * MAIN SECTION & LAYOUT
 * --------------------------------------------------------------------------- */
.hp-contact-section {
    padding: 78px 0;
    width: 100%;
}

.hp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 74px;
    align-items: start;
}

.hp-contact-sticky {
    position: sticky;
    top: 100px;
}

.hp-contact-info-col h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: var(--hp-navy);
    margin: 0 0 16px;
    line-height: 1.1;
}

.hp-contact-lead {
    color: var(--hp-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 38px;
}

/* Info Cards */
.hp-info-cards {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.hp-info-card {
    display: flex;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--hp-line);
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.hp-info-card:hover {
    border-color: #bcc5d2;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(7, 21, 39, 0.03);
}

.hp-info-icon {
    width: 44px;
    height: 44px;
    background: #edf2ff;
    color: var(--hp-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hp-info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hp-info-content strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--hp-navy);
}

.hp-info-content a {
    color: var(--hp-blue);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hp-info-content a:hover {
    color: #1d50b3;
    text-decoration: underline;
}

.hp-info-content span {
    color: var(--hp-ink);
    font-weight: 600;
    font-size: 14px;
}

.hp-info-content p {
    margin: 4px 0 0;
    color: var(--hp-muted);
    font-size: 12px;
    line-height: 1.45;
}

/* ---------------------------------------------------------------------------
 * INTERACTIVE CONTACT FORM
 * --------------------------------------------------------------------------- */
.hp-contact-card {
    background: #ffffff;
    border: 1px solid var(--hp-line);
    border-radius: 16px;
    padding: 44px 38px;
    box-shadow: 0 4px 25px rgba(7, 21, 39, 0.03);
    position: relative;
    transition: all 0.3s ease;
}

.hp-contact-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--hp-navy);
    margin: 0 0 8px;
}

.hp-card-desc {
    color: var(--hp-muted);
    font-size: 13.5px;
    margin: 0 0 32px;
}

#hpContactForm,
#hpContactVerifyForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hp-form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    position: relative;
}

.hp-form-group label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--hp-navy);
}

.hp-req {
    color: var(--hp-error);
}

/* Input Fields styling */
.hp-form-group input[type="text"],
.hp-form-group input[type="email"],
.hp-form-group select,
.hp-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--hp-line);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--hp-ink);
    background: #ffffff;
    outline: none;
    transition: all 0.2s ease;
}

.hp-form-group input:focus,
.hp-form-group select:focus,
.hp-form-group textarea:focus {
    border-color: var(--hp-blue);
    box-shadow: 0 0 0 3.5px rgba(35, 98, 223, 0.12);
    background: #ffffff;
}

.hp-form-group textarea {
    resize: vertical;
}

/* Checkbox group styling */
.hp-checkbox-group {
    flex-direction: row;
    align-items: start;
    gap: 10px;
    margin-top: 6px;
}

.hp-checkbox-label {
    display: flex;
    align-items: start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
    color: var(--hp-muted);
    font-weight: 500;
}

.hp-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border: 1.5px solid var(--hp-line);
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.hp-checkbox-label a {
    color: var(--hp-blue);
    text-decoration: none;
    font-weight: 600;
}

.hp-checkbox-label a:hover {
    text-decoration: underline;
}

/* Validation styling */
.hp-field-error {
    display: none;
    font-size: 11px;
    font-weight: 700;
    color: var(--hp-error);
    margin-top: 2px;
}

.hp-form-group.hp-has-error input,
.hp-form-group.hp-has-error select,
.hp-form-group.hp-has-error textarea {
    border-color: var(--hp-error);
}

.hp-form-group.hp-has-error input:focus,
.hp-form-group.hp-has-error select:focus,
.hp-form-group.hp-has-error textarea:focus {
    box-shadow: 0 0 0 3.5px rgba(239, 68, 68, 0.12);
}

.hp-form-group.hp-has-error .hp-field-error {
    display: block;
}

/* Alert Boxes */
.hp-form-status-alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.hp-alert-error {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: var(--hp-error);
}

/* Submit Button */
.hp-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    background: var(--hp-blue);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.23s ease;
    width: 100%;
    margin-top: 10px;
    position: relative;
    outline: none;
}

.hp-btn-submit:hover:not(:disabled) {
    background: #1d50b3;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(35, 98, 223, 0.2);
}

.hp-btn-submit:active:not(:disabled) {
    transform: translateY(0);
}

.hp-btn-submit:disabled {
    background: #9aa6b5;
    cursor: not-allowed;
}

.hp-btn-spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top: 2.5px solid #ffffff;
    border-radius: 50%;
    animation: hp-spin 0.8s linear infinite;
    margin-left: 10px;
}

@keyframes hp-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ---------------------------------------------------------------------------
 * SUCCESS STATE STYLING
 * --------------------------------------------------------------------------- */
#hpContactSuccessContainer {
    text-align: center;
    padding: 20px 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#hpContactSuccessContainer h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.hp-success-lead {
    font-size: 16px;
    font-weight: 700;
    color: var(--hp-success);
    margin: 0 0 16px;
}

.hp-success-text {
    color: var(--hp-muted);
    font-size: 13.8px;
    line-height: 1.6;
    margin: 0 auto 32px;
    max-width: 400px;
}

/* Checkmark Animation */
.hp-success-animation {
    margin: 0 auto 24px;
    width: 80px;
    height: 80px;
}

.hp-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2.5;
    stroke: var(--hp-success);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--hp-success);
    animation: hp-fill .4s ease-in-out .4s forwards, hp-scale .3s ease-in-out .9s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.hp-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2.5;
    stroke-miterlimit: 10;
    stroke: var(--hp-success);
    fill: none;
    animation: hp-stroke .6s cubic-bezier(0.650, 0.000, 0.450, 1.000) forwards;
}

.hp-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: hp-stroke .3s cubic-bezier(0.650, 0.000, 0.450, 1.000) .8s forwards;
}

@keyframes hp-stroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes hp-fill {
    100% { box-shadow: inset 0px 0px 0px 40px rgba(16, 185, 129, 0.08); }
}

@keyframes hp-scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

/* Reset form button */
.hp-btn-reset {
    background: none;
    border: 1.5px solid var(--hp-line);
    color: var(--hp-navy);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.hp-btn-reset:hover {
    background: var(--hp-gray-light);
    border-color: #bcc5d2;
}

/* ---------------------------------------------------------------------------
 * RESPONSIVE MEDIA QUERIES
 * --------------------------------------------------------------------------- */
@media (max-width: 980px) {
    .hp-contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hp-contact-title {
        font-size: 42px;
    }
    
    .hp-contact-section {
        padding: 58px 0;
    }
    
    .hp-contact-card {
        padding: 34px 24px;
    }
}

@media (max-width: 680px) {
    .hp-container {
        padding: 0 18px;
    }

    .hp-contact-title {
        font-size: 34px;
    }
    
    .hp-contact-hero {
        padding: 58px 0;
    }
    
    .hp-contact-tag {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hp-info-card {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .hp-contact-card {
        padding: 24px 16px;
    }
}
