/* ===== Font Definitions ===== */
@font-face {
  font-family: 'Arquitecta-Bold';
  src: url('../fonts/Arquitecta-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Arquitecta-Light';
  src: url('../fonts/Arquitecta-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

/* ===== Base Styling ===== */
body {
  font-family: 'Arquitecta-Light', sans-serif;
  color: #333;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: 'Arquitecta-Bold', sans-serif;
  color: #0a3d62;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Header ===== */
.contact-header {
  text-align: center;
  padding: 60px 20px 30px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.contact-header p {
  font-size: 1rem;
  color: #555;
}

/* ===== Container ===== */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding: 50px 8%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  margin: 40px auto;
  max-width: 1200px;
}

/* ===== Contact Info ===== */
.contact-info {
  flex: 1 1 350px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.contact-info li {
  margin: 12px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.contact-info i {
  color: #0077b6;
  margin-right: 10px;
  font-size: 1.1rem;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  font-size: 1.4rem;
  margin-right: 15px;
  color: #0077b6;
  transition: 0.3s;
}

.social-links a:hover {
  color: #023e8a;
}

/* ===== Contact Form ===== */
.contact-form {
  flex: 1 1 400px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Arquitecta-Light', sans-serif;
  font-size: 0.95rem;
}

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

.contact-form button {
  background: #0077b6;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Arquitecta-Bold', sans-serif;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #023e8a;
}

/* ===== Xəritə Əlaqə Bölməsinin İçində ===== */
.contact-map {
  margin-top: 25px;
  width: 100%;
}

.contact-map iframe {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  border: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    padding: 30px 5%;
  }

  .contact-header h1 {
    font-size: 1.8rem;
  }

  .contact-form, .contact-info {
    width: 100%;
  }

  .contact-map iframe {
    height: 220px;
  }
}
/* 📩 Bildiriş pəncərəsi */
.form-message {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
}

.form-message.active {
  display: flex;
  animation: fadeIn 0.3s ease-in-out;
}

.message-content {
  background: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  max-width: 420px;
  width: 90%;
  font-family: "Arquitecta", sans-serif;
}

.message-content i {
  color: #0078c8;
  font-size: 50px;
  margin-bottom: 15px;
}

.message-content h3 {
  color: #003a63;
  font-size: 22px;
  margin-bottom: 10px;
}

.message-content p {
  color: #555;
  font-size: 15px;
  margin-bottom: 25px;
}

.message-content button {
  background: #0078c8;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.message-content button:hover {
  background: #005b94;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }

}
.message-content {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  width: 90%;
  max-width: 400px;
}
.message-content i {
  color: #0078c8;
  font-size: 50px;
  margin-bottom: 12px;
}
.message-content h3 {
  color: #004f7c;
  margin-bottom: 8px;
}
.message-content p {
  color: #555;
  margin-bottom: 18px;
}
.message-content button {
  background: #0078c8;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  cursor: pointer;
}
.message-content button:hover {
  background: #005f9c;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
/* 🟢 Göndər düyməsinin fade-in effekti */
#submitBtn {
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#submitBtn:not([disabled]) {
  opacity: 1;
  cursor: pointer;
  transform: scale(1.02);
}

/* ✅ Doğru cavab effekti */
.math-captcha.correct input {
  border: 2px solid #27ae60;
  box-shadow: 0 0 10px #2ecc71;
  transition: all 0.3s ease-in-out;
}

/* ❌ Yanlış cavab effekti */
.math-captcha.wrong input {
  animation: shake 0.3s;
  border: 2px solid #e74c3c;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}


