/* ============================================
   CONTACT US — Page styles
   ============================================ */
:root {
  --primary:      #2563eb;
  --primary-hover:#1d4ed8;
  --bg-color:     #f8fafc;
  --text-dark:    #0f172a;
  --text-gray:    #64748b;
  --card-shadow:  0 20px 40px -10px rgba(0,0,0,0.1);
  --success-bg:   #ecfdf5;
  --success-text: #065f46;
  --error-bg:     #fef2f2;
  --error-text:   #991b1b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  background-image:
    radial-gradient(at 0%   0%, hsla(210,40%,96%,1) 0, transparent 50%),
    radial-gradient(at 100% 0%, hsla(220,39%,90%,1) 0, transparent 50%);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Nav */
nav {
  width: 100%;
  padding: 18px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: fixed;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-weight: 800;
  font-size: 22px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-logo img { height: 32px; width: auto; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-gray); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }

.cta-btn {
  padding: 10px 20px;
  background: var(--text-dark);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.menu-toggle { display: none; font-size: 24px; cursor: pointer; }

/* Layout */
.container {
  max-width: 1200px;
  margin: 120px auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

/* Info side */
.contact-info h1 { font-size: 42px; line-height: 1.1; font-weight: 800; margin-bottom: 20px; letter-spacing: -1px; }
.highlight { color: var(--primary); }
.contact-info p  { font-size: 16px; color: var(--text-gray); line-height: 1.6; margin-bottom: 40px; }

.info-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; font-weight: 500; color: var(--text-dark); }

.icon-box {
  width: 40px; height: 40px;
  background: #eff6ff;
  color: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.social-row { display: flex; gap: 15px; margin-top: 40px; }

.social-btn {
  width: 45px; height: 45px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dark);
  transition: all 0.2s;
  text-decoration: none;
}
.social-btn:hover { background: var(--text-dark); color: white; border-color: var(--text-dark); }
.social-btn svg  { width: 18px; height: 18px; fill: currentColor; }

/* Form card */
.form-card {
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255,255,255,0.6);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-group { margin-bottom: 20px; }

label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text-dark); }

input, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
  background: #f9fafb;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

button.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
button.submit-btn:hover    { background: var(--primary-hover); }
button.submit-btn:disabled { background: #94a3b8; cursor: not-allowed; }

/* Messages */
.success-message, .error-message {
  padding: 15px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
  font-weight: 500;
}
.success-message { background: var(--success-bg); color: var(--success-text); border: 1px solid #d1fae5; }
.error-message   { background: var(--error-bg);   color: var(--error-text);   border: 1px solid #fee2e2; }

/* Spinner */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
footer {
  background: white;
  border-top: 1px solid #f1f5f9;
  padding: 60px 5% 20px;
  margin-top: 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4  { font-size: 14px; font-weight: 700; margin-bottom: 20px; color: var(--text-dark); }
.footer-col a   { display: block; color: var(--text-gray); text-decoration: none; font-size: 14px; margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom  { text-align: center; padding-top: 20px; border-top: 1px solid #f1f5f9; color: #94a3b8; font-size: 13px; }

/* Responsive */
@media (max-width: 900px) {
  .container     { grid-template-columns: 1fr; gap: 40px; }
  .nav-links     { display: none; }
  .menu-toggle   { display: block; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}
