/* ==========================================
   CONTACT SECTION
========================================== */

.contact {
  padding: 40px 0;

  background: linear-gradient(180deg, #f8fbff, #8bb4e2);
}

.contact .section-tag,
.contact .section-title,
.contact .section-subtitle {
  text-align: center;

  display: block;
}

/* ==========================================
   WRAPPER
========================================== */

.contact-wrapper {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 35px;

  margin-top: 60px;
}

/* ==========================================
   CARD
========================================== */

.contact-card {
  background: var(--bg-light);

  border: 1px solid var(--border);

  border-radius: 22px;

  padding: 35px;

  box-shadow: var(--shadow-sm);

  transition: 0.35s;
}

.contact-card:hover {
  transform: translateY(-8px);

  box-shadow: var(--shadow-lg);
}

/* ==========================================
   TITLE
========================================== */

.contact-title {
  display: flex;

  align-items: center;

  gap: 15px;

  margin-bottom: 30px;
}

.contact-title i {
  width: 60px;

  height: 60px;

  display: flex;

  justify-content: center;

  align-items: center;

  border-radius: 16px;

  background: linear-gradient(135deg, var(--primary), #60a5fa);

  color: #fff;

  font-size: 24px;
}

.contact-title h3 {
  font-size: 24px;
}

/* ==========================================
   FORM
========================================== */

.contact-card form {
  display: flex;

  flex-direction: column;

  gap: 20px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;

  border: 1px solid var(--border);

  background: var(--bg-light);

  border-radius: 14px;

  padding: 16px 18px;

  font-size: 16px;

  color: var(--text);

  transition: 0.3s;

  resize: none;
}

.contact-card textarea {
  min-height: 180px;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: var(--primary);

  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* ==========================================
   BUTTON
========================================== */

.contact-card .btn {
  width: 100%;

  height: 55px;

  border: none;

  cursor: pointer;

  font-size: 16px;
}

/* ==========================================
   PLACEHOLDER
========================================== */

.contact-card input::placeholder,
.contact-card textarea::placeholder {
  color: #94a3b8;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 80px 0;
  }

  .contact-card {
    padding: 25px;
  }

  .contact-title h3 {
    font-size: 21px;
  }

  .contact-title i {
    width: 55px;

    height: 55px;

    font-size: 22px;
  }

  .contact-card textarea {
    min-height: 150px;
  }
}

@media (max-width: 480px) {
  .contact-card {
    padding: 20px;
  }

  .contact-card input,
  .contact-card textarea {
    font-size: 15px;

    padding: 14px 16px;
  }
}

/* ==========================================
   DARK MODE
========================================== */

body.dark .contact {
  background: linear-gradient(180deg, #08101f, #101c31);
}

body.dark .contact-card {
  background: var(--bg-light);

  border-color: #223048;
}

body.dark .contact-card input,
body.dark .contact-card textarea {
  background: #162338;

  border-color: #223048;

  color: #fff;
}

body.dark .contact-card input::placeholder,
body.dark .contact-card textarea::placeholder {
  color: #94a3b8;
}

/* ==========================================
   ACCESSIBILITY
========================================== */

.contact-card input:focus,
.contact-card textarea:focus,
.contact-card button:focus {
  outline: 3px solid rgba(37, 99, 235, 0.2);

  outline-offset: 3px;
}

/* ==========================================
   CONTACT INFO
========================================== */

.contact-info-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;

  margin-top: 70px;
}

.info-card {
  padding: 30px;

  background: var(--bg-light);

  border: 1px solid var(--border);

  border-radius: 20px;

  text-align: center;

  box-shadow: var(--shadow-sm);

  transition: 0.35s;
}

.info-card:hover {
  transform: translateY(-8px);

  box-shadow: var(--shadow-lg);
}

.info-icon {
  width: 70px;

  height: 70px;

  margin: auto;

  margin-bottom: 20px;

  display: flex;

  justify-content: center;

  align-items: center;

  border-radius: 18px;

  background: linear-gradient(135deg, var(--primary), #60a5fa);

  color: white;

  font-size: 28px;
}

.info-card h3 {
  margin-bottom: 15px;
}

.info-card p {
  line-height: 1.8;

  color: var(--text-light);

  margin-bottom: 20px;
}

.copy-btn,
.map-btn {
  width: 100%;

  height: 48px;

  border: none;

  border-radius: 12px;

  cursor: pointer;

  background: var(--primary);

  color: white;

  font-weight: 600;
}

.status {
  display: inline-block;

  padding: 10px 18px;

  border-radius: 30px;

  background: #dcfce7;

  color: #15803d;

  font-weight: 600;
}

@media (max-width: 1100px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================
   TOAST
========================================== */

.toast {
  position: fixed;

  bottom: 30px;

  right: 30px;

  background: #2563eb;

  color: #fff;

  padding: 16px 24px;

  border-radius: 12px;

  font-weight: 600;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);

  opacity: 0;

  visibility: hidden;

  transform: translateY(20px);

  transition: 0.35s;

  z-index: 999999;
}

.toast.show {
  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

@media (max-width: 768px) {
  .toast {
    left: 20px;

    right: 20px;

    bottom: 20px;

    text-align: center;
  }
}
