/* ===== CONTACT PAGE STYLES ===== */

/* Page Title Section */
.page-title {
  padding: 120px 0 60px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("https://mobinnejad.ir/placeholder.svg?height=400&amp;width=1920");
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-glow);
  animation: fadeInDown 1s ease;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  animation: fadeIn 1s ease 0.3s both;
}

.breadcrumb a {
  color: var(--primary-color);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.breadcrumb .separator {
  margin: 0 10px;
  color: var(--text-light);
}

.breadcrumb .current {
  color: var(--white);
}

/* Contact Info Section */
.contact-info-section {
  padding: 80px 0;
  background-color: var(--dark-bg);
  position: relative;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.contact-info-card {
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  transform: translateY(50px);
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.contact-info-card:nth-child(1) {
  animation-delay: 0.1s;
}

.contact-info-card:nth-child(2) {
  animation-delay: 0.3s;
}

.contact-info-card:nth-child(3) {
  animation-delay: 0.5s;
}

.contact-info-card:nth-child(4) {
  animation-delay: 0.7s;
}

.contact-info-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.info-icon {
  width: 70px;
  height: 70px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.contact-info-card:hover .info-icon {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: rotateY(360deg);
}

.contact-info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.contact-info-card p {
  color: var(--text-light);
  margin-bottom: 5px;
}

.contact-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  direction: ltr;
  display: inline-block;
}

/* Contact Form and Map Section */
.contact-form-map-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  position: relative;
}

.contact-form-map-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

/* Contact Form */
.contact-form-container {
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-color);
  animation: fadeInRight 0.5s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.form-header {
  margin-bottom: 25px;
  text-align: center;
}

.form-header h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.form-header p {
  color: var(--text-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--white);
}

.form-group .required {
  color: var(--danger-color);
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border-radius: var(--border-radius);
  background-color: var(--secondary-color);
  border: 1px solid var(--border-color);
  color: var(--white);
  font-family: "Vazirmatn", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-actions {
  margin-top: 10px;
}

.form-actions .btn {
  width: 100%;
  justify-content: center;
}

.form-actions .btn i {
  margin-left: 10px;
}

/* Map Container */
.map-container {
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-color);
  animation: fadeInLeft 0.5s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
  display: flex;
  flex-direction: column;
}

.map-header {
  padding: 20px;
  background-color: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.map-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

.map-wrapper {
  flex: 1;
  min-height: 400px;
  position: relative;
}

.map-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--dark-bg);
  position: relative;
}

.faq-container {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.faq-item:nth-child(1) {
  animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
  animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
  animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
  animation-delay: 0.4s;
}

.faq-item:nth-child(5) {
  animation-delay: 0.5s;
}

.faq-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.faq-question h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.faq-icon {
  color: var(--primary-color);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.faq-question.active {
  background-color: var(--secondary-color);
}

.faq-question.active h3 {
  color: var(--primary-color);
}

.faq-question.active .faq-icon i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  background-color: var(--secondary-color);
  border-top: 0px solid var(--border-color);
}

.faq-answer.active {
  padding: 20px;
  max-height: 500px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form-map-wrapper {
    grid-template-columns: 1fr;
  }

  .map-container {
    order: 2;
  }

  .contact-form-container {
    order: 1;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-title h1 {
    font-size: 2.2rem;
  }

  .contact-info-section,
  .contact-form-map-section,
  .faq-section {
    padding: 60px 0;
  }

  .map-wrapper {
    min-height: 300px;
  }
}

@media (max-width: 576px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-container,
  .map-container {
    padding: 20px;
  }

  .faq-question h3 {
    font-size: 1rem;
  }
}


