/* Force slider under nav */
.wpb_gallery_slides,
.wpb_gallery_slides li,
.wpb_gallery_slides img {
    position: relative !important;
    z-index: 1 !important;  /* push it down */
}

/* Bring nav + dropdown on top */
.wp-block-navigation {
    position: relative;
    z-index: 9999 !important;
}

.wp-block-navigation__submenu-container {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #29221d !important;
    border: 1px solid #00000026;
    z-index: 99999 !important; /* higher than slider */
    margin-top: 1em;
}

/* Restore Flexslider prev/next arrows */
.wpb_gallery_slides .flex-direction-nav a {
    position: absolute;
    top: 50%;                 /* vertically center */
    transform: translateY(-50%); 
    z-index: 5;               /* above slides, but below nav menu */
}

 
/* General form styles */
.wpcf7-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition: border 0.3s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: #0073e6;
  outline: none;
}

/* Responsive grid layout */
.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-half {
  flex: 1 1 48%;
}

.form-third {
  flex: 1 1 30%;
}

/* Submit button */
.wpcf7-form .wpcf7-submit {
  background: #0073e6;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wpcf7-form .wpcf7-submit:hover {
  background: #005bb5;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .form-half, .form-third {
    flex: 1 1 100%;
  }
}