/* =========================================
   Contact Page Stylesheet (contact.css)
   ========================================= */

/* --- Variables & Global Reset --- */
:root {
  --primary-color: #000000;
  --secondary-color: #ff6600;
  --text-color: #333;
  --white-color: #fff;
  --bg-color: #f8f9fa;
  --success-color: #28a745;
  --error-color: #dc3545;
  --shadow-light: 0 4px 12px rgba(0,0,0,.1);
  --shadow-heavy: 0 8px 25px rgba(0,0,0,.2);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; color: var(--text-color); background: var(--white-color); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.3; }
section { padding: 5rem 5%; }
h2 { text-align: center; color: var(--primary-color); margin-bottom: 3rem; font-size: clamp(2rem, 5vw, 2.5rem); }
legend { font-weight: 600; margin-bottom: .5rem; padding: 0; }
fieldset { border: none; padding: 0; }

/* --- Preloader, Header, Footer (Consistent Styling) --- */
.preloader { position: fixed; inset: 0; background: #fff; display: grid; place-items: center; z-index: 1001; opacity: 1; visibility: visible; transition: opacity .4s ease, visibility .4s ease; }
.preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-content img { width: 150px; height: auto; }
.header { position: sticky; top: 0; z-index: 999; background: #fff; box-shadow: var(--shadow-light); display: flex; align-items: center; justify-content: space-between; padding: 1rem 5%; }
.logo { display: flex; align-items: center; gap: .6rem; }
.logo img { height: 40px; }
.logo span { font-weight: 700; color: var(--primary-color); font-size: 1.25rem; }
.nav-menu ul { display: flex; gap: 2rem; list-style: none; }
.nav-menu a { text-decoration: none; color: var(--primary-color); font-weight: 600; font-size: 1rem; transition: color 0.3s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--secondary-color); }
.hamburger-menu, .close-menu { display: none; background: none; border: none; cursor: pointer; }
footer { background: var(--primary-color); color: rgba(255,255,255,0.8); text-align: center; padding: 3rem 5% 2rem; }
.footer-contact h3 { color: var(--white-color); margin-bottom: 1.5rem; font-size: 1.5rem; }
.footer-contact p { margin: .75rem 0; }
.footer-contact i { color: var(--secondary-color); margin-right: 0.5rem; }
.copyright { border-top: 1px solid #444; padding-top: 2rem; margin-top: 2rem; }

/* --- Common UI Elements --- */
.call-now-btn { background: var(--secondary-color); color: #fff; border: none; padding: .8rem 1.5rem; border-radius: 50px; font-weight: 600; cursor: pointer; transition: background .3s, transform .3s; text-transform: uppercase; text-decoration: none; display: inline-block; }
.call-now-btn:hover { background: #e65500; transform: scale(1.05); }
.fade-in, .reveal-up, .reveal-left, .reveal-right { opacity: 0; transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.visible { opacity: 1; transform: translate(0, 0) !important; }

/* --- CONTACT PAGE SPECIFIC SECTIONS --- */
.form-toast { position: fixed; top: 20px; right: 20px; padding: 1rem 1.5rem; border-radius: 8px; color: var(--white-color); box-shadow: var(--shadow-heavy); z-index: 1000; transform: translateX(120%); transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); }
.form-toast.show { transform: translateX(0); }
.form-toast.success { background-color: var(--success-color); }
.form-toast.error { background-color: var(--error-color); }
.page-intro { text-align: center; padding: 5rem 5% 3rem; background: var(--bg-color); }
.page-intro h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 900; color: var(--primary-color); }
.page-intro p { max-width: 720px; margin: 1.5rem auto 0; font-size: 1.1rem; }
.contact-container { padding: 0 5% 5rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; max-width: 1200px; margin: auto; }
.contact-info h2, .contact-form-container h2 { text-align: left; margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 2rem; }
.method-card { display: flex; align-items: center; gap: 1.5rem; padding: 1rem; border-radius: 10px; margin-bottom: 1rem; box-shadow: var(--shadow-light); transition: all 0.3s ease; text-decoration: none; color: var(--text-color); }
.method-card:not(.no-hover):hover { transform: translateX(8px); box-shadow: var(--shadow-heavy); border-left: 4px solid var(--secondary-color); }
.method-card i { font-size: 2rem; color: var(--secondary-color); width: 40px; text-align: center; }
.contact-form-container { padding: 2.5rem; border-radius: 12px; background: #fff; box-shadow: var(--shadow-heavy); }
#contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 0; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: .5rem; font-weight: 600; }
.form-group .required { color: var(--error-color); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; font-family: 'Poppins'; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--secondary-color); outline: none; box-shadow: 0 0 5px rgba(255, 102, 0, 0.3); }

/* NEW: Checkbox Group Styling */
.checkbox-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.checkbox-group label { display: flex; align-items: center; gap: 0.5rem; font-weight: normal; cursor: pointer; }
.checkbox-group input[type="checkbox"] { width: auto; accent-color: var(--secondary-color); }

#submit-btn { grid-column: 1 / -1; padding: 1rem; margin-top: 1rem; }
.map-section { padding-top: 0; text-align: center; }
.map-iframe { border: 0; border-radius: 12px; width: 100%; height: 450px; box-shadow: var(--shadow-heavy); }

/* --- RESPONSIVE STYLES --- */
@media(max-width: 992px) { .contact-grid { grid-template-columns: 1fr; } .contact-info h2, .contact-form-container h2 { text-align: center; } }
@media(max-width: 768px) {
  section { padding: 4rem 5%; }
  .header { padding: 1rem 5%; }
  .hamburger-menu { display: block; font-size: 1.8rem; color: var(--primary-color); z-index: 1002; }
  .nav-menu { position: fixed; top: 0; left: -100%; width: 260px; height: 100%; background: var(--primary-color); padding: 2rem; box-shadow: 2px 0 15px rgba(0,0,0,.3); transition: left .4s cubic-bezier(0.68, -0.55, 0.27, 1.55); z-index: 1001; flex-direction: column; justify-content: center; align-items: center; }
  .nav-menu.active { left: 0; }
  .nav-menu ul { flex-direction: column; text-align: center; gap: 2.5rem; }
  .nav-menu a { color: #fff; font-size: 1.2rem; }
  .nav-menu a.active { color: var(--secondary-color); }
  .close-menu { display: block; color: #fff; position: absolute; top: 1rem; right: 1rem; font-size: 2rem; }
}
@media(max-width: 576px) {
  .logo span { font-size: 1rem; }
  .logo img { height: 35px; }
  #contact-form, .checkbox-group { grid-template-columns: 1fr; }
  .map-iframe { height: 300px; }
}