/* ===============================
   GLOBAL
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #222;
  background: #fff;
}

.container {
  max-width: 1180px;
  margin: auto;
  padding: 0 20px;
}

/* ===============================
   PAGE HERO (Same as About Page)
================================ */
.page-hero {
  padding: 100px 0 60px;
  background: linear-gradient(
    135deg,
    rgba(122, 57, 255, 0.15),
    rgba(248, 180, 0, 0.12)
  );
  text-align: center;
}

.page-hero h1 {
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 720px;
  margin: auto;
}

/* ===============================
   CONTACT SECTION
================================ */
.contact-wrapper {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* ===============================
   FORM BOX
================================ */
.form-box {
  background: #fff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.form-box h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #6c3df3;
}

/* Alerts */
.alert-error {
  background: #ffe4e4;
  color: #c0392b;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

/* ===============================
   INPUT GROUP WITH ICON
================================ */
.input-group {
  position: relative;
  margin-bottom: 18px;
}

.input-group i {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #888;
  font-size: 15px;
  pointer-events: none;
}

/* Textarea icon alignment */
.textarea-group i {
  top: 20px;
  transform: none;
}

/* Inputs */
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px 14px 14px 46px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 0.95rem;
  outline: none;
  transition: 0.25s ease;
  font-family: inherit;
  background: #fafafa;
}

.input-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Focus */
.input-group input:focus,
.input-group textarea:focus {
  border-color: #6c3df3;
  background: #fff;
}

/* ===============================
   BUTTON
================================ */
.form-box button {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  background: linear-gradient(135deg, #6c3df3, #8b5cf6);
  color: #fff;
  transition: 0.3s ease;
}

.form-box button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ===============================
   INFO BOX
================================ */
.info-box {
  background: #f9f8ff;
  padding: 40px;
  border-radius: 18px;
}

.info-box h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #6c3df3;
}

.info-box p {
  font-size: 0.95rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ONLY contact text icons (phone, email, location) */
.info-box p i {
  color: #6c3df3;
  min-width: 18px;
}

/* ===============================
   SOCIAL LINKS (WHITE ICONS ONLY)
================================ */
.social-links {
  margin: 20px 0 25px;
  display: flex;
  gap: 14px;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: #6c3df3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  text-decoration: none;
}

/* FORCE social icons white */
.social-links a i {
  color: #ffffff;
  font-size: 16px;
}

.social-links a:hover {
  background: #5732c6;
  transform: translateY(-2px);
}

/* ===============================
   MAP
================================ */
.map {
  width: 100%;
  height: 260px;
  border: none;
  border-radius: 14px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .form-box,
  .info-box {
    padding: 30px;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 80px 0 50px;
  }

  .page-hero h1 {
    font-size: 1.9rem;
  }

  .form-box h2 {
    font-size: 1.5rem;
  }
}
