/* contact.css – styling for contact.html */

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #0d0d0d;
    color: #f2f2f2;
  }
  

  /* Logo header styling */
.logo-header {
  position: absolute;
  top: 1rem;
  left: 2rem;
  z-index: 10;
}

.logo-img {
  height: 50px;
  width: auto;
}

.contact {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

  
  .contact-content {
    max-width: 1000px;
    width: 100%;

    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  }
  
  .contact-title {
    font-size: 2rem;
    color: #f41336;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .contact-description {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 2rem;
    text-align: center;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* space between input fields */
  }
  
  .contact-form .form-group {
    margin-bottom: 1.5rem;
  }
  
  .contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #262626;
    color: #f2f2f2;
    font-size: 1rem;
    transition: border-color 0.3s;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: #f41336;
    box-shadow: 0 0 0 2px rgba(244, 19, 54, 0.3);
  }
  
  .btn.primary {
    background-color: #f41336;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
  }
  
  .btn.primary:hover {
    background-color: #d10f2e;
  }
  
  form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .contact-form-container {
    background-color: #111; /* dark background */
    padding: 4rem 2rem;
    color: white;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .contact-grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .contact-grid-form input,
  .contact-grid-form textarea {
    padding: 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background-color: #fff;
    color: #000;
  }
  
  .contact-grid-form textarea {
    grid-column: span 2;
  }
  
  .form-button-wrapper {
    grid-column: span 2;
    display: flex;
    justify-content: flex-start;
  }
  
  .submit-btn {
    background-color: #f41336; /* Bar Concept red */
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .submit-btn:hover {
    background-color: #b83b29;
  }

  form input,
  form textarea {
    padding: 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    background-color: #fff;
    color: #000;
  }
  
  form textarea {
    grid-column: span 2;
    resize: vertical;
    min-height: 200px;
  }
  
  .button-wrap {
    grid-column: span 2;
    display: flex;
    justify-content: flex-start;
  }
  
  form button {
    background-color: #db4a32; /* Bar Concept red */
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  form button:hover {
    background-color: #b83b29;
  }

  .project-intro-form {
    margin-bottom: 2rem;
  }
  
  .project-intro-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .project-intro-form select {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #fff;
    color: #000;
    appearance: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  
  .project-intro-form select:focus {
    outline: none;
    box-shadow: 0 0 0 2px #f41336; /* red glow like the submit button */
  }

  .project-intro-form select {
   
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
  }
  .custom-select {
    position: relative;
    width: 100%;
  }
  
  .custom-select select {
    width: 100%;
  padding: 1rem;
  padding-right: 3rem; /* space for arrow */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  color: #000;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  
  /* Red arrow styling */
  .custom-select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 10px;
    height: 10px;
    border-left: 3px solid #f41336;
    border-bottom: 3px solid #f41336;
    transform: rotate(316deg) translateY(-80%);
    pointer-events: none;
  }
  
  
  /* Responsive layout for mobile */
 

  
  /* Responsive: stack inputs on small screens */
  @media (max-width: 768px) {
    .contact-grid-form {
      grid-template-columns: 1fr;
    }
  
    .contact-grid-form textarea,
    .form-button-wrapper {
      grid-column: span 1;
    }
  }
  

  .contact-form button {
    background-color: #db4a32;
    color: #fff;
    font-size: 1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #c7422c;
  }

  @media (max-width: 768px) {
    form {
      grid-template-columns: 1fr;
    }
  
    textarea,
    .button-wrap {
      grid-column: span 1;
    }
  
    .contact h2 {
      font-size: 2rem;
      text-align: center;
    }
  
    .button-wrap {
      justify-content: center;
    }
  }
