/* ==================== Contact Page ==================== */

/* Page Banner */
.page-banner { position: relative; height: 280px; overflow: hidden; }
.page-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-banner-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.35); }
.page-banner h1 { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; font-size: 44px; font-weight: 600; letter-spacing: 1px; margin: 0; }

/* Breadcrumb */
.breadcrumb-bar { background: #f2f2f2; padding: 14px 0; font-size: 14px; color: #666; }
.breadcrumb-bar .container { max-width: 1500px; margin: 0 auto; }
.breadcrumb-bar a { color: #666; transition: color 0.3s; }
.breadcrumb-bar a:hover { color: #4C4C4C; }
.breadcrumb-label { margin-right: 8px; }
.breadcrumb-sep { margin: 0 8px; }
.breadcrumb-current { color: #4C4C4C; }

/* Main Layout */
.contact-wrap { padding: 55px 0; }
.contact-wrap .container { max-width: 1500px; margin: 0 auto; }

/* Top: info + form */
.contact-top { display: flex; gap: 50px; align-items: stretch; }

/* Left info */
.contact-info { flex: 1; min-width: 0; padding-top: 60px; }
.contact-info h2 { font-size: 34px; font-weight: 600; color: #222; margin: 0 0 28px; }
.contact-info p { font-size: 15px; color: #444; line-height: 1.9; margin: 0 0 18px; }
.contact-info a { color: #444; text-decoration: none; transition: color 0.3s; }
.contact-info a:hover { color: #4C4C4C; }

/* Social icons */
.social-row { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.s-icon { width: 36px; height: 36px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; transition: opacity 0.3s, transform 0.3s; }
.s-icon svg { width: 18px; height: 18px; }
.s-icon:hover { opacity: 0.85; transform: translateY(-2px); }
.s-icon.fb { background: #3b5998; }
.s-icon.in { background: #0077b5; }
.s-icon.x { background: #000; }
.s-icon.yt { background: #ff0000; }
.s-icon.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.s-icon.pin { background: #bd081c; }

/* Right form */
.contact-form-box { flex: 0 0 46%; background: #4C4C4C; padding: 45px 40px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; color: #fff; font-size: 15px; margin-bottom: 8px; }
.form-group .req { color: #ffd2d2; margin-right: 3px; }
.form-group input, .form-group textarea {
    width: 100%; border: 1px solid transparent; background: #d9f2f0; color: #333;
    font-size: 15px; font-family: inherit; padding: 12px 14px; outline: none; transition: all 0.3s;
}
.form-group input:focus, .form-group textarea:focus { background: #fff; border-color: #0d7a73; }
.form-group textarea { resize: vertical; min-height: 110px; }
.error-msg { display: none; color: #ffdddd; background: rgba(180, 30, 30, 0.35); font-size: 13px; padding: 2px 0; margin-top: 6px; }
.form-group.error input, .form-group.error textarea { background: #f6d5d3; border-color: #c0392b; }
.form-group.error .error-msg { display: block; }

/* Verify code row */
.code-row { display: flex; gap: 12px; align-items: center; }
.code-row input { flex: 1; min-width: 0; }
#codeCanvas { background: #fdfdfd; border-radius: 3px; cursor: pointer; flex-shrink: 0; }

/* Submit */
.submit-btn {
    background: #eafafa; color: #4C4C4C; border: none; font-size: 16px; font-family: inherit;
    padding: 13px 52px; cursor: pointer; transition: all 0.3s;
}
.submit-btn:hover { background: #fff; transform: translateY(-1px); }
.form-note { color: #eafffd; font-size: 14px; line-height: 1.8; margin: 25px 0 0; }

/* Map + Plan */
.contact-media { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 55px; }
.map-box { background: #e5e5e5; min-height: 380px; position: relative; }
.map-box iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.plan-box { background: #f7f7f7; border: 1px solid #eee; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.plan-box img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Address Bar */
.address-bar { background: #4C4C4C; padding: 16px 0; }
.address-bar .container { max-width: 1500px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.address-bar svg { width: 20px; height: 20px; color: #fff; flex-shrink: 0; }
.address-bar span { color: #fff; font-size: 15px; }

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .contact-top { gap: 30px; }
    .contact-info { padding-top: 0; }
    .contact-info h2 { font-size: 28px; }
    .contact-form-box { flex: 0 0 50%; padding: 35px 28px; }
}

@media (max-width: 768px) {
    .page-banner { height: 180px; }
    .page-banner h1 { font-size: 30px; }
    .contact-wrap { padding: 30px 0; }
    .contact-top { flex-direction: column-reverse; gap: 25px; }
    .contact-form-box { flex: unset; width: 100%; padding: 28px 20px; }
    .contact-info h2 { font-size: 24px; margin-bottom: 18px; }
    .contact-info p { font-size: 14px; margin-bottom: 12px; word-break: break-word; }
    .social-row { margin-top: 20px; }
    .contact-media { grid-template-columns: 1fr; gap: 15px; margin-top: 30px; }
    .map-box { min-height: 260px; }
    .address-bar span { font-size: 13px; }
}
