/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 45px;
}

.section-header h2 {
    margin: 0;
    position: relative;
    font-size: 50px;
    font-weight: 700;
    white-space: nowrap;
    z-index: 1;
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 30px;
        white-space: normal;
    }
}

.feature-top {
    position: relative;
    background: #2c3e50;
    margin-bottom: 45px;
}

.feature-top .col-md-3 {
    border-right: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

@media (max-width: 575.98px) {
    .feature-top .col-md-3:nth-child(1n) {
        border-right: none;
    }
    .feature-top .col-md-3:last-child {
        border-bottom: none;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .feature-top .col-md-3:nth-child(2n) {
        border-right: none;
    }
    .feature-top .col-md-3:nth-child(3n),
    .feature-top .col-md-3:nth-child(4n) {
        border-bottom: none;
    }
}

@media (min-width: 768px) {
    .feature-top .col-md-3 {
        border-bottom: none;
    }
    .feature-top .col-md-3:nth-child(4n) {
        border-right: none;
    }
}

.feature-top .feature-item {
    padding: 30px 0;
    text-align: center;
}

.feature-top .feature-item i {
    color: #d4af37;
    font-size: 35px;
    margin-bottom: 10px;
}

.feature-top .feature-item h3 {
    color: #f5f5f0;
    font-size: 30px;
    font-weight: 600;
}

.feature-top .feature-item p {
    color: #f5f5f0;
    margin: 0;
    font-size: 18px;
}

/*******************************/
/********* Contact CSS *********/
/*******************************/

/* Page Header */
.page-head {
    position: relative;
    margin-bottom: 45px;
    padding: 90px 0;
    text-align: center;
    background: #d4af37;
    overflow: hidden;
}

.page-head.contact-header {
    background-image: url('../assets/images/banner/ban3.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
}

.page-head.about-header {
    background-image: url('../assets/images/banner/ban6.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
}

.page-head.service-header {
    background-image: url('../assets/images/banner/ban8.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
}

.page-head.contact-header .container,
.page-head.contact-header .row,
.page-head.contact-header .col-12 {
    position: relative;
    z-index: 2;
}

.page-head h2 {
    position: relative;
    color: #f5f5f0;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 5px;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-head h2::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: calc(50% - 50px);
    bottom: 0;
    background: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.page-head a {
    position: relative;
    padding: 0 12px;
    font-size: 22px;
    color: #f5f5f0;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.page-head a:hover {
    color: #d4af37;
}

.page-head a::after {
    position: absolute;
    content: "/";
    width: 8px;
    height: 8px;
    top: -2px;
    right: -7px;
    text-align: center;
    color: #d4af37;
}

.page-head a:last-child::after {
    display: none;
}

@media (max-width: 767.98px) {
    .page-head.contact-header {
        min-height: 250px;
        padding: 60px 0;
    }
    .page-head h2 {
        font-size: 35px;
    }
    .page-head a {
        font-size: 18px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .page-head.contact-header {
        min-height: 300px;
    }
    .page-head h2 {
        font-size: 48px;
    }
}

/* =========================================
   HONEYPOT — hides the bot trap field
   ========================================= */
.honeypot-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
    tab-index: -1;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.contact .contact-info {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
    padding: 30px;
    background: #2c3e50;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact .contact-item {
    position: relative;
    margin-bottom: 30px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    border: 2px solid #d4af37;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact .contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.contact .contact-item i {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #d4af37;
    border: 2px solid #d4af37;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact .contact-item:hover i {
    background: #d4af37;
    color: #2c3e50;
}

.contact .contact-text {
    position: relative;
    width: auto;
    padding-left: 15px;
}

.contact .contact-text h2 {
    color: #d4af37;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact .contact-text p {
    margin: 0;
    color: #f5f5f0;
    font-size: 16px;
}

.contact .contact-item:last-child {
    margin-bottom: 0;
}

/* =========================================
   CONTACT FORM
   ========================================= */
.contact .contact-form {
    position: relative;
    margin-bottom: 30px;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact .contact-form input,
.contact .contact-form select,
.contact .contact-form textarea {
    border-radius: 8px;
    border-width: 2px;
    border-color: #2c3e50;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
}

.contact .contact-form input {
    height: 60px;
}

.contact .contact-form select {
    height: 60px;
    background-color: #ffffff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232c3e50' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.contact .contact-form textarea {
    height: 190px;
    resize: vertical;
    min-height: 120px;
}

.contact .contact-form input:focus,
.contact .contact-form select:focus,
.contact .contact-form textarea:focus {
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    outline: none;
}

/* =========================================
   FIELD ERROR MESSAGES
   ========================================= */
.field-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: errorFadeIn 0.2s ease forwards;
}

@keyframes errorFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   CHARACTER COUNTER
   ========================================= */
.char-counter {
    text-align: right;
    font-size: 11px;
    color: #999;
    margin-top: 4px;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    transition: color 0.3s ease;
}

.char-counter.warning { color: #f39c12; }
.char-counter.danger  { color: #e74c3c; font-weight: 600; }

/* =========================================
   SUBMIT BUTTON
   ========================================= */
.contact .contact-form .btn {
    padding: 16px 35px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #f5f5f0;
    background: #d4af37;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid #d4af37;
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact .contact-form .btn:hover:not(:disabled) {
    color: #f5f5f0;
    background: #2c3e50;
    border-color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.contact .contact-form .btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none;
}

.contact .row {
    display: flex;
    flex-wrap: wrap;
}

.contact .row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

/* =========================================
   MAP SECTION
   ========================================= */
.contact-map {
    margin-top: 60px;
    margin-bottom: 30px;
}

.contact-map h3 {
    text-align: center;
    font-size: 35px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-map h3::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 3px;
    background: #d4af37;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border: 3px solid #d4af37;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* =========================================
   MOBILE — max 767px
   ========================================= */
@media (max-width: 767.98px) {
    .contact .contact-info,
    .contact .contact-form {
        padding: 15px;
    }

    /* Horizontal layout on mobile — icon left, text right */
    .contact .contact-item {
        padding: 14px 16px;
        flex-direction: row;
        align-items: center;
        text-align: left;
        margin-bottom: 12px;
    }

    .contact .contact-item i {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 20px;
        margin: 0;
        flex-shrink: 0;
    }

    .contact .contact-text {
        padding-left: 12px;
        padding-top: 0;
    }

    .contact .contact-text h2 {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .contact .contact-text p {
        font-size: 13px;
        word-break: break-word;
    }

    .contact .contact-form .btn {
        width: 100%;
        font-size: 16px;
        padding: 14px 25px;
    }

    .contact-map {
        margin-top: 40px;
    }

    .contact-map h3 {
        font-size: 28px;
    }

    .map-container {
        height: 300px;
    }
}

/* =========================================
   TABLET — iPad portrait & landscape (768px–991px)
   ========================================= */
@media (min-width: 768px) and (max-width: 991.98px) {

    /* Stack both columns full width */
    .contact .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Contact info — 2x2 grid so cards don't squish */
    .contact .contact-info {
        padding: 20px;
        height: auto;
        margin-bottom: 24px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    /* Remove individual card bottom margin since grid handles spacing */
    .contact .contact-item {
        margin-bottom: 0;
        padding: 18px;
        align-items: center;
    }

    /* Last child no longer needs override since grid handles it */
    .contact .contact-item:last-child {
        margin-bottom: 0;
    }

    .contact .contact-item i {
        width: 48px;
        height: 48px;
        font-size: 22px;
        flex-shrink: 0;
    }

    .contact .contact-text {
        padding-left: 12px;
    }

    .contact .contact-text h2 {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .contact .contact-text p {
        font-size: 13px;
        word-break: break-word;
    }

    /* Form full width below info cards */
    .contact .contact-form {
        height: auto;
        padding: 24px;
    }

    .contact .contact-form .btn {
        width: 100%;
    }

    .contact-map h3 {
        font-size: 30px;
    }

    .map-container {
        height: 350px;
    }
}

/* =========================================
   VCARD DOWNLOAD CARD
   ========================================= */
.vcard-download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding: 16px 20px;
    background: rgba(212, 175, 55, 0.08);
    border: 2px dashed rgba(212, 175, 55, 0.5);
    border-radius: 8px;
    gap: 12px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.vcard-download-card:hover {
    background: rgba(212, 175, 55, 0.13);
    border-color: #d4af37;
}

.vcard-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.vcard-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #d4af37;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    flex-shrink: 0;
}

.vcard-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vcard-title {
    font-size: 15px;
    font-weight: 600;
    color: #d4af37;
    line-height: 1.2;
}

.vcard-sub {
    font-size: 12px;
    color: #8a9bb0;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Info (?) button with tooltip */
.vcard-info-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #8a9bb0;
    font-size: 16px;
    position: relative;
    flex-shrink: 0;
    transition: color 0.2s ease;
    line-height: 1;
}

.vcard-info-btn:hover {
    color: #d4af37;
}

.vcard-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 230px;
    background: #1a2332;
    color: #f5f5f0;
    font-size: 12px;
    line-height: 1.6;
    padding: 10px 13px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 100;
    text-align: left;
    white-space: normal;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
}

/* Tooltip arrow */
.vcard-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1a2332;
}

.vcard-info-btn:hover .vcard-tooltip,
.vcard-info-btn:focus .vcard-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Download button */
.vcard-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    background: #d4af37;
    color: #2c3e50;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

.vcard-btn:hover {
    background: #f4d576;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.vcard-btn:active {
    transform: translateY(0);
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    .vcard-download-card {
        padding: 13px 14px;
        gap: 10px;
    }

    .vcard-tooltip {
        left: auto;
        right: 0;
        transform: none;
        width: 210px;
    }

    .vcard-tooltip::after {
        left: auto;
        right: 10px;
        transform: none;
    }

    .vcard-btn {
        padding: 9px 14px;
        font-size: 12px;
    }
}