/* Fix for AI Expertise section */
@media screen and (max-width: 479px) {
  .participation-grid {
    display: grid !important; /* Override the display:none */
    grid-template-columns: 1fr;
    grid-gap: 24px;
  }
  
  .participation-item {
    border-top: 1px solid var(--blue);
    padding-top: 16px;
  }
  
  /* Fix for Engagement Process section */
  .criteria-wrap {
    display: flex !important; /* Override the display:none */
    flex-direction: column;
    gap: 24px;
  }
  
  .criteria-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #cecece;
  }
  
  .criteria-item {
    display: flex;
    gap: 12px;
    padding-bottom: 12px;
  }
  
  /* Fix for Contact Form */
  #contact-us {
    padding: 24px 16px;
  }
  
  #contact-us .criteria-wrap {
    margin: 0;
  }
  
  #contactForm {
    width: 100%;
  }
  
  #contactForm > div {
    flex-direction: column;
  }
  
  #contactForm input,
  #contactForm textarea {
    width: 100%;
    min-width: 100%;
  }
  
  #contactForm button {
    width: 100%;
  }
}

/* Additional padding fixes for all sections */
@media screen and (max-width: 479px) {
  .participation-section,
  .jury-section,
  #contact-us {
    padding: 32px 16px;
  }
  
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}


@media screen and (max-width: 479px) {
  /* Reduce overall form spacing */
  #contactForm {
    margin-bottom: 0;
  }

  /* Adjust field spacing */
  #contactForm > div {
    gap: 12px;  /* Reduce gap between form fields */
    margin-bottom: 12px;  /* Reduce margin below field groups */
  }

  /* Adjust input field margins */
  #contactForm input.form-field,
  #contactForm textarea.form-field {
    margin-bottom: 0;  /* Remove default bottom margin from inputs */
  }

  /* Adjust label spacing */
  #contactForm label {
    margin-bottom: 4px;  /* Reduce space between label and input */
  }

  /* Form field wrapper adjustments */
  #contactForm > div > div {
    margin-bottom: 8px;  /* Add small gap between field groups */
  }

  /* Message field specific spacing */
  #contactForm textarea {
    margin-bottom: 12px;  /* Space before submit button */
  }

  /* Submit button spacing */
  #contactForm button[type="submit"] {
    margin-top: 8px;  /* Adjust space above submit button */
  }
}