/* ================== Contact Page ================== */
body.contact-page {
  font-family: "Faruma", "MV Boli", Arial, sans-serif;
  background: linear-gradient(165deg, #e8eef6 0%, #f4f7fb 45%, #fafbfc 100%);
  background-attachment: fixed;
  color: #111;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body.contact-page .content {
  margin-top: 72px;
  margin-right: 150px;
  padding: 28px 40px 48px;
  max-width: calc(100% - 150px);
  box-sizing: border-box;
}

body.contact-page .contact-grid {
  max-width: 100%;
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

body.contact-page .contact-intro {
  text-align: center;
  font-size: 20px;
  line-height: 1.8;
  color: #444;
  max-width: 100%;
  margin: 0 auto 32px;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Two-column layout */
body.contact-page .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  align-items: start;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Info cards */
body.contact-page .contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.contact-page .info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: #f8f9fb;
  border: 1px solid #e2e6ec;
  border-radius: 14px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

body.contact-page .info-card:hover {
  border-color: #165493;
  box-shadow: 0 6px 20px rgba(22, 84, 147, 0.1);
}

body.contact-page .info-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #165493;
  color: #fff;
  border-radius: 12px;
}

body.contact-page .info-text h3 {
  font-family: "Faruma", "MV Boli", Arial, sans-serif;
  font-size: 16px;
  font-weight: normal;
  color: #666;
  margin-bottom: 4px;
}

body.contact-page .info-text p,
body.contact-page .info-text a {
  font-size: 18px;
  color: #111;
  text-decoration: none;
  line-height: 1.5;
}

body.contact-page .info-text a:hover {
  color: #165493;
  text-decoration: underline;
}

/* Social links */
body.contact-page .social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  padding-top: 8px;
}

body.contact-page .social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #165493;
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}

body.contact-page .social-btn:hover {
  background: #0e3c6a;
  transform: translateY(-2px);
}

/* Form */
body.contact-page .contact-form-wrap {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

body.contact-page .contact-form {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.contact-page .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.contact-page .form-group label {
  font-size: 16px;
  color: #333;
}

body.contact-page .form-group input,
body.contact-page .form-group select,
body.contact-page .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: "Faruma", "MV Boli", Arial, sans-serif;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fafafa;
  color: #111;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

body.contact-page .form-group input:focus,
body.contact-page .form-group select:focus,
body.contact-page .form-group textarea:focus {
  outline: none;
  border-color: #165493;
  box-shadow: 0 0 0 3px rgba(22, 84, 147, 0.12);
  background: #fff;
}

body.contact-page .form-group textarea {
  resize: none;
  min-height: 120px;
  line-height: 1.7;
}

body.contact-page .submit-btn {
  font-family: "Faruma", "MV Boli", Arial, sans-serif;
  font-size: 18px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #165493, #0e3c6a);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  align-self: flex-start;
}

body.contact-page .submit-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

body.contact-page .form-status {
  font-size: 15px;
  min-height: 1.4em;
  margin: 0;
}

body.contact-page .form-status.success { color: #1a7a3a; }
body.contact-page .form-status.error   { color: #c02f39; }

/* Topbar */
body.contact-page .topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 150px;
  height: 60px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  border-bottom: 1px solid rgba(22, 84, 147, 0.14);
  box-shadow: 0 2px 14px rgba(22, 84, 147, 0.07);
  display: flex;
  align-items: center;
  padding: 0 24px;
  z-index: 900;
}

body.contact-page .nav {
  margin-left: auto;
  display: flex;
  gap: 6px;
  align-items: center;
}

body.contact-page .nav a {
  text-decoration: none;
  font-size: 17px;
  color: #486581;
  padding: 8px 14px;
  border-radius: 8px;
  border-bottom: none;
  line-height: 1.3;
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

body.contact-page .nav a:hover {
  color: #165493;
  background: rgba(22, 84, 147, 0.1);
}

body.contact-page .nav a.active,
body.contact-page .nav .active {
  color: #ffffff;
  background: linear-gradient(135deg, #165493 0%, #1e6aab 100%);
  box-shadow: 0 2px 10px rgba(22, 84, 147, 0.28);
}

body.contact-page .nav a.active:hover,
body.contact-page .nav .active:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1a5fa0 0%, #165493 100%);
}

/* Responsive */
@media (max-width: 900px) {
  body.contact-page .contact-grid {
    grid-template-columns: 1fr;
  }

  body.contact-page .contact-info {
    order: 2;
  }

  body.contact-page .contact-form-wrap {
    order: 1;
  }
}

@media (max-width: 768px) {
  body.contact-page .sidebar { display: none; }
  body.contact-page .topbar { right: 0; }
  body.contact-page .content {
    margin-right: 0;
    max-width: 100%;
    padding: 20px 16px 40px;
  }

  body.contact-page .site-footer {
    margin-right: 0;
  }
  body.contact-page .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #f5f5f5;
    padding: 20px;
  }
  body.contact-page .nav.open { display: flex; }
}
