/* ============================================
   CONTACT SECTION  -  scoped .tpct-
   Prefix isolates all rules from style.css overrides
   ============================================ */

/* ------------------------------------------------
   SECTION WRAPPER
   ------------------------------------------------ */
.tpct-section {
    padding: 50px 0;
    background: #ffffff;
}

.tpct-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ------------------------------------------------
   HEADER
   ------------------------------------------------ */
.tpct-header {
    text-align: center;
    margin-bottom: 45px;
}

.tpct-badge {
    display: inline-block;
    background: rgba(236, 169, 13, 0.12);
    color: #ECA90D;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 22px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.tpct-title {
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #01295E !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
}

.tpct-title span {
    color: #ECA90D !important;
}

.tpct-subtitle {
    font-size: 16px !important;
    color: #6c757d !important;
    max-width: 550px;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}

/* ------------------------------------------------
   TWO-COLUMN LAYOUT
   ------------------------------------------------ */
.tpct-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.tpct-left {
    flex: 1;
    min-width: 0;
}

.tpct-right {
    flex: 0 0 420px;
    min-width: 420px;
}

/* ------------------------------------------------
   INFO GRID (4 CARDS)
   ------------------------------------------------ */
.tpct-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 25px;
}

.tpct-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: #f8faff;
    border-radius: 14px;
    border: 1px solid #eef2f7;
    transition: all 0.3s ease;
}

.tpct-info-card:hover {
    border-color: rgba(236, 169, 13, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.tpct-info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #ECA90D;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.tpct-info-text h4 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #01295E !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3 !important;
}

.tpct-info-text p {
    font-size: 13px !important;
    color: #6c757d !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.tpct-info-text p a {
    color: #6c757d !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tpct-info-text p a:hover {
    color: #ECA90D !important;
}

/* ------------------------------------------------
   MAP
   ------------------------------------------------ */
.tpct-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f7;
}

.tpct-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* ------------------------------------------------
   FORM WRAPPER
   ------------------------------------------------ */
.tpct-form-wrap {
    background: #f8faff;
    padding: 35px 32px;
    border-radius: 16px;
    border: 1px solid #eef2f7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.tpct-form-heading {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #01295E !important;
    margin: 0 0 24px 0 !important;
    text-align: center;
    line-height: 1.3 !important;
}

/* ------------------------------------------------
   FORM FIELDS
   ------------------------------------------------ */
.tpct-field {
    margin-bottom: 18px;
}

.tpct-field label {
    display: block;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #01295E !important;
    margin-bottom: 7px !important;
    line-height: 1.4 !important;
}

.tpct-req {
    color: #e74c3c !important;
}

.tpct-opt {
    color: #888 !important;
    font-weight: 400 !important;
}

/* ------------------------------------------------
   TEXT / TEL INPUT  –  beats style.css specifics
   ------------------------------------------------ */
.tpct-input-wrap {
    position: relative;
}

.tpct-input-wrap > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0b8c4;
    font-size: 15px;
    pointer-events: none;
    z-index: 2;
    transition: color 0.3s ease;
}

/* The key: very specific selector beats style.css `input` and `.default-form input` */
.tpct-form .tpct-input-wrap input[type="text"],
.tpct-form .tpct-input-wrap input[type="tel"],
.tpct-form .tpct-input-wrap input[type="email"] {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px 0 42px !important;
    border: 1px solid #e0e6ef !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #01295E !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    line-height: 48px !important;
}

.tpct-form .tpct-input-wrap input[type="text"]:focus,
.tpct-form .tpct-input-wrap input[type="tel"]:focus,
.tpct-form .tpct-input-wrap input[type="email"]:focus {
    border-color: #ECA90D !important;
    box-shadow: 0 0 0 3px rgba(236, 169, 13, 0.1) !important;
}

.tpct-form .tpct-input-wrap input::placeholder {
    color: #b0b8c4 !important;
}

.tpct-form .tpct-input-wrap input:focus + i,
.tpct-form .tpct-input-wrap input:focus ~ i {
    color: #ECA90D;
}

/* ------------------------------------------------
   TEXTAREA  –  same specificity approach
   ------------------------------------------------ */
.tpct-textarea-wrap {
    align-items: flex-start;
}

.tpct-textarea-wrap > i {
    top: 14px;
    transform: none;
}

.tpct-form .tpct-input-wrap textarea {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 110px !important;
    padding: 12px 16px 12px 42px !important;
    border: 1px solid #e0e6ef !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #01295E !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
    resize: vertical !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    line-height: 1.6 !important;
}

.tpct-form .tpct-input-wrap textarea:focus {
    border-color: #ECA90D !important;
    box-shadow: 0 0 0 3px rgba(236, 169, 13, 0.1) !important;
}

.tpct-form .tpct-input-wrap textarea::placeholder {
    color: #b0b8c4 !important;
}

/* ------------------------------------------------
   NATIVE SELECT  –  overrides nice-select, style.css
   .nice-select only affects elements JS converts;
   we keep the raw <select> and style it ourselves
   ------------------------------------------------ */
.tpct-select-wrap {
    position: relative;
}

.tpct-select-wrap > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0b8c4;
    font-size: 15px;
    pointer-events: none;
    z-index: 2;
}

.tpct-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0b8c4;
    font-size: 12px;
    pointer-events: none;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* High-specificity rule: beats .nice-select, style.css .nice-select, and body input rules */
.tpct-form .tpct-select-wrap select,
.tpct-form .tpct-select-wrap select.nice-select {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    padding: 0 40px 0 42px !important;
    border: 1px solid #e0e6ef !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #01295E !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    line-height: 48px !important;
    /* Remove browser default arrow */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    /* Override float: left from .nice-select */
    float: none !important;
    /* Override width: auto from .nice-select */
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.tpct-form .tpct-select-wrap select:focus,
.tpct-form .tpct-select-wrap select.nice-select:focus {
    border-color: #ECA90D !important;
    box-shadow: 0 0 0 3px rgba(236, 169, 13, 0.1) !important;
}

/* Hide the generated .nice-select div if JS converts it */
.tpct-select-wrap .nice-select ~ .nice-select {
    display: none !important;
}

/* ------------------------------------------------
   SUBMIT BUTTON
   ------------------------------------------------ */
.tpct-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 14px 30px !important;
    background: #ECA90D !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(236, 169, 13, 0.3) !important;
    transition: all 0.3s ease !important;
    line-height: 1 !important;
    margin-top: 6px;
}

.tpct-submit:hover {
    background: #d49a0c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(236, 169, 13, 0.4) !important;
    color: #fff !important;
}

.tpct-submit i {
    transition: transform 0.3s ease;
}

.tpct-submit:hover i {
    transform: translateX(4px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet large */
@media (max-width: 1100px) {
    .tpct-right {
        flex: 0 0 360px;
        min-width: 360px;
    }
}
/* Mobile - Full Width Contact Cards & Map */
@media (max-width: 768px) {

    .tpct-info-grid {
        grid-template-columns: 1fr !important;
    }

    .tpct-info-card {
        width: 100% !important;
    }

    .tpct-left,
    .tpct-right {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }

    .tpct-map,
    .tpct-map iframe {
        width: 100% !important;
    }

    .tpct-map iframe {
        height: 300px !important;
    }
}
/* Same Height for Left & Right Sections */
.tpct-layout {
    display: flex;
    align-items: stretch;
}

.tpct-left,
.tpct-right {
    display: flex;
    flex-direction: column;
}

.tpct-form-wrap {
    height: 100%;
}

.tpct-map {
    flex: 1;
}

/* Tablet */
@media (max-width: 992px) {
    .tpct-section {
        padding: 60px 0;
    }

    .tpct-title {
        font-size: 32px !important;
    }

    .tpct-layout {
        flex-direction: column;
        gap: 30px;
        display: flex;
    }

    .tpct-right {
        flex: 0 0 100%;
        min-width: 0;
        width: 100%;
    }

    .tpct-map iframe {
        height: 280px;
    }

    .tpct-form-wrap {
        padding: 28px 24px;
    }
}

/* Mobile large */
@media (max-width: 768px) {
    .tpct-section {
        padding: 50px 0;
    }

    .tpct-title {
        font-size: 28px !important;
    }

    .tpct-subtitle {
        font-size: 14px !important;
        padding: 0 8px;
    }

    .tpct-header {
        margin-bottom: 35px;
    }

    .tpct-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .tpct-info-card {
        padding: 14px 16px;
    }

    .tpct-info-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 10px;
    }

    .tpct-info-text h4 {
        font-size: 14px !important;
    }

    .tpct-info-text p {
        font-size: 12px !important;
    }

    .tpct-map iframe {
        height: 250px;
    }

    .tpct-form-wrap {
        padding: 24px 18px;
    }

    .tpct-form-heading {
        font-size: 20px !important;
        margin-bottom: 20px !important;
    }

    .tpct-field {
        margin-bottom: 14px;
    }

    .tpct-field label {
        font-size: 13px !important;
        margin-bottom: 5px !important;
    }

    .tpct-form .tpct-input-wrap input[type="text"],
    .tpct-form .tpct-input-wrap input[type="tel"],
    .tpct-form .tpct-input-wrap input[type="email"],
    .tpct-form .tpct-select-wrap select,
    .tpct-form .tpct-select-wrap select.nice-select {
        height: 44px !important;
        font-size: 13px !important;
        line-height: 44px !important;
    }

    .tpct-submit {
        padding: 12px 24px !important;
        font-size: 15px !important;
    }
}

/* Mobile small */
@media (max-width: 480px) {
    .tpct-section {
        padding: 40px 0;
    }

    .tpct-title {
        font-size: 24px !important;
    }

    .tpct-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tpct-info-card {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .tpct-info-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-radius: 8px;
    }

    .tpct-map iframe {
        height: 210px;
    }

    .tpct-form-wrap {
        padding: 20px 14px;
        border-radius: 14px;
    }

    .tpct-form-heading {
        font-size: 18px !important;
    }

    .tpct-badge {
        font-size: 11px;
        padding: 4px 16px;
    }

    .tpct-form .tpct-input-wrap input[type="text"],
    .tpct-form .tpct-input-wrap input[type="tel"],
    .tpct-form .tpct-input-wrap input[type="email"],
    .tpct-form .tpct-select-wrap select,
    .tpct-form .tpct-select-wrap select.nice-select {
        height: 42px !important;
        padding-left: 38px !important;
        font-size: 13px !important;
        line-height: 42px !important;
    }

    .tpct-input-wrap > i,
    .tpct-select-wrap > i {
        font-size: 13px;
        left: 12px;
    }

    .tpct-form .tpct-input-wrap textarea {
        padding: 10px 14px 10px 38px !important;
        font-size: 13px !important;
    }

    .tpct-submit {
        font-size: 14px !important;
        padding: 12px 20px !important;
        border-radius: 40px !important;
    }
}

/* Extra small */
@media (max-width: 360px) {
    .tpct-title {
        font-size: 22px !important;
    }

    .tpct-form-wrap {
        padding: 16px 12px;
    }

    .tpct-form .tpct-input-wrap input[type="text"],
    .tpct-form .tpct-input-wrap input[type="tel"],
    .tpct-form .tpct-input-wrap input[type="email"],
    .tpct-form .tpct-select-wrap select,
    .tpct-form .tpct-select-wrap select.nice-select {
        height: 40px !important;
        font-size: 12px !important;
        line-height: 40px !important;
    }

    .tpct-submit {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
}