/* ===============================
   ContactUs.css (Alternate Design)
   =============================== */

:root {
  --accent: #ff5722;       /* Orange accent */
  --accent-dark: #e64a19;
  --bg: #f4f6f8;
  --white: #ffffff;
  --text: #222;
  --muted: #555;
  --border: #e0e0e0;
  --radius: 14px;
  --shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Reset scope */
.contact-page * {
  box-sizing: border-box;
}

/* PAGE WRAPPER */
.contact-page {
  background: var(--bg);
  font-family: "Segoe UI", sans-serif;
  color: var(--text);
}

/* HERO */
.contact-hero {
  background: url('../assets/contact-hero.jpg') center/cover no-repeat;
  height: 60vh;              /* same as About Hero height */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


.contact-overlay {
  background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.4));
  backdrop-filter: blur(2px);
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
}

.contact-overlay h1 {
  color: #fff;
  font-size: clamp(28px, 5vw, 46px);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0;
}

/* HEADING */
.contact-heading {
  text-align: center;
  margin: 30px auto 10px;
  padding: 0 20px;
}

.contact-heading h2 {
  font-size: 30px;
  color: var(--accent);
  margin: 0 0 8px;
  letter-spacing: 2px;
}

.contact-heading p {
  color: var(--muted);
  margin: 6px auto;
  max-width: 700px;
}

/* GRID LAYOUT */
.contact-content {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1200px;
  margin: 20px auto 70px;
  
}

/* OFFICE INFO */
.contact-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.contact-info hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

.office-block h4 {
  margin: 6px 0;
  font-size: 17px;
  color: var(--accent-dark);
}

.office-block p {
  font-size: 14px;
  color: var(--text);
  margin: 4px 0;
}

/* IMAGE CENTER */
.contact-center-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #ddd;
  min-height: 280px;
}

.contact-center-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTACT FORM */
.contact-form {
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.contact-form h3 {
  font-size: 16px;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 14px;
}

/* NOTICE */
.notice {
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 14px;
}

.notice-success {
  background: #e8f9f1;
  color: #1b7f4e;
}

.notice-error {
  background: #fdecea;
  color: #c43e3e;
}

/* FORM INPUTS */
.contact-form form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 15px;
  background: var(--white);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255,87,34,0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* BUTTON */
.contact-form button[type="submit"] {
  background: var(--accent);
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 40px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-form button:hover {
  background: var(--accent-dark);
}

.contact-form button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

/* API hint */
.api-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }

  .contact-center-image {
    grid-column: span 2;
    min-height: 200px;
  }
}

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

  .contact-center-image {
    grid-column: span 1;
  }
}
/* ============================
   RESPONSIVE IMPROVEMENTS
============================ */

/* Large tablets & small laptops */
@media (max-width: 1200px) {
  .contact-content {
    max-width: 95%;
    gap: 20px;
  }

  .contact-hero {
    height: 60vh;
  }

  .contact-overlay h1 {
    font-size: clamp(24px, 4vw, 40px);
  }
}

/* Tablets */
@media (max-width: 1000px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .contact-center-image {
    grid-column: span 2;
    min-height: 200px;
  }

  .contact-heading h2 {
    font-size: 26px;
  }

  .contact-heading p {
    font-size: 15px;
  }
}

/* Mobile landscape & portrait */
@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 15px auto 50px;
  }

  .contact-center-image {
    grid-column: span 1;
    min-height: 180px;
  }

  .contact-info,
  .contact-form {
    padding: 18px;
  }

  .contact-info h3,
  .contact-form h3 {
    font-size: 14px;
  }

  .office-block h4 {
    font-size: 16px;
  }

  .office-block p {
    font-size: 13px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 10px 12px;
  }

  .contact-form button[type="submit"] {
    font-size: 14px;
    padding: 10px;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .contact-hero {
    height: 50vh;
  }

  .contact-overlay h1 {
    font-size: clamp(20px, 5vw, 28px);
    letter-spacing: 2px;
  }

  .contact-heading {
    margin: 20px auto 6px;
    padding: 0 12px;
  }

  .contact-heading h2 {
    font-size: 22px;
  }

  .contact-heading p {
    font-size: 13px;
  }

  .contact-info,
  .contact-form {
    padding: 14px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 13px;
  }

  .contact-form button[type="submit"] {
    font-size: 13px;
    padding: 8px;
  }
}
