/* Base Styles */
body {
    font-family: 'Vazir', sans-serif;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
    color: #333;
  }

  /* Contact Section */
  .contact-section {
    padding: 50px 0;
    background: #f0f0f0;
  }
  .contact-section h2 {
    font-size: 36px;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
  }
  .contact-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 0 15px;
  }
  .contact-info, .contact-form {
    background: #fff;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 400px;
    max-width: 500px;
    /* Initial state for smooth animation */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .contact-info.active, .contact-form.active {
    opacity: 1;
    transform: translateY(0);
  }
  .contact-info h3, .contact-form h3 {
    justify-content: center;
    text-align: center;
    margin-top: 0;
    color: #444;
  }
  .contact-info p {
    justify-content: center;
    text-align: center;
    line-height: 1.6;
    color: #555;
  }
  .contact-info a {
    justify-content: center;
    text-align: center;
    color: #f1c900;
    text-decoration: none;
  }
  
  /* Contact Form Styles */
  .contact-form form {
    display: flex;
    flex-direction: column;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    transition: border-color 0.3s;
  }
  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: #f1c900;
    outline: none;
  }
  .contact-form button {
    padding: 12px;
    background: #f1c900;
    border: none;
    color: #fff;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
  }
  .contact-form button:hover {
    background: #d4af37;
  }

  .map-container {
    /* Centers the container by applying auto left/right margins */
    margin: 30px auto;
    max-width: 600px; /* Set a maximum width for the container */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Ensure the iframe fills its container */
  .map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
  }
  
  
  /* Keyframes for a custom fadeInUp if needed */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translate3d(0, 30px, 0);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }
  