/* ===== General Page Setup ===== */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #8c2a57 0%, #ffd800 100%);
    margin: 0;
    padding: 0;
    color: #333;
  }
  
  /* ===== Contact Page Wrapper ===== */
  .contact-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 60px 5%;
    flex-wrap: wrap;
  }
  
  /* ===== Contact Form Section ===== */
  .contact-form {
    flex: 1 1 450px;
    background: #fff;
    border-radius: 18px;
    padding: 35px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-top: 6px solid #8c2a57;
  }
  
  .contact-form h1 {
    font-size: 26px;
    text-align: center;
    color: #8c2a57;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  /* ===== Form Fields ===== */
  form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  form input,
  form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
    transition: border 0.3s ease, box-shadow 0.3s ease;
  }
  
  form input:focus,
  form textarea:focus {
    border-color: #8c2a57;
    box-shadow: 0 0 5px rgba(140, 42, 87, 0.3);
    outline: none;
  }
  
  form textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  /* ===== Submit Button ===== */
  .btn-custom {
    background: linear-gradient(135deg, #8c2a57, #a63c70);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
    align-self: center;
    box-shadow: 0 4px 12px rgba(140, 42, 87, 0.25);
  }
  
  .btn-custom:hover {
    background: #ffd800;
    color: #8c2a57;
    transform: translateY(-2px);
  }
  
  /* ===== Django Messages ===== */
  #django-messages {
    margin-bottom: 20px;
  }
  
  .alert {
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .alert-success { background: #8c2a57; color: #fff; }
  .alert-error { background: #a63c70; color: #fff; }
  .alert-warning { background: #ffd800; color: #333; }
  .alert-info { background: #8c2a57; color: #fff; }
  
  /* ===== Contact Details Section ===== */
  .contact-details {
    flex: 1 1 350px;
    background: #fff;
    border-radius: 18px;
    padding: 35px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-top: 6px solid #ffd800;
  }
  
  .contact-details h2 {
    font-size: 22px;
    color: #8c2a57;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .contact-details p {
    font-size: 15px;
    line-height: 1.6;
    margin: 10px 0;
  }
  
  .contact-details i {
    color: #ffd800;
    margin-right: 8px;
  }
  
  .map {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* ===== Responsive Layout ===== */
  @media (max-width: 992px) {
    .contact-page {
      flex-direction: column;
      align-items: center;
      gap: 30px;
      padding: 40px 5%;
    }
  
    .contact-form, 
    .contact-details {
      width: 100%;
      max-width: 600px;
    }
  
    .contact-form h1 {
      font-size: 24px;
    }
  }
  
  @media (max-width: 480px) {
    .contact-form, 
    .contact-details {
      padding: 25px 20px;
    }
  
    .btn-custom {
      font-size: 15px;
      padding: 10px 20px;
    }
  
    .contact-details h2 {
      font-size: 20px;
    }
  }
  