/* =====================================================
   CONTACT FORM CSS
   ===================================================== */

/* Section */
.contact-section {
    padding: 60px 20px;
    background: #f5f7fa;
}

/* Wrapper: two-column layout */
.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    min-height: 500px;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ---- Left Info Panel ---- */
.contact-info-panel {
    background: linear-gradient(160deg, #0e1d3c 0%, #1a2e5a 100%);
    position: relative;
    overflow: hidden;
}

/* Background image overlay (add your own bg image via inline style if needed) */
.contact-info-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 25, 55, 0.7);
    z-index: 0;
}

.contact-info-inner {
    position: relative;
    z-index: 1;
    padding: 40px 36px;
    color: #fff;
    height: 100%;
    box-sizing: border-box;
}

.contact-home-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 24px;
    color: #fff;
}

.contact-info-inner h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.contact-info-inner > p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.65;
    margin-bottom: 36px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.55;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-detail p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    opacity: 0.9;
}

/* ---- Right Form Panel ---- */
.contact-form-panel {
    background: #fff;
    padding: 40px 44px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .contact-form-panel {
        padding: 30px 20px;
    }
}

.contact-form-header {
    margin-bottom: 28px;
}

.contact-form-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a2e5a;
    margin: 0 0 6px 0;
}

.contact-form-header p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* Grid for 2 columns */
.cs-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 540px) {
    .cs-grid2 {
        grid-template-columns: 1fr;
    }
}

/* Field groups */
.cs-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 20px;
}

.cs-field label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.req {
    color: #ff5203;
}

/* Inputs & Textarea */
.cs-field input[type="text"],
.cs-field input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #dde2eb;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fafbfc;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.cs-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #dde2eb;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fafbfc;
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
    min-height: 120px;
    box-sizing: border-box;
    font-family: inherit;
}

.cs-field input:focus,
.cs-field textarea:focus {
    border-color: #ff5203;
    background: #fff;
}

/* reCAPTCHA */
.cs-recaptcha-wrap {
    margin-bottom: 20px;
}

/* Form Footer */
.cs-form-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cs-theme-btn {
    padding: 13px 34px;
    border: none;
    border-radius: 8px;
    background: #ff5203;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background 0.2s, transform 0.1s;
}

.cs-theme-btn:hover {
    background: #e04800;
    transform: translateY(-1px);
}

.cs-theme-btn:active {
    transform: translateY(0);
}

.cs-note {
    font-size: 13px;
    color: #999;
}

/* Messages */
.cs-success-msg {
    padding: 12px 18px;
    background: #e6f9ee;
    border: 1px solid #a3e6b8;
    border-radius: 8px;
    color: #1e7e34;
    font-size: 14px;
    margin-bottom: 16px;
}

.cs-error-msg {
    padding: 12px 18px;
    background: #fff0ee;
    border: 1px solid #ffb8aa;
    border-radius: 8px;
    color: #c0392b;
    font-size: 14px;
    margin-bottom: 16px;
}
