/* V2 Contact Form - Premium Design */
/* V2 Contact CSS */
.input-error {
    border: 2px solid #ff3e3e !important;
    background-color: #fff0f0;
    transition: all 0.2s ease;
    animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* ================================
   HERO SECTION (Dark Header)
   ================================ */
.contact-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    padding: 150px 0 60px;
    /* 90px header + 60px gap on top, 60px gap on bottom */
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(0, 208, 132, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.contact-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Center aligned vertically */
    gap: 30px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin: 0;
}

.hero-title .dot {
    color: #00D084;
}

.hero-left {
    flex: 1;
}

.hero-right {
    flex-shrink: 0;
    text-align: right;
    padding-top: 6px;
    /* Nudge down for optical vertical centering with the title */
}

.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* Contact Info Section */
.contact-info-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 0;
    margin-top: 60px;
}

.contact-info-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 40px;
}

.info-row {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item.wide {
    flex: 1;
}

.info-label {
    font-size: 13px;
    color: #00D084;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.info-value {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.info-value:hover {
    color: #00D084;
}

/* ================================
   FORM SECTION
   ================================ */
.contact-form-section {
    padding: 80px 0 100px;
    background: #f8f9fa;
}

.contact-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-form-card {
    background: #fff;
    border-radius: 24px;
    padding: 60px 80px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.06);
}

.form-header {
    margin-bottom: 48px;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin: 0 0 12px;
}

.form-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Form Group */
.form-group {
    margin-bottom: 28px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.form-label .required {
    color: #00D084;
    margin-left: 4px;
}

/* Service Selection */
.service-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-check-item input[type="checkbox"] {
    display: none;
}

.service-check-item label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 100px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #444;
    transition: all 0.25s ease;
}

.service-check-item label:hover {
    background: #eee;
    border-color: #ddd;
}

.service-check-item input[type="checkbox"]:checked+label {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Check Icon in Service Buttons */
.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    font-size: 12px;
    color: transparent;
    transition: all 0.25s ease;
}

.service-check-item input[type="checkbox"]:checked+label .check-icon {
    background: #00D084;
    border-color: #00D084;
    color: #fff;
}

/* Inputs */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    background: #fafafa;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #111;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #aaa;
}

.form-textarea {
    height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.form-select {
    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='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

/* Two Column */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* File Upload */
.file-upload-box {
    border: 2px dashed #d0d0d0;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.file-upload-box:hover {
    border-color: #111;
    background: #f5f5f5;
}

.file-upload-box.dragover {
    border-color: #00D084;
    background: rgba(0, 208, 132, 0.05);
    border-style: solid;
}

.file-upload-icon {
    margin-bottom: 16px;
    color: #888;
}

.file-upload-text {
    font-size: 15px;
    color: #555;
    margin-bottom: 8px;
}

.file-upload-text strong {
    color: #111;
    text-decoration: underline;
}

.file-upload-hint {
    font-size: 13px;
    color: #999;
}

.file-list {
    margin-top: 16px;
}

.file-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f4f4f4;
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 14px;
}

.file-list-item .remove-file {
    width: 24px;
    height: 24px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

/* Privacy */
.privacy-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
}

.privacy-checkbox input[type="checkbox"] {
    display: none;
}

.privacy-checkmark {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 2px solid #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #fff;
}

.privacy-checkbox input[type="checkbox"]:checked+.privacy-checkmark {
    background: #00D084;
    border-color: #00D084;
}

.privacy-checkmark::after {
    content: '✓';
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.privacy-checkbox input[type="checkbox"]:checked+.privacy-checkmark::after {
    opacity: 1;
    transform: scale(1);
}

.privacy-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.privacy-text a {
    color: #111;
    text-decoration: underline;
}

/* Submit */
.submit-section {
    margin-top: 48px;
    text-align: center;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00D084 0%, #00B871 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 20px 60px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 208, 132, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 208, 132, 0.4);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.submit-btn .arrow {
    font-size: 20px;
}

/* Contact Info Section (Bottom) */
.contact-info-bottom {
    background: #fff;
    padding: 60px 0 40px;
}

.info-row-bottom {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info-bottom .info-label {
    font-size: 14px;
    color: #00D084;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.contact-info-bottom .info-value {
    font-size: 22px;
    color: #111;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-bottom a.info-value:hover {
    color: #00D084;
}

/* ================================
   COMBINED LAYOUT
   ================================ */
.contact-combined-section {
    padding: 60px 0 100px;
    background: #f8f9fa;
}

.combined-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.form-side {
    flex: 1.6;
    /* Approx 60% */
}

.info-side {
    flex: 1;
    /* Approx 40% */
    position: sticky;
    top: 100px;
}

.side-info-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.side-info-item {
    margin-bottom: 24px;
}

.side-info-item:last-child {
    margin-bottom: 0;
}

.side-info-item .info-label {
    display: block;
    font-size: 13px;
    color: #00D084;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 8px;
}

.side-info-item .info-value {
    font-size: 18px;
    color: #111;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

.side-info-item a.info-value:hover {
    color: #00D084;
}

.side-map-wrap {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.side-map-wrap iframe {
    display: block;
}

/* Hidden */
.hidden-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* Responsive */
@media (max-width: 1024px) {
    .combined-layout {
        flex-direction: column;
    }

    .form-side,
    .info-side {
        width: 100%;
    }

    .info-side {
        position: static;
    }

    .contact-hero-inner {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .hero-right {
        text-align: left;
    }

    .hero-title {
        font-size: 40px;
    }

    .contact-form-card {
        padding: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 30px;
    }

    .contact-hero-inner,
    .contact-info-inner,
    .contact-inner {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .contact-form-card {
        padding: 30px 24px;
        border-radius: 16px;
    }

    .service-check-item label {
        padding: 12px 18px;
        font-size: 14px;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }

    .info-row {
        flex-direction: column;
        gap: 20px;
    }

    .info-row-bottom {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }


}